.service-hero {
    position: relative;
    display: flex;
    align-items: end;
    min-height: 620px;
    padding: 165px 0 90px;
    background-position: center;
    background-size: cover;
    overflow: hidden
}

.service-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 28, 43, .96) 0%, rgba(11, 61, 87, .8) 50%, rgba(11, 61, 87, .25) 100%)
}

.service-hero:after {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../../images/layout/blueprint-lines.png') center/cover;
    opacity: .1
}

.service-hero--alvara-projeto {
    background-image: url('../../images/servicos/banner-alvara.jpg')
}
.service-hero--acessibilidade {
    background-image: url('../../images/servicos/banner-acessibilidade.jpg')
}

.service-hero--habite-se-certificado {
    background-image: url('../../images/servicos/banner-habitese.jpg')
}
.service-hero--anistia {
    background-image: url('../../images/servicos/home-fs-4.jpg')
}

.service-hero--licenca-alvara {
    background-image: url('../../images/servicos/banner-lic-alvara.jpg')
}

.service-hero--corpo-de-bombeiros {
    background-image: url('../../images/servicos/banner-bombeiros.jpg')
}

.service-hero--technical-project {
    background-image: url('../../images/servicos/banner-projetos.jpg')
}

.service-hero--other-service {
    background-image: url('../../images/servicos/banner-outros.jpg')
}

.service-hero--construction-service {
    background-image: url('../../images/servicos/home-fs-4.jpg')
}

.service-hero-grid {
    position: relative;
    z-index: 2
}

.service-hero-grid>div {
    max-width: 800px
}

.service-hero h1 {
    margin-bottom: 24px;
    color: #fff;
    font-size: clamp(3rem, 3.5vw, 3.8rem)
}

.service-hero p {
    max-width: 720px;
    margin-bottom: 32px;
    color: #c8dce6;
    font-size: 1.16rem
}

.service-deadline {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    max-width: 760px;
    margin: 0 0 28px;
    padding: 19px 21px;
    border-left: 4px solid var(--blue-light);
    background: rgba(7, 28, 43, .82);
    color: #fff
}

.service-deadline>i {
    color: var(--blue-light);
    font-size: 1.65rem;
    line-height: 1.1
}

.service-deadline strong,
.service-deadline span {
    display: block
}

.service-deadline strong {
    margin-bottom: 6px;
    color: #fff;
    font-size: 1.02rem
}

.service-deadline span {
    color: #d6e5ec;
    font-size: .9rem;
    line-height: 1.55
}

.service-deadline a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 9px;
    color: var(--blue-light);
    font-size: .84rem;
    font-weight: 700
}

.service-deadline a:hover,
.service-deadline a:focus-visible {
    color: #fff
}

.service-overview {
    padding: 80px 0;
    background: var(--soft)
}

.service-overview-grid {
    display: grid;
    grid-template-columns: .65fr 1.35fr;
    gap: 80px;
    align-items: center
}

.service-title-box {
    padding: 38px;
    background: var(--navy);
    color: #fff
}

.service-title-box>i {
    display: block;
    margin-bottom: 25px;
    color: var(--blue-light);
    font-size: 2.8rem
}

.service-title-box>span {
    display: block;
    color: #a9c7d5;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase
}

.service-title-box h2 {
    margin: 10px 0 0;
    color: #fff;
    font-size: 1.75rem
}

.service-overview .section-title {
    font-size: 2.25rem
}

.check-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 25px
}

.check-grid span {
    display: flex;
    gap: 9px;
    color: #3d5360
}

.check-grid i {
    color: var(--blue);
    font-size: 1.2rem
}

.service-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 70px;
    align-items: start
}

.content-section {
    padding: 38px 0;
    border-bottom: 1px solid var(--line)
}

.content-section:first-of-type {
    padding-top: 10px
}

.content-section h2 {
    font-size: 2rem
}

.content-section p {
    font-size: 1.04rem
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 28px
}

.benefits-grid span {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--soft);
    color: #405662
}

.benefits-grid i {
    color: var(--blue)
}

.service-sidebar {
    position: sticky;
    top: 120px
}

.sidebar-box {
    padding: 28px;
    background: var(--soft)
}

.sidebar-box h2 {
    font-size: 1.35rem
}

.sidebar-box a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid #d7e2e7;
    color: #4f6571;
    font-size: .86rem;
    line-height: 1.35
}

.sidebar-box a:hover,
.sidebar-box a.active {
    color: var(--blue)
}

.sidebar-contact {
    padding: 32px;
    background: var(--blue);
    color: #fff
}

.sidebar-contact>span {
    font-size: .76rem;
    text-transform: uppercase;
    letter-spacing: .1em
}

.sidebar-contact h2 {
    margin: 10px 0 24px;
    color: #fff;
    font-size: 1.7rem
}

.sidebar-contact a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700
}

.sidebar-contact .button-whatsapp {
    width: 100%;
    color: #fff
}

.sidebar-contact i {
    font-size: 1.45rem
}

.service-form-section {
    position: relative;
    padding: 100px 0;
    background: var(--navy);
    overflow: hidden
}

.service-form-section:after {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../../images/layout/blueprint-lines.png') center/cover;
    opacity: .06
}

.form-section-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 80px;
    align-items: start
}

.form-section-grid>div:first-child h2 {
    color: #fff;
    font-size: clamp(2.5rem, 4vw, 4rem)
}

.form-section-grid>div:first-child p {
    color: #a9c2cf
}

.form-card {
    box-shadow: none
}

@media(max-width:950px) {
    .service-overview-grid {
        grid-template-columns: 1fr
    }

    .service-content-grid {
        grid-template-columns: 1fr
    }

    .service-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr
    }

    .form-section-grid {
        grid-template-columns: 1fr;
        gap: 40px
    }
}

@media(max-width:650px) {
    .service-hero {
        min-height: 540px;
        padding: 140px 0 70px
    }

    .service-hero h1 {
        width: 100%;
        max-width: 100%;
        font-size: clamp(2.05rem, 9.5vw, 2.35rem);
        overflow-wrap: anywhere;
        word-break: normal
    }

    .service-hero p,
    .service-hero .eyebrow {
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: normal
    }

    .service-hero p {
        font-size: 1rem
    }

    .service-hero .eyebrow {
        letter-spacing: .12em;
        line-height: 1.45
    }

    .check-grid,
    .benefits-grid {
        grid-template-columns: 1fr
    }

    .service-sidebar {
        grid-template-columns: 1fr
    }

    .service-overview-grid {
        gap: 35px
    }
}
