:root {
    --ink: #102a4d;
    --muted: #61738a;
    --blue: #1388ee;
    --blue-bright: #15a9ff;
    --pale: #f4f9fd;
    --line: #dce9f4;
    --navy: #061c38;
    --font-body: "DM Sans", sans-serif;
    --font-heading: "Manrope", sans-serif;
    --header-h: 76px;
    --header-h-scrolled: 56px;
    --header-offset: 76px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-offset);
}

body {
    position: relative;
    margin: 0;
    padding-top: var(--header-offset);
    overflow-x: clip;
    color: var(--ink);
    background: #f7fbff;
    font-family: var(--font-body);
    font-size: 10px;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

::selection {
    color: #fff;
    background: var(--blue);
}

.skip-link {
    position: fixed;
    z-index: 2000;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    transform: translateY(-150%);
    border-radius: 8px;
    color: #fff;
    background: var(--navy);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 1px 0 rgba(16, 42, 77, .07);
    backdrop-filter: blur(22px) saturate(1.2);
    transition: box-shadow .3s ease, background .3s ease;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, .28);
    backdrop-filter: blur(6px) saturate(1.1);
    -webkit-backdrop-filter: blur(6px) saturate(1.1);
    box-shadow: 0 8px 24px rgba(16, 42, 77, .08);
}

/* Elementos do header ficam opacos e acima do fundo translúcido */
.site-header .navbar > .container,
.site-header .brand,
.site-header .brand-logo,
.site-header .navbar-nav,
.site-header .nav-link,
.site-header .nav-cta,
.site-header .navbar-toggler {
    position: relative;
    z-index: 1;
    opacity: 1;
}

.navbar {
    min-height: var(--header-h);
    padding: 10px 0;
    transition: min-height .3s ease, padding .3s ease;
}

.site-header.is-scrolled .navbar {
    min-height: var(--header-h-scrolled);
    padding: 2px 0;
}

.brand {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    /* Largura fixa: o flip/sumiço do texto não empurra o menu */
    width: 232px;
    flex: 0 0 232px;
    color: var(--ink);
}

.brand-logo {
    position: relative;
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    perspective: 480px;
    transition: none;
}

/* Mantém o tamanho ao rolar a página */
.site-header.is-scrolled .brand-logo {
    width: 52px;
    height: 52px;
}

/* Imagens do logo */
.brand-logo-img,
.contact-banner-brand img {
    flex: 0 0 auto;
    object-fit: contain;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Animação de troca entre os logos */
.brand-logo-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: preserve-3d;
    transition: transform .55s cubic-bezier(.22, .8, .3, 1);
    scale: 1;
}

/* Frente: logo preto */
.brand-logo-img--top {
    transform: rotateY(0deg);
}

/* Verso: logo branco */
.brand-logo-img--scrolled {
    transform: rotateY(180deg);
    pointer-events: none;
}

/* Ao rolar a página, inverte os logos */
.site-header.is-scrolled .brand-logo-img--top {
    transform: rotateY(-180deg);
}

.site-header.is-scrolled .brand-logo-img--scrolled {
    transform: rotateY(0deg);
}

/* Impede zoom ao passar o mouse */
.brand-logo:hover,
.brand-logo-img:hover,
.contact-banner-brand img:hover {
    scale: 1;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1;
    opacity: 1;
    transition: opacity .35s ease;
}

.brand-copy strong {
    font-family: var(--font-heading);
    font-size: 23px;
    font-weight: 800;
    letter-spacing: .045em;
    white-space: nowrap;
}

.brand-copy small {
    margin-top: 5px;
    color: #5381aa;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .23em;
    white-space: nowrap;
}

/* Ao rolar: texto some sem alterar a largura do brand (menu fica no lugar) */
.site-header.is-scrolled .brand-copy {
    position: absolute;
    left: 56px;
    opacity: 0;
    pointer-events: none;
}

.navbar-nav {
    gap: clamp(12px, 2.1vw, 34px);
}

.navbar .nav-link {
    position: relative;
    padding: 12px 0 !important;
    color: #52647a;
    font-size: 14px;
    font-weight: 600;
    transition: color .2s ease, transform .25s ease, font-size .3s ease, padding .3s ease;
}

.site-header.is-scrolled .navbar .nav-link {
    padding: 8px 0 !important;
    font-size: 11px;
}

.navbar .nav-link:hover, .navbar .nav-link.active {
    color: var(--blue);
}

/* Sobre fundo escuro (com header transparente): textos claros para contraste */
.site-header.is-scrolled.is-over-dark .navbar .nav-link {
    color: rgba(255, 255, 255, .92);
    text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}

.site-header.is-scrolled.is-over-dark .navbar .nav-link:hover,
.site-header.is-scrolled.is-over-dark .navbar .nav-link.active,
.site-header.is-scrolled.is-over-dark .navbar .nav-link.show {
    color: #fff;
}

.site-header.is-scrolled.is-over-dark .navbar .nav-link::after {
    background: #7fd4ff;
}

.site-header.is-scrolled.is-over-dark .navbar-toggler {
    border-color: rgba(255, 255, 255, .45);
}

.site-header.is-scrolled.is-over-dark .navbar-toggler-icon {
    filter: invert(1) brightness(1.15);
}

.navbar .nav-link::after {
    position: absolute;
    right: 0;
    bottom: 3px;
    left: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--blue);
    content: "";
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .35s cubic-bezier(.22,.8,.3,1);
}

.navbar .nav-link:hover::after, .navbar .nav-link.active::after, .navbar .nav-link.show::after {
    transform: scaleX(1);
}

.navbar .nav-link:hover {
    transform: translateY(-1px);
}

.navbar-toggler {
    border: 1px solid var(--line);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 .2rem rgba(19, 136, 238, .16);
}

.nav-item.dropdown .dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-item.dropdown .dropdown-toggle::after {
    display: none;
}

.nav-item.dropdown .dropdown-toggle::before {
    order: 2;
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    content: "";
    transform: translateY(-2px) rotate(45deg);
    transition: transform .3s ease;
}

.nav-item.dropdown .dropdown-toggle[aria-expanded="true"]::before {
    transform: translateY(1px) rotate(225deg);
}

.nav-item.dropdown .dropdown-menu.show {
    animation: ddIn .28s cubic-bezier(.22,.8,.3,1) both;
    transform-origin: top center;
}

.nav-item.dropdown .dropdown-menu.show li {
    animation: ddItemIn .35s cubic-bezier(.22,.8,.3,1) both;
}

.nav-item.dropdown .dropdown-menu.show li:nth-child(1) {
    animation-delay: .04s;
}

.nav-item.dropdown .dropdown-menu.show li:nth-child(2) {
    animation-delay: .08s;
}

.nav-item.dropdown .dropdown-menu.show li:nth-child(3) {
    animation-delay: .12s;
}

.nav-item.dropdown .dropdown-menu.show li:nth-child(4) {
    animation-delay: .16s;
}

.nav-item.dropdown .dropdown-menu.show li:nth-child(5) {
    animation-delay: .20s;
}

.nav-item.dropdown .dropdown-menu.show li:nth-child(6) {
    animation-delay: .24s;
}

@keyframes ddIn {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(.97);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes ddItemIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.nav-item.dropdown .dropdown-menu {
    min-width: 300px;
    margin-top: 10px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 16px 36px rgba(16, 42, 77, .14);
}

.nav-item.dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 8px;
    color: #44586e;
    font-size: 12px;
    font-weight: 500;
    white-space: normal;
    transition: background .18s ease, color .18s ease, padding-left .2s ease;
}

.nav-item.dropdown .dropdown-item i {
    flex: 0 0 auto;
    width: 18px;
    color: var(--blue);
    font-size: 15px;
    text-align: center;
}

.nav-item.dropdown .download-item--android i {
    color: #3ddc84;
}

.nav-item.dropdown .download-item--windows i {
    color: #00a4ef;
}

.nav-item.dropdown .download-item--apple i {
    color: #8e8e93;
}

.nav-item.dropdown .dropdown-item.disabled {
    opacity: .6;
    cursor: default;
}

.nav-item.dropdown .dropdown-item:hover, .nav-item.dropdown .dropdown-item:focus {
    padding-left: 16px;
    color: var(--blue);
    background: #eef7ff;
}

.nav-item.dropdown .dropdown-item i {
    transition: transform .2s ease;
}

.nav-item.dropdown .dropdown-item:hover i {
    transform: scale(1.18);
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .01em;
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease, border-color .22s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: #fff;
    background: linear-gradient(110deg, #0787ed, #12a5f7);
    box-shadow: 0 10px 24px rgba(19, 136, 238, .28);
}

.button-primary:hover {
    color: #fff;
    box-shadow: 0 14px 32px rgba(19, 136, 238, .38);
}

.button-outline {
    border-color: #9fb4c7;
    color: var(--ink);
    background: rgba(255, 255, 255, .6);
}

.button-outline:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: #fff;
}

.nav-cta {
    min-height: 40px;
    padding: 0 19px;
    font-size: 14px;
    transition: min-height .3s ease, padding .3s ease, font-size .3s ease;
}

.site-header.is-scrolled .nav-cta {
    min-height: 34px;
    padding: 0 14px;
    font-size: 15px;
}

.hero-section {
    position: relative;
    display: grid;
    min-height: min(100svh, 820px);
    overflow: hidden;
    color: #fff;
    background: #04101f;
}

.hero-media {
    position: absolute;
    z-index: 0;
    inset: 0;
    overflow: hidden;
}

.hero-parallax {
    position: absolute;
    inset: -12% 0;
    pointer-events: none;
}

.hero-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 46%;
    will-change: transform;
    transform: translate3d(0, 0, 0) scale(1.08);
    transform-origin: 70% 50%;
}

.hero-layer-back,
.hero-layer-mid,
.hero-layer-front {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-width: none;
    object-fit: cover;
    object-position: center center;
}

.hero-layer-back {
    z-index: 0;
    transform: none;
}

.hero-section.is-hero-away .hero-layer {
    visibility: hidden;
}

.hero-layer-mid {
    z-index: 1;
}

.hero-layer-front {
    z-index: 2;
}

.hero-media-scan {
    position: absolute;
    left: 42%;
    right: 0;
    height: 28%;
    background: linear-gradient(180deg, transparent, rgba(90, 196, 255, .16), transparent);
    mix-blend-mode: screen;
    animation: scanSweep 5.5s ease-in-out infinite;
    pointer-events: none;
}

.hero-veil {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(90deg, rgba(3, 11, 24, .97) 0%, rgba(4, 16, 34, .94) 32%, rgba(5, 20, 42, .72) 52%, rgba(6, 24, 48, .32) 74%, rgba(6, 24, 48, .12) 100%), linear-gradient(180deg, rgba(3, 10, 22, .42) 0%, transparent 24%, transparent 76%, rgba(3, 10, 22, .55) 100%);
    pointer-events: none;
}

#hero-fx {
    position: absolute;
    z-index: 2;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .75) 46%, rgba(0, 0, 0, .22) 78%, transparent 100%);
}

.hero-lines {
    position: absolute;
    z-index: 2;
    inset: 0;
    opacity: .35;
    pointer-events: none;
    background-image: linear-gradient(rgba(120, 200, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(120, 200, 255, .07) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at 28% 40%, #000 18%, transparent 72%);
    animation: gridDrift 28s linear infinite;
}

.hero-content {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
    min-height: min(100svh, 820px);
    align-items: center;
    gap: 24px;
    padding: 88px 0 96px;
}

.hero-copy {
    position: relative;
    z-index: 2;
    max-width: 620px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #278fe0;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: .2em;
    line-height: 1.5;
    text-transform: uppercase;
}

.eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue-bright);
    box-shadow: 0 0 0 4px rgba(21, 169, 255, .12);
    animation: dotPulse 2s ease-in-out infinite;
}

.hero-title {
    max-width: 640px;
    margin: 22px 0 18px;
    font-family: var(--font-heading);
    font-size: clamp(40px, 5.1vw, 68px);
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: 1.05;
    color: #fff;
    text-shadow: 0 2px 0 rgba(3, 12, 26, .35), 0 18px 36px rgba(0, 8, 20, .55);
}

.hero-title span, .section-title span, .stats-intro h2 span, .contact-banner-copy h2 span {
    color: var(--blue);
}

.hero-title span {
    color: #4cc8ff;
}

.hero-lead {
    max-width: 520px;
    margin: 0;
    color: #c5dbeb;
    font-size: 20px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 38px;
    padding: 16px 4px 4px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.hero-trust-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 128px;
    padding-right: 28px;
}

.hero-trust-item + .hero-trust-item {
    border-left: 1px solid rgba(255, 255, 255, .12);
    padding-left: 28px;
}

.hero-trust-item strong {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.03em;
    color: #fff;
}

.hero-trust-item span {
    font-size: 10px;
    color: #9fc0da;
    letter-spacing: .04em;
    text-transform: uppercase;
}




.hero-frame {
    position: absolute;
    width: 72px;
    height: 72px;
    border-color: rgba(90, 196, 255, .55);
    pointer-events: none;
}

.hero-frame-tl {
    top: 8%;
    left: 4%;
    border-top: 1px solid;
    border-left: 1px solid;
}

.hero-frame-br {
    right: 6%;
    bottom: 14%;
    border-right: 1px solid;
    border-bottom: 1px solid;
}


.hero-chip {
    position: absolute;
    z-index: 5;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 12px 18px;

    border: 1px solid rgba(67, 190, 255, .85);
    border-radius: 999px;

    color: #f4fbff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .15px;
    white-space: nowrap;

    background:
        linear-gradient(
            135deg,
            rgba(7, 39, 69, .96),
            rgba(3, 17, 36, .94)
        );

    box-shadow:
        0 0 0 1px rgba(36, 164, 255, .12),
        0 0 18px rgba(0, 153, 255, .28),
        0 8px 28px rgba(0, 8, 24, .45),
        inset 0 1px 0 rgba(255, 255, 255, .12);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    transition:
        border-color .3s ease,
        box-shadow .3s ease,
        background .3s ease,
        transform .3s ease;

    animation: chipFloat 5.4s ease-in-out infinite;
}

/* Ícones */
.hero-chip i {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #53d2ff;
    font-size: 18px;

    filter: drop-shadow(0 0 5px rgba(63, 194, 255, .65));
}

/* Brilho superior sutil */
.hero-chip::before {
    content: "";
    position: absolute;

    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(143, 225, 255, .9),
        transparent
    );

    pointer-events: none;
}

/* Destaque ao passar o mouse */
.hero-chip:hover {
    border-color: #75ddff;

    background: linear-gradient(
        135deg,
        rgba(8, 53, 91, .98),
        rgba(3, 23, 48, .98)
    );

    box-shadow:
        0 0 0 1px rgba(74, 192, 255, .22),
        0 0 12px rgba(0, 174, 255, .38),
        0 0 30px rgba(0, 153, 255, .32),
        0 12px 30px rgba(0, 8, 24, .5),
        inset 0 1px 0 rgba(255, 255, 255, .16);

    transform: translateY(-3px);
}

/* Emissão NF-e — superior esquerdo */
.hero-chip-one {
    top: 14%;
    left: 7%;
    animation-delay: -1s;
}

/* Emissão CT-e — superior direito */
.hero-chip-two {
    top: 16%;
    right: 18%;
    animation-delay: -2.4s;
}

/* Controle de estoque — inferior direito */
.hero-chip-three {
    bottom: 22%;
    right: 12%;
    animation-delay: -3.6s;
}

/* Gestão empresarial — inferior esquerdo */
.hero-chip-four {
    bottom: 20%;
    left: 13%;
    animation-delay: -1.8s;
}

/* Documentos fiscais — região central direita */
.hero-chip-five {
    top: 43%;
    right: 12%;
    animation-delay: -2.8s;
}

/* Indicador adicional — região central esquerda */
.hero-chip-six {
    top: 40%;
    left: 12%;
    animation-delay: -.8s;
}


/* Flutuação suave */
@keyframes chipFloat {
    0%, 100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -7px;
    }
}

/* Acessibilidade: respeita quem reduz animações */
@media (prefers-reduced-motion: reduce) {
    .hero-chip {
        animation: none;
        transition: none;
    }
}


.scroll-cue {
    position: absolute;
    z-index: 4;
    bottom: 28px;
    left: 50%;
    display: grid;
    width: 22px;
    height: 36px;
    place-items: start center;
    padding-top: 7px;
    transform: translateX(-50%);
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 13px;
}

.scroll-cue span {
    width: 3px;
    height: 7px;
    border-radius: 2px;
    background: #4cc3ff;
    animation: scrollPulse 1.6s ease-in-out infinite;
}

@keyframes gridDrift {
    from {
        background-position: 0 0, 0 0;
    }

    to {
        background-position: 64px 64px, 64px 64px;
    }
}

@keyframes heroZoom {
    from {
        transform: scale(1.02);
    }

    to {
        transform: scale(1.1);
    }
}

@keyframes dotPulse {
    0%, 100% {
        box-shadow: 0 0 0 4px rgba(21, 169, 255, .12);
    }

    50% {
        box-shadow: 0 0 0 7px rgba(21, 169, 255, .2);
    }
}

@keyframes scanSweep {
    0% {
        top: -30%;
    }

    100% {
        top: 100%;
    }
}

@keyframes chipFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.clients-section {
    position: relative;
    padding: 42px 0 46px;
    overflow: hidden;
    background:
        radial-gradient(ellipse 46% 56% at 10% 28%, rgba(21, 169, 255, .05), transparent 72%),
        radial-gradient(ellipse 40% 48% at 90% 72%, rgba(19, 136, 238, .04), transparent 74%),
        linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
}

.clients-section::after {
    position: absolute;
    z-index: 0;
    top: -40%;
    left: -4%;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(19, 136, 238, .08);
    border-radius: 28px;
    transform: rotate(-16deg);
    box-shadow:
        0 0 0 22px rgba(19, 136, 238, .015),
        280px 90px 0 -50px rgba(19, 136, 238, .02),
        280px 90px 0 -28px rgba(19, 136, 238, .06),
        520px 40px 0 -90px rgba(21, 169, 255, .015),
        520px 40px 0 -68px rgba(21, 169, 255, .055);
    pointer-events: none;
    content: "";
}

.clients-section > .container,
.clients-carousel {
    position: relative;
    z-index: 1;
}

.clients-title {
    margin: 0 0 26px;
    color: #278fe0;
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: .22em;
    line-height: 1.5;
    text-align: center;
    text-transform: uppercase;
}

.clients-carousel {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
}

.clients-carousel-viewport {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%);
}

.clients-carousel-track {
    display: flex;
    width: max-content;
    gap: 18px;
    transition: transform .45s cubic-bezier(.22, .8, .3, 1);
    will-change: transform;
}

.clients-carousel-btn {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid #d7e6f3;
    border-radius: 50%;
    color: #1388ee;
    background: #fff;
    box-shadow: 0 6px 16px rgba(16, 42, 77, .08);
    transition: transform .2s ease, background .2s ease, color .2s ease, opacity .2s ease, border-color .2s ease;
}

.clients-carousel-btn:hover:not(:disabled) {
    color: #fff;
    background: #1388ee;
    border-color: #1388ee;
    transform: translateY(-1px);
}

.clients-carousel-btn:disabled {
    opacity: .35;
    cursor: default;
}

.clients-carousel-btn i {
    font-size: 20px;
    line-height: 1;
}

.client-logo {
    position: relative;
    display: grid;
    flex: 0 0 230px;
    width: 230px;
    min-height: 128px;
    place-items: center;
    padding: 18px 20px;
    border: 1px solid #edf3f8;
    border-radius: 14px;
    background: #fff;
    transition: transform .3s ease, box-shadow .3s ease;
}

.client-logo:hover {
    z-index: 2;
    transform: translateY(-4px);
    box-shadow: 0 9px 24px rgba(23, 72, 117, .08);
}

.client-logo img {
    width: 100%;
    height: 88px;
    object-fit: contain;
    filter: grayscale(1) brightness(1.05) contrast(1.05) sepia(.7) hue-rotate(175deg) saturate(4.2);
    opacity: .88;
    transform: scale(.92);
    transition: transform .35s ease, filter .35s ease, opacity .35s ease;
}

.client-logo:hover img {
    filter: none;
    opacity: 1;
    transform: scale(1.08);
}

.section-space {
    padding: 90px 0;
}

.section-space-sm {
    padding: 56px 0;
}

.about-section {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(19, 136, 238, .035) 1px, transparent 1px),
        linear-gradient(rgba(19, 136, 238, .035) 1px, transparent 1px),
        radial-gradient(ellipse 42% 36% at 88% 18%, rgba(21, 169, 255, .1), transparent 70%),
        radial-gradient(ellipse 36% 40% at 8% 78%, rgba(19, 136, 238, .08), transparent 72%),
        linear-gradient(115deg, #e8f3fb 0%, #eef7fc 45%, #e3f0f9 100%);
    background-size: 80px 80px, 80px 80px, auto, auto, auto;
}

.about-section::before,
.about-section::after {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    content: "";
}

/* Formas retas à esquerda: quadrados + losango */
.about-section::before {
    top: 16%;
    left: 2%;
    width: 118px;
    height: 118px;
    border: 1px solid rgba(19, 136, 238, .14);
    border-radius: 0;
    transform: rotate(45deg);
    box-shadow:
        0 0 0 14px rgba(19, 136, 238, .02),
        95px 95px 0 -28px rgba(19, 136, 238, .03),
        95px 95px 0 -14px rgba(19, 136, 238, .1),
        -110px 40px 0 -40px rgba(21, 169, 255, .025),
        -110px 40px 0 -26px rgba(21, 169, 255, .09),
        40px 200px 0 0 rgba(19, 136, 238, .08),
        40px 200px 0 1px rgba(19, 136, 238, .08),
        40px 200px 0 -58px transparent,
        160px -30px 0 -50px rgba(19, 136, 238, .06);
}

/* Formas retas à direita: espelhadas */
.about-section::after {
    top: 10%;
    right: 3%;
    width: 118px;
    height: 118px;
    border: 1px solid rgba(19, 136, 238, .14);
    border-radius: 0;
    transform: rotate(45deg);
    box-shadow:
        0 0 0 14px rgba(19, 136, 238, .02),
        -95px 95px 0 -28px rgba(19, 136, 238, .03),
        -95px 95px 0 -14px rgba(19, 136, 238, .1),
        110px 40px 0 -40px rgba(21, 169, 255, .025),
        110px 40px 0 -26px rgba(21, 169, 255, .09),
        -40px 200px 0 0 rgba(19, 136, 238, .08),
        -160px -30px 0 -50px rgba(19, 136, 238, .06);
}

.about-section > .container {
    position: relative;
    z-index: 1;
}

.section-title {
    margin: 14px 0 16px;
    font-family: var(--font-heading);
    font-size: clamp(34px, 3.3vw, 43px);
    font-weight: 800;
    letter-spacing: -.05em;
    line-height: 1.17;
}

.section-copy {
    max-width: 550px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.85;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    margin-top: 34px;
}

.value-item {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    color: #516881;
    font-size: 17px;
    line-height: 1.55;
}

.value-icon {
    display: grid;
    width: 53px;
    height: 53px;
    place-items: center;
    border: 1px solid #a9dcfb;
    border-radius: 14px;
    color: var(--blue);
    background: rgba(255, 255, 255, .7);
    box-shadow: 0 5px 16px rgba(19, 136, 238, .07);
    font-size: 18px;
}

.about-visual {
    position: relative;
    min-height: 370px;
    padding: 18px 15px 18px 28px;
}

.about-visual::before {
    position: absolute;
    inset: 0 0 0 12%;
    border: 1px solid #96dfff;
    border-radius: 24px;
    content: "";
}

.about-visual-frame {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 350px;
    border-radius: 19px;
    box-shadow: 0 19px 44px rgba(21, 70, 113, .16);
}

.about-visual-frame .scroll-parallax-img {
    position: absolute;
    left: 0;
    top: -40%;
    display: block;
    width: 100%;
    height: 180%;
    object-fit: cover;
    will-change: transform;
}

.visual-label {
    position: absolute;
    right: 36px;
    bottom: 35px;
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 270px;
    padding: 19px;
    border: 1px solid rgba(61, 185, 255, .6);
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(120deg, rgba(5, 34, 65, .96), rgba(5, 71, 119, .89));
    box-shadow: 0 12px 30px rgba(4, 27, 52, .28);
    backdrop-filter: blur(8px);
}

.visual-mark {
    display: grid;
    width: 37px;
    height: 37px;
    place-items: center;
    border: 1px solid #24b4ff;
    border-radius: 11px;
    color: #64cbff;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
}

.visual-label strong, .visual-label small {
    display: block;
}

.visual-label strong {
    font-family: var(--font-heading);
    font-size: 15px;
    line-height: 1.35;
}

.visual-label small {
    margin-top: 5px;
    color: #b8d8ef;
    font-size: 10px;
}

.visual-play {
    display: grid;
    width: 35px;
    height: 35px;
    place-items: center;
    margin-left: auto;
    border: 1px solid #39c2ff;
    border-radius: 50%;
    color: #fff;
    background: rgba(13, 142, 225, .5);
}

.visual-corner {
    position: absolute;
    width: 56px;
    height: 56px;
    border-color: #26b9ff;
}

.visual-corner-top {
    top: -4px;
    right: 3%;
    border-top: 1px solid;
    border-right: 1px solid;
    border-radius: 0 16px 0 0;
}

.visual-corner-bottom {
    bottom: 1px;
    left: 6%;
    border-bottom: 1px solid;
    border-left: 1px solid;
    border-radius: 0 0 0 16px;
}

.solutions-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 48% 38% at 6% 12%, rgba(21, 169, 255, .045), transparent 72%),
        radial-gradient(ellipse 40% 34% at 92% 78%, rgba(19, 136, 238, .035), transparent 74%),
        linear-gradient(180deg, #ffffff 0%, #fbfdff 50%, #ffffff 100%);
}

.solutions-section::after {
    position: absolute;
    z-index: 0;
    top: 8%;
    right: 4%;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(19, 136, 238, .08);
    border-radius: 32px;
    transform: rotate(18deg);
    box-shadow:
        0 0 0 24px rgba(19, 136, 238, .015),
        -210px 170px 0 -30px rgba(19, 136, 238, .02),
        -210px 170px 0 -6px rgba(19, 136, 238, .06),
        -40px 340px 0 -70px rgba(21, 169, 255, .02),
        -40px 340px 0 -46px rgba(21, 169, 255, .06),
        -320px 40px 0 -110px rgba(19, 136, 238, .015),
        -320px 40px 0 -88px rgba(19, 136, 238, .055);
    pointer-events: none;
    content: "";
}

.solutions-section > .container {
    position: relative;
    z-index: 1;
}

.section-heading {
    margin-bottom: 36px;
}

.section-heading .section-title {
    max-width: 560px;
    margin-bottom: 0;
}

.solution-card {
    display: flex;
    height: 100%;
    min-height: 235px;
    flex-direction: column;
    padding: 24px 22px;
    border: 1px solid #d8e7f2;
    border-radius: 16px;
    background: linear-gradient(160deg, rgba(255, 255, 255, .96) 0%, rgba(247, 251, 254, .94) 100%);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 10px 28px rgba(16, 58, 96, .04);
    backdrop-filter: blur(6px);
    transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.solution-card:hover {
    transform: translateY(-8px);
    border-color: #9ed7fa;
    box-shadow: 0 18px 36px rgba(31, 93, 142, .12);
}

.solution-icon {
    display: grid;
    width: 55px;
    height: 55px;
    place-items: center;
    margin-bottom: 18px;
    border: 1px solid #b5dffd;
    border-radius: 15px;
    color: var(--blue);
    background: #f1f9ff;
    box-shadow: 0 0 0 5px rgba(19, 136, 238, .035);
    font-size: 21px;
    transition: transform .28s ease, background .28s ease, color .28s ease;
}

.solution-card:hover .solution-icon {
    transform: translateY(-2px);
    color: #fff;
    background: linear-gradient(140deg, #0787ed, #15a9ff);
    border-color: transparent;
}

.solution-card h3 {
    margin: 0 0 10px;
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.solution-card p {
    margin: 0 0 17px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}

.solution-card a,
.solution-card-toggle,
.solution-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: auto;
    padding: 0;
    border: 0;
    color: #087fd5;
    background: transparent;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    text-align: left;
}

.solution-card-toggle {
    cursor: pointer;
}

.solution-card-cta {
    cursor: default;
    pointer-events: none;
}

.solution-card a i,
.solution-card-toggle i,
.solution-card-cta i {
    transition: transform .2s ease;
}

.solution-card a:hover i,
.solution-card-toggle:hover i {
    transform: translateX(4px);
}

.solution-card-expandable {
    position: relative;
    overflow: hidden;
    transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease, min-height .45s ease;
}

.solution-card-more {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    margin: 0;
    transition: grid-template-rows .45s ease, opacity .35s ease, margin .35s ease;
}

.solution-card-more-inner {
    overflow: hidden;
    min-height: 0;
}

.solution-card-more-inner h4 {
    margin: 4px 0 10px;
    color: var(--ink);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 800;
}

.solution-card-more-inner p {
    margin: 0 0 12px;
}

.solution-card-more-inner ul {
    margin: 0 0 14px;
    padding-left: 1.1em;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}

.solution-card-more-inner li + li {
    margin-top: 4px;
}

.solution-card-expandable.is-expanded {
    z-index: 8;
    min-height: 0;
    border-color: #9ed7fa;
    box-shadow: 0 22px 44px rgba(31, 93, 142, .16);
}

.solution-card-expandable.is-expanded .solution-card-more {
    grid-template-rows: 1fr;
    opacity: 1;
    margin-bottom: 4px;
}

.solution-card-expandable.is-expanded .solution-card-toggle i {
    transform: rotate(-90deg);
}

.difference-section {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: radial-gradient(ellipse at 76% 48%, rgba(12, 57, 102, .93) 0%, rgba(7, 39, 75, .93) 42%, rgba(4, 23, 47, .93) 100%);
}

.difference-section::before, .difference-section::after {
    position: absolute;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(24, 171, 255, .23);
    transform: rotate(45deg);
    content: "";
}

.difference-section::before {
    top: -230px;
    left: -100px;
    box-shadow: 0 0 0 18px rgba(24, 171, 255, .04), 0 0 0 36px rgba(24, 171, 255, .035);
}

.difference-section::after {
    right: -230px;
    bottom: -230px;
    box-shadow: 0 0 0 18px rgba(24, 171, 255, .04), 0 0 0 36px rgba(24, 171, 255, .035);
}

.difference-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 18%, rgba(3, 150, 255, .045) 50%, transparent 77%);
}

.eyebrow-light {
    color: #38bdff;
}

.section-title-light {
    color: #fff;
}

.section-title-light span {
    color: #17adff;
}

.difference-copy {
    max-width: 405px;
    margin: 0 0 23px;
    color: #c4d8ec;
    font-size: 16px;
    line-height: 1.8;
}

.button-outline-light {
    border-color: #138fe4;
    color: #fff;
    background: rgba(6, 46, 83, .42);
}

.button-outline-light:hover {
    color: #fff;
    background: #087ec7;
}

.difference-visual {
    position: relative;
    min-height: 330px;
    padding: 20px 22% 20px 0;
}

.difference-main-image {
    position: relative;
    z-index: 1;
    overflow: hidden;
    width: 100%;
    height: 290px;
    border: 1px solid #168acb;
    border-radius: 15px;
    box-shadow: 0 0 24px rgba(13, 156, 255, .11);
}

.difference-main-image .difference-parallax-img {
    position: absolute;
    left: 0;
    top: -40%;
    display: block;
    width: 100%;
    height: 180%;
    object-fit: cover;
    object-position: center 62%;
    will-change: transform;
}

.difference-points {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: 16%;
    display: grid;
    gap: 12px;
    padding: 16px 17px;
    transform: translate(0, -50%);
    border: 1px solid rgba(32, 165, 241, .53);
    border-radius: 14px;
    background: rgba(5, 30, 57, .9);
    box-shadow: 0 12px 34px rgba(0, 0, 0, .25);
    backdrop-filter: blur(12px);
}

.difference-points div {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e8f5ff;
    font-size: 11px;
    white-space: nowrap;
}

.difference-points i {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 1px solid rgba(39, 183, 255, .55);
    border-radius: 50%;
    color: #3bc1ff;
    font-size: 14px;
}

.difference-side-image {
    position: absolute;
    top: 12px;
    right: 0;
    bottom: 12px;
    display: flex;
    width: 23%;
    flex-direction: column;
    gap: 13px;
}

.difference-side-image-frame {
    overflow: hidden;
    min-height: 0;
    flex: 1;
    border: 1px solid rgba(27, 158, 226, .6);
    border-radius: 12px;
}

.difference-side-image-frame .difference-parallax-img {
    display: block;
    width: 100%;
    height: 170%;
    margin-top: -35%;
    object-fit: cover;
    object-position: center 62%;
    will-change: transform;
}

.difference-side-image span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #89c9f0;
    font-size: 9px;
}

.difference-frame {
    position: absolute;
    z-index: 0;
    top: 7px;
    right: 19%;
    bottom: 7px;
    left: 7px;
    border: 1px solid rgba(20, 178, 255, .35);
    border-radius: 18px;
    pointer-events: none;
}

.stats-section {
    background: rgba(245, 250, 255, .9);
}

.stats-layout {
    display: grid;
    grid-template-columns: 1.65fr repeat(4, 1fr);
    align-items: center;
}

.stats-intro {
    padding-right: 27px;
}

.stats-intro .eyebrow {
    margin-bottom: 8px;
}

.stats-intro h2 {
    max-width: 350px;
    margin: 0;
    font-family: var(--font-heading);
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.35;
}

.stat-item {
    min-height: 72px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 22px;
    border-left: 1px solid #d8e7f3;
}

.stat-item strong {
    color: var(--blue);
    font-family: var(--font-heading);
    font-size: clamp(24px, 2.5vw, 33px);
    font-weight: 800;
    letter-spacing: -.05em;
    line-height: 1.2;
}

.stat-item span {
    margin-top: 5px;
    color: #65788e;
    font-size: 10px;
    line-height: 1.5;
}

.contact-banner {
    position: relative;
    overflow: hidden;
    padding: 31px 0;
    color: #fff;
    background: #051a35;
}

.contact-banner-media {
    position: absolute;
    z-index: 0;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.contact-banner-parallax {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Enquadra o símbolo M no início; o JS desce o foco até o MAGGIORE */
    object-position: center 34%;
    will-change: object-position;
}

.contact-banner-media::after {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(110deg, rgba(5, 26, 53, .9), rgba(8, 45, 84, .8) 55%, rgba(6, 29, 60, .76));
    content: "";
}

.contact-banner::before, .contact-banner::after {
    position: absolute;
    z-index: 1;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(31, 161, 242, .3);
    transform: rotate(45deg);
    content: "";
}

.contact-banner::before {
    top: -110px;
    left: -80px;
    box-shadow: 0 0 0 15px rgba(31, 161, 242, .05), 0 0 0 30px rgba(31, 161, 242, .04);
}

.contact-banner::after {
    right: -120px;
    bottom: -135px;
    box-shadow: 0 0 0 15px rgba(31, 161, 242, .05), 0 0 0 30px rgba(31, 161, 242, .04);
}

.contact-banner-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1.5fr auto;
    align-items: center;
    gap: 48px;
}

.contact-banner .brand {
    color: #fff;
}

.contact-banner .brand-copy small {
    color: #69b8eb;
}

.contact-banner-copy {
    padding-left: 30px;
    border-left: 1px solid rgba(137, 191, 225, .25);
}

.contact-banner-copy h2 {
    margin: 0 0 8px;
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.3;
}

.contact-banner-copy h2 span {
    color: #19b2ff;
}

.contact-banner-copy p {
    max-width: 420px;
    margin: 0;
    color: #c5d9eb;
    font-size: 15px;
    line-height: 1.7;
}

.contact-banner .button {
    min-width: 155px;
}

.contact-form-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 44% 40% at 12% 22%, rgba(21, 169, 255, .07), transparent 72%),
        radial-gradient(ellipse 38% 36% at 88% 78%, rgba(19, 136, 238, .055), transparent 74%),
        linear-gradient(180deg, #f4f9fd 0%, #f7fbff 48%, #eef6fc 100%);
}

.contact-form-section::before,
.contact-form-section::after {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    content: "";
}

/* Carta / envelope abstrato */
.contact-form-section::before {
    top: 14%;
    right: 6%;
    width: 260px;
    height: 170px;
    border: 1px solid rgba(19, 136, 238, .1);
    border-radius: 14px;
    transform: rotate(12deg);
    background:
        linear-gradient(135deg, transparent 46%, rgba(19, 136, 238, .07) 46%, rgba(19, 136, 238, .07) 54%, transparent 54%),
        linear-gradient(225deg, transparent 46%, rgba(21, 169, 255, .05) 46%, rgba(21, 169, 255, .05) 54%, transparent 54%);
    box-shadow:
        0 0 0 18px rgba(19, 136, 238, .018),
        -250px 190px 0 -20px rgba(19, 136, 238, .02),
        -250px 190px 0 0 rgba(19, 136, 238, .07),
        -40px 320px 0 -50px rgba(21, 169, 255, .015),
        -40px 320px 0 -28px rgba(21, 169, 255, .055);
}

/* Selos / cartas menores */
.contact-form-section::after {
    top: 58%;
    left: 4%;
    width: 88px;
    height: 108px;
    border: 1.5px dashed rgba(19, 136, 238, .14);
    border-radius: 6px;
    transform: rotate(-10deg);
    box-shadow:
        0 0 0 10px rgba(19, 136, 238, .02),
        170px -120px 0 -8px rgba(19, 136, 238, .02),
        170px -120px 0 4px rgba(19, 136, 238, .07),
        320px -40px 0 -30px rgba(21, 169, 255, .015),
        320px -40px 0 -12px rgba(21, 169, 255, .06),
        90px 160px 0 -20px rgba(19, 136, 238, .015),
        90px 160px 0 -2px rgba(19, 136, 238, .055);
}

.contact-form-section > .container {
    position: relative;
    z-index: 1;
}

.contact-form-section .section-title {
    max-width: 440px;
}

.contact-form-section .section-copy {
    margin-bottom: 26px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #087fd5;
    font-size: 13px;
    font-weight: 700;
}

.contact-email i {
    font-size: 17px;
}

.contact-form {
    padding: 29px;
    border: 1px solid #e0ebf4;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 15px 40px rgba(18, 63, 104, .055);
}

.form-label {
    margin-bottom: 7px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 700;
}

.form-label span {
    color: #8796a7;
    font-weight: 400;
}

.form-control, .form-select {
    min-height: 45px;
    border-color: #dce7f0;
    border-radius: 9px;
    color: var(--ink);
    background-color: #fbfdff;
    font-family: var(--font-body);
    font-size: 16px;
}

.form-control::placeholder {
    color: #9aabba;
}

.form-control:focus, .form-select:focus {
    border-color: #7bc5f4;
    background-color: #fff;
    box-shadow: 0 0 0 .2rem rgba(19, 136, 238, .11);
}

textarea.form-control {
    min-height: 115px;
    resize: vertical;
}

.form-privacy {
    max-width: 310px;
    color: #71849a;
    font-size: 14px;
    line-height: 1.5;
}

.form-privacy i {
    margin-right: 5px;
    color: #258acb;
}

.form-submit {
    min-width: 170px;
    border: 0;
}

.form-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    padding: 13px 15px;
    border: 1px solid;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.6;
}

.form-notice-success {
    border-color: #b9e7d0;
    color: #176641;
    background: #f0fbf5;
}

.form-notice-error {
    border-color: #f1c5c5;
    color: #9c3434;
    background: #fff6f6;
}

.site-footer {
    position: relative;
    padding: 27px 0 17px;
    background: rgba(255, 255, 255, .92);
}

.footer-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 21px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(14px, 2.5vw, 33px);
}

.footer-nav a {
    color: #586d83;
    font-size: 10px;
    transition: color .2s ease;
}

.footer-nav a:hover {
    color: var(--blue);
}

.footer-socials {
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
}

.footer-social {
    display: grid;
    width: 35px;
    height: 35px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid #dfeaf3;
    border-radius: 50%;
    color: #54738f;
    transition: color .2s ease, border-color .2s ease;
}

.footer-social:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding-top: 14px;
    border-top: 1px solid #e8eff5;
    color: #8292a3;
    font-size: 9px;
}

.whatsapp-float {
    position: fixed;
    z-index: 900;
    right: 22px;
    bottom: 22px;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: calc(100vw - 28px);
    padding: 10px 18px 10px 10px;
    border-radius: 18px;
    color: var(--navy);
    background: #fff;
    box-shadow: 0 14px 36px rgba(6, 28, 56, .18), 0 0 0 1px rgba(16, 42, 77, .06);
    transition: transform .25s ease, box-shadow .25s ease;
}

.whatsapp-float:hover {
    color: var(--navy);
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(6, 28, 56, .22), 0 0 0 1px rgba(16, 42, 77, .08);
}

.whatsapp-float-icon {
    position: relative;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    perspective: 420px;
}

.whatsapp-float-coin {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    animation: whatsappCoin 9s linear infinite;
}

.whatsapp-float-face {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border-radius: 14px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.whatsapp-float-face--wa {
    color: #fff;
    background: #25d366;
    font-size: 26px;
    line-height: 1;
}

.whatsapp-float-face--brand {
    background: #fff;
    box-shadow: inset 0 0 0 1px #e4eef6;
    transform: rotateY(180deg);
}

.whatsapp-float-face--brand img {
    width: 74%;
    height: 74%;
    object-fit: contain;
}

.whatsapp-float-icon .bi {
    display: block;
    line-height: 1;
}

.whatsapp-float-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    line-height: 1.15;
}

.whatsapp-float-copy strong {
    color: var(--navy);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -.015em;
}

.whatsapp-float-copy span {
    color: #5b7086;
    font-size: 12.5px;
    font-weight: 500;
}

@keyframes whatsappCoin {
    0%, 40% {
        transform: rotateY(0deg);
        animation-timing-function: cubic-bezier(.45, .02, .2, 1);
    }

    48%, 62% {
        transform: rotateY(180deg);
        animation-timing-function: cubic-bezier(.45, .02, .2, 1);
    }

    70%, 100% {
        transform: rotateY(360deg);
    }
}

@media (max-width: 575.98px) {
    .whatsapp-float {
        right: 12px;
        bottom: 12px;
        gap: 10px;
        padding: 8px 14px 8px 8px;
        border-radius: 16px;
    }

    .whatsapp-float-icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .whatsapp-float-face {
        border-radius: 12px;
    }

    .whatsapp-float-face--wa {
        font-size: 23px;
    }

    .whatsapp-float-copy strong {
        font-size: 13px;
    }

    .whatsapp-float-copy span {
        font-size: 11.5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .whatsapp-float-coin {
        animation: none;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .65s ease, transform .65s cubic-bezier(.2, .7, .25, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.solution-cards .reveal:nth-child(2) {
    transition-delay: .08s;
}

.solution-cards .reveal:nth-child(3) {
    transition-delay: .16s;
}

.solution-cards .reveal:nth-child(4) {
    transition-delay: .24s;
}

@keyframes scrollPulse {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }

    65% {
        transform: translateY(9px);
        opacity: .25;
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        padding: 14px 0 10px;
    }

    .navbar-nav {
        align-items: flex-start;
        gap: 2px;
    }

    .navbar .nav-link {
        padding: 9px 0 !important;
    }

    .navbar .nav-link.active::after {
        bottom: 2px;
    }

    .nav-item.dropdown {
        width: 100%;
    }

    .nav-item.dropdown .dropdown-menu {
        position: static;
        width: 100%;
        min-width: 0;
        margin: 4px 0 6px;
        box-shadow: none;
        background: #f6fafd;
    }

    .nav-cta {
        margin-top: 8px;
    }

    .hero-section, .hero-content {
        min-height: 640px;
    }

    .hero-content {
        grid-template-columns: 1fr .82fr;
        gap: 12px;
        padding: 72px 0 88px;
    }

    .hero-title {
        font-size: clamp(36px, 5.4vw, 54px);
    }

    .hero-stage {
        height: min(52vh, 420px);
    }

    .hero-chip-two {
        left: -4%;
    }

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

    .stats-layout {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px 0;
    }

    .stats-intro {
        grid-column: 1 / -1;
        padding: 0 0 9px;
    }

    .stats-intro h2 {
        max-width: 460px;
    }

    .stat-item:first-of-type {
        border-left: 0;
        padding-left: 0;
    }

    .contact-banner-inner {
        grid-template-columns: 1fr 1.5fr;
        gap: 25px;
    }

    .contact-banner .button {
        grid-column: 2;
        justify-self: start;
    }
}

@media (max-width: 767.98px) {
    :root {
        --header-h: 68px;
        --header-h-scrolled: 56px;
        --header-offset: 68px;
    }

    html {
        scroll-padding-top: var(--header-offset);
    }

    .site-header,
    .site-header.is-scrolled {
        background: rgba(255, 255, 255, .97);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: 0 1px 0 rgba(16, 42, 77, .08);
    }

    .site-header.is-scrolled {
        box-shadow: 0 6px 18px rgba(16, 42, 77, .1);
    }

    /* Sem transparência no mobile: menu permanece escuro mesmo sobre seções escuras */
    .site-header.is-scrolled.is-over-dark .navbar .nav-link,
    .site-header.is-scrolled.is-over-dark .navbar .nav-link:hover,
    .site-header.is-scrolled.is-over-dark .navbar .nav-link.active,
    .site-header.is-scrolled.is-over-dark .navbar .nav-link.show {
        color: #52647a;
        text-shadow: none;
    }

    .site-header.is-scrolled.is-over-dark .navbar .nav-link:hover,
    .site-header.is-scrolled.is-over-dark .navbar .nav-link.active,
    .site-header.is-scrolled.is-over-dark .navbar .nav-link.show {
        color: var(--blue);
    }

    .site-header.is-scrolled.is-over-dark .navbar .nav-link::after {
        background: var(--blue);
    }

    .site-header.is-scrolled.is-over-dark .navbar-toggler {
        border-color: var(--line);
    }

    .site-header.is-scrolled.is-over-dark .navbar-toggler-icon {
        filter: none;
    }

    .navbar {
        min-height: var(--header-h);
    }

    .brand {
        width: auto;
        flex: 0 1 auto;
        max-width: calc(100% - 56px);
    }

    .brand-logo {
        width: 35px;
        height: 34px;
    }

    .brand-copy strong {
        font-size: 16px;
    }

    .brand-copy small {
        font-size: 6px;
    }

    .hero-section, .hero-content {
        min-height: 0;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 28px;
        padding: 52px 0 72px;
    }

    .hero-copy {
        width: 100%;
        max-width: none;
    }

    .hero-title {
        max-width: 540px;
        font-size: clamp(36px, 9vw, 52px);
    }

    .hero-lead {
        max-width: 500px;
        font-size: 15px;
    }

    .hero-actions {
        margin-top: 22px;
    }

    .hero-actions .button {
        min-height: 44px;
        padding: 0 16px;
        font-size: 11px;
    }

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

    .hero-trust-item {
        min-width: 0;
        padding-right: 18px;
    }

    .hero-trust-item + .hero-trust-item {
        padding-left: 18px;
    }

    .hero-veil {
        background: linear-gradient(180deg, rgba(3, 11, 24, .94) 0%, rgba(4, 16, 34, .88) 48%, rgba(4, 16, 34, .92) 100%);
    }

    #hero-fx {
        mask-image: linear-gradient(180deg, rgba(0,0,0,.7), rgba(0,0,0,.28) 70%, transparent);
    }

    .hero-layer {
        object-position: 68% 40%;
    }

    .hero-stage {
        height: 220px;
    }

    .hero-chip {
        padding: 8px 12px;
        font-size: 10px;
    }

    .hero-chip-one {
        top: 12%;
        right: 2%;
    }

    .hero-chip-two {
        top: auto;
        bottom: 42%;
        left: 0;
    }

    .hero-chip-three {
        bottom: 10%;
        right: 2%;
    }

    .scroll-cue {
        bottom: 16px;
    }

    .clients-section {
        padding: 30px 0 34px;
    }

    .clients-title {
        margin-bottom: 20px;
    }

    .clients-carousel {
        gap: 6px;
        padding: 0 8px;
    }

    .clients-carousel-viewport {
        mask-image: linear-gradient(90deg, transparent 0, #000 2%, #000 98%, transparent 100%);
    }

    .clients-carousel-track {
        gap: 12px;
    }

    .clients-carousel-btn {
        width: 38px;
        height: 38px;
    }

    .client-logo {
        flex-basis: 180px;
        width: 180px;
        min-height: 108px;
        padding: 14px 16px;
    }

    .client-logo img {
        height: 72px;
    }

    .section-space {
        padding: 62px 0;
    }

    .section-title {
        font-size: clamp(31px, 7vw, 39px);
    }

    .values-grid {
        gap: 17px 8px;
    }

    .value-item {
        font-size: 10px;
    }

    .value-icon {
        width: 39px;
        height: 39px;
    }

    .about-visual {
        min-height: 300px;
        padding: 13px 8px 13px 17px;
    }

    .about-visual-frame {
        height: 285px;
    }

    .visual-label {
        right: 18px;
        bottom: 24px;
        min-width: 240px;
        padding: 13px;
    }

    .visual-label strong {
        font-size: 13px;
    }

    .section-heading {
        margin-bottom: 26px;
    }

    .solution-card {
        min-height: 218px;
    }

    .difference-visual {
        min-height: 288px;
        padding: 16px 20% 16px 0;
    }

    .difference-main-image {
        height: 255px;
    }

    .difference-side-image {
        width: 21%;
    }

    .difference-points {
        right: 13%;
        gap: 9px;
        padding: 12px;
    }

    .difference-points div {
        gap: 7px;
        font-size: 10px;
    }

    .difference-points i {
        width: 25px;
        height: 25px;
    }

    .difference-frame {
        right: 17%;
    }

    .stats-layout {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px 0;
    }

    .stats-intro {
        grid-column: 1 / -1;
    }

    .stat-item {
        min-height: 62px;
        padding: 0 15px;
    }

    .stat-item:nth-of-type(odd) {
        border-left: 0;
        padding-left: 0;
    }

    .stat-item strong {
        font-size: 28px;
    }

    .contact-banner-inner {
        grid-template-columns: 1fr;
        gap: 19px;
    }

    .contact-banner-copy {
        padding-left: 0;
        border-left: 0;
    }

    .contact-banner .button {
        grid-column: 1;
    }

    .contact-form {
        padding: 22px 18px;
    }

    .footer-main {
        flex-wrap: wrap;
    }

    .footer-nav {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        gap: 13px 21px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 7px;
    }
}

@media (max-width: 420px) {
    .hero-section, .hero-content {
        min-height: 0;
    }

    .hero-title {
        font-size: 36px;
    }

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

    .hero-actions .button {
        min-width: 210px;
    }

    .hero-trust {
        gap: 12px 0;
    }

    .hero-trust-item, .hero-trust-item + .hero-trust-item {
        border: 0;
        padding: 0 20px 0 0;
    }

    .hero-stage {
        height: 180px;
    }

    .hero-chip {
        font-size: 9px;
        padding: 6px 10px;
    }

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

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .hero-layer {
        transform: translate3d(0, 0, 0) scale(1.08) !important;
    }

    .clients-carousel-track {
        transition: none;
    }
}


/* HERO — ajustes para tablets e celulares */
@media (max-width: 768px) {
    .hero-section {
        min-height: 100svh;
        min-height: 100vh;
        padding: 110px 0 72px;
        overflow: hidden;
    }

    .hero-content {
        width: 100%;
        padding-left: 28px;
        padding-right: 28px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-copy {
        width: 100%;
        max-width: 540px;
        margin: 0 auto;
    }

    .hero-eyebrow,
    .eyebrow {
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .hero-title {
        font-size: clamp(30px, 7.5vw, 42px);
        line-height: 1.12;
        letter-spacing: -1.2px;
        margin: 18px 0;
        max-width: 100%;
        overflow-wrap: break-word;
    }

    .hero-title span {
        display: inline;
    }

    .hero-lead {
        font-size: 14px;
        line-height: 1.75;
        max-width: 100%;
        margin-bottom: 26px;
    }

    .hero-actions {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        width: 100%;
        max-width: 320px;
    }

    .hero-actions .button {
        width: 100%;
        min-height: 46px;
        padding: 12px 16px;
        font-size: 13px;
        text-align: center;
        justify-content: center;
        box-sizing: border-box;
    }

    .hero-trust {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
        margin-top: 34px;
        padding-top: 22px;
    }

    .hero-trust-item {
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .hero-trust-item strong {
        font-size: clamp(18px, 5vw, 24px);
        line-height: 1.1;
    }

    .hero-trust-item span {
        font-size: 10px;
        line-height: 1.4;
        overflow-wrap: break-word;
    }

    /* Reduz os elementos visuais decorativos */
    .hero-stage {
        display: none;
    }

    .hero-lines {
        opacity: 0.25;
    }

    .hero-media-scan {
        opacity: 0.35;
    }

    .hero-layer-back {
        opacity: 0.5;
    }

    .hero-layer-mid {
        opacity: 0.35;
    }

    .hero-layer-front {
        opacity: 0.2;
    }

    #hero-fx {
        opacity: 0.35;
    }

    .scroll-cue {
        bottom: 18px;
        transform: scale(0.8);
    }
}

/* HERO — ajustes para tablets e celulares */
@media (max-width: 768px) {
    .hero-section {
        min-height: 100vh;
        min-height: 100svh;
        padding: 85px 0 72px;
        overflow: hidden;
    }

    .hero-content {
        width: 100%;
        padding-left: 28px;
        padding-right: 28px;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }

    .hero-copy {
        width: 100%;
        max-width: 540px;
        margin: 0 auto;
    }

    .hero-eyebrow,
    .eyebrow {
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .hero-title {
        font-size: clamp(30px, 7.5vw, 42px);
        line-height: 1.12;
        letter-spacing: -1.2px;
        margin: 18px 0;
        max-width: 100%;
        overflow-wrap: break-word;
    }

    .hero-title span {
        display: inline;
    }

    .hero-lead {
        font-size: 14px;
        line-height: 1.75;
        max-width: 100%;
        margin-bottom: 26px;
    }

    /* Botões centralizados */
    .hero-actions {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        width: 100%;
        max-width: 100%;
        margin: 0 auto 12px;
    }

    .hero-actions .button {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 320px;
        min-height: 46px;
        padding: 12px 16px;
        margin-left: auto;
        margin-right: auto;
        font-size: 13px;
        text-align: center;
        box-sizing: border-box;
    }

    /* Espaço adicional abaixo do último botão */
    .hero-actions .button:last-child {
        margin-bottom: 10px;
    }

    .hero-trust {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
        margin-top: 34px;
        padding-top: 22px;
    }

    .hero-trust-item {
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .hero-trust-item strong {
        font-size: clamp(18px, 5vw, 24px);
        line-height: 1.1;
    }

    .hero-trust-item span {
        font-size: 10px;
        line-height: 1.4;
        overflow-wrap: break-word;
    }

    /* Reduz os elementos visuais decorativos */
    .hero-stage {
        display: none;
    }

    .hero-lines {
        opacity: 0.25;
    }

    .hero-media-scan {
        opacity: 0.35;
    }

    .hero-layer-back {
        opacity: 0.5;
    }

    .hero-layer-mid {
        opacity: 0.35;
    }

    .hero-layer-front {
        opacity: 0.2;
    }

    #hero-fx {
        opacity: 0.35;
    }

    .scroll-cue {
        bottom: 18px;
        transform: scale(0.8);
    }
}

/* Celulares menores */
@media (max-width: 480px) {
    .hero-section {
        padding-top: 75px;
        padding-bottom: 64px;
    }

    .hero-content {
        padding-left: 24px;
        padding-right: 24px;
    }

    .hero-title {
        font-size: clamp(28px, 8vw, 35px);
        line-height: 1.15;
        letter-spacing: -0.8px;
        margin-top: 16px;
        margin-bottom: 14px;
    }

    .hero-lead {
        font-size: 13px;
        line-height: 1.7;
        margin-bottom: 22px;
    }

    .hero-actions {
        align-items: center;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        gap: 12px;
    }

    .hero-actions .button {
        width: 100%;
        max-width: 320px;
        min-height: 44px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions .button:last-child {
        margin-bottom: 10px;
    }

    .hero-trust {
        gap: 8px;
        margin-top: 28px;
        padding-top: 18px;
    }

    .hero-trust-item strong {
        font-size: 19px;
    }

    .hero-trust-item span {
        font-size: 9px;
    }

    .eyebrow {
        font-size: 9px;
        letter-spacing: 1.2px;
    }
}

/* Celulares muito estreitos */
@media (max-width: 360px) {
    .hero-section {
        padding-top: 65px;
    }

    .hero-content {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-title {
        font-size: 27px;
    }

    .hero-trust {
        gap: 6px;
    }

    .hero-trust-item span {
        font-size: 8px;
    }

    .hero-actions .button {
        max-width: 100%;
        padding-left: 12px;
        padding-right: 12px;
    }
}


/* CARROSSEL DE CLIENTES — navegação por toque no mobile */
@media (max-width: 768px) {
    .clients-carousel {
        position: relative;
        width: 100%;
        display: flex;
        align-items: center;
    }

    .clients-carousel-viewport {
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        touch-action: pan-x;
        scrollbar-width: none;
        cursor: grab;
    }

    /* Oculta a barra de rolagem no Chrome, Safari e outros */
    .clients-carousel-viewport::-webkit-scrollbar {
        display: none;
    }

    .clients-carousel-track {
        display: flex;
        width: max-content;
        min-width: 100%;
        transform: none !important;
        transition: none !important;
    }

    .client-logo {
        flex: 0 0 auto;
        scroll-snap-align: start;
    }

    /* Esconde as setas no celular */
    .clients-carousel-btn {
        display: none;
    }
}

/* ========================================
   MODAL DE SOLUÇÕES - MAGGIORE
======================================== */

.solution-modal {
    --solution-blue: #0878ff;
    --solution-blue-light: #eaf3ff;
    --solution-text: #192b45;
    --solution-muted: #65758b;
    --solution-border: #e4ebf4;

    --solution-modal-height: 350px;
}

/* Dialog: altura controlada */

.solution-modal .modal-dialog {
    width: calc(100% - 30px);
    max-width: 1080px;
    height: var(--solution-modal-height);
    max-height: var(--solution-modal-height);
    margin: 20px auto;
}

.solution-modal .modal-content {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    border: 0;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(6, 28, 56, 0.28);
}

/* Fechar */

.solution-modal-close {
    position: absolute;
    z-index: 5;
    top: 18px;
    right: 18px;
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    place-items: center;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #8a97a8;
    font-size: 16px;
    transition: color 0.2s ease, background 0.2s ease;
}

.solution-modal-close:hover {
    background: #f3f6fa;
    color: #203957;
}

/* Layout principal: nunca cresce com o conteúdo */

.solution-modal-layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

/* Painel lateral */

.solution-modal-sidebar {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 0;
    flex-direction: column;
    overflow: hidden;
    padding: 38px 30px 28px;
    background:
        radial-gradient(ellipse at 18% 88%, rgba(20, 120, 255, 0.45), transparent 52%),
        radial-gradient(ellipse at 90% 10%, rgba(8, 70, 180, 0.35), transparent 46%),
        linear-gradient(165deg, #08336f 0%, #041833 48%, #062a5c 100%);
    color: #fff;
}

.solution-modal-sidebar::before {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(4, 18, 48, 0.08), transparent 28%),
        radial-gradient(circle at 70% 72%, rgba(80, 170, 255, 0.18), transparent 42%);
    content: "";
    pointer-events: none;
}

.solution-modal-sidebar::after {
    display: none;
}

.solution-modal-eyebrow {
    position: relative;
    z-index: 1;
    display: block;
    flex-shrink: 0;
    margin-bottom: 18px;
    color: #7eb8ff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.solution-modal-sidebar h2 {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    margin: 0 0 14px;
    color: #fff;
    font-family: var(--font-heading);
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 800;
    letter-spacing: -1.2px;
    line-height: 1.12;
}

.solution-modal-sidebar > p {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    margin: 0;
    max-width: 26ch;
    color: rgba(226, 238, 255, 0.86);
    font-size: 14px;
    line-height: 1.7;
}

/* Ilustração */

.solution-modal-illustration {
    position: relative;
    z-index: 1;
    display: flex;

    flex: 0 0 350px;
    height: 350px;
    min-height: 350px;
    max-height: 350px;

    min-width: 0;
    align-items: flex-end;
    justify-content: center;
    margin: 28px -8px 0;
    overflow: hidden;
}

.solution-network {
    position: absolute;
    inset: 18% 8% 22%;
    background:
        radial-gradient(circle at 30% 40%, rgba(90, 180, 255, 0.22), transparent 28%),
        radial-gradient(circle at 70% 35%, rgba(70, 150, 255, 0.18), transparent 32%);
    pointer-events: none;
}

.solution-network::before,
.solution-network::after {
    position: absolute;
    inset: 8% 10%;
    border: 1px solid rgba(120, 190, 255, 0.18);
    border-radius: 50%;
    content: "";
}

.solution-laptop {
    position: relative;
    z-index: 1;
    width: 210px;
    max-width: 100%;
    flex-shrink: 0;
    margin-bottom: 8px;
}

.solution-laptop-screen {
    display: grid;
    place-items: center;
    height: 132px;
    border: 3px solid #12355f;
    border-bottom: 0;
    border-radius: 12px 12px 4px 4px;
    background:
        radial-gradient(circle at 50% 58%, rgba(40, 150, 255, 0.55), transparent 46%),
        linear-gradient(180deg, #0b2a58, #071a38);
    box-shadow: 0 0 40px rgba(40, 140, 255, 0.28);
}

.solution-cloud {
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(90, 180, 255, 0.35), transparent 70%);
    color: #8fd0ff;
    font-size: 42px;
}

.solution-laptop-base {
    height: 12px;
    margin: 0 -14px;
    border-radius: 0 0 10px 10px;
    background: linear-gradient(180deg, #9eb4cc, #6d849c);
    box-shadow: 0 16px 24px rgba(0, 20, 50, 0.35);
}

.solution-laptop-base::after {
    display: block;
    width: 42px;
    height: 4px;
    margin: 0 auto;
    border-radius: 0 0 4px 4px;
    background: #5a7088;
    content: "";
}

.solution-doc-chip {
    position: absolute;
    z-index: 2;
    display: flex;
    width: 78px;
    height: 86px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid rgba(160, 210, 255, 0.55);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(210, 232, 255, 0.92), rgba(150, 198, 255, 0.78));
    box-shadow: 0 12px 24px rgba(4, 30, 70, 0.28);
    color: #0b4ea3;
    animation: solutionFloat 4.4s ease-in-out infinite;
}

.solution-doc-chip i {
    font-size: 22px;
}

.solution-doc-chip span {
    color: #123a72;
    font-size: 11px;
    font-weight: 800;
}

.solution-doc-1 {
    top: 8%;
    left: 6%;
}

.solution-doc-2 {
    top: 4%;
    right: 8%;
    animation-delay: -1.1s;
}

.solution-doc-3 {
    right: 19%;
    bottom: 28%;
    animation-delay: -2s;
}

.solution-doc-4 {
    right: 65%;
    bottom: 24%;
    animation-delay: -2.8s;
}

@keyframes solutionFloat {
    0%, 100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -8px;
    }
}

/* ========================================
   ÁREA PRINCIPAL
======================================== */

.solution-modal-main {
    display: flex;
    min-width: 0;
    min-height: 0;
    flex-direction: column;
    overflow: hidden;
    padding: 38px 42px 24px;
}

/* Cabeçalho interno, caso esteja presente */

.solution-modal-main-heading {
    flex-shrink: 0;
    padding-right: 25px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--solution-border);
}

.solution-modal-section-label {
    color: var(--solution-blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.solution-modal-main-heading h3 {
    margin: 10px 0 0;
    color: var(--solution-text);
    font-size: 23px;
    font-weight: 750;
    letter-spacing: -0.6px;
    line-height: 1.35;
}

/* Conteúdo dinâmico: rolagem independente */

.solution-modal-content {
    flex: 1 1 0;
    min-width: 0;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    padding: 4px 8px 18px 0;
    color: #53647a;
    font-size: 13.5px;
    line-height: 1.75;
}

.solution-modal-content > p {
    margin: 0 0 14px;
}

.solution-modal-content > p:first-child {
    color: #3d5069;
}

.solution-modal-content strong {
    color: #1a3558;
    font-weight: 700;
}

.solution-modal-content h3 {
    margin: 22px 0 18px;
    color: #1d3558;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.solution-modal-content h4 {
    margin: 0 0 6px;
    color: #203957;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.5;
}

.solution-modal-content p {
    line-height: 1.8;
}

.solution-modal-content ul {
    margin: 8px 0 0;
    padding-left: 18px;
}

.solution-modal-content li {
    padding-left: 2px;
    margin-bottom: 3px;
}

/* Cards de funcionalidades */

.solution-modal-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 0;
    padding: 4px 4px 8px 0;
    border: 0;
    background: transparent;
}

.solution-modal-feature > div:last-child {
    min-width: 0;
    flex: 1;
}

.solution-modal-icon {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border: 0;
    border-radius: 12px;
    background: #eaf3ff;
    color: #1a7dff;
}

.solution-modal-icon i {
    font-size: 21px;
}

.solution-modal-feature p {
    margin: 0;
    color: var(--solution-muted);
    font-size: 12px;
    line-height: 1.75;
}

.solution-modal-feature ul {
    color: var(--solution-muted);
    font-size: 12px;
    line-height: 1.7;
}

.solution-modal-feature li::marker {
    color: var(--solution-blue);
}

/* Grade de funcionalidades */

.solution-modal-features-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 18px 28px;
}

.solution-modal-features-grid .solution-modal-feature {
    height: 100%;
    min-width: 0;
    margin: 0;
}

/* ========================================
   RODAPÉ FIXO
======================================== */

.solution-modal-footer {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    padding-top: 12px;
    background: #fff;
}

.solution-modal-footer > span {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #77869a;
    font-size: 11px;
    line-height: 1.6;
}

.solution-modal-footer > span i {
    color: var(--solution-blue);
    font-size: 15px;
}

.solution-modal-button {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 18px;
    border: 0;
    border-radius: 10px;
    background: #1a7dff;
    box-shadow: 0 8px 18px rgba(26, 125, 255, 0.28);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    transition: 0.2s ease;
}

.solution-modal-button:hover {
    box-shadow: 0 9px 24px rgba(8, 120, 255, 0.3);
    color: #fff;
    transform: translateY(-1px);
}

/* ========================================
   ENTRADA DO MODAL
======================================== */

.solution-modal.show .modal-content {
    animation: solutionModalEnter 0.25s ease-out;
}

@keyframes solutionModalEnter {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.99);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ========================================
   TABLET
======================================== */

@media (max-width: 991.98px) {
    .solution-modal {
        --solution-modal-height: 650px;
    }

    .solution-modal .modal-dialog {
        max-width: 850px;
    }

    .solution-modal-layout {
        grid-template-columns: 240px minmax(0, 1fr);
    }

    .solution-modal-sidebar {
        padding: 36px 22px 22px;
    }

    .solution-modal-main {
        padding: 36px 25px 22px;
    }

    .solution-modal-illustration {
        margin-top: 20px;
    }

    .solution-laptop {
        width: 170px;
    }

    .solution-laptop-screen {
        height: 108px;
    }

    .solution-doc-chip {
        width: 64px;
        height: 72px;
    }

    .solution-modal-main-heading h3 {
        font-size: 20px;
    }

    .solution-modal-features-grid {
        gap: 16px 18px;
    }
}

/* ========================================
   CELULAR
======================================== */

@media (max-width: 575.98px) {
    .solution-modal {
        --solution-modal-height: calc(100dvh - 20px);
    }

    .solution-modal .modal-dialog {
        width: auto;
        height: var(--solution-modal-height);
        max-height: calc(100vh - 20px);
        margin: 10px;
    }

    .solution-modal .modal-content {
        height: 100%;
        border-radius: 18px;
    }

    .solution-modal-layout {
        display: flex;
        flex-direction: column;
        height: 100%;
        min-height: 0;
        overflow: hidden;
    }

    .solution-modal-sidebar {
        flex: 0 0 auto;
        min-height: 0;
        padding: 26px 22px 12px;
    }

    .solution-modal-sidebar h2 {
        max-width: calc(100% - 30px);
        margin-bottom: 10px;
        font-size: 27px;
    }

    .solution-modal-sidebar > p {
        max-width: 100%;
        font-size: 13px;
        line-height: 1.55;
    }

    .solution-modal-eyebrow {
        margin-bottom: 14px;
        padding-right: 35px;
        font-size: 9px;
    }

    .solution-modal-illustration {
        flex: 0 1 auto;
        width: 100%;
        min-height: 100px;
        max-height: 145px;
        align-self: center;
        margin: 12px auto 0;
    }

    .solution-laptop {
        width: 130px;
        margin-bottom: 6px;
    }

    .solution-laptop-screen {
        height: 80px;
    }

    .solution-cloud {
        width: 54px;
        height: 54px;
        font-size: 32px;
    }

    .solution-laptop-base {
        height: 9px;
    }

    .solution-doc-chip {
        width: 48px;
        height: 54px;
        gap: 4px;
        border-radius: 10px;
    }

    .solution-doc-chip i {
        font-size: 16px;
    }

    .solution-doc-chip span {
        font-size: 9px;
    }

    .solution-modal-main {
        flex: 1 1 0;
        min-height: 0;
        padding: 18px 20px 16px;
    }

    .solution-modal-main-heading {
        padding-right: 0;
        padding-bottom: 14px;
    }

    .solution-modal-main-heading h3 {
        font-size: 19px;
    }

    .solution-modal-content {
        flex: 1 1 0;
        min-height: 0;
        padding: 14px 0;
        font-size: 13px;
    }

    .solution-modal-content h3 {
        margin-top: 18px;
        font-size: 17px;
    }

    .solution-modal-features-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .solution-modal-feature {
        gap: 12px;
        padding: 8px 0;
    }

    .solution-modal-icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .solution-modal-icon i {
        font-size: 18px;
    }

    .solution-modal-footer {
        gap: 10px;
        padding-top: 10px;
    }

    .solution-modal-footer > span {
        flex: 1 1 100%;
    }

    .solution-modal-button {
        width: 100%;
    }
}

/* Telas muito baixas */

@media (max-width: 575.98px) and (max-height: 650px) {
    .solution-modal-sidebar {
        padding-top: 18px;
        padding-bottom: 8px;
    }

    .solution-modal-sidebar h2 {
        font-size: 23px;
    }

    .solution-modal-eyebrow {
        margin-bottom: 8px;
    }

    .solution-modal-illustration {
        min-height: 65px;
        max-height: 85px;
        margin-top: 6px;
    }

    .solution-laptop {
        width: 100px;
    }

    .solution-laptop-screen {
        height: 60px;
    }

    .solution-doc-chip {
        width: 40px;
        height: 44px;
    }

    .solution-modal-main {
        padding-top: 12px;
        padding-bottom: 12px;
    }
}

/* Grade em telas intermediárias */

@media (min-width: 576px) and (max-width: 767.98px) {
    .solution-modal-features-grid {
        grid-template-columns: 1fr;
    }
}

/* Acessibilidade: movimento reduzido */

@media (prefers-reduced-motion: reduce) {
    .solution-modal *,
    .solution-modal *::before,
    .solution-modal *::after {
        animation: none !important;
        transition: none !important;
    }
}


/* ==========================================
   AJUSTE PARA MONITORES 1366x768
========================================== */

@media screen and (min-width: 992px) and (max-width: 1440px) {

    /* Hero */
    .hero-section {
        min-height: 100vh;
        padding-top: 85px;
        padding-bottom: 35px;
    }

    .hero-content {
        gap: 25px;
    }

    /* Texto */
    .hero-title {
        font-size: clamp(36px, 3.2vw, 46px);
        line-height: 1.12;
    }

    .hero-lead {
        font-size: 14px;
        line-height: 1.6;
        max-width: 500px;
    }

    /* Botões */
    .hero-actions {
        gap: 12px;
        margin-top: 22px;
    }

    .hero-actions .button {
        padding: 12px 18px;
        font-size: 13px;
    }

    /* Indicadores */
    .hero-trust {
        margin-top: 25px;
        gap: 25px;
    }

    .hero-trust-item strong {
        font-size: 23px;
    }

    .hero-trust-item span {
        font-size: 11px;
    }

    /* Cards */
    .hero-stage {
        max-width: 570px;
    }

    .hero-products-grid {
        gap: 12px;
    }

    .hero-product-card {
        min-height: 96px;
        padding: 14px 16px;
        gap: 12px;
        border-radius: 14px;
    }

    .hero-product-icon {
        flex-basis: 43px;
        height: 48px;
        font-size: 34px;
    }

    .hero-product-divider {
        height: 48px;
    }

    .hero-product-title span {
        font-size: 15px;
    }

    .hero-product-title strong {
        font-size: 20px;
    }
}

/* ==========================================
   AJUSTE VERTICAL PARA 768PX DE ALTURA
========================================== */

@media screen and (min-width: 992px) and (max-height: 800px) {

    .hero-section {
        min-height: 768px;
        padding-top: 85px;
        padding-bottom: 25px;
    }

    .hero-content {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .hero-title {
        font-size: 40px;
        margin-bottom: 15px;
    }

    .hero-lead {
        font-size: 13px;
        line-height: 1.5;
    }

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

    .hero-trust {
        margin-top: 20px;
    }

    .hero-product-card {
        min-height: 88px;
    }

    .hero-products-grid {
        gap: 10px;
    }

    .scroll-cue {
        display: none;
    }
}


/* =====================================================
   HERO - SOLUÇÕES MAGGIORE (deck de 2 cards ao lado do texto)
===================================================== */

.hero-deck-wrap {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 580px;
    justify-self: end;
}

.hero-solutions-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 0 0 16px;
}

.hero-solutions-line {
    flex: 1 1 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(76, 200, 255, 0), rgba(76, 200, 255, .75));
}

.hero-solutions-line:last-child {
    background: linear-gradient(90deg, rgba(76, 200, 255, .75), rgba(76, 200, 255, 0));
}

.hero-solutions-title {
    margin: 0;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.2;
    white-space: nowrap;
    text-shadow: 0 0 22px rgba(21, 169, 255, .35);
}

/* Os dois cards ocupam a mesma célula do grid: ficam do tamanho do maior
   e o padding-bottom reserva o deslocamento do card da frente. */
.hero-deck {
    --deck-dx: 45px;
    --deck-dy: 80px;
    --deck-duration: 650ms;
    --deck-ease: cubic-bezier(.65, 0, .35, 1);
    position: relative;
    display: grid;
    padding-bottom: var(--deck-dy);
    container-type: inline-size;
}

.hero-deck-card {
    grid-area: 1 / 1;
    width: calc(100% - var(--deck-dx));
    padding: 28px 30px;
    will-change: transform;
}

.hero-deck-card.is-back {
    z-index: 1;
    transform: translate(0, 0);
    cursor: pointer;
    border-color: rgba(76, 200, 255, .38);
    background: linear-gradient(160deg, rgba(8, 28, 58, .9) 0%, rgba(4, 16, 34, .94) 100%);
}

.hero-deck-card.is-front {
    z-index: 3;
    transform: translate(var(--deck-dx), var(--deck-dy));
}

@media (hover: hover) and (pointer: fine) {
    .hero-deck:not(.is-animating) .hero-deck-card.is-back:hover {
        border-color: rgba(34, 211, 238, .8);
        box-shadow: 0 0 30px rgba(34, 211, 238, .3), 0 20px 50px rgba(0, 8, 20, .5);
        transform: translate(-3px, -5px);
    }

    .hero-deck:not(.is-animating) .hero-deck-card.is-front:hover {
        transform: translate(var(--deck-dx), var(--deck-dy));
    }
}

.hero-deck-card.is-entering {
    animation: deckToFront var(--deck-duration) var(--deck-ease) forwards;
}

.hero-deck-card.is-leaving {
    animation: deckToBack var(--deck-duration) var(--deck-ease) forwards;
}

.hero-deck-card.is-leaving {
    z-index: 3;
}

.hero-deck-card.is-entering {
    z-index: 1;
}

/* metade da animação: troca de camada */
.hero-deck-card.is-entering.is-over {
    z-index: 4;
}

@keyframes deckToFront {
    0% {
        transform: translate(0, 0) rotate(0);
    }
    50% {
        transform: translate(-28px, calc(var(--deck-dy) * .5 + 34px)) rotate(-3deg);
    }
    100% {
        transform: translate(var(--deck-dx), var(--deck-dy)) rotate(0);
    }
}

@keyframes deckToBack {
    0% {
        transform: translate(var(--deck-dx), var(--deck-dy)) rotate(0);
    }
    50% {
        transform: translate(calc(var(--deck-dx) + 34px), calc(var(--deck-dy) * .35)) rotate(2.5deg);
    }
    100% {
        transform: translate(0, 0) rotate(0);
    }
}

.hero-deck-toggle {
    display: inline;
    margin: 0;
    padding: 0;
    border: 0;
    color: inherit;
    background: none;
    font: inherit;
    letter-spacing: inherit;
    text-align: left;
    cursor: pointer;
}

.hero-deck-card.is-front .hero-deck-toggle {
    cursor: default;
}

.hero-deck-toggle:focus-visible {
    outline: 2px solid #22d3ee;
    outline-offset: 4px;
    border-radius: 4px;
}

/* Conteúdo do card de trás fica invisível e sem cliques */
.hero-deck-reveal {
    transition: opacity .3s ease, visibility .3s ease;
}

.hero-deck-card.is-back .hero-deck-reveal {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.hero-deck-card.is-entering .hero-deck-reveal {
    opacity: 1;
    visibility: visible;
    transition-delay: .25s;
}

.hero-deck-card.is-leaving .hero-deck-reveal {
    opacity: 0;
    visibility: hidden;
    transition-duration: .2s;
}

.hero-deck-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.hero-solution-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 32px;
    border: 1px solid rgba(76, 200, 255, .55);
    border-radius: 24px;
    background: linear-gradient(160deg, rgba(10, 34, 68, .9) 0%, rgba(5, 19, 40, .94) 100%);
    box-shadow: inset 0 0 0 1px rgba(21, 169, 255, .08), inset 0 1px 0 rgba(255, 255, 255, .06), 0 0 26px rgba(21, 169, 255, .22), 0 26px 60px rgba(0, 8, 20, .55);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease, background .3s ease;
}

.hero-solution-head {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.hero-solution-accent {
    flex: 0 0 4px;
    width: 4px;
    height: 34px;
    margin-top: 2px;
    border-radius: 4px;
    background: linear-gradient(180deg, #22d3ee, #15a9ff);
    box-shadow: 0 0 14px rgba(34, 211, 238, .7);
}

.hero-solution-head h3 {
    margin: 0 0 6px;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.2;
}

.hero-solution-head p {
    margin: 0;
    color: #a9c8e0;
    font-size: 16px;
    line-height: 1.5;
}

.hero-solution-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.hero-solution-divider {
    margin: 18px 0;
    border: 0;
    border-top: 1px solid rgba(120, 200, 255, .2);
    opacity: 1;
}

.hero-solution-features {
    display: grid;
    flex: 1 1 auto;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-content: center;
    gap: 20px 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hero-solution-features li {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    text-align: center;
}

.hero-solution-icon {
    width: 36px;
    height: 36px;
    color: #4cc8ff;
    filter: drop-shadow(0 0 8px rgba(34, 211, 238, .45));
}

.hero-solution-features span {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
}

.hero-solution-docs {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    gap: 48px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hero-solution-docs li {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 12px;
}

.hero-solution-doc-icon {
    width: 54px;
    height: 54px;
    color: #4cc8ff;
    filter: drop-shadow(0 0 10px rgba(34, 211, 238, .45));
}

.hero-solution-pill {
    padding: 4px 15px;
    border: 1px solid rgba(34, 211, 238, .55);
    border-radius: 999px;
    color: #fff;
    background: rgba(34, 211, 238, .12);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .02em;
}

.hero-solution-note {
    margin: 0;
    color: #d6e8f5;
    font-size: 15px;
    line-height: 1.55;
    text-align: center;
}

.hero-solution-note + .hero-solution-note {
    margin-top: 4px;
}

.hero-solution-actions {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.hero-solution-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 30px;
    border-radius: 999px;
    color: #04263a;
    background: #22d3ee;
    box-shadow: 0 0 24px rgba(34, 211, 238, .45);
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.hero-solution-button:hover,
.hero-solution-button:focus-visible {
    color: #04263a;
    background: #67e8f9;
    box-shadow: 0 0 34px rgba(34, 211, 238, .65);
    transform: translateY(-2px);
}

/* Desktop: centraliza texto e deck na área visível abaixo do header,
   para o botão do card da frente não ficar abaixo da dobra em telas de 800px */
@media (min-width: 900px) {
    .hero-section .hero-content {
        min-height: min(calc(100svh - 110px), 820px);
    }
}

/* 900-1199px: título do hero menor para não passar por baixo do deck */
@media (min-width: 900px) and (max-width: 1199.98px) {
    .hero-section .hero-title {
        font-size: clamp(34px, 4.1vw, 46px);
    }
}

/* Card estreito: ícones do ERP em 2x2 */
@container (max-width: 500px) {
    .hero-solution-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Telas médias: hero em duas colunas mais justas */
@media (max-width: 1199.98px) {
    .hero-deck {
        --deck-dx: 32px;
        --deck-dy: 76px;
    }

    .hero-deck-card {
        padding: 26px;
    }

    .hero-solution-head h3 {
        font-size: 25px;
    }
}

/* Abaixo de ~900px: deck abaixo do texto, largura total */
@media (max-width: 899.98px) {
    .hero-content {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-deck-wrap {
        max-width: 620px;
        justify-self: stretch;
        margin: 8px auto 0;
    }

    .hero-section .scroll-cue {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .hero-deck {
        --deck-dx: 18px;
        --deck-dy: 72px;
    }

    .hero-deck-card {
        padding: 24px 20px;
        border-radius: 20px;
    }

    .hero-solutions-title {
        font-size: 22px;
    }

    .hero-solution-head {
        gap: 12px;
    }

    .hero-solution-head h3 {
        font-size: 22px;
    }

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

    .hero-solution-accent {
        height: 28px;
    }

    .hero-solution-docs {
        gap: 36px;
    }

    .hero-solution-doc-icon {
        width: 56px;
        height: 56px;
    }

    .hero-solution-divider {
        margin: 20px 0;
    }

    .hero-solution-button {
        width: 100%;
        justify-content: center;
        padding: 0 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-deck-card,
    .hero-deck-reveal,
    .hero-solution-card,
    .hero-solution-button {
        animation: none !important;
        transition: none !important;
    }
}


/* =====================================================
   SOBRE - DUAS SOLUÇÕES
===================================================== */

.about-solutions {
    display: grid;
    gap: 22px;
    margin-top: 30px;
    max-width: 600px;
}

.about-solution {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.about-solution .value-icon {
    flex: 0 0 auto;
}

.about-solution h3 {
    margin: 2px 0 6px;
    color: var(--ink);
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.about-solution p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

.about-solution p + p {
    margin-top: 8px;
}


/* =====================================================
   RODAPÉ - TAMANHOS MAIORES
===================================================== */

.site-footer {
    padding: 52px 0 30px;
}

.footer-main {
    gap: 32px;
    padding-bottom: 34px;
}

.site-footer .brand {
    width: auto;
    flex: 0 0 auto;
    gap: 14px;
}

.site-footer .brand img {
    width: 57px;
    height: 57px;
}

.site-footer .brand-copy strong {
    font-size: 32px;
}

.site-footer .brand-copy small {
    margin-top: 7px;
    font-size: 16px;
}

.footer-nav {
    gap: 14px clamp(18px, 2.4vw, 36px);
}

.footer-nav a {
    font-size: 16px;
    font-weight: 500;
}

.footer-socials {
    gap: 14px;
}

.footer-social {
    width: 44px;
    height: 44px;
    font-size: 19px;
}

.footer-bottom {
    gap: 20px;
    padding-top: 22px;
    font-size: 14px;
}

@media (max-width: 1199.98px) {
    .footer-main {
        flex-wrap: wrap;
    }

    .footer-nav {
        order: 3;
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 575.98px) {
    .site-footer {
        /* espaço extra para o botão flutuante do WhatsApp não cobrir o copyright */
        padding: 40px 0 100px;
    }

    .site-footer .brand img {
        width: 50px;
        height: 50px;
    }

    .site-footer .brand-copy strong {
        font-size: 27px;
    }

    .site-footer .brand-copy small {
        font-size: 13px;
    }

    .footer-nav {
        gap: 12px 22px;
    }

    .footer-nav a {
        font-size: 15px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        font-size: 13px;
    }
}

.solution-modal-content .solution-modal-list {
    margin-bottom: 14px;
}


/* =====================================================
   MENU DO TOPO - LINKS MAIORES E EM CAIXA ALTA
===================================================== */

.navbar-nav {
    gap: clamp(14px, 1.7vw, 30px);
}

.navbar .nav-link {
    font-size: 16.5px;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.site-header.is-scrolled .navbar .nav-link {
    font-size: 15px;
}

/* 992-1199px: menu ainda em uma linha ao lado da marca e do botão */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .navbar-nav {
        gap: 11px;
        padding-left: 18px; /* afasta do subtítulo da marca */
    }

    .navbar .nav-link {
        font-size: 13.5px;
        letter-spacing: .03em;
    }

    .site-header.is-scrolled .navbar .nav-link {
        font-size: 13px;
    }
}

@media (max-width: 991.98px) {
    .navbar .nav-link {
        font-size: 16px;
    }
}


/* =====================================================
   MENU DOWNLOADS - ITENS MAIORES
===================================================== */

.nav-item.dropdown .dropdown-menu {
    min-width: 380px;
    max-width: calc(100vw - 32px);
    padding: 10px;
    border-radius: 14px;
}

.nav-item.dropdown .dropdown-item {
    gap: 12px;
    padding: 11px 14px;
    font-size: 15px;
    line-height: 1.35;
}

.nav-item.dropdown .dropdown-item:hover,
.nav-item.dropdown .dropdown-item:focus {
    padding-left: 18px;
}

.nav-item.dropdown .dropdown-item i {
    width: 22px;
    font-size: 18px;
}

.site-header.is-scrolled .nav-item.dropdown .dropdown-item {
    padding: 10px 14px;
    font-size: 14px;
}

/* Desktop: menu alinhado pela direita do "Downloads" para não sair da tela em 1024px */
@media (min-width: 992px) {
    .navbar .nav-item.dropdown .dropdown-menu,
    .navbar .nav-item.dropdown .dropdown-menu[data-bs-popper] {
        right: 0;
        left: auto;
    }
}

@media (max-width: 991.98px) {
    .nav-item.dropdown .dropdown-menu {
        min-width: 0;
        max-width: none;
    }

    .nav-item.dropdown .dropdown-item,
    .site-header.is-scrolled .nav-item.dropdown .dropdown-item {
        padding: 12px 14px;
        font-size: 15px;
    }
}


/* =====================================================
   MODAL DE SOLUÇÕES - ALTURA PELO CONTEÚDO
   (.solution-modal--compact = textos curtos: Precision - e, Desenvolvimento)
===================================================== */

.solution-modal .modal-dialog {
    width: calc(100% - 40px);
    max-width: 1000px;
    height: auto;
    max-height: none;
    margin: 20px auto;
}

.solution-modal.solution-modal--compact .modal-dialog {
    max-width: 860px;
}

.solution-modal .modal-content {
    height: auto;
    max-height: calc(100dvh - 40px);
}

.solution-modal-layout {
    grid-template-columns: 310px minmax(0, 1fr);
    height: auto;
}

.solution-modal-sidebar {
    padding: 36px 28px 32px;
}

.solution-modal-sidebar h2 {
    font-size: 29px;
    letter-spacing: -.8px;
    overflow-wrap: normal;
}

.solution-modal-sidebar > p {
    font-size: 15px;
    line-height: 1.6;
}

/* Ícones em grade 2x2 compacta */
.solution-modal-illustration {
    display: grid;
    flex: 0 0 auto;
    grid-template-columns: repeat(2, 84px);
    gap: 14px;
    height: auto;
    min-height: 0;
    max-height: none;
    align-items: start;
    justify-content: start;
    margin: 28px 0 0;
    overflow: visible;
}

.solution-modal-illustration .solution-doc-chip {
    position: static;
    width: 84px;
    height: 84px;
}

.solution-modal-main {
    max-height: calc(100dvh - 40px);
    justify-content: center;
    padding: 44px 44px 32px;
}

.solution-modal-content {
    flex: 0 1 auto;
    padding: 0 8px 0 0;
    color: #4a5c73;
    font-size: 15.5px;
    line-height: 1.7;
}

.solution-modal-content p {
    line-height: 1.7;
}

.solution-modal--compact .solution-modal-content {
    font-size: 17px;
    line-height: 1.75;
}

.solution-modal--compact .solution-modal-content p {
    line-height: 1.75;
}

.solution-modal-content > p:last-child {
    margin-bottom: 0;
}

.solution-modal-feature p,
.solution-modal-feature ul {
    font-size: 13.5px;
}

.solution-modal-content h4 {
    font-size: 14.5px;
}

.solution-modal-footer {
    margin-top: 26px;
    padding-top: 0;
}

.solution-modal-button {
    min-height: 44px;
    padding: 0 22px;
    font-size: 14px;
}

@media (max-width: 991.98px) {
    .solution-modal .modal-dialog,
    .solution-modal.solution-modal--compact .modal-dialog {
        max-width: 760px;
    }

    .solution-modal-layout {
        grid-template-columns: 250px minmax(0, 1fr);
    }

    .solution-modal-sidebar h2 {
        font-size: 25px;
    }

    .solution-modal-illustration {
        grid-template-columns: repeat(2, 72px);
        gap: 12px;
    }

    .solution-modal-illustration .solution-doc-chip {
        width: 72px;
        height: 72px;
    }

    .solution-modal-main {
        padding: 36px 30px 26px;
    }
}

@media (max-width: 575.98px) {
    .solution-modal .modal-dialog {
        width: auto;
        height: auto;
        max-height: none;
        margin: 10px;
    }

    .solution-modal .modal-content {
        height: auto;
        max-height: calc(100dvh - 20px);
    }

    .solution-modal-layout {
        flex: 1 1 auto;
        height: auto;
    }

    .solution-modal-sidebar {
        padding: 26px 22px 18px;
    }

    .solution-modal-sidebar h2 {
        font-size: 26px;
    }

    .solution-modal-sidebar > p {
        font-size: 14px;
    }

    .solution-modal-illustration {
        grid-template-columns: repeat(4, 58px);
        gap: 10px;
        width: auto;
        min-height: 0;
        max-height: none;
        align-self: flex-start;
        margin: 16px 0 0;
    }

    .solution-modal-illustration .solution-doc-chip {
        width: 58px;
        height: 58px;
    }

    .solution-modal-main {
        flex: 1 1 auto;
        max-height: none;
        justify-content: flex-start;
        padding: 22px 22px 18px;
    }

    .solution-modal-content {
        flex: 0 1 auto;
        min-height: 0;
        padding: 0;
        font-size: 15px;
    }

    .solution-modal--compact .solution-modal-content {
        font-size: 16px;
    }

    .solution-modal-footer {
        margin-top: 18px;
    }
}



/* Hero sem o parágrafo de introdução: respiro entre título e botões */
.hero-copy .hero-title + .hero-actions {
    margin-top: 34px;
}

@media (max-width: 767.98px) {
    .hero-copy .hero-title + .hero-actions {
        margin-top: 26px;
    }
}
