/* Estilos exclusivos da página de serviços, mantendo a base da landing page. */
.services-page {
    color: #fff;
    overflow-x: hidden;
}

.services-page .container-video {
    opacity: .28;
}

.services-page .video-mask {
    background: linear-gradient(110deg, rgba(8, 11, 14, .97), rgba(8, 11, 14, .82));
}

.services-header {
    max-width: 1240px;
    margin: 0 auto;
    justify-content: flex-start;
    position: relative;
    z-index: 2;
    padding: 16px 28px;
}

.header-logo {
    display: flex;
    line-height: 0;
}

.services-header nav {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-left: 12px;
}

.services-header a {
    text-decoration: none;
}

.services-header nav a[aria-current="page"] {
    color: #ffcf36;
}

.services-hero,
.services-catalog,
.services-cta {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.services-hero {
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 44px 42px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, .14);
    border-radius: 20px;
    background: linear-gradient(120deg, rgba(20, 49, 96, .9), rgba(16, 27, 46, .84));
    box-shadow: 0 20px 50px rgba(0, 0, 0, .28);
}

.services-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 16px;
    background: repeating-linear-gradient(90deg, #268f38 0 44px, #45ba54 44px 88px);
    opacity: .8;
}

.hero-copy {
    position: relative;
    z-index: 2;
    max-width: 610px;
}

.level-label,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #ffdc4a;
    font-size: .86rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.services-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.8rem);
    line-height: .98;
    margin: 15px 0;
    text-transform: uppercase;
    letter-spacing: -.04em;
}

.services-hero h1 span {
    color: #ffcf36;
    text-shadow: 3px 3px 0 #b27700;
}

.services-hero p,
.section-heading>p,
.service-card p,
.services-cta p {
    color: rgba(255, 255, 255, .86);
    line-height: 1.55;
}

.services-hero p {
    max-width: 560px;
    font-size: 1.12rem;
}

.hero-scene {
    position: absolute;
    inset: 0 0 0 auto;
    width: 43%;
    min-width: 350px;
    background: linear-gradient(180deg, rgba(66, 139, 225, .32), rgba(26, 73, 130, .2));
}

.question-block {
    position: absolute;
    right: 130px;
    top: 66px;
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    background: #f2a900;
    border: 5px solid #ffdb43;
    box-shadow: inset 0 0 0 4px #b66f00, 6px 7px 0 rgba(0, 0, 0, .28);
    color: #fff;
    font-weight: 900;
    font-size: 3rem;
    text-shadow: 2px 2px #915600;
    animation: bob 3s ease-in-out infinite;
}

.pipe {
    position: absolute;
    right: 40px;
    bottom: 0;
    width: 132px;
    height: 155px;
    border: 7px solid #145f2b;
    border-bottom: 0;
    border-radius: 10px 10px 0 0;
    background: repeating-linear-gradient(90deg, #25a744 0 18px, #42c25b 18px 36px);
    box-shadow: inset 11px 0 rgba(255, 255, 255, .17), -5px 0 0 rgba(0, 0, 0, .2);
}

.pipe span {
    position: absolute;
    top: -20px;
    left: -13px;
    width: calc(100% + 26px);
    height: 35px;
    border: 6px solid #145f2b;
    border-radius: 6px;
    background: #43bf54;
}

.coin {
    position: absolute;
    width: 24px;
    height: 38px;
    border: 4px solid #d58900;
    border-radius: 50%;
    background: #ffd43d;
    box-shadow: inset 5px 0 #fff07b;
    animation: spin 3s linear infinite;
}

.coin-one {
    right: 48px;
    top: 65px;
}

.coin-two {
    right: 270px;
    bottom: 74px;
    animation-delay: -1.4s;
}

.cloud {
    position: absolute;
    width: 80px;
    height: 24px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .8);
}

.cloud::before,
.cloud::after {
    content: "";
    position: absolute;
    bottom: 7px;
    border-radius: 50%;
    background: inherit;
}

.cloud::before {
    width: 35px;
    height: 35px;
    left: 12px;
}

.cloud::after {
    width: 46px;
    height: 46px;
    right: 9px;
}

.cloud-one {
    top: 57px;
    left: 38px;
}

.cloud-two {
    top: 170px;
    left: 128px;
    transform: scale(.7);
    opacity: .65;
}

.services-catalog {
    padding: 96px 0 78px;
}

.section-heading {
    max-width: 650px;
    margin: 0 auto 38px;
    text-align: center;
}

.section-heading h2,
.services-cta h2 {
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1.12;
    margin: 9px 0 12px;
}

.section-heading>p {
    font-size: 1.05rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.service-card {
    min-height: 250px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    background: linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(237, 242, 250, .96));
    color: #1c2530;
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 14px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .2);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: #ffcb36;
    box-shadow: 0 20px 32px rgba(0, 0, 0, .3);
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 16px;
}

.service-icon {
    display: grid;
    place-items: center;
    width: 51px;
    height: 51px;
    border-radius: 11px;
    color: #fff;
    font-size: 1.5rem;
    background: linear-gradient(135deg, #cf1c1c, #861010);
    box-shadow: 3px 4px 0 #68100f;
}

.card-coin {
    color: #ffc629;
    font-size: 1.25rem;
    text-shadow: 1px 1px #bd7800;
}

.service-card h3 {
    font-size: 1.28rem;
    line-height: 1.15;
    margin-bottom: 10px;
    color: #bd1818;
}

.service-card p {
    color: #45515f;
    font-size: .95rem;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .5s ease, transform .5s ease, box-shadow .25s ease, border-color .25s ease;
}

.reveal:nth-child(2) {
    transition-delay: .07s;
}

.reveal:nth-child(3) {
    transition-delay: .14s;
}

.reveal:nth-child(4) {
    transition-delay: .21s;
}

.services-cta {
    margin-bottom: 70px;
    padding: 33px 38px 33px 145px;
    display: flex;
    align-items: center;
    gap: 30px;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(105deg, #bf1919, #761112);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .27);
}

.services-cta>div:not(.cta-pipe) {
    flex: 1;
}

.services-cta .eyebrow {
    color: #ffda41;
}

.services-cta h2 {
    margin-top: 5px;
}

.services-cta p {
    font-size: 1rem;
}

.cta-pipe {
    position: absolute;
    left: 34px;
    bottom: -14px;
    width: 76px;
    height: 100px;
    border: 6px solid #155d2a;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    background: repeating-linear-gradient(90deg, #27a847 0 14px, #48bd5d 14px 28px);
}

.cta-pipe::before {
    content: "";
    position: absolute;
    top: -15px;
    left: -12px;
    width: 88px;
    height: 26px;
    border: 5px solid #155d2a;
    border-radius: 5px;
    background: #48bd5d;
}

.cta-button {
    flex: none;
    display: inline-flex;
    gap: 14px;
    align-items: center;
    padding: 15px 20px;
    border-radius: 5px;
    background: #ffcf36;
    color: #4c2700;
    font-weight: 900;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    background: #ffe16f;
}

.cta-button span {
    font-size: 1.35rem;
}

.services-whatsapp {
    position: fixed;
    right: 12px;
    bottom: 15px;
    z-index: 3;
}

.services-whatsapp img {
    width: 60px;
}

@keyframes bob {
    50% {
        transform: translateY(-12px);
    }
}

@keyframes spin {
    50% {
        transform: scaleX(.28);
    }
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-hero {
        padding: 42px 32px;
    }

    .hero-scene {
        opacity: .62;
    }

    .hero-copy {
        max-width: 570px;
    }

    .services-cta {
        padding-left: 132px;
    }
}

@media (max-width: 640px) {
    .services-header {
        padding: 12px 20px;
        gap: 13px;
    }

    .services-header img {
        width: 48px;
    }

    .services-header nav {
        margin: 0;
        gap: 14px;
        flex: 1;
        justify-content: space-between;
    }

    .services-header nav a {
        font-size: .84rem;
        white-space: nowrap;
    }

    .services-hero,
    .services-catalog,
    .services-cta {
        width: min(100% - 28px, 1120px);
    }

    .services-hero {
        min-height: 320px;
        padding: 32px 22px;
    }

    .hero-scene {
        width: 100%;
        min-width: 0;
        opacity: .34;
    }

    .services-hero p {
        font-size: 1rem;
    }

    .question-block {
        right: 58px;
        top: 44px;
        transform: scale(.78);
    }

    .pipe {
        right: 14px;
        transform: scale(.75);
        transform-origin: bottom right;
    }

    .coin-two {
        display: none;
    }

    .services-catalog {
        padding: 62px 0 52px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .service-card {
        min-height: 0;
        padding: 20px;
    }

    .services-cta {
        margin-bottom: 38px;
        padding: 28px 22px 29px 112px;
        display: block;
    }

    .services-cta h2 {
        font-size: 1.7rem;
    }

    .services-cta p {
        font-size: .95rem;
    }

    .cta-pipe {
        left: 21px;
        transform: scale(.73);
        transform-origin: bottom left;
    }

    .cta-button {
        margin-top: 20px;
    }

    .services-whatsapp img {
        width: 54px;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}