/* ============================================================
   ZYNN SOFTWARE — "Precision Engineering"
   Carbono profundo · azul elétrico · Archivo Expanded + Spline Sans Mono
   ============================================================ */

:root {
    --bg: #07080a;
    --bg-2: #0b0d11;
    --panel: #0d1015;
    --panel-2: #11151c;
    --ink: #e9ecf1;
    --muted: #98a0b0;
    --line: rgba(233, 236, 241, 0.08);
    --line-strong: rgba(233, 236, 241, 0.16);
    --blue: #007bff;
    --blue-bright: #3d9bff;
    --blue-deep: #062a58;
    --green: #00e676;
    --red: #ff5c4d;
    --font-sans: "Archivo", system-ui, sans-serif;
    --font-mono: "Spline Sans Mono", ui-monospace, monospace;
    --header-h: 5.5rem;
    --gutter: clamp(1.25rem, 4vw, 4rem);
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-expo: cubic-bezier(0.87, 0, 0.13, 1);
}

/* ---------- Reset ---------- */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

html.lenis {
    scroll-behavior: auto;
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

::selection {
    background: var(--blue);
    color: #fff;
}

img,
svg,
canvas {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
}

ul {
    list-style: none;
}

section[id] {
    scroll-margin-top: var(--header-h);
}

/* Cursor nativo escondido apenas com cursor custom ativo */
html.js.has-cursor,
html.js.has-cursor a,
html.js.has-cursor button,
html.js.has-cursor input,
html.js.has-cursor select,
html.js.has-cursor textarea,
html.js.has-cursor label {
    cursor: none;
}

/* ---------- Utilitários ---------- */

.container {
    width: 100%;
    max-width: 90rem;
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.container--narrow {
    max-width: 64rem;
}

.mono {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hidden {
    display: none !important;
}

.tick {
    width: 0.5rem;
    height: 0.5rem;
    background: var(--green);
    display: inline-block;
    flex-shrink: 0;
    animation: tick-pulse 2.4s ease-in-out infinite;
}

@keyframes tick-pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.25;
    }
}

/* Máscaras de linha para reveals (estado inicial aplicado via JS) */
.line {
    display: block;
    overflow: hidden;
}

.line-in {
    display: inline-block;
    will-change: transform;
}

.accent-dot {
    font-style: normal;
    color: var(--blue);
}

/* ---------- Grain ---------- */

.grain {
    position: fixed;
    inset: -50%;
    width: 200%;
    height: 200%;
    pointer-events: none;
    z-index: 2000;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    animation: grain-shift 0.9s steps(4) infinite;
}

@keyframes grain-shift {
    0% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(-2%, 3%);
    }

    50% {
        transform: translate(3%, -2%);
    }

    75% {
        transform: translate(-3%, -3%);
    }

    100% {
        transform: translate(2%, 2%);
    }
}

/* ---------- Preloader ---------- */

.preloader {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: var(--bg);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

html.js .preloader {
    display: flex;
}

.preloader__inner {
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
}

.preloader__brand {
    font-size: 0.85rem;
}

.preloader__brand em {
    font-style: normal;
    color: var(--blue);
}

.preloader__count {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 400;
    letter-spacing: 0;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.preloader__bar {
    width: min(18rem, 60vw);
    height: 1px;
    background: var(--line);
    position: relative;
    overflow: hidden;
}

.preloader__bar i {
    position: absolute;
    inset: 0;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: left;
}

/* ---------- Cursor custom ---------- */

.cursor {
    display: none;
}

html.has-cursor .cursor {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2500;
    pointer-events: none;
}

.cursor__dot {
    position: fixed;
    top: -3px;
    left: -3px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    mix-blend-mode: difference;
}

.cursor__ring {
    position: fixed;
    top: -22px;
    left: -22px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out),
        top 0.3s var(--ease-out), left 0.3s var(--ease-out),
        background-color 0.3s, border-color 0.3s;
}

.cursor--active .cursor__ring {
    width: 84px;
    height: 84px;
    top: -42px;
    left: -42px;
    background: rgba(0, 123, 255, 0.9);
    border-color: transparent;
}

.cursor--active .cursor__dot {
    opacity: 0;
}

.cursor--hover .cursor__ring {
    width: 64px;
    height: 64px;
    top: -32px;
    left: -32px;
    border-color: rgba(0, 123, 255, 0.7);
}

.cursor__label {
    font-size: 0.6rem;
    color: #fff;
    opacity: 0;
    transition: opacity 0.2s;
}

.cursor--active .cursor__label {
    opacity: 1;
}

/* ---------- Header ---------- */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--header-h);
    border-bottom: 1px solid transparent;
    transition: border-color 0.4s, background-color 0.4s, backdrop-filter 0.4s;
}

.header.is-scrolled {
    background: rgba(7, 8, 10, 0.72);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom-color: var(--line);
}

.header__inner {
    max-width: 90rem;
    height: 100%;
    margin-inline: auto;
    padding-inline: var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.header__logo {
    position: relative;
    z-index: 210;
}

.header__logo img {
    height: 2.1rem;
    width: auto;
}

.header__nav {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    position: relative;
    padding-block: 0.4rem;
    color: var(--muted);
    transition: color 0.3s;
}

.nav-link sup {
    color: var(--blue);
    margin-right: 0.45em;
    font-size: 0.85em;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease-out);
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--ink);
}

.nav-link:hover::after,
.nav-link.is-active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header__cta {
    display: inline-flex;
}

/* Burger */

.burger {
    display: none;
    position: relative;
    z-index: 210;
    width: 2.75rem;
    height: 2.75rem;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 0.5rem;
}

.burger span {
    display: block;
    width: 2rem;
    height: 2px;
    background: var(--ink);
    transition: transform 0.4s var(--ease-expo), width 0.4s var(--ease-expo);
}

.burger span:last-child {
    width: 1.3rem;
}

.burger.is-open span:first-child {
    transform: translateY(5px) rotate(45deg);
}

.burger.is-open span:last-child {
    width: 2rem;
    transform: translateY(-5px) rotate(-45deg);
}

@media (max-width: 900px) {

    .header__inner .header__nav,
    .header__inner .header__cta {
        display: none;
    }

    .burger {
        display: flex;
    }
}

/* ---------- Menu fullscreen ---------- */

.menu {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: var(--bg-2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-inline: var(--gutter);
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
    transition: clip-path 0.8s var(--ease-expo), visibility 0s linear 0.8s;
}

.menu.is-open {
    clip-path: inset(0 0 0% 0);
    visibility: visible;
    transition: clip-path 0.8s var(--ease-expo);
}

.menu__nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.menu__link {
    display: flex;
    align-items: baseline;
    gap: 1.25rem;
    font-size: clamp(2.5rem, 9vw, 5rem);
    font-weight: 900;
    font-stretch: 125%;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--ink);
    opacity: 0;
    transform: translateY(2.5rem);
    transition: color 0.3s, opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out);
}

.menu.is-open .menu__link {
    opacity: 1;
    transform: translateY(0);
}

.menu.is-open .menu__link:nth-child(1) {
    transition-delay: 0s, 0.25s, 0.25s;
}

.menu.is-open .menu__link:nth-child(2) {
    transition-delay: 0s, 0.32s, 0.32s;
}

.menu.is-open .menu__link:nth-child(3) {
    transition-delay: 0s, 0.39s, 0.39s;
}

.menu.is-open .menu__link:nth-child(4) {
    transition-delay: 0s, 0.46s, 0.46s;
}

.menu__link:hover {
    color: var(--blue);
}

.menu__index {
    color: var(--blue);
    font-size: 0.8rem;
}

.menu__meta {
    position: absolute;
    bottom: 2.5rem;
    left: var(--gutter);
    right: var(--gutter);
    display: flex;
    justify-content: space-between;
    color: var(--muted);
}

/* ---------- Botões ---------- */

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.95rem 1.75rem;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    overflow: hidden;
    transition: color 0.35s var(--ease-out);
    white-space: nowrap;
}

.btn__label,
.btn__arrow {
    position: relative;
    z-index: 1;
}

.btn__arrow {
    transition: transform 0.35s var(--ease-out);
}

.btn:hover .btn__arrow {
    transform: translateX(0.35rem);
}

.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s var(--ease-expo);
}

.btn:hover::before {
    transform: scaleY(1);
}

.btn--primary {
    background: var(--blue);
    color: #fff;
}

.btn--primary::before {
    background: var(--ink);
}

.btn--primary:hover {
    color: var(--bg);
}

.btn--ghost {
    color: var(--ink);
    box-shadow: inset 0 0 0 1px var(--line-strong);
}

.btn--ghost::before {
    background: var(--ink);
}

.btn--ghost:hover {
    color: var(--bg);
}

.btn--inverse {
    background: var(--bg);
    color: var(--ink);
}

.btn--inverse::before {
    background: #fff;
}

.btn--inverse:hover {
    color: var(--bg);
}

.btn--lg {
    padding: 1.25rem 2.5rem;
    font-size: 0.85rem;
}

/* ---------- Section head ---------- */

.section-head {
    margin-bottom: clamp(3rem, 7vw, 5.5rem);
}

.section-head__label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--blue);
    margin-bottom: 1.5rem;
}

.section-head__label::before {
    content: "";
    width: 2.5rem;
    height: 1px;
    background: var(--blue);
}

.section-head__title {
    font-size: clamp(2.75rem, 7vw, 6rem);
    font-weight: 900;
    font-stretch: 125%;
    line-height: 0.95;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

/* No celular o piso de 2.75rem era largo demais: palavras longas como
   "construímos", "estruturada" ou "frequentes" estouravam a largura e
   eram cortadas pelo overflow das linhas. Aqui deixamos o vw comandar o
   tamanho, casando com o piso do desktop no limite de 600px. */
@media (max-width: 600px) {
    .section-head__title {
        font-size: clamp(1.75rem, 8vw, 2.75rem);
    }
}

.section-head--row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: var(--header-h);
    overflow: hidden;
}

.hero__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero__vignette {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(ellipse 90% 60% at 50% 110%, rgba(0, 123, 255, 0.12), transparent 60%),
        linear-gradient(to bottom, rgba(7, 8, 10, 0.85), transparent 35%, transparent 60%, var(--bg) 98%);
}

.hero__content {
    position: relative;
    z-index: 2;
    padding-block: clamp(2rem, 6vh, 5rem);
}

.hero__kicker {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--muted);
    margin-bottom: clamp(1.5rem, 3vh, 2.5rem);
}

.hero__title {
    font-size: clamp(1.7rem, 8.6vw, 8.1rem);
    font-weight: 900;
    font-stretch: 125%;
    line-height: 0.92;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    margin-bottom: clamp(2rem, 4vh, 3.5rem);
}

.hero__title-accent {
    color: transparent;
    -webkit-text-stroke: 2px var(--ink);
}

.hero__dot {
    font-style: normal;
    color: var(--blue);
    -webkit-text-stroke: 0;
}

.hero__row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
}

.hero__lead {
    max-width: 34rem;
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    font-weight: 300;
    color: var(--muted);
}

.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero__footer {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-bottom: 2.25rem;
    color: var(--muted);
}

.hero__meta {
    display: none;
}

@media (min-width: 900px) {
    .hero__meta {
        display: inline;
    }
}

.hero__scroll {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.hero__scroll i {
    display: block;
    width: 1px;
    height: 2.5rem;
    background: linear-gradient(to bottom, var(--blue), transparent);
    animation: scroll-hint 1.8s var(--ease-out) infinite;
}

@keyframes scroll-hint {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    45% {
        transform: scaleY(1);
        transform-origin: top;
    }

    55% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* ============================================================
   CLIENTES / MARQUEE
   ============================================================ */

.clients {
    border-block: 1px solid var(--line);
    padding-block: 2.5rem;
    overflow: hidden;
}

.clients__label {
    color: var(--muted);
    opacity: 0.7;
    margin-bottom: 2rem;
}

.marquee {
    width: 100%;
    overflow: hidden;
}

.marquee__track {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: marquee 36s linear infinite;
}

.marquee:hover .marquee__track {
    animation-play-state: paused;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-33.3333%);
    }
}

.marquee__set {
    display: flex;
    align-items: center;
    gap: 3.5rem;
    padding-inline: 1.75rem;
    flex-shrink: 0;
}

.marquee__set span {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 900;
    font-stretch: 125%;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    white-space: nowrap;
    color: transparent;
    -webkit-text-stroke: 1px var(--line-strong);
    transition: color 0.4s, -webkit-text-stroke-color 0.4s;
}

.marquee__set span:hover {
    color: var(--ink);
    -webkit-text-stroke-color: transparent;
}

.marquee__set i {
    font-style: normal;
    color: var(--blue);
    font-size: 1.1rem;
}

/* ============================================================
   DIAGNÓSTICO (problema / solução)
   ============================================================ */

.diagnosis {
    padding-block: clamp(5rem, 12vw, 9rem);
}

.diagnosis__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.diagnosis__panel {
    background: var(--panel);
    padding: clamp(2.5rem, 5vw, 4.5rem);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-height: 26rem;
}

.diagnosis__panel--solution {
    background: linear-gradient(135deg, var(--blue) 0%, #0056b3 100%);
}

.diagnosis__title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 900;
    font-stretch: 125%;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.diagnosis__text {
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    font-weight: 300;
    max-width: 32rem;
}

.diagnosis__panel--problem .diagnosis__text {
    color: var(--muted);
}

.diagnosis__panel--solution .diagnosis__text {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.diagnosis__figure {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.diagnosis__num {
    font-size: clamp(4rem, 8vw, 7rem);
    font-weight: 900;
    font-stretch: 125%;
    line-height: 1;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
}

.diagnosis__num--neg {
    color: var(--red);
}

.diagnosis__caption {
    color: currentColor;
    opacity: 0.55;
}

/* ============================================================
   SERVIÇOS
   ============================================================ */

.services {
    padding-block: clamp(5rem, 12vw, 9rem);
}

.services__list {
    border-top: 1px solid var(--line);
}

.service {
    border-bottom: 1px solid var(--line);
    transition: background-color 0.4s;
}

.service:hover {
    background: var(--panel);
}

.service__row {
    display: grid;
    grid-template-columns: 4.5rem 1fr auto;
    align-items: center;
    gap: 1.5rem;
    padding-block: clamp(1.75rem, 3.5vw, 2.75rem);
}

.service__index {
    color: var(--blue);
}

.service__title {
    font-size: clamp(1.6rem, 4.5vw, 3.5rem);
    font-weight: 800;
    font-stretch: 118%;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.05;
    transition: transform 0.45s var(--ease-out), color 0.3s;
}

.service:hover .service__title {
    transform: translateX(1rem);
    color: var(--blue-bright);
}

.service__arrow {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 300;
    color: var(--muted);
    transition: transform 0.45s var(--ease-out), color 0.3s;
}

.service:hover .service__arrow {
    transform: translateX(0.5rem) rotate(-45deg);
    color: var(--blue);
}

.service__body {
    display: grid;
    grid-template-columns: 4.5rem 1fr;
    gap: 1.5rem;
    padding-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
}

.service__body::before {
    content: "";
}

.service__body p {
    max-width: 44rem;
    color: var(--muted);
    font-weight: 300;
    margin-bottom: 1.25rem;
}

.service__tags {
    grid-column: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.service__tags span {
    padding: 0.45rem 0.9rem;
    border: 1px solid var(--line-strong);
    color: var(--muted);
    transition: border-color 0.3s, color 0.3s;
}

.service:hover .service__tags span {
    border-color: rgba(0, 123, 255, 0.5);
    color: var(--ink);
}

@media (max-width: 720px) {
    .service__row {
        grid-template-columns: 3rem 1fr auto;
        gap: 1rem;
    }

    .service__body {
        grid-template-columns: 1fr;
    }

    .service__body::before {
        display: none;
    }

    .service__tags {
        grid-column: 1;
    }
}

/* ============================================================
   PROCESSO — horizontal pin (desktop)
   ============================================================ */

.process {
    background: var(--bg-2);
    border-block: 1px solid var(--line);
    overflow: hidden;
}

.process__pin {
    padding-block: clamp(4rem, 8vh, 6rem);
    display: flex;
    flex-direction: column;
    gap: clamp(2.5rem, 5vh, 4rem);
}

.process__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.process__head .section-head {
    margin-bottom: 0;
}

.process__sub {
    max-width: 26rem;
    color: var(--muted);
    font-weight: 300;
    font-size: 1.05rem;
}

.process__track {
    display: flex;
    gap: clamp(1.25rem, 2vw, 2rem);
    padding-inline: var(--gutter);
    width: max-content;
    will-change: transform;
}

.process-card {
    position: relative;
    width: clamp(20rem, 38vw, 34rem);
    background: var(--panel);
    border: 1px solid var(--line);
    padding: clamp(2rem, 3.5vw, 3.25rem);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow: hidden;
    transition: border-color 0.4s, transform 0.4s var(--ease-out);
}

.process-card:hover {
    border-color: rgba(0, 123, 255, 0.45);
    transform: translateY(-0.4rem);
}

.process-card--growth:hover {
    border-color: rgba(0, 230, 118, 0.45);
}

.process-card__ghost {
    position: absolute;
    top: -1.5rem;
    right: 0.5rem;
    font-size: clamp(7rem, 12vw, 11rem);
    font-weight: 900;
    font-stretch: 125%;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px var(--line-strong);
    pointer-events: none;
    user-select: none;
}

.process-card--growth .process-card__ghost {
    -webkit-text-stroke-color: rgba(0, 230, 118, 0.25);
}

.process-card__title {
    font-size: clamp(1.5rem, 2.4vw, 2.1rem);
    font-weight: 800;
    font-stretch: 118%;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.1;
    max-width: 80%;
    margin-top: clamp(3rem, 6vw, 4.5rem);
}

.process-card__text {
    color: var(--muted);
    font-weight: 300;
}

.process-card__list {
    margin-top: auto;
    border-top: 1px solid var(--line);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    color: var(--muted);
}

.process-card__list li {
    display: flex;
    gap: 0.75rem;
}

.process-card__list li::before {
    content: "→";
    color: var(--blue);
}

.process-card--growth .process-card__list li::before {
    color: var(--green);
}

.process__progress {
    height: 1px;
    background: var(--line);
    position: relative;
}

.process__progress i {
    position: absolute;
    inset: 0;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: left;
}

@media (max-width: 991px) {
    .process__track {
        flex-direction: column;
        width: 100%;
    }

    .process-card {
        width: 100%;
    }

    .process__progress {
        display: none;
    }
}

/* ============================================================
   DIFERENCIAIS
   ============================================================ */

.why {
    padding-block: clamp(5rem, 12vw, 9rem);
}

.why__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.why-card {
    background: var(--panel);
    padding: clamp(2rem, 4vw, 3.25rem);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    min-height: 22rem;
    transition: background-color 0.4s;
}

.why-card:hover {
    background: var(--panel-2);
}

.why-card__index {
    color: var(--blue);
}

.why-card__title {
    font-size: clamp(1.5rem, 2.5vw, 2.1rem);
    font-weight: 800;
    font-stretch: 120%;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.why-card__text {
    color: var(--muted);
    font-weight: 300;
}

.why-card--accent {
    background: linear-gradient(150deg, var(--blue) 0%, #0050a8 100%);
}

.why-card--accent:hover {
    background: linear-gradient(150deg, #1a88ff 0%, #0056b3 100%);
}

.why-card--accent .why-card__index {
    color: rgba(255, 255, 255, 0.7);
}

.why-card--accent .why-card__text {
    color: rgba(255, 255, 255, 0.85);
}

.why-card--accent .btn {
    margin-top: auto;
    align-self: flex-start;
}

/* ============================================================
   DEPOIMENTOS
   ============================================================ */

.testimonials {
    padding-block: clamp(5rem, 12vw, 9rem);
    background: var(--bg-2);
    border-block: 1px solid var(--line);
    overflow: hidden;
}

.testimonials__controls {
    display: flex;
    gap: 0.75rem;
}

.ctrl {
    width: 3.25rem;
    height: 3.25rem;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.ctrl:hover {
    background: var(--ink);
    color: var(--bg);
    border-color: var(--ink);
}

.testimonials__slider {
    display: flex;
    gap: clamp(1.25rem, 2vw, 2rem);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-inline: var(--gutter);
    padding-bottom: 1rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
    user-select: none;
    cursor: grab;
}

.testimonials__slider::-webkit-scrollbar {
    display: none;
}

.testimonials__slider.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
}

.testim-card {
    flex-shrink: 0;
    width: min(85vw, 36rem);
    scroll-snap-align: center;
    background: var(--panel);
    border: 1px solid var(--line);
    padding: clamp(2rem, 4vw, 3.25rem);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    transition: border-color 0.4s, transform 0.4s var(--ease-out);
}

.testim-card:hover {
    border-color: rgba(0, 123, 255, 0.4);
    transform: translateY(-0.4rem);
}

.testim-card--alt {
    background: var(--panel-2);
}

.testim-card__badge {
    align-self: flex-start;
    padding: 0.45rem 0.9rem;
    background: rgba(0, 123, 255, 0.12);
    color: var(--blue-bright);
}

.testim-card__badge--green {
    background: rgba(0, 230, 118, 0.1);
    color: var(--green);
}

.testim-card__quote {
    font-size: clamp(1.25rem, 2.2vw, 1.75rem);
    font-weight: 300;
    line-height: 1.4;
}

.testim-card__author {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid var(--line);
    padding-top: 1.5rem;
}

.testim-card__avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--blue-deep);
    color: var(--blue-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
}

.testim-card__author strong {
    display: block;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-size: 0.95rem;
}

.testim-card__author .mono {
    color: var(--muted);
    font-size: 0.62rem;
}

/* ============================================================
   FAQ
   ============================================================ */

.faq {
    padding-block: clamp(5rem, 12vw, 9rem);
}

.faq__list {
    border-top: 1px solid var(--line);
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-item__head {
    width: 100%;
    display: grid;
    grid-template-columns: 3rem 1fr 2rem;
    align-items: center;
    gap: 1.25rem;
    padding-block: 1.75rem;
    text-align: left;
    transition: color 0.3s;
}

.faq-item__head:hover {
    color: var(--blue-bright);
}

.faq-item__index {
    color: var(--blue);
}

.faq-item__q {
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    line-height: 1.3;
}

.faq-item__icon {
    position: relative;
    width: 1.1rem;
    height: 1.1rem;
    justify-self: end;
}

.faq-item__icon::before,
.faq-item__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: currentColor;
    transition: transform 0.4s var(--ease-expo);
}

.faq-item__icon::after {
    transform: rotate(90deg);
}

.faq-item.is-open .faq-item__icon::after {
    transform: rotate(0deg);
}

.faq-item__body {
    height: 0;
    overflow: hidden;
    transition: height 0.5s var(--ease-out);
}

.faq-item__body p {
    max-width: 50rem;
    padding: 0 0 1.75rem 4.25rem;
    color: var(--muted);
    font-weight: 300;
}

@media (max-width: 720px) {
    .faq-item__body p {
        padding-left: 0;
    }
}

/* ============================================================
   CONTATO
   ============================================================ */

.contact {
    position: relative;
    padding-block: clamp(5rem, 12vw, 9rem);
    background: var(--bg-2);
    border-top: 1px solid var(--line);
    overflow: hidden;
}

.contact__glow {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: min(60rem, 90vw);
    aspect-ratio: 2 / 1;
    background: radial-gradient(ellipse at center, rgba(0, 123, 255, 0.18), transparent 65%);
    pointer-events: none;
}

.contact__grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
}

@media (max-width: 991px) {
    .contact__grid {
        grid-template-columns: 1fr;
    }
}

.contact__title {
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    font-weight: 900;
    font-stretch: 125%;
    line-height: 0.95;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    margin-block: 1.5rem 2rem;
}

/* Mesmo ajuste do section-head: no celular a linha "com tecnologia"
   estourava a largura. Deixa o vw comandar, casando com o piso em 600px. */
@media (max-width: 600px) {
    .contact__title {
        font-size: clamp(1.6rem, 7vw, 2.5rem);
    }
}

.contact__sub {
    max-width: 28rem;
    color: var(--muted);
    font-weight: 300;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.contact__channels {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--muted);
    border: 1px solid var(--line);
    padding: 0.85rem 1.25rem;
}

/* Form */

.contact__form-wrap {
    background: var(--panel);
    border: 1px solid var(--line);
    padding: clamp(1.75rem, 3.5vw, 3rem);
}

.form__progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--muted);
}

.form__progress #step-title {
    color: var(--ink);
}

.form__bar {
    height: 2px;
    background: var(--line);
    position: relative;
    margin-bottom: 2.25rem;
    overflow: hidden;
}

.form__bar i {
    position: absolute;
    inset: 0;
    background: var(--blue);
    transform: scaleX(0.3333);
    transform-origin: left;
    transition: transform 0.6s var(--ease-expo);
}

.form-step {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.field label {
    color: var(--muted);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line-strong);
    color: var(--ink);
    font: inherit;
    font-weight: 400;
    padding: 0.8rem 0.15rem;
    outline: none;
    border-radius: 0;
    transition: border-color 0.3s, background-color 0.3s;
}

.field input::placeholder,
.field textarea::placeholder {
    color: rgba(152, 160, 176, 0.45);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-bottom-color: var(--blue);
    background: rgba(0, 123, 255, 0.04);
}

.field select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23007BFF' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.25rem center;
    cursor: pointer;
}

.field select option {
    background: var(--panel);
    color: var(--ink);
}

.field textarea {
    resize: none;
}

.field--check {
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
}

.field--check input {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid var(--line-strong);
    cursor: pointer;
    position: relative;
    transition: background-color 0.2s, border-color 0.2s;
}

.field--check input:checked {
    background: var(--blue);
    border-color: var(--blue);
}

.field--check input:checked::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' fill='none'%3E%3Cpath d='M1 5l3.5 3.5L11 1' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center / 60% no-repeat;
}

.field--check label {
    font-size: 0.72rem;
    line-height: 1.6;
    color: var(--muted);
    cursor: pointer;
}

.form__nav {
    display: flex;
    gap: 1rem;
    margin-top: 2.25rem;
}

.form__advance {
    flex: 1;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
    border-top: 1px solid var(--line);
    padding-block: clamp(3.5rem, 7vw, 5.5rem) 2.5rem;
    overflow: hidden;
}

.footer__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-bottom: clamp(3rem, 6vw, 5rem);
}

.footer__logo {
    height: 5.5rem;
    width: auto;
    opacity: 0.35;
}

.footer__links {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    color: var(--muted);
}

.footer__links a {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: color 0.3s;
}

.footer__links a:hover {
    color: var(--ink);
}

.footer__chip {
    background: rgba(0, 230, 118, 0.12);
    color: var(--green);
    padding: 0.2rem 0.55rem;
    font-size: 0.6rem;
}

.footer__word {
    font-size: clamp(6rem, 22vw, 22rem);
    font-weight: 900;
    font-stretch: 125%;
    line-height: 0.8;
    letter-spacing: -0.04em;
    text-align: center;
    color: transparent;
    -webkit-text-stroke: 1px var(--line-strong);
    user-select: none;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
    transition: color 1s var(--ease-out);
}

.footer__word:hover {
    color: rgba(0, 123, 255, 0.12);
}

.footer__word sup {
    font-size: 0.15em;
    -webkit-text-stroke-width: 0.5px;
    vertical-align: super;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    border-top: 1px solid var(--line);
    padding-top: 2.25rem;
    color: var(--muted);
    opacity: 0.8;
}

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */

.whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 150;
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.35);
    transition: transform 0.3s var(--ease-out), background-color 0.3s;
}

.whatsapp:hover {
    transform: scale(1.08);
    background: #1ebe53;
}

/* ============================================================
   ACESSIBILIDADE / MOTION
   ============================================================ */

:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .grain {
        animation: none;
    }

    .marquee__track {
        animation: none;
        width: 100%;
        overflow-x: auto;
    }
}
