/*
INICIO DOS REFINAMENTOS PREMIUM - /servicos
Rollback rapido: remova o bloco extra_css de templates_site/servicos.html.
Este arquivo foi criado separado para preservar o visual aprovado.
*/

.servicos-direto {
    isolation: isolate;
    background:
        radial-gradient(circle at 12% 6%, rgba(255, 138, 0, 0.13), transparent 31%),
        radial-gradient(circle at 88% 4%, rgba(11, 31, 58, 0.08), transparent 29%),
        linear-gradient(180deg, #fffaf2 0%, #f8f9fc 52%, #f5f6f9 100%) !important;
}

.servicos-direto::before {
    opacity: 0.11 !important;
    mix-blend-mode: multiply;
}

.servicos-direto::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(115deg, transparent 0 18%, rgba(255, 138, 0, 0.045) 18.2%, transparent 18.8% 100%),
        radial-gradient(circle at 24% 22%, rgba(255, 138, 0, 0.11), transparent 18%),
        radial-gradient(circle at 76% 14%, rgba(255, 255, 255, 0.72), transparent 24%),
        repeating-linear-gradient(90deg, rgba(15, 23, 42, 0.024) 0 1px, transparent 1px 58px),
        repeating-linear-gradient(0deg, rgba(15, 23, 42, 0.018) 0 1px, transparent 1px 58px);
    opacity: 0.58;
    animation: servicosPremiumRespirar 34s ease-in-out infinite alternate;
}

.servicos-container {
    position: relative;
    z-index: 2;
}

.servicos-topo-direto {
    position: relative;
}

.servicos-topo-direto::before {
    content: "";
    position: absolute;
    left: -28px;
    top: -22px;
    width: min(420px, 46vw);
    height: 220px;
    border-radius: 999px;
    background:
        radial-gradient(circle at 34% 44%, rgba(255, 138, 0, 0.12), transparent 56%),
        radial-gradient(circle at 70% 38%, rgba(255, 255, 255, 0.76), transparent 54%);
    filter: blur(18px);
    opacity: 0.82;
    pointer-events: none;
    z-index: -1;
}

.servicos-topo-direto::after {
    content: "";
    position: absolute;
    right: 4%;
    bottom: -18px;
    width: 240px;
    height: 88px;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(255, 138, 0, 0.16), transparent 74%),
        repeating-linear-gradient(90deg, rgba(11, 31, 58, 0.12) 0 1px, transparent 1px 18px);
    opacity: 0.22;
    mask-image: linear-gradient(90deg, transparent, #000 24%, #000 72%, transparent);
}

.servico-escolha-card {
    border-color: rgba(255, 255, 255, 0.86) !important;
    background: rgba(255, 255, 255, 0.91) !important;
    box-shadow:
        0 18px 50px rgba(15, 23, 42, 0.075),
        0 1px 0 rgba(255, 255, 255, 0.96) inset !important;
    backdrop-filter: blur(10px);
    transform: translateY(0);
    will-change: transform;
    transition:
        transform 0.36s ease,
        box-shadow 0.36s ease,
        border-color 0.36s ease,
        background 0.36s ease !important;
    animation: servicosCardEntrada 0.62s ease both;
}

.servico-escolha-card:nth-child(2) {
    animation-delay: 0.04s;
}

.servico-escolha-card:nth-child(3) {
    animation-delay: 0.08s;
}

.servico-escolha-card:nth-child(4) {
    animation-delay: 0.12s;
}

.servico-escolha-card:nth-child(5) {
    animation-delay: 0.16s;
}

.servico-escolha-card:nth-child(6) {
    animation-delay: 0.20s;
}

.servico-escolha-card:nth-child(7) {
    animation-delay: 0.24s;
}

.servico-escolha-card:nth-child(8) {
    animation-delay: 0.28s;
}

.servico-escolha-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    border-radius: inherit;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.58), transparent 34%),
        radial-gradient(circle at 18% 0%, rgba(255, 138, 0, 0.16), transparent 31%);
    opacity: 0.42;
    transition: opacity 0.36s ease;
}

.servico-escolha-card::after {
    content: "";
    position: absolute;
    inset: 1px;
    z-index: 1;
    border-radius: 23px;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.54);
}

.servico-escolha-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 138, 0, 0.34) !important;
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow:
        0 28px 78px rgba(15, 23, 42, 0.14),
        0 0 34px rgba(255, 138, 0, 0.14),
        0 1px 0 rgba(255, 255, 255, 0.98) inset !important;
}

.servico-escolha-card:hover::before {
    opacity: 0.68;
}

.servico-escolha-img {
    overflow: hidden;
    background-size: cover;
    transform: scale(1);
    transform-origin: center;
    transition:
        transform 0.52s ease,
        filter 0.52s ease !important;
}

.servico-escolha-img::before {
    z-index: 0 !important;
    background:
        linear-gradient(180deg, rgba(3, 10, 20, 0.06), rgba(3, 10, 20, 0.56)),
        radial-gradient(circle at 24% 16%, rgba(255, 138, 0, 0.15), transparent 42%) !important;
}

.servico-escolha-card:hover .servico-escolha-img {
    transform: scale(1.03);
    filter: saturate(1.06) contrast(1.03);
}

.servico-escolha-conteudo {
    z-index: 2;
}

.servico-escolha-card span.link-card {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    transition:
        transform 0.32s ease,
        text-shadow 0.32s ease;
}

.servico-escolha-card span.link-card::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 1px;
    transform: scaleX(0);
    transform-origin: left;
    background: linear-gradient(90deg, var(--laranja), rgba(255, 138, 0, 0));
    opacity: 0.82;
    transition: transform 0.34s ease;
}

.servico-escolha-card:hover span.link-card {
    transform: translateX(2px);
    text-shadow: 0 0 18px rgba(255, 138, 0, 0.22);
}

.servico-escolha-card:hover span.link-card::after {
    transform: scaleX(1);
}

.servicos-alerta-rapido {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    background:
        radial-gradient(circle at 8% 0%, rgba(255, 138, 0, 0.28), transparent 31%),
        radial-gradient(circle at 88% 8%, rgba(255, 255, 255, 0.11), transparent 28%),
        linear-gradient(135deg, #08111f 0%, #0e2138 54%, #070b12 100%) !important;
    box-shadow:
        0 28px 80px rgba(4, 11, 22, 0.24),
        0 0 36px rgba(255, 138, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}

.servicos-alerta-rapido::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(105deg, transparent 0 18%, rgba(255, 255, 255, 0.08) 18.3%, transparent 18.9% 100%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 46px);
    opacity: 0.34;
    animation: servicosPremiumRespirar 38s ease-in-out infinite alternate;
}

.servicos-alerta-rapido::after {
    content: "";
    position: absolute;
    left: 30px;
    right: 30px;
    top: 0;
    height: 1px;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255, 138, 0, 0.5), transparent);
}

.servicos-alerta-rapido > * {
    position: relative;
    z-index: 1;
}

.servicos-alerta-rapido a {
    transition:
        transform 0.32s ease,
        box-shadow 0.32s ease,
        filter 0.32s ease !important;
}

.servicos-alerta-rapido a:hover {
    transform: translateY(-2px);
    filter: brightness(1.03);
    box-shadow:
        0 18px 44px rgba(255, 138, 0, 0.25),
        0 0 22px rgba(255, 138, 0, 0.14) !important;
}

@keyframes servicosPremiumRespirar {
    0% {
        transform: translate3d(-8px, -4px, 0);
        opacity: 0.44;
    }

    100% {
        transform: translate3d(8px, 6px, 0);
        opacity: 0.62;
    }
}

@keyframes servicosCardEntrada {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

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

@media (max-width: 980px) {
    .servicos-direto::after {
        opacity: 0.36;
    }

    .servicos-topo-direto::after {
        display: none;
    }

    .servico-escolha-card:hover {
        transform: translateY(-3px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .servicos-direto::after,
    .servicos-alerta-rapido::before,
    .servico-escolha-card {
        animation: none !important;
    }

    .servico-escolha-card,
    .servico-escolha-img,
    .servicos-alerta-rapido a {
        transition-duration: 0.01ms !important;
    }
}

/* FIM DOS REFINAMENTOS PREMIUM - /servicos */

/*
REFINAMENTO ISOLADO — "O que você precisa resolver hoje"
Referência: acabamento editorial escuro dos cards de cases da HOME.
O modificador no template impede que estas regras alcancem outras seções ou páginas.
*/
.servicos-direto.servicos-resolver-hoje {
    isolation: isolate;
    padding: 48px 5.2% 64px;
    background: #05070a !important;
}

.servicos-direto.servicos-resolver-hoje::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 72px 72px,
        linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px) 0 0 / 72px 72px !important;
    opacity: 0.12 !important;
    mix-blend-mode: normal;
}

.servicos-direto.servicos-resolver-hoje::after {
    content: none;
    animation: none;
}

.servicos-resolver-hoje .servicos-container {
    max-width: 1500px;
}

.servicos-resolver-hoje .servicos-topo-direto {
    align-items: end;
    gap: clamp(30px, 4vw, 64px);
    margin-bottom: 30px;
}

.servicos-resolver-hoje .servicos-topo-direto::before,
.servicos-resolver-hoje .servicos-topo-direto::after {
    content: none;
}

.servicos-resolver-hoje .servicos-kicker {
    color: #ff8a00;
}

.servicos-resolver-hoje .servicos-topo-direto h1 {
    max-width: 610px;
    color: #ffffff;
    font-size: clamp(30px, 2.5vw, 40px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.servicos-resolver-hoje .servicos-topo-direto h1 strong {
    color: #ff8a00;
}

.servicos-resolver-hoje .servicos-topo-direto p {
    max-width: 760px;
    color: #b6c0cc;
    font-size: 16px;
    line-height: 1.52;
}

.servicos-resolver-hoje .servicos-topo-acoes a {
    border-radius: 5px;
    box-shadow: none;
}

.servicos-resolver-hoje .servicos-topo-acoes .acao-principal {
    background: #ff8a00;
    box-shadow: none;
}

.servicos-resolver-hoje .servicos-topo-acoes .acao-secundaria {
    color: #f4f7fb;
    background: #080c12;
    border-color: rgba(125, 139, 154, 0.42);
}

.servicos-resolver-hoje .servicos-grid-escolha {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.servicos-resolver-hoje .servico-escolha-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
    min-height: 410px;
    overflow: hidden;
    color: inherit;
    background: #080c12 !important;
    border: 1px solid rgba(125, 139, 154, 0.22) !important;
    border-radius: 5px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22) !important;
    backdrop-filter: none;
    animation: none;
    will-change: auto;
    transition:
        transform 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease !important;
}

.servicos-resolver-hoje .servico-escolha-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    z-index: 6;
    width: 54px;
    height: 3px;
    pointer-events: none;
    background: #ff8a00;
    opacity: 0.92;
    transform: none;
    transition: none;
}

.servicos-resolver-hoje .servico-escolha-card::after {
    content: none;
    box-shadow: none;
}

.servicos-resolver-hoje .servico-escolha-card:hover {
    transform: translateY(-2px);
    background: #080c12 !important;
    border-color: rgba(156, 170, 185, 0.30) !important;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.26) !important;
}

.servicos-resolver-hoje .servico-escolha-card:hover::before {
    opacity: 0.92;
    transform: none;
}

.servicos-resolver-hoje .servico-escolha-card:focus-visible {
    outline: 2px solid #ff8a00;
    outline-offset: 3px;
}

.servicos-resolver-hoje .servico-escolha-img {
    flex: 0 0 auto;
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #0c1118;
    background-size: cover;
    background-position: center;
    border-radius: 4px 4px 0 0;
    box-shadow: inset 0 -14px 22px rgba(1, 5, 10, 0.14);
    filter: none;
    transform: none;
    transition: none !important;
}

.servicos-resolver-hoje .servico-escolha-img::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0 !important;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(2, 8, 14, 0.01), rgba(2, 8, 14, 0.20)) !important;
}

.servicos-resolver-hoje .servico-escolha-card:hover .servico-escolha-img {
    filter: none;
    transform: none;
}

.servicos-resolver-hoje .servico-escolha-conteudo {
    z-index: 2;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 20px 20px 18px;
    background: #080c12;
    border-top: 1px solid rgba(125, 139, 154, 0.14);
}

.servicos-resolver-hoje .servico-escolha-conteudo::after {
    content: none;
}

.servicos-resolver-hoje .servico-escolha-card h2 {
    max-width: 100%;
    margin: 0 0 9px;
    color: #ffffff;
    font-size: clamp(18px, 1.3vw, 20px);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.02em;
    overflow-wrap: normal;
    word-break: normal;
}

.servicos-resolver-hoje .servico-escolha-card p {
    max-width: 100%;
    margin: 0 0 14px;
    color: #aeb9c6;
    font-size: 14px;
    line-height: 1.48;
    overflow-wrap: normal;
    word-break: normal;
}

.servicos-resolver-hoje .servico-escolha-card span.link-card {
    margin-top: auto;
    color: #ff9100;
    font-size: 14px;
    line-height: 1.35;
    text-shadow: none;
    transform: none;
    transition: color 180ms ease;
}

.servicos-resolver-hoje .servico-escolha-card span.link-card::after {
    content: none;
}

.servicos-resolver-hoje .servico-escolha-card:hover span.link-card {
    color: #ffa126;
    text-shadow: none;
    transform: none;
}

@media (max-width: 1279px) {
    .servicos-resolver-hoje .servicos-grid-escolha {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1020px) {
    .servicos-direto.servicos-resolver-hoje {
        padding: 44px 5% 58px;
    }

    .servicos-resolver-hoje .servicos-topo-direto {
        grid-template-columns: 1fr;
        gap: 18px;
        align-items: start;
        margin-bottom: 26px;
    }

    .servicos-resolver-hoje .servicos-grid-escolha {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .servicos-resolver-hoje .servico-escolha-card {
        min-height: 400px;
    }
}

@media (max-width: 640px) {
    .servicos-direto.servicos-resolver-hoje {
        padding: 36px 4.6% 48px;
    }

    .servicos-resolver-hoje .servicos-topo-direto {
        gap: 14px;
        margin-bottom: 22px;
    }

    .servicos-resolver-hoje .servicos-topo-direto h1 {
        max-width: 100%;
        font-size: clamp(30px, 8.2vw, 34px);
        line-height: 1.06;
        letter-spacing: -0.03em;
    }

    .servicos-resolver-hoje .servicos-topo-direto p {
        font-size: 15px;
        line-height: 1.5;
    }

    .servicos-resolver-hoje .servicos-topo-acoes {
        grid-template-columns: 1fr;
    }

    .servicos-resolver-hoje .servicos-topo-acoes a {
        min-height: 46px;
        border-radius: 5px;
    }

    .servicos-resolver-hoje .servicos-grid-escolha {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .servicos-resolver-hoje .servico-escolha-card {
        min-height: 0;
        border-radius: 5px;
    }

    .servicos-resolver-hoje .servico-escolha-img {
        aspect-ratio: 16 / 9;
        border-radius: 4px 4px 0 0;
    }

    .servicos-resolver-hoje .servico-escolha-conteudo {
        min-height: 204px;
        padding: 18px 18px 17px;
    }

    .servicos-resolver-hoje .servico-escolha-card h2 {
        font-size: 18px;
        line-height: 1.2;
    }

    .servicos-resolver-hoje .servico-escolha-card p {
        font-size: 13.8px;
        line-height: 1.48;
    }
}

@media (prefers-reduced-motion: reduce) {
    .servicos-resolver-hoje .servico-escolha-card {
        transition-duration: 0.01ms !important;
    }
}

/*
COMPLEMENTO MOBILE — carrossel exclusivo até 760px.
Desktop e tablet largo mantêm a grade editorial aprovada.
*/
.servicos-resolver-hoje .servicos-carousel-mobile {
    position: relative;
}

.servicos-resolver-hoje .servicos-carousel-viewport {
    min-width: 0;
}

.servicos-resolver-hoje .servicos-carousel-seta,
.servicos-resolver-hoje .servicos-carousel-seta[hidden] {
    display: none;
}

@media (max-width: 760px) {
    .servicos-resolver-hoje .servicos-carousel-mobile.is-mobile-carousel {
        --servicos-mobile-card-width: min(82vw, calc(var(--servicos-mobile-shell-width, 100vw) - 72px), 360px);
        left: 50%;
        width: var(--servicos-mobile-shell-width, 100vw);
        margin-left: 0;
        overflow: hidden;
        transform: translateX(-50%);
    }

    .servicos-resolver-hoje .servicos-carousel-mobile.is-mobile-carousel .servicos-carousel-viewport {
        width: var(--servicos-mobile-card-width);
        margin: 0 auto;
        overflow: hidden;
        border-radius: 5px;
    }

    .servicos-resolver-hoje .servicos-carousel-mobile.is-mobile-carousel .servicos-grid-escolha {
        display: flex;
        align-items: stretch;
        width: max-content;
        max-width: none;
        gap: 16px;
        transform: translate3d(0, 0, 0);
        transition: transform 420ms cubic-bezier(0.22, 0.72, 0.26, 1);
        touch-action: pan-y;
        will-change: transform;
    }

    .servicos-resolver-hoje .servicos-carousel-mobile.is-mobile-carousel .servicos-grid-escolha.is-dragging,
    .servicos-resolver-hoje .servicos-carousel-mobile.is-mobile-carousel .servicos-grid-escolha.is-jumping {
        transition: none;
    }

    .servicos-resolver-hoje .servicos-carousel-mobile.is-mobile-carousel .servico-escolha-card {
        flex: 0 0 var(--servicos-mobile-card-width);
        width: var(--servicos-mobile-card-width);
        max-width: var(--servicos-mobile-card-width);
        min-height: 0;
    }

    .servicos-resolver-hoje .servicos-carousel-mobile.is-mobile-carousel .servicos-grid-escolha.is-dragging {
        cursor: grabbing;
        user-select: none;
    }

    .servicos-resolver-hoje .servicos-carousel-mobile.is-mobile-carousel .servicos-carousel-seta:not([hidden]) {
        position: absolute;
        top: 50%;
        z-index: 9;
        display: grid;
        width: 36px;
        height: 48px;
        padding: 0;
        place-items: center;
        color: #ff9100;
        background: rgba(5, 7, 10, 0.96);
        border: 1px solid rgba(255, 145, 0, 0.66);
        border-radius: 5px;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.30);
        transform: translateY(-50%);
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .servicos-resolver-hoje .servicos-carousel-seta--anterior {
        left: 0;
    }

    .servicos-resolver-hoje .servicos-carousel-seta--proxima {
        right: 0;
    }

    .servicos-resolver-hoje .servicos-carousel-seta span {
        display: block;
        font-size: 30px;
        font-weight: 700;
        line-height: 1;
        transform: translateY(-1px);
    }

    .servicos-resolver-hoje .servicos-carousel-seta:focus-visible {
        outline: 2px solid #ff8a00;
        outline-offset: 3px;
    }
}

@media (max-width: 340px) {
    .servicos-resolver-hoje .servicos-carousel-mobile.is-mobile-carousel {
        --servicos-mobile-card-width: calc(var(--servicos-mobile-shell-width, 100vw) - 72px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .servicos-resolver-hoje .servicos-carousel-mobile.is-mobile-carousel .servicos-grid-escolha {
        transition: none;
    }
}

/* --------------------------------------------------------------------------
   REFINAMENTO ISOLADO /servicos — cantos técnicos + CTA final escuro
   Mantém botões e marcadores circulares fora deste sistema geométrico.
   -------------------------------------------------------------------------- */
.servicos-direto .servicos-alerta-rapido,
.servicos-processo .processo-foto-box,
.servicos-processo .processo-foto-selo,
.servicos-processo .processo-card {
    border-radius: 5px;
}

/* --------------------------------------------------------------------------
   REFINAMENTO ISOLADO /servicos — fotografia de "Como a AMJ trabalha"
   Mantém o PNG e o conteúdo; remove a moldura e achata o selo sobreposto.
   -------------------------------------------------------------------------- */
.servicos-processo .processo-foto-box {
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.servicos-processo .processo-foto-box::after {
    display: none;
    content: none;
}

.servicos-processo .processo-foto-box img {
    object-fit: contain;
    object-position: right center;
}

.servicos-processo .processo-foto-selo {
    right: auto;
    bottom: -12px;
    left: 0;
    width: min(430px, calc(100% - 16px));
    max-width: none;
    padding: 8px 16px 9px;
    border-radius: 5px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.servicos-processo .processo-foto-selo strong {
    margin-bottom: 2px;
    font-size: 11px;
    line-height: 1.2;
}

.servicos-processo .processo-foto-selo span {
    font-size: 14px;
    line-height: 1.28;
}

@media (max-width: 760px) {
    .servicos-processo .processo-foto-selo {
        right: auto;
        bottom: -14px;
        left: 0;
        width: calc(100% - 8px);
        padding: 7px 12px 8px;
    }

    .servicos-processo .processo-foto-selo strong {
        font-size: 10px;
    }

    .servicos-processo .processo-foto-selo span {
        font-size: 13px;
        line-height: 1.28;
    }
}

/* --------------------------------------------------------------------------
   REFORMULAÇÃO ISOLADA /servicos — "Como a AMJ trabalha"
   Fundo técnico, fotografia integrada e processo editorial sem cards.
   -------------------------------------------------------------------------- */
#como-trabalhamos.servicos-processo {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 64px 5.2% 56px;
    background:
        radial-gradient(circle at 0% 16%, rgba(255, 138, 0, 0.13), transparent 27%),
        radial-gradient(circle at 76% 28%, rgba(17, 58, 91, 0.24), transparent 34%),
        linear-gradient(118deg, #07111d 0%, #03101c 48%, #020a13 100%);
}

#como-trabalhamos.servicos-processo::before,
#como-trabalhamos.servicos-processo::after {
    position: absolute;
    content: "";
    pointer-events: none;
}

#como-trabalhamos.servicos-processo::before {
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(rgba(104, 137, 166, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(104, 137, 166, 0.055) 1px, transparent 1px),
        radial-gradient(circle at 10% 35%, rgba(255, 138, 0, 0.16) 0 1px, transparent 2px),
        radial-gradient(circle at 34% 66%, rgba(255, 138, 0, 0.12) 0 1px, transparent 2px),
        radial-gradient(circle at 72% 18%, rgba(255, 138, 0, 0.14) 0 1px, transparent 2px);
    background-size: 42px 42px, 42px 42px, 186px 154px, 238px 192px, 216px 174px;
    opacity: 0.58;
}

#como-trabalhamos.servicos-processo::after {
    top: -18%;
    right: -5%;
    z-index: 0;
    width: min(760px, 58vw);
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        repeating-radial-gradient(circle at center,
            rgba(255, 138, 0, 0.18) 0 1px,
            transparent 1px 58px),
        repeating-conic-gradient(from 4deg,
            rgba(255, 138, 0, 0.17) 0 0.45deg,
            transparent 0.45deg 14deg);
    -webkit-mask-image: radial-gradient(circle, #000 0 58%, transparent 76%);
    mask-image: radial-gradient(circle, #000 0 58%, transparent 76%);
    opacity: 0.48;
    transform: rotate(-8deg);
}

#como-trabalhamos.servicos-processo > .servicos-container {
    position: relative;
    z-index: 1;
}

#como-trabalhamos .processo-topo-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.36fr) minmax(360px, 0.74fr);
    gap: clamp(38px, 3.6vw, 54px);
    align-items: center;
    min-height: 350px;
    margin-bottom: 60px;
}

#como-trabalhamos .processo-topo-grid .servicos-section-head {
    max-width: 860px;
    margin: 0;
}

#como-trabalhamos .processo-topo-grid .servicos-section-head > span {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    margin-bottom: 22px;
    color: #ff8a00;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

#como-trabalhamos .processo-topo-grid .servicos-section-head > span::after {
    flex: 1 1 auto;
    height: 1px;
    content: "";
    background: linear-gradient(90deg, #ff8a00, rgba(255, 138, 0, 0.12));
}

#como-trabalhamos .processo-topo-grid .servicos-section-head h2 {
    max-width: 850px;
    margin: 0 0 22px;
    color: #f8fafc;
    font-size: clamp(40px, 2.95vw, 48px);
    font-weight: 850;
    line-height: 1.04;
    letter-spacing: -0.045em;
}

#como-trabalhamos .processo-topo-grid .servicos-section-head p {
    max-width: 820px;
    margin: 0;
    color: #bac4cf;
    font-size: clamp(17px, 1.35vw, 20px);
    line-height: 1.65;
}

#como-trabalhamos .processo-foto-box {
    position: relative;
    display: flex;
    min-height: 350px;
    align-items: flex-end;
    justify-content: flex-end;
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

#como-trabalhamos .processo-foto-box::before {
    position: absolute;
    top: -6%;
    right: -2%;
    bottom: 4%;
    left: 2%;
    z-index: 0;
    content: "";
    border-radius: 50%;
    background:
        repeating-radial-gradient(circle at 60% 46%,
            rgba(255, 138, 0, 0.2) 0 1px,
            transparent 1px 42px),
        repeating-conic-gradient(from 2deg at 60% 46%,
            rgba(255, 138, 0, 0.2) 0 0.55deg,
            transparent 0.55deg 18deg);
    -webkit-mask-image: radial-gradient(circle at 60% 46%, #000 0 55%, transparent 76%);
    mask-image: radial-gradient(circle at 60% 46%, #000 0 55%, transparent 76%);
    opacity: 0.62;
    pointer-events: none;
}

#como-trabalhamos .processo-foto-box::after {
    display: none;
    content: none;
}

#como-trabalhamos .processo-foto-box img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 350px;
    min-height: 350px;
    object-fit: contain;
    object-position: right bottom;
    filter: saturate(1.03) contrast(1.03);
}

@media (min-width: 901px) {
    #como-trabalhamos .processo-foto-box img {
        transform: translateY(32px) scale(1.27);
        transform-origin: bottom center;
    }
}

#como-trabalhamos .processo-foto-selo {
    position: absolute;
    right: 0;
    bottom: -2px;
    left: 3%;
    z-index: 2;
    width: auto;
    max-width: none;
    padding: 9px 16px 11px;
    color: #f8fafc;
    background: rgba(2, 11, 20, 0.88);
    border: 0;
    border-bottom: 1px solid rgba(255, 138, 0, 0.82);
    border-left: 3px solid #ff8a00;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: blur(5px);
}

#como-trabalhamos .processo-foto-selo strong {
    display: block;
    margin: 0 0 3px;
    color: #ff8a00;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

#como-trabalhamos .processo-foto-selo span {
    display: block;
    color: #eef2f7;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.35;
}

#como-trabalhamos .processo-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    max-width: 1500px;
    margin: 0 auto;
    padding-top: 46px;
}

#como-trabalhamos .processo-grid::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 1px;
    content: "";
    background: linear-gradient(90deg, #ff8a00 0 86%, rgba(123, 145, 164, 0.48) 100%);
}

#como-trabalhamos .processo-grid::after {
    position: absolute;
    top: -7px;
    left: calc(10% - 7px);
    width: 14px;
    height: 14px;
    content: "";
    background: #07111d;
    border: 2px solid #ff8a00;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(255, 138, 0, 0.1), 0 0 14px rgba(255, 138, 0, 0.42);
}

#como-trabalhamos .processo-card {
    min-width: 0;
    min-height: 230px;
    padding: 0 clamp(20px, 2.35vw, 36px) 6px;
    background: transparent;
    border: 0;
    border-left: 1px solid rgba(123, 145, 164, 0.36);
    border-radius: 0;
    box-shadow: none;
}

#como-trabalhamos .processo-card:first-child {
    padding-left: 16px;
    border-left: 0;
}

#como-trabalhamos .processo-card strong {
    display: block;
    width: auto;
    height: auto;
    color: transparent;
    background: transparent;
    border: 0;
    border-radius: 0;
    font-size: clamp(46px, 4.2vw, 62px);
    font-weight: 650;
    line-height: 0.94;
    -webkit-text-stroke: 1px rgba(148, 163, 184, 0.46);
    text-shadow: none;
}

#como-trabalhamos .processo-card strong::after {
    display: block;
    width: 30px;
    height: 2px;
    margin: 13px 0 16px;
    content: "";
    background: #ff8a00;
}

#como-trabalhamos .processo-card h3 {
    margin: 0 0 10px;
    color: #f8fafc;
    font-size: clamp(17px, 1.4vw, 20px);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

#como-trabalhamos .processo-card p {
    margin: 0;
    color: #aeb9c5;
    font-size: clamp(14px, 1.08vw, 16px);
    line-height: 1.62;
}

@media (max-width: 900px) {
    #como-trabalhamos.servicos-processo {
        padding: 58px 5% 64px;
    }

    #como-trabalhamos.servicos-processo::before {
        opacity: 0.38;
    }

    #como-trabalhamos.servicos-processo::after {
        top: 25%;
        right: -34%;
        width: 120vw;
        opacity: 0.28;
    }

    #como-trabalhamos .processo-topo-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        min-height: 0;
        margin-bottom: 68px;
    }

    #como-trabalhamos .processo-topo-grid .servicos-section-head > span {
        margin-bottom: 18px;
    }

    #como-trabalhamos .processo-topo-grid .servicos-section-head h2 {
        font-size: clamp(34px, 8.8vw, 48px);
        line-height: 1.05;
    }

    #como-trabalhamos .processo-topo-grid .servicos-section-head p {
        font-size: 16px;
        line-height: 1.6;
    }

    #como-trabalhamos .processo-foto-box,
    #como-trabalhamos .processo-foto-box img {
        min-height: 270px;
        height: 270px;
    }

    #como-trabalhamos .processo-foto-selo {
        right: 0;
        bottom: -10px;
        left: 0;
        padding: 8px 12px 9px;
    }

    #como-trabalhamos .processo-foto-selo strong {
        font-size: 10px;
    }

    #como-trabalhamos .processo-foto-selo span {
        font-size: 13px;
    }

    #como-trabalhamos .processo-grid {
        grid-template-columns: 1fr;
        gap: 0;
        padding-top: 36px;
        padding-left: 30px;
    }

    #como-trabalhamos .processo-grid::before {
        top: 0;
        bottom: 0;
        left: 8px;
        width: 1px;
        height: auto;
        background: linear-gradient(180deg, #ff8a00, rgba(123, 145, 164, 0.22));
    }

    #como-trabalhamos .processo-grid::after {
        top: 0;
        left: 1px;
    }

    #como-trabalhamos .processo-card,
    #como-trabalhamos .processo-card:first-child {
        min-height: 0;
        padding: 18px 0 30px 12px;
        border: 0;
        border-bottom: 1px solid rgba(123, 145, 164, 0.22);
    }

    #como-trabalhamos .processo-card:last-child {
        padding-bottom: 0;
        border-bottom: 0;
    }

    #como-trabalhamos .processo-card strong {
        font-size: 44px;
    }

    #como-trabalhamos .processo-card strong::after {
        margin: 10px 0 14px;
    }

    #como-trabalhamos .processo-card h3 {
        font-size: 19px;
    }

    #como-trabalhamos .processo-card p {
        max-width: 520px;
        font-size: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #como-trabalhamos.servicos-processo::before,
    #como-trabalhamos.servicos-processo::after,
    #como-trabalhamos .processo-foto-box::before {
        animation: none;
    }
}
