/* Web Lab — Home. Regras isoladas para preservar as páginas internas. */
.home-page {
    --cyan: #00affe;
    --white: #fefeff;
    --black: #000;
    --muted: #a5a8ae;
    background: #000;
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
}

.home-page * {
    font-family: inherit;
}

.home-page h1,
.home-page h2,
.home-page h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
}

.home-page em {
    font-style: normal;
    color: var(--cyan);
}

.home-page button,
.home-page a {
    -webkit-tap-highlight-color: transparent;
}

.home-page a:focus-visible,
.home-page button:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 5px;
}

.home-wrap {
    width: min(100% - 96px, 1440px);
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    top: -80px;
    left: 20px;
    z-index: 100;
    padding: 12px 20px;
    background: var(--cyan);
    color: #000;
}

.skip-link:focus {
    top: 12px;
}

.home-header {
    position: relative;
    z-index: 30;
    border-bottom: 1px solid #222;
    background: #000;
}

.header-inner {
    display: flex;
    height: 88px;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.brand img,
.footer-main img {
    display: block;
    width: 164px;
    height: auto;
}

.home-nav {
    display: flex;
    align-items: center;
    gap: clamp(24px, 3vw, 52px);
}

.home-nav a {
    font-size: 13px;
    font-weight: 600;
    transition: color .2s;
    white-space: nowrap;
}

.home-nav a:hover,
.footer-nav a:hover {
    color: var(--cyan);
}

.home-nav .nav-contact {
    border: 1px solid #4d4d4d;
    padding: 13px 20px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.home-nav .nav-contact:hover {
    border-color: var(--cyan);
}

.nav-contact span {
    color: var(--cyan);
    font-size: 18px;
    line-height: 0;
}

.menu-toggle {
    display: none;
}

.home-hero {
    padding-top: clamp(55px, 8.2vw, 125px);
    padding-bottom: 70px;
}

.hero-eyebrow,
.section-kicker,
.section-index,
.showcase-label,
.hero-scroll,
.card-top,
.card-tags,
.footer-bottom {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .13em;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 13px;
    color: #bfc2c6;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 16px var(--cyan);
}

.hero-edition {
    margin-left: auto;
    color: #767a80;
}

.hero-heading-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 225px;
    gap: 24px;
    align-items: end;
    margin-top: 31px;
}

.home-hero h1 {
    font-size: clamp(64px, 8.15vw, 132px);
    line-height: .99;
    letter-spacing: -.085em;
    white-space: nowrap;
}

.accent-word {
    color: var(--cyan);
}

.period {
    color: var(--white);
}

.hero-side {
    padding-bottom: 14px;
}

.hero-side-line {
    display: block;
    width: 40px;
    height: 1px;
    background: var(--cyan);
    margin-bottom: 24px;
}

.hero-side p {
    color: #c6c8cd;
    font-size: 15px;
    line-height: 1.65;
}

.hero-bottom {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-top: 60px;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
}

.home-button {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    gap: 44px;
    min-height: 57px;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 700;
    transition: background .2s, transform .2s;
}

.button-blue {
    background: var(--cyan);
    color: #000;
}

.button-blue:hover {
    background: #53caff;
    transform: translateY(-3px);
}

.home-button span,
.text-link span {
    font-size: 20px;
    font-weight: 400;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #dedfe2;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 1px solid #6b6e74;
    padding-bottom: 8px;
    transition: color .2s;
}

.text-link:hover {
    color: var(--cyan);
}

.hero-scroll {
    color: #7e8389;
    white-space: nowrap;
}

.hero-scroll span {
    font-size: 20px;
    padding-left: 12px;
    color: var(--cyan);
}

.showcase {
    height: clamp(390px, 46vw, 690px);
    position: relative;
    overflow: hidden;
    
}

.showcase video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .58;
    filter: saturate(.62) hue-rotate(120deg);
}

.showcase-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .86), rgba(0, 0, 0, .23) 70%), linear-gradient(0deg, rgba(0, 0, 0, .7), transparent 42%);
}

.showcase-content {
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-block: 44px;
}

.section-index {
    color: #c5c8cc;
}

.showcase-content p {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(35px, 5.3vw, 82px);
    line-height: 1.05;
    letter-spacing: -.065em;
}

.showcase-content strong {
    font-weight: 500;
    color: var(--cyan);
}

.showcase-label {
    align-self: flex-end;
    color: #d5d8db;
}

.asterisk {
    color: var(--cyan);
    font-size: 20px;
    vertical-align: middle;
    margin-inline: 7px;
}

.ticker {
    overflow: hidden;
    padding: 22px 0;
    border-bottom: 1px solid #292b2e;
    color: #8e9398;
}

.ticker-track {
    display: flex;
    width: max-content;
    gap: 35px;
    animation: ticker-move 36s linear infinite;
}

.ticker-track span {
    white-space: nowrap;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .21em;
}

.ticker-track b {
    color: var(--cyan);
    font-size: 17px;
    margin-inline: 25px;
    vertical-align: -1px;
    font-weight: 400;
}

@keyframes ticker-move {
    to {
        transform: translateX(calc(-50% - 17.5px));
    }
}

.section-kicker {
    display: flex;
    gap: 22px;
    align-items: center;
    color: #a4a8ac;
    white-space: nowrap;
}

.kicker-number {
    color: var(--cyan);
}

.intro-section {
    display: grid;
    grid-template-columns: 23% 1fr;
    padding-block: 145px 150px;
    gap: 25px;
}

.intro-copy h2,
.section-heading h2,
.method-layout h2 {
    font-size: clamp(42px, 5.2vw, 80px);
    line-height: 1.08;
    letter-spacing: -.065em;
}

.intro-copy p {
    color: #aaafb5;
    max-width: 650px;
    font-size: 19px;
    line-height: 1.65;
    margin-top: 40px;
}

.services-section {
    padding: 100px 0 122px;
    background: #0b0d0f;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 60px;
    padding-block: 55px 58px;
}

.section-heading h2 span {
    color: var(--cyan);
}

.section-heading p {
    max-width: 290px;
    color: #b1b5bb;
    line-height: 1.65;
    font-size: 15px;
    margin-bottom: 7px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: #34383c;
    border: 1px solid #34383c;
}

.service-card {
    position: relative;
    min-height: 370px;
    padding: 29px;
    background: #111417;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: background .25s;
}

.service-card:hover {
    background: #171e23;
}

.service-card.featured {
    background: var(--cyan);
    color: #000;
}

.service-card.featured:hover {
    background: #3cc1ff;
}

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #a7adb3;
}

.card-top span:last-child {
    font-size: 25px;
    font-weight: 400;
    line-height: 1;
    color: var(--cyan);
}

.featured .card-top,
.featured .card-top span:last-child {
    color: #163645;
}

.service-card h3 {
    font-size: clamp(28px, 2.7vw, 42px);
    line-height: 1.08;
    letter-spacing: -.06em;
    margin-bottom: 18px;
}

.service-card p {
    max-width: 320px;
    color: #b4b8bd;
    line-height: 1.55;
    font-size: 15px;
    min-height: 70px;
}

.featured p {
    color: #143642;
}

.card-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #8b9299;
    font-size: 10px;
    letter-spacing: .06em;
    margin-top: 30px;
    flex-wrap: wrap;
}

.card-tags i {
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
}

.featured .card-tags {
    color: #23505e;
}

.services-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    border-bottom: 1px solid #52585e;
    width: fit-content;
    max-width: 100%;
    margin: 48px 0 0 auto;
    padding-bottom: 12px;
    font-weight: 600;
    font-size: 15px;
}

.services-cta:hover {
    color: var(--cyan);
}

.services-cta span {
    font-size: 22px;
    color: var(--cyan);
}

.method-section {
    padding-block: 140px 150px;
}

.method-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10%;
    padding-top: 67px;
}

.method-layout h2 em {
    font-style: italic;
    font-weight: 400;
}

.method-layout>div>p {
    max-width: 430px;
    color: #aeb3b9;
    margin-top: 34px;
    font-size: 17px;
    line-height: 1.7;
}

.method-list {
    list-style: none;
    border-top: 1px solid #3a3e42;
}

.method-list li {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 15px;
    padding: 27px 0 32px;
    border-bottom: 1px solid #3a3e42;
}

.method-list li>span {
    font-size: 12px;
    color: var(--cyan);
    font-weight: 700;
    padding-top: 9px;
}

.method-list h3 {
    font-size: 30px;
    letter-spacing: -.04em;
    margin-bottom: 10px;
}

.method-list p {
    max-width: 385px;
    color: #aeb3b9;
    font-size: 15px;
    line-height: 1.6;
}

.final-cta {
    background: var(--cyan);
    color: #000;
    padding-block: 80px 90px;
}

.final-cta .section-kicker,
.final-cta .kicker-number {
    color: #144859;
}

.final-cta h2 {
    font-size: clamp(72px, 10.5vw, 160px);
    line-height: .94;
    letter-spacing: -.085em;
    margin: 65px 0 55px;
}

.final-cta h2 span {
    color: var(--white);
}

.final-cta-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
}

.final-cta-row p {
    font-size: 19px;
    max-width: 310px;
    line-height: 1.45;
}

.final-cta-row a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-width: 295px;
    background: #000;
    color: #fff;
    padding: 20px 22px;
    font-size: 14px;
    font-weight: 700;
    transition: transform .2s;
}

.final-cta-row a:hover {
    transform: translateY(-4px);
}

.final-cta-row a span {
    font-size: 24px;
    line-height: 0;
}

.home-footer {
    background: #000;
    padding-top: 85px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 95px;
}

.footer-main p {
    font-size: 16px;
    line-height: 1.6;
    color: #a9adb3;
}

.footer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 19px 25px;
    font-size: 13px;
    font-weight: 600;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    border-top: 1px solid #292d31;
    padding-block: 26px;
    color: #8a9096;
    letter-spacing: .035em;
    font-weight: 500;
}

.footer-bottom a:hover {
    color: var(--cyan);
}

@media(max-width:1150px) {
    .hero-heading-row {
        grid-template-columns: 1fr;
    }

    .hero-side {
        display: flex;
        align-items: start;
        gap: 22px;
        max-width: 620px;
    }

    .hero-side-line {
        flex: 0 0 40px;
        margin-top: 13px;
    }

    .home-hero h1 {
        font-size: clamp(65px, 9.4vw, 110px);
    }

    .intro-section {
        grid-template-columns: 20% 1fr;
    }

    .service-card {
        min-height: 350px;
    }
}

@media(max-width:980px) {
    .home-wrap {
        width: min(100% - 40px, 540px);
    }

    .header-inner {
        height: 70px;
    }

    .brand img,
    .footer-main img {
        width: 139px;
    }

    .menu-toggle {
        display: flex;
        width: 42px;
        height: 42px;
        flex-direction: column;
        justify-content: center;
        gap: 7px;
        padding: 8px;
        border: 0;
        background: transparent;
        cursor: pointer;
        z-index: 32;
    }

    .menu-toggle span {
        width: 26px;
        height: 2px;
        background: #fff;
        transition: transform .2s;
    }

    .menu-toggle[aria-expanded="true"] span:first-child {
        transform: translateY(4.5px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:last-child {
        transform: translateY(-4.5px) rotate(-45deg);
    }

    .home-nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        padding: 32px 20px 38px;
        background: #080a0c;
        border-bottom: 1px solid #303438;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        box-shadow: 0 20px 30px #0009;
    }

    .home-nav.open {
        display: flex;
    }

    .home-nav a {
        padding: 17px 0;
        font-size: 17px;
        border-bottom: 1px solid #272b30;
    }

    .home-nav .nav-contact {
        justify-content: space-between;
        margin-top: 20px;
        padding: 16px;
        border: 1px solid #555;
    }

    .home-hero {
        padding-top: 65px;
        padding-bottom: 55px;
    }

    .hero-edition {
        display: none;
    }

    .hero-heading-row {
        margin-top: 35px;
    }

    .home-hero h1 {
        font-size: clamp(49px, 11.9vw, 80px);
        white-space: normal;
        letter-spacing: -.075em;
        line-height: 1.02;
    }

    .hero-side {
        margin-top: 35px;
    }

    .hero-side p {
        font-size: 15px;
    }

    .hero-bottom {
        margin-top: 40px;
    }

    .hero-actions {
        gap: 25px;
    }

    .hero-scroll {
        display: none;
    }

    .home-button {
        width: 100%;
        min-height: 57px;
    }

    .showcase {
        height: 420px;
    }

    .showcase-content {
        padding-block: 28px;
    }

    .showcase-content p {
        font-size: clamp(37px, 8.5vw, 60px);
    }

    .showcase-label {
        align-self: flex-start;
        font-size: 9px;
    }

    .intro-section {
        display: block;
        padding-block: 90px 100px;
    }

    .intro-copy {
        margin-top: 35px;
    }

    .intro-copy h2,
    .section-heading h2,
    .method-layout h2 {
        font-size: clamp(43px, 9vw, 62px);
    }

    .intro-copy p {
        font-size: 16px;
        margin-top: 27px;
    }

    .services-section {
        padding-block: 75px 85px;
    }

    .section-heading {
        display: block;
        padding-block: 40px;
    }

    .section-heading p {
        margin-top: 25px;
        max-width: 450px;
    }

    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .service-card h3 {
        font-size: 27px;
    }

    .service-card p {
        font-size: 13px;
        min-height: auto;
    }

    .card-tags {
        font-size: 9px;
    }

    .card-top {
        font-size: 9px;
    }

    .method-section {
        padding-block: 95px 105px;
    }

    .method-layout {
        display: block;
        padding-top: 45px;
    }

    .method-layout>div>p {
        font-size: 16px;
        margin-bottom: 52px;
    }

    .method-list h3 {
        font-size: 27px;
    }

    .final-cta {
        padding-block: 65px 75px;
    }

    .final-cta h2 {
        font-size: clamp(60px, 12vw, 95px);
        margin: 60px 0 45px;
    }

    .final-cta-row {
        display: block;
    }

    .final-cta-row p {
        font-size: 17px;
        margin-bottom: 30px;
    }

    .final-cta-row a {
        min-width: 0;
        width: 100%;
    }

    .home-footer {
        padding-top: 65px;
    }

    .footer-main {
        display: block;
        padding-bottom: 65px;
    }

    .footer-main p {
        margin: 25px 0 45px;
    }

    .footer-nav {
        max-width: 440px;
    }

    .footer-bottom {
        flex-wrap: wrap;
        font-size: 10px;
        line-height: 1.5;
    }

    .footer-bottom span:nth-child(2) {
        display: none;
    }
}

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

    .service-card {
        min-height: 300px;
        padding: 25px;
    }

    .service-card h3 {
        font-size: 33px;
    }

    .service-card p {
        font-size: 15px;
    }

    .services-cta {
        font-size: 13px;
    }

    .home-hero h1 {
        font-size: clamp(47px, 11.7vw, 62px);
    }

    .final-cta h2 {
        font-size: clamp(57px, 12vw, 72px);
    }
}

@media(prefers-reduced-motion:reduce) {
    .ticker-track {
        animation: none;
    }

    .home-page * {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

/* Revisão: vídeo em tela cheia e navegação ampla, inspirada na barra flutuante de referência. */
.home-page {
    scroll-padding-top: 115px;
}

.home-page [id] {
    scroll-margin-top: 115px;
}

.home-header {
    position: fixed;
    top: 14px;
    left: 0;
    right: 0;
    z-index: 50;
    border: 0;
    background: transparent;
    pointer-events: none;
}

.header-inner {
    width: min(100% - 48px, 1440px);
    height: 76px;
    padding: 0 25px;
    background: rgba(31, 32, 34, .15);
    border-radius: 10px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .17);
    pointer-events: auto;
}

.home-nav {
    gap: clamp(20px, 2.5vw, 40px);
}

.home-nav .home-link {
    color: #d0d2d5;
}

.home-nav .nav-contact {
    background: var(--white);
    border-color: var(--white);
    color: #000;
    border-radius: 4px;
    padding: 13px 18px;
}

.home-nav .nav-contact:hover {
    background: var(--cyan);
    border-color: var(--cyan);
    color: #000;
}

.home-nav .nav-contact span {
    color: #000;
}

.nav-group {
    position: relative;
}

.solutions-toggle {
    display: flex;
    align-items: center;
    gap: 11px;
    border: 0;
    padding: 18px 0;
    color: var(--white);
    background: none;
    font: 600 13px 'DM Sans', sans-serif;
    cursor: pointer;
}

.solutions-toggle:hover,
.solutions-toggle[aria-expanded="true"] {
    color: var(--cyan);
}

.solutions-toggle:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 4px;
}

.chevron {
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform .2s;
}

.solutions-toggle[aria-expanded="true"] .chevron {
    transform: translateY(2px) rotate(225deg);
}

.solutions-panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%) translateY(-7px);
    width: min(690px, calc(100vw - 48px));
    padding: 25px;
    background: rgba(14, 17, 19, .98);
    border: 1px solid #3d454a;
    border-radius: 9px;
    box-shadow: 0 25px 70px #000a;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s, transform .2s, visibility .2s;
}

.nav-group.is-open .solutions-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.panel-eyebrow {
    display: block;
    color: var(--cyan);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .17em;
    padding: 0 10px 17px;
}

.solutions-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: #30363b;
    border: 1px solid #30363b;
}

.home-nav .solutions-links a {
    position: relative;
    display: block;
    padding: 19px 40px 19px 16px;
    background: #15191c;
    font: 500 16px 'Space Grotesk', sans-serif;
    white-space: normal;
    line-height: 1.25;
}

.home-nav .solutions-links a:hover {
    background: #1e282d;
    color: var(--white);
}

.solutions-links small {
    display: block;
    margin-bottom: 9px;
    color: #8b969d;
    font: 700 9px 'DM Sans', sans-serif;
    letter-spacing: .12em;
}

.solutions-links a>span {
    position: absolute;
    top: 26px;
    right: 15px;
    color: var(--cyan);
    font-size: 18px;
}

.home-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    padding: 0;
    isolation: isolate;
    overflow: hidden;
    background: #000 url('../img/hero-poster.jpg') center / cover no-repeat;
}

.hero-background,
.hero-video-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-background {
    object-fit: cover;
    object-position: center;
    z-index: -2;
}

.hero-video-overlay {
    z-index: -1;
    background: linear-gradient(90deg, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .58) 43%, rgba(0, 0, 0, .08) 100%), linear-gradient(0deg, rgba(0, 0, 0, .55), transparent 32%, rgba(0, 0, 0, .25));
}

.hero-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 110px;
    padding-bottom: 45px;
}

.hero-heading-row {
    grid-template-columns: minmax(0, 1fr) 220px;
}

.hero-eyebrow,
.hero-side p,
.hero-scroll {
    text-shadow: 0 2px 15px #000;
}

.hero-side {
    align-self: end;
}

.hero-bottom {
    margin-top: 54px;
}

.hero-edition {
    color: #c2c7d0;
}

.home-footer .footer-main {
    grid-template-columns: 1fr 1.15fr 1.2fr 1.35fr;
    gap: 35px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 8px;
}

.footer-contact>span {
    color: var(--cyan);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    margin-bottom: 3px;
}

.footer-contact>span:nth-of-type(2) {
    margin-top: 23px;
}

.footer-contact a,
.footer-contact p {
    color: #d8dbdf;
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.footer-contact a:hover {
    color: var(--cyan);
}

@media(max-width:1150px) {
    .hero-heading-row {
        grid-template-columns: 1fr;
    }

    .hero-side {
        align-self: start;
    }

    .home-nav {
        gap: 19px;
    }

    .home-nav a,
    .solutions-toggle {
        font-size: 12px;
    }

    .home-footer .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:980px) {
    .home-header {
        top: 10px;
    }

    .header-inner {
        width: calc(100% - 24px);
        height: 66px;
        padding: 0 15px 0 18px;
    }

    .home-nav {
        top: 74px;
        left: 0;
        right: 0;
        max-height: calc(100dvh - 94px);
        overflow: auto;
        padding: 17px 21px 28px;
        border: 1px solid #394247;
        border-radius: 10px;
        background: rgba(13, 16, 18, .98);
        backdrop-filter: blur(20px);
    }

    .home-nav a {
        font-size: 16px;
    }

    .nav-group {
        width: 100%;
        border-bottom: 1px solid #272b30;
    }

    .solutions-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 18px 0;
        font-size: 16px;
    }

    .solutions-panel {
        position: static;
        width: 100%;
        padding: 0 0 18px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
    }

    .nav-group.is-open .solutions-panel {
        display: block;
        transform: none;
    }

    .solutions-links {
        grid-template-columns: 1fr;
    }

    .home-nav .solutions-links a {
        padding: 13px 35px 13px 14px;
        font-size: 15px;
        border: 0;
    }

    .solutions-links a>span {
        top: 17px;
    }

    .panel-eyebrow {
        padding: 2px 0 12px;
    }

    .home-nav .nav-contact {
        justify-content: space-between;
        margin-top: 20px;
        padding: 15px;
        border: 1px solid var(--white);
    }

    .home-hero {
        height: 100vh;
        height: 100dvh;
        min-height: 0;
    }

    .hero-background {
        object-position: center;
    }

    .hero-video-overlay {
        background: linear-gradient(0deg, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .53) 55%, rgba(0, 0, 0, .55) 100%);
    }

    .hero-inner {
        padding-top: 105px;
        padding-bottom: 32px;
        justify-content: center;
    }

    .hero-heading-row {
        margin-top: 28px;
    }

    .hero-side {
        margin-top: 28px;
    }

    .hero-bottom {
        margin-top: 32px;
    }

    .hero-scroll {
        display: none;
    }

    .home-footer .footer-main {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
    }

    .home-footer .footer-main p {
        margin: 22px 0 35px;
    }

    .footer-nav {
        margin-bottom: 42px;
    }
}

@media(max-width:520px) {
    .home-hero h1 {
        font-size: clamp(45px, 11vw, 62px);
    }

    .hero-side p {
        font-size: 14px;
    }

    .hero-actions {
        gap: 18px;
    }

    .hero-eyebrow {
        font-size: 9px;
    }
}

@media(max-height:690px) and (max-width:760px) {
    .hero-inner {
        padding-top: 82px;
        padding-bottom: 16px;
    }

    .hero-heading-row {
        margin-top: 17px;
    }

    .home-hero h1 {
        font-size: clamp(40px, 10vw, 53px);
    }

    .hero-side {
        margin-top: 18px;
    }

    .hero-bottom {
        margin-top: 21px;
    }

    .home-button {
        min-height: 49px;
    }
}

@media(min-width:761px) and (max-width:980px) {
    .home-wrap {
        width: min(100% - 64px, 850px);
    }

    .home-hero h1 {
        font-size: clamp(65px, 9vw, 88px);
    }
}/* Ajustes finais de navegação e interação mobile. */
.service-card { cursor:pointer; }
.service-card:focus-visible { outline:2px solid #00affe; outline-offset:-4px; z-index:2; }
.service-card:hover .card-top span:last-child,.service-card:focus-visible .card-top span:last-child { transform:translate(3px,-3px); }
.card-top span:last-child { transition:transform .2s; }
.up-icon { width:17px; height:17px; vertical-align:-3px; margin-left:6px; }
@media(max-width:980px){ body.nav-open { overflow:hidden; } }
@media(max-width:520px){
 .home-wrap { width:calc(100% - 36px); }
 .home-hero h1 { font-size:clamp(42px,10.5vw,56px); white-space:normal; overflow-wrap:normal; }
 .hero-heading-row { gap:0; } .hero-side { margin-top:24px; }
 .hero-actions { width:100%; } .hero-actions .home-button { width:100%; }
 .showcase { height:370px; } .showcase-content p { font-size:clamp(34px,8vw,48px); }
 .section-kicker { gap:12px; font-size:10px; }
 .service-card { min-height:275px; }
}
@media(max-height:640px) and (max-width:520px){
 .hero-inner { justify-content:flex-end; padding-top:90px; padding-bottom:25px; }
 .hero-heading-row { margin-top:17px; } .home-hero h1 { font-size:clamp(37px,9.5vw,47px); }
 .hero-side { margin-top:15px; } .hero-bottom { margin-top:20px; } .hero-eyebrow { font-size:8px; }
}
