
/* ==========================================
   SZA SOLUÇÕES
   HOME - ESTILOS
========================================== */

:root {
    --home-deep: #092530;
    --home-accent: #a5d5c5;
}

html {
    scroll-padding-top: 86px;
}


/* ==========================================
   HERO
========================================== */

.hero-cinematic {
    position: relative;
    height: clamp(640px, calc(100svh - 86px), 930px);
    min-height: 640px;
    overflow: hidden;
    isolation: isolate;
    color: #ffffff;
    background: linear-gradient(130deg, #0b2734, #34576a);
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    z-index: -3;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 46%;
    transform: scale(1.015);
    animation: hero-reveal 1.8s both;
}

.hero-vignette {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(
            90deg,
            rgba(7, 27, 38, 0.91) 0%,
            rgba(9, 32, 42, 0.76) 37%,
            rgba(10, 27, 37, 0.28) 76%
        ),
        linear-gradient(
            0deg,
            rgba(4, 21, 30, 0.48),
            transparent 48%
        );
}

.cinematic-content {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.cinematic-main {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.cinematic-main h1 {
    margin: 0 0 25px;
    color: #ffffff;
    font-size: clamp(3.65rem, 6.4vw, 7.3rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.063em;
}

.cinematic-main h1 em {
    color: #b4dbd0;
    font-style: normal;
}

.cinematic-main p {
    max-width: 640px;
    margin: 0;
    color: #f4f8f8;
    font-size: clamp(1.07rem, 1.4vw, 1.33rem);
    line-height: 1.68;
}

@keyframes hero-reveal {
    from {
        transform: scale(1.07);
    }

    to {
        transform: scale(1.015);
    }
}


/* ==========================================
   APRESENTAÇÃO
========================================== */

.home-intro {
    background: #ffffff;
    border-bottom: 1px solid #e6ecec;
}

.intro-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 124px;
}

.intro-kicker {
    color: #2b806e;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.13em;
    white-space: nowrap;
}

.intro-line p {
    margin: 0;
    color: #617780;
    font-family: Manrope, Arial, sans-serif;
    font-size: clamp(1.05rem, 1.55vw, 1.36rem);
    font-weight: 500;
    line-height: 1.55;
    text-align: right;
}

.intro-line strong {
    color: #183542;
}


/* ==========================================
   COBERTURAS INDOOR
========================================== */

.indoor-immersive {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 680px;
    overflow: hidden;
    isolation: isolate;
    color: #ffffff;
    background: #14313c;
}

.indoor-photo {
    position: absolute;
    inset: 0;
    z-index: -3;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 54%;
}

.indoor-gradient {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(
            90deg,
            rgba(8, 31, 41, 0.96) 0%,
            rgba(9, 33, 44, 0.89) 38%,
            rgba(12, 36, 47, 0.48) 75%
        ),
        linear-gradient(
            0deg,
            rgba(3, 21, 31, 0.45),
            transparent 65%
        );
}

.indoor-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 70px;
    padding-top: 110px;
    padding-bottom: 110px;
}

.indoor-copy {
    max-width: 715px;
}

.section-mini {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 28px;
    color: #c2ded5;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.mini-line {
    display: block;
    width: 28px;
    height: 1px;
    background: #96cbb9;
}

.indoor-copy h2 {
    margin: 0 0 26px;
    color: #ffffff;
    font-size: clamp(3rem, 4.8vw, 5.3rem);
    line-height: 1.09;
    letter-spacing: -0.06em;
}

.indoor-copy h2 em {
    color: #b5d9ce;
    font-style: normal;
}

.indoor-copy p {
    max-width: 650px;
    margin-bottom: 30px;
    color: #e4edee;
    font-size: 1.06rem;
    line-height: 1.85;
}

.indoor-points {
    display: grid;
    gap: 13px;
    margin: 0 0 35px;
    padding: 0;
    list-style: none;
}

.indoor-points li {
    display: flex;
    align-items: center;
    gap: 13px;
    color: #eef7f5;
    font-size: 14px;
}

.indoor-points li::before {
    content: "✓";
    display: grid;
    place-items: center;
    width: 23px;
    height: 23px;
    color: #bfe1d5;
    font-weight: 800;
    border: 1px solid rgba(195, 224, 214, 0.55);
    border-radius: 100%;
}

.btn-white-arrow {
    padding: 17px 25px;
    color: #123440;
    background: #ffffff;
    border-color: #ffffff;
}

.btn-white-arrow:hover {
    color: #123440;
    background: #d8eae5;
    border-color: #d8eae5;
}

.indoor-tag {
    align-self: flex-end;
    min-width: 215px;
    padding: 21px 23px;
    color: #ffffff;
    background: #ffffff14;
    border: 1px solid rgba(244, 250, 250, 0.55);
    border-radius: 3px;
    backdrop-filter: blur(10px);
}

.indoor-tag > span {
    color: #c1ddd3;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.indoor-tag strong {
    display: block;
    margin: 18px 0 25px;
    font-family: Manrope, Arial, sans-serif;
    font-size: 29px;
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.06em;
}

.indoor-tag > div {
    display: flex;
    justify-content: space-between;
    padding-top: 14px;
    color: #e8f0f0;
    font-size: 9px;
    letter-spacing: 0.05em;
    border-top: 1px solid #ffffff55;
}


/* ==========================================
   PORTFÓLIO
========================================== */

.services-showcase {
    padding: 72px 0 64px;
    background: #ffffff;
}

.services-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 34px;
}

.services-heading .eyebrow {
    margin-bottom: 10px;
}

.services-heading h2 {
    margin: 0;
    font-size: clamp(2rem, 3vw, 3.35rem);
    line-height: 1.07;
    letter-spacing: -0.055em;
}

.services-heading h2 em {
    color: #39816f;
    font-style: normal;
}

.services-heading > p {
    max-width: 420px;
    margin: 0;
    color: #647982;
    font-size: 14px;
    line-height: 1.6;
}


/* CARDS DE SERVIÇOS */

.service-tiles {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
}

.service-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    grid-column: span 2;
    min-height: 300px;
    padding: 30px 32px;
    overflow: hidden;
    background: #f5f8f7;
    border: 1px solid #e0e9e7;
    border-radius: 14px;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.service-tile:nth-child(n + 4) {
    grid-column: span 3;
    min-height: 230px;
}

.service-tile:hover,
.service-tile:focus-visible {
    background: #eaf3f0;
    border-color: #c1dad1;
    box-shadow: 0 16px 32px #102c3814;
    transform: translateY(-4px);
}

.service-tile-top {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.service-tile-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    color: #277e67;
}

.service-tile-icon svg {
    width: 48px;
    height: 48px;
}

.service-tile h3 {
    margin: 0 0 10px;
    color: #1a3945;
    font-size: clamp(1.45rem, 2vw, 2rem);
    line-height: 1.15;
    letter-spacing: -0.045em;
}

.service-tile p {
    max-width: 520px;
    margin: 0;
    padding-right: 40px;
    color: #607780;
    font-size: 14.5px;
    line-height: 1.55;
}

.tile-arrow {
    position: absolute;
    right: 26px;
    bottom: 24px;
    color: #237a64;
    font-size: 28px;
    font-weight: 300;
    transition: transform 0.2s;
}

.service-tile:hover .tile-arrow {
    transform: translate(3px, -3px);
}


/* RODAPÉ DO PORTFÓLIO */

.services-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 22px;
}

.services-footer span {
    color: #71848a;
    font-size: 13px;
}

.services-footer a {
    padding-bottom: 4px;
    color: #1c6e58;
    font-size: 13px;
    font-weight: 800;
    border-bottom: 1px solid #9ccbb7;
}


/* ==========================================
   PARCEIROS
========================================== */

.partner-section {
    padding: 66px 0 63px;
    overflow: hidden;
    background: #ffffff;
    border-top: 1px solid #e9eeec;
}

.partner-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 25px;
}

.partner-heading .eyebrow {
    margin-bottom: 12px;
}

.partner-heading h2 {
    margin: 0;
    font-size: clamp(2rem, 3.15vw, 3.5rem);
    line-height: 1.1;
    letter-spacing: -0.06em;
}

.partner-heading h2 em {
    color: #408675;
    font-style: normal;
}

.partner-heading p {
    max-width: 345px;
    margin: 0;
    color: #6c7e85;
    line-height: 1.75;
}


/* CARROSSEL AUTOMÁTICO */

.logo-carousel {
    --logo-speed: 60s;
    position: relative;
    overflow: hidden;
}

.logo-carousel::before,
.logo-carousel::after {
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    width: min(9vw, 130px);
    pointer-events: none;
}

.logo-carousel::before {
    left: 0;
    background: linear-gradient(to right, #ffffff, transparent);
}

.logo-carousel::after {
    right: 0;
    background: linear-gradient(to left, #ffffff, transparent);
}

.logo-track {
    display: flex;
    align-items: center;
    width: max-content;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    will-change: transform;
    animation: logos-continuous var(--logo-speed) linear infinite;
    animation-play-state: running;
}

.logo-set {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 192px;
    width: 192px;
    height: 98px;
    margin-right: 18px;
    padding: 18px;
    box-sizing: border-box;
    background: #f8faf9;
    border: 1px solid #e7edeb;
    border-radius: 9px;
}

.logo-slide img {
    width: 100%;
    max-width: 156px;
    height: auto;
    max-height: 63px;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
}

@keyframes logos-continuous {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }
}


/* ==========================================
   LOCALIZAÇÃO
========================================== */

.localizacao {
    position: relative;
    height: 560px;
    overflow: hidden;
    background: #101f2b;
}

.localizacao iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(1) brightness(0.65);
}

.localizacao-overlay {
    position: absolute;
    inset: 0;
    background: rgba(9, 20, 32, 0.60);
    pointer-events: none;
}


/* ALINHAMENTO DA CAIXA À ESQUERDA */

.localizacao-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: none;
    height: 100%;
    margin: 0;
    padding-left: clamp(20px, 4vw, 76px);
    padding-right: 20px;
    box-sizing: border-box;
    pointer-events: none;
}

.localizacao-card {
    width: 100%;
    max-width: 520px;
    padding: 55px;
    box-sizing: border-box;
    color: #ffffff;
    background: #202c39;
    border-radius: 0;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
    pointer-events: auto;
}

.localizacao-subtitulo {
    display: block;
    margin-bottom: 22px;
    color: #7ec5b3;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.localizacao-card h2 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 800;
    line-height: 1.2;
}

.localizacao-card p {
    margin: 0 0 30px;
    color: #c9d3d8;
    font-size: 16px;
}

.localizacao-acoes {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.localizacao-acoes a {
    padding: 12px 18px;
    color: #a3dfcf;
    background: #29434b;
    border-radius: 0;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition:
        background 0.2s,
        color 0.2s;
}

.localizacao-acoes a:hover {
    color: #ffffff;
    background: #18765c;
}

.localizacao-mapa-link {
    display: inline-block;
    margin-top: 28px;
    color: #a3dfcf;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.localizacao-mapa-link:hover {
    color: #ffffff;
}


/* ==========================================
   RESPONSIVIDADE
========================================== */

@media (max-width: 1050px) {

    .indoor-tag {
        display: none;
    }

    .service-tile {
        padding: 26px;
    }

    .service-tile p {
        padding-right: 30px;
    }

}


@media (max-width: 820px) {

    .cinematic-main h1 {
        font-size: clamp(3.2rem, 8vw, 5rem);
    }

    .services-heading,
    .partner-heading {
        display: block;
    }

    .services-heading > p,
    .partner-heading > p {
        max-width: 640px;
        margin-top: 15px;
    }

}


@media (max-width: 700px) {

    html {
        scroll-padding-top: 75px;
    }

    /* HERO */

    .hero-cinematic {
        height: calc(100svh - 75px);
        min-height: 650px;
        max-height: 850px;
    }

    .hero-backdrop {
        object-position: 58% center;
    }

    .hero-vignette {
        background:
            linear-gradient(
                90deg,
                rgba(6, 26, 36, 0.91),
                rgba(8, 33, 44, 0.56)
            ),
            linear-gradient(
                0deg,
                rgba(4, 19, 26, 0.60),
                transparent 50%
            );
    }

    .cinematic-main h1 {
        font-size: clamp(3.15rem, 11vw, 5rem);
    }

    .cinematic-main p {
        font-size: 1.03rem;
    }

    /* APRESENTAÇÃO */

    .intro-line {
        flex-wrap: wrap;
        align-content: center;
        gap: 7px;
        min-height: 125px;
    }

    .intro-kicker {
        font-size: 9px;
    }

    .intro-line p {
        order: 2;
        width: 100%;
        text-align: left;
    }

    /* INDOOR */

    .indoor-immersive {
        min-height: 710px;
    }

    .indoor-layout {
        padding: 85px 0;
    }

    .indoor-gradient {
        background:
            linear-gradient(
                90deg,
                rgba(7, 25, 34, 0.95),
                rgba(8, 29, 39, 0.71)
            ),
            linear-gradient(
                0deg,
                rgba(4, 19, 26, 0.40),
                transparent
            );
    }

    .indoor-copy h2 {
        font-size: clamp(3rem, 10vw, 4.5rem);
    }

    .indoor-copy p {
        font-size: 15px;
    }

    /* PORTFÓLIO */

    .services-showcase {
        padding: 55px 0;
    }

    .services-heading {
        margin-bottom: 23px;
    }

    .services-heading h2,
    .partner-heading h2 {
        font-size: clamp(2.5rem, 9vw, 3.6rem);
    }

    .service-tiles {
        display: grid;
        grid-auto-columns: min(80vw, 320px);
        grid-auto-flow: column;
        grid-template-columns: none;
        gap: 14px;
        overflow-x: auto;
        padding: 2px 0 16px;
        scroll-snap-type: x mandatory;
        scrollbar-width: thin;
    }

    .service-tile,
    .service-tile:nth-child(n + 4) {
        grid-column: auto;
        min-height: 250px;
        scroll-snap-align: start;
    }

    .services-footer {
        display: block;
    }

    .services-footer span {
        display: block;
        margin-bottom: 9px;
    }

    /* PARCEIROS */

    .partner-section {
        padding: 56px 0;
    }

    .logo-slide {
        flex-basis: 174px;
        width: 174px;
        height: 94px;
    }

    .logo-slide img {
        max-width: 138px;
    }

    /* LOCALIZAÇÃO */

    .localizacao {
        height: 520px;
    }

    .localizacao-container {
        align-items: flex-end;
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 25px;
    }

    .localizacao-card {
        max-width: 100%;
        padding: 30px 24px;
    }

    .localizacao-card h2 {
        font-size: 29px;
    }

    .localizacao-acoes a {
        padding: 11px 14px;
        font-size: 13px;
    }

}


/* ==========================================
   ACESSIBILIDADE
========================================== */

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

    html {
        scroll-behavior: auto;
    }

    .hero-backdrop {
        animation: none !important;
    }

    .service-tile,
    .btn {
        transition: none;
    }

}
