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

.emm-page,
.emm-page * {
    box-sizing: border-box;
}

.emm-page {
    color: var(--emm-navy);
    background: var(--emm-white);
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

.emm-page img {
    display: block;
    max-width: 100%;
}

.emm-page a {
    color: inherit;
    text-decoration: none;
}

.emm-page button {
    font: inherit;
}

.emm-page h1,
.emm-page h2,
.emm-page h3 {
    margin: 0;
    font-family: Poppins, Arial, sans-serif;
    font-weight: 600;
    line-height: 1.08;
}

.emm-page h1 {
    margin-top: 20px;
    font-size: clamp(3rem, 5.2vw, 5.5rem);
    letter-spacing: -.045em;
}

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

.emm-page h2 {
    margin-top: 16px;
    font-size: clamp(2.45rem, 4vw, 4.2rem);
    letter-spacing: -.035em;
}

.emm-page h3 {
    font-size: 1.5rem;
}

.emm-page p {
    margin: 0;
}

.emm-section {
    padding: 100px 0;
}

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

.emm-eyebrow::before {
    width: 28px;
    height: 3px;
    content: "";
    background: currentColor;
}

.emm-button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 4px;
    color: var(--emm-white);
    cursor: pointer;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    transition: transform .2s ease, background .2s ease, color .2s ease;
}

.emm-button:hover {
    color: var(--emm-white);
    transform: translateY(-2px);
}

.emm-button-whatsapp {
    background: var(--emm-green);
    box-shadow: 0 12px 28px rgba(37, 211, 102, .22);
}

.emm-button-whatsapp:hover {
    background: #1eaf54;
}

.emm-button-form {
    color: var(--emm-navy);
    border-color: var(--emm-navy);
    background: var(--emm-white);
}

.emm-button-form:hover {
    color: var(--emm-white);
    background: var(--emm-navy);
}

.emm-text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border-bottom: 1px solid var(--emm-navy);
    font-weight: 800;
}

.emm-text-link span {
    color: var(--emm-light-blue);
    font-size: 1.35rem;
}

/* HERO - padrão exato das landing pages anteriores */
.emm-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, #fff 0 58%, var(--emm-steel) 58%);
}

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

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

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

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

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

.emm-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;
}

.emm-hero-points span {
    color: var(--emm-light-blue);
}

.emm-hero-media {
    position: relative;
    min-height: 690px;
}

.emm-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;
}

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

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

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

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

/* FAIXA */
.emm-trust-strip {
    color: #fff;
    background: var(--emm-navy);
}

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

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

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

.emm-trust-grid strong {
    font-family: Poppins, sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
}

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

/* APRESENTAÇÃO */
.emm-two-columns {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    align-items: end;
    gap: 80px;
}

.emm-copy {
    color: var(--emm-muted);
    font-size: 1.02rem;
}

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

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

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

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

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

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

.emm-benefit-card {
    position: relative;
    min-height: 340px;
    padding: 36px 30px;
    border-right: 1px solid var(--emm-line);
    background: #fff;
}

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

.emm-benefit-card.emm-featured {
    color: #fff;
    background: var(--emm-navy);
    transform: translateY(-14px);
    box-shadow: var(--emm-shadow);
}

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

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

.emm-benefit-card.emm-featured p {
    color: #b9c3d0;
}

/* DESTAQUE */
.emm-feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.emm-feature-image {
    min-height: 520px;
    overflow: hidden;
}

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

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

.emm-feature-copy ul {
    margin: 28px 0 32px;
    padding-left: 20px;
    color: var(--emm-muted);
}

.emm-feature-copy li + li {
    margin-top: 10px;
}

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

.emm-process h2 {
    color: #fff;
}

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

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

.emm-process-copy p {
    max-width: 460px;
    margin: 24px 0 34px;
    color: #aeb9c8;
}

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

.emm-steps li {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 24px;
    padding: 0 0 30px;
    border-bottom: 1px solid rgba(255,255,255,.13);
}

.emm-steps li + li {
    padding-top: 30px;
}

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

.emm-steps strong {
    display: block;
    font: 600 1.35rem/1.15 Poppins, sans-serif;
}

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

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

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

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

.emm-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.emm-gallery-item:hover img {
    transform: scale(1.045);
}

.emm-gallery-item:focus-visible {
    outline: 4px solid var(--emm-light-blue);
    outline-offset: 3px;
}

.emm-gallery-item span {
    position: absolute;
    left: 24px;
    bottom: 18px;
    z-index: 4;
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
}

.emm-gallery-tall {
    grid-row: 1 / 3;
}

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

/* ORÇAMENTO */
.emm-quote-section {
    background: #fff;
}

.emm-quote-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 70px;
    align-items: center;
}

.emm-quote-copy > p {
    max-width: 510px;
    margin-top: 24px;
    color: var(--emm-muted);
}

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

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

.emm-contact-block a:first-of-type {
    font: 600 1.8rem/1.2 Poppins, sans-serif;
}

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

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

.emm-quote-option {
    min-height: 335px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    padding: 34px 28px;
    border-top: 5px solid var(--emm-light-blue);
    background: var(--emm-steel);
    box-shadow: var(--emm-shadow);
}

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

.emm-quote-option.emm-quote-whatsapp > i {
    color: var(--emm-green);
}

.emm-quote-option p {
    flex-grow: 1;
    margin: 17px 0 25px;
    color: var(--emm-muted);
    font-size: .92rem;
}

.emm-quote-option .emm-button {
    width: 100%;
}

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

    .emm-hero {
        background: #fff;
    }

    .emm-hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 38px;
    }

    .emm-trust-grid,
    .emm-benefit-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .emm-benefit-card:nth-child(2) {
        border-right: 0;
    }

    .emm-benefit-card:nth-child(-n+2) {
        border-bottom: 1px solid var(--emm-line);
    }

    .emm-benefit-card.emm-featured {
        transform: none;
    }

    .emm-feature-grid,
    .emm-process-grid,
    .emm-quote-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }
}

@media (max-width: 700px) {

    .emm-section {
        padding: 72px 0;
    }

    .emm-page h1 {
        font-size: clamp(3rem, 15vw, 4.7rem);
    }

    .emm-hero-grid {
        min-height: 0;
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .emm-hero-copy {
        padding: 62px 0 50px;
    }

    .emm-hero-media {
        min-height: 540px;
        margin-inline: -14px;
    }

    .emm-hero-badge {
        left: 18px;
        bottom: 20px;
        width: 120px;
        height: 120px;
    }

    .emm-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .emm-hero-actions .emm-text-link {
        align-self: flex-start;
    }

    .emm-hero-points {
        flex-direction: column;
    }

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

    .emm-trust-grid > div {
        min-height: 112px;
        border-right: 1px solid rgba(255,255,255,.12);
        border-bottom: 1px solid rgba(255,255,255,.12);
    }

    .emm-two-columns {
        gap: 24px;
    }

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

    .emm-card-number {
        margin-bottom: 40px;
    }

    .emm-gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 390px 220px 220px 220px;
    }

    .emm-gallery-tall {
        grid-column: 1 / 3;
        grid-row: auto;
    }

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

    .emm-steps li {
        grid-template-columns: 52px 1fr;
        gap: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
    }
}


/* =========================================================
   BOTÃO "VER MAIS FOTOS"
   ========================================================= */

.emm-gallery-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 34px;
    flex-wrap: wrap;
}

.emm-more-photos {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 24px;
    border: 1px solid var(--emm-navy);
    border-radius: 3px;
    color: var(--emm-navy);
    background: #fff;
    cursor: pointer;
    font-weight: 800;
    letter-spacing: .04em;
    transition: .2s ease;
}

.emm-more-photos:hover {
    color: #fff;
    background: var(--emm-navy);
    transform: translateY(-2px);
}

.emm-gallery-more > span {
    color: var(--emm-muted);
    font-size: .9rem;
}


/* =========================================================
   CARROSSEL DE TODAS AS FOTOS
   ========================================================= */

.emm-carousel-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 78px 84px 46px;
    background: rgba(2, 7, 14, .94);
}

.emm-carousel-modal.is-open {
    display: flex;
}

.emm-carousel-stage {
    position: relative;
    width: min(1180px, 86vw);
    height: min(780px, 82vh);
    display: flex;
    align-items: center;
    justify-content: center;
}

.emm-carousel-slide {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.emm-carousel-slide.is-active {
    display: flex;
}

.emm-carousel-slide img {
    display: block;
    max-width: 100%;
    max-height: calc(100% - 52px);
    width: auto;
    height: auto;
    object-fit: contain;
    background: #fff;
    box-shadow: 0 24px 70px rgba(0,0,0,.45);
}

.emm-carousel-caption {
    margin-top: 14px;
    color: rgba(255,255,255,.94);
    font-size: .95rem;
    font-weight: 700;
    text-align: center;
}

.emm-carousel-counter {
    position: absolute;
    right: 0;
    bottom: -4px;
    padding: 6px 10px;
    border-radius: 3px;
    color: #fff;
    background: rgba(0,0,0,.38);
    font-size: .85rem;
    font-weight: 700;
}

.emm-carousel-close {
    position: fixed;
    top: 20px;
    right: 25px;
    z-index: 100002;
    width: 50px;
    height: 50px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: var(--emm-light-blue);
    cursor: pointer;
    font-size: 2rem;
    line-height: 1;
}

.emm-carousel-nav {
    position: fixed;
    top: 50%;
    z-index: 100001;
    width: 56px;
    height: 72px;
    border: 0;
    border-radius: 4px;
    color: #fff;
    background: rgba(255,255,255,.12);
    cursor: pointer;
    font-size: 3rem;
    line-height: 1;
    transform: translateY(-50%);
    transition: background .2s ease;
}

.emm-carousel-nav:hover {
    background: var(--emm-light-blue);
}

.emm-carousel-prev {
    left: 22px;
}

.emm-carousel-next {
    right: 22px;
}

body.emm-carousel-open {
    overflow: hidden;
}

@media (max-width: 700px) {
    .emm-carousel-modal {
        padding: 70px 48px 34px;
    }

    .emm-carousel-stage {
        width: 88vw;
        height: 78vh;
    }

    .emm-carousel-nav {
        width: 42px;
        height: 62px;
        font-size: 2.4rem;
    }

    .emm-carousel-prev {
        left: 4px;
    }

    .emm-carousel-next {
        right: 4px;
    }

    .emm-carousel-close {
        top: 12px;
        right: 12px;
    }

    .emm-gallery-more {
        align-items: stretch;
        flex-direction: column;
        text-align: center;
    }

    .emm-more-photos {
        width: 100%;
    }
}
