:root {
    --fm-navy: #003a66;
    --fm-blue: #3051a0;
    --fm-light-blue: #50b8fd;
    --fm-steel: #f0f5fb;
    --fm-white: #ffffff;
    --fm-text: #1c2b3f;
    --fm-muted: #6f7f92;
    --fm-line: #dfe4eb;
    --fm-shadow: 0 24px 60px rgba(8, 18, 35, .16);
}

.fm-page {
    overflow: hidden;
    color: var(--fm-text);
}

.fm-page h1,
.fm-page h2,
.fm-page h3 {
    margin: 0;
    font-family: "Poppins", sans-serif;
    color: var(--fm-navy);
}

.fm-page p {
    margin: 0;
    line-height: 1.75;
}

.fm-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--fm-blue);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.fm-eyebrow::before {
    width: 34px;
    height: 2px;
    content: "";
    background: currentColor;
}

.fm-section {
    padding: 96px 0;
}

.fm-button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 26px;
    border: 0;
    border-radius: 3px;
    color: #ffffff !important;
    background: var(--fm-light-blue);
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(48, 81, 160, .22);
    transition: transform .2s ease, background .2s ease;
}

.fm-button:hover {
    color: #ffffff !important;
    background: var(--fm-blue);
    transform: translateY(-2px);
}

.fm-button-form {
    background: var(--fm-navy);
}

.fm-text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--fm-navy);
    color: var(--fm-navy);
    font-weight: 800;
    text-decoration: none;
}

/* HERO */
.fm-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, #fff 0 58%, var(--fm-steel) 58%);
}

.fm-hero::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 8px;
    content: "";
    background: var(--fm-light-blue);
}

.fm-hero-grid {
    min-height: 690px;
    display: grid;
    grid-template-columns: .96fr .84fr;
    align-items: stretch;
    gap: 80px;
}

.fm-hero-copy {
    align-self: center;
    padding: 72px 0;
}

.fm-page h1 {
    max-width: 650px;
    font-size: clamp(3rem, 5.2vw, 5.4rem);
    font-weight: 700;
    line-height: .99;
    letter-spacing: -.045em;
}

.fm-page h1 em {
    display: block;
    color: var(--fm-light-blue);
    font-style: normal;
}

.fm-hero-copy > p {
    max-width: 650px;
    margin-top: 28px;
    color: #4e5a6c;
    font-size: 1.1rem;
}

.fm-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 38px;
}

.fm-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin: 36px 0 0;
    padding: 0;
    color: #303c4c;
    list-style: none;
    font-size: .88rem;
    font-weight: 700;
}

.fm-hero-points span {
    margin-right: 6px;
    color: var(--fm-light-blue);
}

/* FOTO DO HERO - PADRÃO CAIXA D'ÁGUA */
.fm-hero-media {
    position: relative;
    min-height: 690px;
}

.fm-hero-media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    display: block;
}

.fm-hero-media::after {
    position: absolute;
    right: -24px;
    bottom: 0;
    width: 130px;
    height: 130px;
    content: "";
    background-image: radial-gradient(#fff 1.4px, transparent 1.4px);
    background-size: 12px 12px;
    opacity: .48;
    pointer-events: none;
}

.fm-hero-badge {
    position: absolute;
    left: -34px;
    bottom: 38px;
    z-index: 4;
    width: 150px;
    height: 150px;
    display: grid;
    place-content: center;
    color: #fff;
    background: var(--fm-blue);
    box-shadow: var(--fm-shadow);
    text-align: center;
    transform: rotate(-2deg);
}

.fm-hero-badge strong {
    font: 700 2.15rem/1 Poppins, sans-serif;
    text-transform: uppercase;
}

.fm-hero-badge span {
    font-size: .75rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* PONTILHADO BRANCO NO CANTO INFERIOR DIREITO */
/* FAIXA DE DIFERENCIAIS */
.fm-trust-strip {
    color: #ffffff;
    background: var(--fm-navy);
}

.fm-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.fm-trust-grid > div {
    min-height: 140px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 26px 28px;
    border-left: 1px solid rgba(255,255,255,.12);
}

.fm-trust-grid > div:last-child {
    border-right: 1px solid rgba(255,255,255,.12);
}

.fm-trust-grid strong {
    font-family: "Poppins", sans-serif;
    font-size: 1.08rem;
}

.fm-trust-grid span {
    margin-top: 6px;
    color: #aeb9c8;
    font-size: .82rem;
    line-height: 1.45;
}

/* INTRO */
.fm-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.fm-page h2 {
    font-size: clamp(2rem, 3.4vw, 3.5rem);
    line-height: 1.1;
    letter-spacing: -.035em;
}

.fm-copy p {
    color: var(--fm-muted);
}

.fm-copy p + p {
    margin-top: 20px;
}

/* BENEFÍCIOS */
.fm-benefits,
.fm-projects {
    background: var(--fm-steel);
}

.fm-center-heading {
    max-width: 760px;
    margin: 0 auto 50px;
    text-align: center;
}

.fm-center-heading .fm-eyebrow {
    justify-content: center;
}

.fm-center-heading p {
    margin-top: 18px;
    color: var(--fm-muted);
}

.fm-benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--fm-line);
}

.fm-benefit-card {
    min-height: 320px;
    padding: 34px 28px;
    border-right: 1px solid var(--fm-line);
    background: #ffffff;
}

.fm-benefit-card:last-child {
    border-right: 0;
}

.fm-benefit-card.fm-featured {
    color: #ffffff;
    background: var(--fm-navy);
    box-shadow: var(--fm-shadow);
    transform: translateY(-12px);
}

.fm-card-number {
    display: block;
    margin-bottom: 54px;
    color: var(--fm-light-blue);
    font: 700 1rem/1 "Poppins", sans-serif;
}

.fm-benefit-card h3 {
    font-size: 1.3rem;
}

.fm-featured h3 {
    color: #ffffff;
}

.fm-benefit-card p {
    margin-top: 16px;
    color: var(--fm-muted);
    font-size: .9rem;
}

.fm-featured p {
    color: #b9c3d0;
}

/* DESTAQUE */
.fm-feature-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 70px;
    align-items: center;
}

.fm-feature-image {
    min-height: 500px;
    overflow: hidden;
}

.fm-feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fm-feature-copy > p {
    margin-top: 22px;
    color: var(--fm-muted);
}

.fm-feature-copy ul {
    margin: 26px 0 30px;
    padding-left: 20px;
    color: var(--fm-muted);
}

.fm-feature-copy li + li {
    margin-top: 9px;
}

/* PROCESSO */
.fm-process {
    color: #ffffff;
    background: var(--fm-navy);
}

.fm-process h2 {
    color: #ffffff;
}

.fm-process .fm-eyebrow {
    color: var(--fm-light-blue);
}

.fm-process-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 90px;
}

.fm-process-copy p {
    max-width: 470px;
    margin-top: 22px;
    color: #aeb9c8;
}

.fm-steps {
    margin: 0;
    padding: 0;
    list-style: none;
}

.fm-steps li {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 22px;
    padding-bottom: 26px;
    border-bottom: 1px solid rgba(255,255,255,.13);
}

.fm-steps li + li {
    padding-top: 26px;
}

.fm-steps li > span {
    color: var(--fm-light-blue);
    font: 700 1.7rem/1 "Poppins", sans-serif;
}

.fm-steps strong {
    display: block;
    font: 600 1.25rem/1.2 "Poppins", sans-serif;
}

.fm-steps p {
    margin-top: 8px;
    color: #aeb9c8;
    font-size: .9rem;
}

/* GALERIA */
.fm-gallery {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    grid-template-rows: 290px 290px;
    gap: 16px;
}

.fm-gallery-item {
    position: relative;
    overflow: hidden;
    padding: 0;
    border: 0;
    background: #d5dae1;
    cursor: zoom-in;
}

.fm-gallery-item::after {
    position: absolute;
    inset: 0;
    content: "";
    background:
        linear-gradient(
            180deg,
            transparent 50%,
            rgba(4,12,23,.78)
        );
}

.fm-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.fm-gallery-item:hover img {
    transform: scale(1.04);
}

.fm-gallery-item > span {
    position: absolute;
    left: 22px;
    bottom: 18px;
    z-index: 3;
    color: #ffffff;
    font-weight: 800;
    text-transform: uppercase;
}

.fm-gallery-large {
    grid-row: 1 / 3;
}

.fm-gallery-wide {
    grid-column: 2 / 4;
}

/* ORÇAMENTO */
.fm-quote-section {
    background: #ffffff;
}

.fm-quote-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 70px;
}

.fm-quote-copy > p {
    max-width: 490px;
    margin-top: 22px;
    color: var(--fm-muted);
}

.fm-contact-block {
    display: flex;
    flex-direction: column;
    margin-top: 40px;
    padding-left: 20px;
    border-left: 4px solid var(--fm-light-blue);
}

.fm-contact-block span {
    margin-bottom: 8px;
    color: var(--fm-muted);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.fm-contact-block a:first-of-type {
    color: var(--fm-navy);
    font: 600 1.7rem/1.2 "Poppins", sans-serif;
}

.fm-contact-block a:last-of-type {
    margin-top: 4px;
    color: var(--fm-muted);
    font-size: .9rem;
}

.fm-quote-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.fm-quote-option {
    min-height: 320px;
    padding: 36px 30px;
    border-top: 5px solid var(--fm-light-blue);
    background: var(--fm-steel);
    box-shadow: var(--fm-shadow);
}

.fm-quote-option > i {
    margin-bottom: 28px;
    color: var(--fm-light-blue);
    font-size: 2.5rem;
}

.fm-quote-option h3 {
    font-size: 1.3rem;
}

.fm-quote-option p {
    margin: 16px 0 26px;
    color: var(--fm-muted);
    font-size: .9rem;
}

/* LIGHTBOX */
.fm-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 70px 24px 30px;
    background: rgba(2,7,14,.92);
}

.fm-lightbox.is-open {
    display: flex;
}

.fm-lightbox-content {
    position: relative;
    display: flex;
    max-width: 94vw;
    max-height: 88vh;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.fm-lightbox-image {
    display: block;
    width: auto;
    height: auto;
    max-width: 94vw;
    max-height: 80vh;
    object-fit: contain;
    background: #ffffff;
    box-shadow: 0 20px 60px rgba(0,0,0,.45);
}

.fm-lightbox-caption {
    margin-top: 10px;
    color: #ffffff;
    font-size: .95rem;
    text-align: center;
}

.fm-lightbox-close {
    position: fixed;
    top: 22px;
    right: 28px;
    z-index: 100000;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    background: var(--fm-light-blue);
    cursor: pointer;
    font-size: 2rem;
    line-height: 1;
}

body.fm-lightbox-open {
    overflow: hidden;
}

/* TABLETS */
@media (max-width: 980px) {

    .fm-hero-grid,
    .fm-two-columns,
    .fm-feature-grid,
    .fm-process-grid,
    .fm-quote-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .fm-hero-grid {
        min-height: 0;
    }

    .fm-hero-copy {
        padding: 65px 0 20px;
    }

    .fm-hero-media {
        min-height: 520px;
    }

    .fm-hero-badge {
    position: absolute;
    left: -34px;
    bottom: 38px;
    z-index: 4;
    width: 150px;
    height: 150px;
    display: grid;
    place-content: center;
    color: #fff;
    background: var(--fm-blue);
    box-shadow: var(--fm-shadow);
    text-align: center;
    transform: rotate(-2deg);
}

.fm-hero-badge strong {
    font: 700 2.15rem/1 Poppins, sans-serif;
    text-transform: uppercase;
}

.fm-hero-badge span {
    font-size: .75rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

    .fm-trust-grid,
    .fm-benefit-grid,
    .fm-quote-options {
        grid-template-columns: 1fr;
    }

    .fm-benefit-card {
        min-height: 250px;
        border-right: 0;
        border-bottom: 1px solid var(--fm-line);
    }

    .fm-gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 330px 210px 210px;
    }

    .fm-gallery-large {
        grid-column: 1 / 3;
        grid-row: auto;
    }

    .fm-gallery-wide {
        grid-column: 1 / 3;
    }

    .fm-steps li {
        grid-template-columns: 50px 1fr;
        gap: 15px;
    }

    .fm-quote-option {
        min-height: 0;
    }
}

/* ACESSIBILIDADE */
@media (prefers-reduced-motion: reduce) {

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