/* =============================================
   HOME — seções depois do hero (caminhos, sistemas, serviços, cases, contato)
   ============================================= */
.hm {
    --hm-text: var(--text-primary);
    --hm-muted: var(--text-secondary);
    --hm-line: var(--glass-border);
    --hm-card: rgba(15, 23, 42, 0.6);
    --hm-card-solid: #0f172a;
    --hm-accent: #3b82f6;
    --hm-cyan: #22d3ee;
    --hm-violet: #8b5cf6;
    color: var(--hm-text);
}

[data-theme="light"] .hm {
    --hm-card: rgba(255, 255, 255, 0.82);
    --hm-card-solid: #ffffff;
    --hm-accent: #2563eb;
    --hm-cyan: #0891b2;
    --hm-violet: #7c3aed;
}

.hm-wrap {
    width: min(100% - 3rem, 1240px);
    margin-inline: auto;
}

.hm-section {
    position: relative;
    padding: clamp(2.8rem, 5vw, 4.6rem) 0;
    scroll-margin-top: 80px;
}

.hm-section--alt {
    background: linear-gradient(to bottom, transparent, rgba(59, 130, 246, 0.05) 30%, rgba(59, 130, 246, 0.05) 70%, transparent);
}

.hm-head {
    max-width: 46rem;
    margin-bottom: clamp(1.4rem, 2.6vw, 2.2rem);
}

.hm-head--center {
    margin-inline: auto;
    text-align: center;
}

.hm-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0 0 0.7rem;
    color: var(--hm-cyan);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hm-eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--hm-accent), var(--hm-cyan));
}

.hm-head h2 {
    margin: 0;
    font-size: clamp(1.9rem, 3.5vw, 3rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.hm-head h2 em {
    font-style: normal;
    background: linear-gradient(100deg, var(--hm-accent), var(--hm-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hm-lead {
    margin: 0.8rem 0 0;
    color: var(--hm-muted);
    font-size: clamp(1rem, 1.3vw, 1.12rem);
    line-height: 1.7;
}

/* revelação ao rolar: parte do estado visual atual e anima por transição */
html.js-reveal [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--rd, 0s);
}

html.js-reveal [data-reveal].is-in {
    opacity: 1;
    transform: none;
}

/* ---------- caminhos ---------- */
.hm-paths {
    position: relative;
    z-index: 2;
    margin-top: -3.5rem;
    padding-bottom: clamp(0.5rem, 2vw, 1.5rem);
}

.hm-paths__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
}

.hm-path {
    position: relative;
    display: grid;
    gap: 0.5rem;
    padding: clamp(1.3rem, 2.4vw, 2rem);
    border: 1px solid var(--hm-line);
    border-radius: 26px;
    background: var(--hm-card);
    color: inherit;
    text-decoration: none;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.35s ease;
}

.hm-path::before {
    content: "";
    position: absolute;
    inset: auto -20% -60% 30%;
    height: 90%;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(closest-side, var(--glow), transparent);
    opacity: 0.55;
    transition: opacity 0.35s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hm-path--site { --glow: rgba(34, 211, 238, 0.4); --p1: #0891b2; --p2: #22d3ee; }
.hm-path--system { --glow: rgba(139, 92, 246, 0.45); --p1: #4f46e5; --p2: #8b5cf6; }

.hm-path:hover {
    transform: translateY(-6px);
    border-color: rgba(96, 165, 250, 0.5);
    box-shadow: 0 30px 60px -30px rgba(37, 99, 235, 0.55);
}

.hm-path:hover::before {
    opacity: 0.9;
    transform: scale(1.12);
}

.hm-path:focus-visible {
    outline: 3px solid var(--hm-cyan);
    outline-offset: 3px;
}

.hm-path__ico {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    margin-bottom: 0.6rem;
    border-radius: 16px;
    color: #fff;
    font-size: 1.3rem;
    background: linear-gradient(135deg, var(--p1), var(--p2));
    box-shadow: 0 14px 26px -10px var(--p1);
}

.hm-path__kicker {
    color: var(--hm-muted);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hm-path strong {
    font-size: clamp(1.5rem, 2.6vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.hm-path p {
    max-width: 30rem;
    margin: 0.2rem 0 0;
    color: var(--hm-muted);
    font-size: 0.98rem;
    line-height: 1.6;
}

.hm-path__go {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--hm-cyan);
}

.hm-path__go i {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hm-path:hover .hm-path__go i {
    transform: translateX(6px);
}

/* ---------- sistemas ---------- */
.hm-more {
    margin: 1.6rem 0 0;
    text-align: center;
}

.hm-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.5rem;
    border: 1px solid var(--hm-line);
    border-radius: 14px;
    background: var(--hm-card);
    color: var(--hm-text);
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.hm-link:hover {
    transform: translateY(-2px);
    border-color: rgba(96, 165, 250, 0.55);
}

.hm-link i {
    transition: transform 0.25s ease;
}

.hm-link:hover i {
    transform: translateX(4px);
}

/* ---------- soluções ---------- */
.hm-values {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}

.hm-value {
    position: relative;
    padding: 1.8rem;
    border: 1px solid var(--hm-line);
    border-radius: 22px;
    background: var(--hm-card);
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.4s ease;
}

/* brilho que sobe do canto ao passar o mouse */
.hm-value::before {
    content: "";
    position: absolute;
    inset: auto -30% -70% -30%;
    height: 80%;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--c2) 38%, transparent), transparent);
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hm-value:hover,
.hm-value:focus-within {
    transform: translateY(-8px);
    border-color: color-mix(in srgb, var(--c2) 55%, transparent);
    box-shadow: 0 28px 50px -26px var(--c2);
}

.hm-value:hover::before {
    opacity: 1;
    transform: none;
}

.hm-value:hover .hm-value__ico {
    transform: translateY(-3px) rotate(-8deg) scale(1.1);
    box-shadow: 0 14px 26px -10px var(--c2);
}

.hm-value:hover li::before {
    transform: scale(1.5);
}

.hm-value li {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.hm-value:hover li {
    transform: translateX(4px);
}

.hm-value:hover li:nth-child(2) { transition-delay: 0.04s; }
.hm-value:hover li:nth-child(3) { transition-delay: 0.08s; }

.hm-value__ico {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 1.1rem;
    border-radius: 14px;
    color: #fff;
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--c1), var(--c2));
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.hm-value h3 {
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.hm-value p {
    margin: 0;
    color: var(--hm-muted);
    font-size: 0.93rem;
    line-height: 1.6;
}

.hm-value ul {
    display: grid;
    gap: 0.5rem;
    margin: 1.2rem 0 0;
    padding: 1.1rem 0 0;
    border-top: 1px solid var(--hm-line);
    list-style: none;
    font-size: 0.88rem;
}

.hm-value li {
    display: flex;
    gap: 0.6rem;
}

.hm-value li::before {
    content: "";
    flex: none;
    width: 7px;
    height: 7px;
    margin-top: 0.5rem;
    border-radius: 50%;
    background: var(--hm-cyan);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- serviços ---------- */
.hm-services {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}

.hm-service {
    position: relative;
    padding: 1.6rem;
    border: 1px solid var(--hm-line);
    border-radius: 22px;
    background: var(--hm-card);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.35s ease;
}

.hm-service:hover {
    transform: translateY(-5px);
    border-color: rgba(96, 165, 250, 0.45);
    box-shadow: 0 24px 50px -28px rgba(37, 99, 235, 0.6);
}

.hm-service--feature {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.2rem;
    border-color: rgba(34, 211, 238, 0.35);
    background:
        radial-gradient(70% 120% at 100% 0%, rgba(34, 211, 238, 0.16), transparent 70%),
        var(--hm-card);
}

.hm-service__ico {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
    border-radius: 14px;
    color: var(--hm-cyan);
    font-size: 1.05rem;
    border: 1px solid var(--hm-line);
    background: rgba(34, 211, 238, 0.1);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.hm-service:hover .hm-service__ico {
    transform: rotate(-6deg) scale(1.08);
}

.hm-service h3 {
    margin: 0 0 0.4rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.hm-service p {
    margin: 0;
    color: var(--hm-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.hm-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.hm-tags li {
    padding: 0.28rem 0.7rem;
    border: 1px solid var(--hm-line);
    border-radius: 999px;
    color: var(--hm-muted);
    font-size: 0.72rem;
    font-weight: 500;
}

.hm-service__cta {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.3rem;
    border-radius: 12px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    background: linear-gradient(135deg, #0891b2, #2563eb);
    transition: transform 0.25s ease;
}

.hm-service__cta:hover {
    transform: translateY(-2px);
}

/* ---------- cases ---------- */
.hm-cases {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1.1rem;
}

.hm-case {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.7rem;
    border: 1px solid var(--hm-line);
    border-radius: 22px;
    background: var(--hm-card);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.hm-case:nth-child(n + 4) {
    grid-column: span 3;
}

.hm-case:hover {
    transform: translateY(-4px);
    border-color: rgba(96, 165, 250, 0.45);
}

.hm-case__who {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.hm-case__av {
    flex: none;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    background: var(--bg);
}

.hm-case h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
}

.hm-case__handle {
    color: var(--hm-cyan);
    font-size: 0.78rem;
    text-decoration: none;
}

.hm-case__handle:hover {
    text-decoration: underline;
}

.hm-case__desc {
    margin: 0;
    color: var(--hm-muted);
    font-size: 0.85rem;
    line-height: 1.55;
}

.hm-case blockquote {
    position: relative;
    margin: auto 0 0;
    padding: 1.1rem 0 0 0;
    border-top: 1px solid var(--hm-line);
    font-size: 0.95rem;
    line-height: 1.65;
}

.hm-case blockquote::before {
    content: "“";
    display: block;
    height: 1.4rem;
    color: var(--hm-accent);
    font-size: 2.6rem;
    line-height: 1;
}

.hm-case cite {
    display: block;
    margin-top: 0.7rem;
    color: var(--hm-muted);
    font-size: 0.8rem;
    font-style: normal;
    font-weight: 600;
}

/* ---------- contato ---------- */
.hm-contact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
    padding: clamp(1.8rem, 5vw, 4rem);
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 32px;
    background:
        radial-gradient(60% 90% at 0% 0%, rgba(59, 130, 246, 0.28), transparent 70%),
        radial-gradient(60% 90% at 100% 100%, rgba(139, 92, 246, 0.26), transparent 70%),
        var(--hm-card-solid);
    overflow: hidden;
}

.hm-contact h2 {
    margin: 0;
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.hm-contact .hm-lead {
    max-width: 30rem;
}

.hm-contact__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin-top: 1.8rem;
    padding: 1rem 1.6rem;
    border-radius: 14px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    background: linear-gradient(135deg, #16a34a, #22c55e);
    box-shadow: 0 16px 34px -14px rgba(34, 197, 94, 0.8);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hm-contact__cta:hover {
    transform: translateY(-3px);
}

.hm-channels {
    display: grid;
    gap: 0.8rem;
}

.hm-channel {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    border: 1px solid var(--hm-line);
    border-radius: 18px;
    background: var(--hm-card);
    color: inherit;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.hm-channel:hover {
    transform: translateX(6px);
    border-color: rgba(96, 165, 250, 0.5);
}

.hm-channel__ico {
    flex: none;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: #fff;
    font-size: 1.1rem;
    background: var(--bg);
}

.hm-channel small {
    display: block;
    color: var(--hm-muted);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hm-channel b {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.hm-channel > i:last-child {
    margin-left: auto;
    color: var(--hm-muted);
    transition: transform 0.3s ease, color 0.3s ease;
}

.hm-channel:hover > i:last-child {
    color: var(--hm-cyan);
    transform: translateX(4px);
}

/* ---------- responsivo ---------- */
@media (max-width: 992px) {
    .hm-values,
    .hm-services {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hm-cases {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hm-case,
    .hm-case:nth-child(n + 4) {
        grid-column: span 1;
    }

    .hm-contact {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 680px) {
    .hm-wrap {
        width: min(100% - 2rem, 1240px);
    }

    .hm-section {
        padding: 2.4rem 0;
        scroll-margin-top: 64px;
    }

    .hm-head {
        margin-bottom: 1.2rem;
        text-align: left;
    }

    .hm-head h2 {
        font-size: clamp(1.7rem, 7.6vw, 2.1rem);
    }

    .hm-lead {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    /* caminhos: dois botões compactos, estilo "atalhos de app" */
    .hm-paths {
        margin-top: -1.2rem;
        padding-bottom: 0.4rem;
    }

    .hm-paths__grid {
        grid-template-columns: 1fr;
        gap: 0.7rem;
    }

    .hm-path {
        grid-template-columns: auto minmax(0, 1fr) auto;
        grid-template-areas: "ico kick go" "ico title go" "ico text go";
        column-gap: 1rem;
        row-gap: 0.1rem;
        align-items: center;
        padding: 1rem 1.1rem;
        border-radius: 20px;
    }

    .hm-path__ico {
        grid-area: ico;
        width: 50px;
        height: 50px;
        margin: 0;
        font-size: 1.15rem;
    }

    .hm-path__kicker { grid-area: kick; font-size: 0.66rem; }
    .hm-path strong { grid-area: title; font-size: 1.15rem; }
    .hm-path p { grid-area: text; margin: 0; font-size: 0.8rem; line-height: 1.4; }

    .hm-path__go {
        grid-area: go;
        margin: 0;
        width: 36px;
        height: 36px;
        justify-content: center;
        border-radius: 50%;
        background: rgba(34, 211, 238, 0.14);
        font-size: 0;
    }

    .hm-path__go i {
        font-size: 0.85rem;
    }

    .hm-more {
        margin-top: 1.1rem;
    }

    .hm-link {
        width: 100%;
        justify-content: center;
    }

    /* sem deslize: tudo visível de uma vez, em cartões compactos */
    .hm-values,
    .hm-cases {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 0.8rem;
    }

    .hm-services {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 0.6rem;
    }

    .hm-value,
    .hm-case,
    .hm-case:nth-child(n + 4) {
        grid-column: auto;
        padding: 1.15rem;
    }

    .hm-value h3 {
        font-size: 1.05rem;
    }

    .hm-value ul {
        margin-top: 0.8rem;
        padding-top: 0.8rem;
        gap: 0.4rem;
    }

    /* serviços: linhas compactas (ícone + título + descrição) */
    .hm-service,
    .hm-service--feature {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        column-gap: 0.9rem;
        align-items: start;
        padding: 0.95rem 1rem;
        border-radius: 18px;
    }

    .hm-service > div {
        display: contents;
    }

    .hm-service__ico {
        grid-row: 1 / span 2;
        width: 42px;
        height: 42px;
        margin: 0;
    }

    .hm-service h3 {
        margin: 0;
        font-size: 1rem;
    }

    .hm-service p {
        font-size: 0.82rem;
        line-height: 1.45;
    }

    .hm-tags {
        display: none;
    }

    .hm-service--feature {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .hm-service--feature .hm-service__cta {
        grid-column: 1 / -1;
        justify-self: stretch;
        justify-content: center;
        margin-top: 0.8rem;
    }

    .hm-case__desc {
        font-size: 0.82rem;
    }

    .hm-case blockquote {
        font-size: 0.92rem;
    }

    .hm-prog {
        display: none;
    }

    .hm-contact {
        padding: 1.4rem;
        border-radius: 24px;
        gap: 1.4rem;
    }

    .hm-contact h2 {
        font-size: clamp(1.7rem, 7.6vw, 2.1rem);
    }

    .hm-contact__cta {
        width: 100%;
        justify-content: center;
        margin-top: 1.2rem;
        padding-inline: 1rem;
        font-size: 0.95rem;
        white-space: nowrap;
    }

    .hm-channel {
        padding: 0.8rem 1rem;
    }

    .hm-channel > span:nth-child(2) {
        min-width: 0;
    }

    .hm-channel b {
        font-size: clamp(0.72rem, 3.55vw, 0.95rem);
        overflow-wrap: anywhere;
    }

    .hm-channel > i:last-child {
        display: none;
    }


    /* espaço para o dock fixo */
    body {
        padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
    }
}

/* ---------- barra de progresso dos carrosséis (só mobile) ---------- */
.hm-prog {
    display: none;
    height: 3px;
    margin-top: 0.9rem;
    border-radius: 3px;
    background: var(--hm-line);
    overflow: hidden;
}

.hm-prog i {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--hm-accent), var(--hm-cyan));
    transform-origin: left;
    transform: scaleX(var(--p, 0.2));
    transition: transform 0.15s linear;
}

/* ---------- dock mobile ---------- */
.wf-dock {
    display: none;
}

@media (max-width: 680px) {
    .wf-dock {
        position: fixed;
        left: 50%;
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        z-index: 900;
        display: flex;
        align-items: center;
        gap: 2px;
        padding: 6px;
        border: 1px solid var(--glass-border);
        border-radius: 999px;
        background: rgba(10, 16, 32, 0.78);
        -webkit-backdrop-filter: blur(18px) saturate(1.4);
        backdrop-filter: blur(18px) saturate(1.4);
        box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
        transform: translate3d(-50%, 0, 0);
        animation: dock-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
    }

    [data-theme="light"] .wf-dock {
        background: rgba(255, 255, 255, 0.82);
        box-shadow: 0 18px 40px -14px rgba(30, 58, 138, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.7) inset;
    }

    .wf-dock a {
        display: flex;
        align-items: center;
        gap: 0;
        height: 46px;
        padding: 0 14px;
        border-radius: 999px;
        color: var(--text-secondary);
        font-size: 0.8rem;
        font-weight: 600;
        text-decoration: none;
        -webkit-tap-highlight-color: transparent;
        transition: background-color 0.3s ease, color 0.3s ease, padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .wf-dock a i {
        font-size: 1.05rem;
    }

    .wf-dock a span {
        max-width: 0;
        overflow: hidden;
        white-space: nowrap;
        opacity: 0;
        transition: max-width 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, margin 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .wf-dock a.is-active {
        padding: 0 16px;
        color: #fff;
        background: linear-gradient(135deg, #2563eb, #6366f1);
        box-shadow: 0 8px 20px -8px rgba(59, 130, 246, 0.9);
    }

    .wf-dock a.is-active span {
        max-width: 80px;
        margin-left: 8px;
        opacity: 1;
    }

    .wf-dock a.wf-dock__cta {
        width: 46px;
        padding: 0;
        justify-content: center;
        margin: 0 2px;
        color: #fff;
        background: linear-gradient(135deg, #16a34a, #22c55e);
        box-shadow: 0 8px 18px -8px rgba(34, 197, 94, 0.9);
    }

    .wf-dock a:active {
        transform: scale(0.94);
    }
}

@keyframes dock-in {
    from { opacity: 0; transform: translate3d(-50%, 24px, 0) scale(0.92); }
    to { opacity: 1; transform: translate3d(-50%, 0, 0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    html.js-reveal [data-reveal] {
        transition-duration: 0.01ms;
        transition-delay: 0s;
    }

    .hm * {
        transition-duration: 0.01ms !important;
    }
}

/* home com dock: o dock já navega, então o menu hambúrguer sai e o tema ganha lugar no topo */
@media (max-width: 992px) {
    .has-dock .wf-shell-menu {
        display: none;
    }
}

@media (max-width: 650px) {
    .has-dock .wf-shell-theme {
        display: grid;
    }
}

/* arrastar com o mouse (o toque já rola nativamente) */
.sv-list {
    cursor: grab;
}

.is-dragging {
    cursor: grabbing !important;
    scroll-snap-type: none !important;
    user-select: none;
}

.is-dragging * {
    pointer-events: none;
}
