@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Saira:wght@100..900&family=Roboto:wght@100..900&display=swap');

:root {
    --color-bg: #0C0C0C;
    --color-bg2: #000c34;
    --color-surface: #0a1b4d;
    --color-primary: #2563eb;
    --color-primary-dark: #1d4ed8;
    --color-accent: #1056ee;
    --color-2: #0b1024;
    --color-3: #f3f4f6;
    --color-4: rgba(16, 24, 48, 0.78);
    --color-6: #0b0f1a;
    --color-text-main: #f3f4f6;
    --color-text-muted: #dadada;
    --color-border: #1f2937;
    --radius-sm: 8px;
    --radius-md: 16px;
    --gap: 1.5rem;
    --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.55);
    --width-container: 1400px;
    --section-padding-block: clamp(80px, 8vw, 120px);
    --section-padding-inline: clamp(16px, 6vw, 48px);
    --max-width: 1400px;
    --width: 100%;
    --fs-h1: clamp(2.8rem, 5.2vw, 4.2rem);
    --fs-h2: clamp(2.2rem, 4.4vw, 3.2rem);
    --fs-h3: clamp(1.6rem, 3vw, 2.2rem);
    --fs-h4: clamp(1.25rem, 2.2vw, 1.8rem);
    --fs-body: 1rem;
    --font-sans-1: 'Saira', sans-serif;
    --font-sans-2: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* background-color: var(--color-bg); */
    color: var(--color-text-main);
    font-family: var(--font-sans-2);
    font-size: var(--fs-body);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-sans-1);
    color: var(--color-text-main);
    font-weight: 600;
    margin: 0 0 5px;
}

h1 {
    font-size: var(--fs-h1);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.tt {
    color: #2563eb;
}

h2 {
    font-size: var(--fs-h2);
    line-height: 1.2;
}

h3 {
    font-size: var(--fs-h3);
    line-height: 1.25;
}

h4,
h5,
h6 {
    font-size: var(--fs-h4);
    line-height: 1.3;
}

p {
    font-size: 1.5rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin: 0 0 15px;
}

.btn1 {
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    background-color: var(--color-primary);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.39);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn1:hover {
    background-color: var(--color-primary-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.23);
}

/* Header */

main {
    background-color: var(--color-bg);
}

.header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-block: 20px;
    padding-inline: max(24px, calc((100vw - var(--max-width)) / 2));
    width: 100%;
    max-width: none;
    margin: 0;
    position: relative;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 11, 16, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
}

.header::after {
    content: '';
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    height: 120px;
    background: linear-gradient(180deg, rgba(9, 12, 20, 0.92) 0%, rgba(9, 12, 20, 0.6) 55%, transparent 100%);
    pointer-events: none;
    z-index: -1;
}

.logo-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.logo-header img {
    width: 75px;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo-header img:hover {
    transform: scale(1.05);
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    font-size: 0;
    cursor: pointer;
    background: #1d4fd817;
    border: 2px solid var(--color-accent);
    border-radius: 12px;
    padding: 8px;
    line-height: 1;
    box-shadow: 0 10px 22px -14px #1056ee;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.menu-toggle:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

.menu-toggle:hover {
    background: #1056ee33;
    transform: translateY(-1px);
    box-shadow: 0 16px 28px -16px #1056ee;
}

.menu-toggle svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.menu-toggle .icon-close {
    display: none;
}

.menu-toggle.is-open .icon-menu {
    display: none;
}

.menu-toggle.is-open .icon-close {
    display: block;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

nav {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 32px;
    width: 100%;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-list a {
    text-decoration: none;
    font-family: var(--font-sans-1);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    position: relative;
    transition: color 0.3s ease;
    padding: 6px 0;
}

.nav-list a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-list a:hover {
    color: var(--color-text-main);
}

.nav-list a:hover::after {
    width: 100%;
}

.nav-footer {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-social {
    display: flex;
    gap: 20px;
    align-items: center;
}

.logo-social img {
    width: 34px;
    height: auto;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.logo-social a:hover img {
    opacity: 1;
    transform: translateY(-3px);
}

.logo-social--mobile {
    z-index: 2;
    animation: floatY 6s ease-in-out infinite;
    will-change: transform;
}

/* elevação/descida suave da mão do robô */
@keyframes floatY {
    0% {
        transform: translateX(0) translateY(0);
    }

    50% {
        transform: translateX(0) translateY(-12px);
    }

    100% {
        transform: translateX(0) translateY(-10px);
    }
}

/* versão com amplitude menor para telas pequenas */
@keyframes floatYSm {
    0% {
        transform: translateX(0) translateY(0);
    }

    50% {
        transform: translateX(0) translateY(-6px);
    }

    100% {
        transform: translateX(0) translateY(0);
    }
}

.hero {
    position: relative;
    overflow: hidden;
    display: block;
    padding-top: 80px;
    padding-bottom: 100px;
    width: 100%;
    max-width: none;
    margin: 0;

    /* Background Layers: Gradient Overlay > Particles > Background Image */
    background-image:
        linear-gradient(180deg, rgba(5, 7, 15, 0.796) 0%, rgba(3, 7, 18, 0.84) 45%, rgba(5, 7, 15, 0.96) 100%),
        radial-gradient(circle, rgba(37, 99, 235, 0.25) 1px, transparent 1px),
        radial-gradient(circle, rgba(37, 99, 235, 0.15) 1px, transparent 1px),
        url(../assets/img/bgherofinal.webp);

    background-repeat: no-repeat, repeat, repeat, no-repeat;
    background-size: cover, 40px 40px, 90px 90px, cover;
    background-position: center, 0 0, 0 0, center;
    background-attachment: scroll, fixed, fixed, fixed;

    animation: particleMove 20s linear infinite;
    will-change: background-position;
    isolation: isolate;
}

.hero-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 64px;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    /* padding: 0 var(--section-padding-inline); */
}

@keyframes particleMove {
    0% {
        background-position: center, 0 0, 0 0, center;
    }

    100% {
        background-position: center, 100px 100px, 150px 150px, center;
    }
}

/* Smoky veil drifting over the hero */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(320px 260px at 18% 12%, rgba(37, 99, 235, 0.28), transparent 62%),
        radial-gradient(360px 320px at 82% 10%, rgba(16, 86, 238, 0.22), transparent 65%),
        radial-gradient(420px 360px at 36% 86%, rgba(255, 255, 255, 0.08), transparent 70%),
        radial-gradient(520px 440px at 74% 72%, rgba(37, 99, 235, 0.16), transparent 75%),
        linear-gradient(180deg, rgba(6, 10, 20, 0.65), rgba(6, 10, 20, 0.4));
    background-size: 420px 320px, 460px 380px, 520px 440px, 620px 520px, cover;
    background-repeat: no-repeat;
    background-position: 12% 6%, 86% 8%, 32% 88%, 72% 70%, center;
    filter: blur(150px);
    opacity: 0.66;
    border-radius: 10%;
    animation: heroSmoke 28s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes heroSmoke {
    0% {
        background-position: 12% 6%, 86% 8%, 32% 88%, 72% 70%, center;
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 0.44;
    }

    40% {
        background-position: 18% 14%, 80% 12%, 28% 80%, 68% 66%, center;
        transform: translate3d(-12px, -10px, 0) scale(1.01);
        opacity: 0.5;
    }

    70% {
        background-position: 8% 18%, 88% 20%, 40% 78%, 78% 64%, center;
        transform: translate3d(10px, 8px, 0) scale(1.012);
        opacity: 0.46;
    }

    100% {
        background-position: 12% 6%, 86% 8%, 32% 88%, 72% 70%, center;
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 0.44;
    }
}

/* Single diagonal particle ray drifting slowly for a subtle aura */
.hero::after {
    content: '';
    position: absolute;
    width: 130vw;
    height: 260px;
    top: -14%;
    left: -18vw;
    background-image:
        linear-gradient(135deg, transparent 42%, rgba(37, 99, 235, 0.18) 50%, transparent 58%),
        radial-gradient(circle, rgba(255, 255, 255, 0.051) 0%, rgba(255, 255, 255, 0.14) 18%, transparent 42%);
    background-size: 100% 100%, 180px 180px;
    background-repeat: no-repeat, repeat-x;
    background-position: center, 0 40px;
    transform: rotate(28deg);
    filter: blur(25px);
    transform-origin: center;
    animation: particleRay 36s ease-in-out infinite;
    z-index: 2;
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: 0.18;
}

@keyframes particleRay {
    0% {
        background-position: center, 0 40px;
        transform: translate3d(-14%, -10%, 0) rotate(28deg);
    }

    45% {
        background-position: center, 160px 24px;
        transform: translate3d(8%, 6%, 0) rotate(28deg);
    }

    70% {
        background-position: center, 260px 60px;
        transform: translate3d(14%, 10%, 0) rotate(28deg);
    }

    100% {
        background-position: center, 0 40px;
        transform: translate3d(-14%, -10%, 0) rotate(28deg);
    }
}

@keyframes techPulse {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 0.72;
    }

    40% {
        transform: translate3d(8px, -6px, 0) scale(1.02);
        opacity: 0.82;
    }

    70% {
        transform: translate3d(-10px, 8px, 0) scale(1.01);
        opacity: 0.76;
    }

    100% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 0.72;
    }
}

@keyframes scanline {
    0% {
        transform: translateY(-16%);
        opacity: 0.25;
    }

    35% {
        opacity: 0.45;
    }

    70% {
        transform: translateY(18%);
        opacity: 0.4;
    }

    100% {
        transform: translateY(-16%);
        opacity: 0.25;
    }
}

@keyframes glowPulse {
    0% {
        box-shadow: 0 12px 30px -14px rgba(37, 99, 235, 0.78), 0 0 0 0 rgba(37, 99, 235, 0.22);
    }

    50% {
        box-shadow: 0 14px 32px -12px rgba(37, 99, 235, 0.9), 0 0 0 16px rgba(37, 99, 235, 0.06);
    }

    100% {
        box-shadow: 0 12px 30px -14px rgba(37, 99, 235, 0.78), 0 0 0 0 rgba(37, 99, 235, 0.22);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-120%);
        opacity: 0.2;
    }

    50% {
        transform: translateX(10%);
        opacity: 0.5;
    }

    100% {
        transform: translateX(120%);
        opacity: 0.2;
    }
}

@keyframes energyPulse {
    0% {
        transform: translateX(-50%) scale(0.94);
        opacity: 0.72;
    }

    45% {
        transform: translateX(-50%) scale(1.04);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) scale(0.96);
        opacity: 0.82;
    }
}

@keyframes beamPulse {
    0% {
        transform: translateX(-50%) translateY(4px) scaleX(0.96);
        box-shadow: 0 0 18px 4px rgba(16, 86, 238, 0.38), 0 0 36px 8px rgba(16, 86, 238, 0.18);
    }

    55% {
        transform: translateX(-50%) translateY(2px) scaleX(1.04);
        box-shadow: 0 0 26px 8px rgba(37, 99, 235, 0.8), 0 0 60px 14px rgba(16, 86, 238, 0.38);
    }

    100% {
        transform: translateX(-50%) translateY(4px) scaleX(0.98);
        box-shadow: 0 0 20px 6px rgba(16, 86, 238, 0.42), 0 0 44px 10px rgba(16, 86, 238, 0.22);
    }
}

@keyframes energyDrift {
    0% {
        background-position: 50% 48%;
        filter: blur(46px);
    }

    50% {
        background-position: 48% 56%;
        filter: blur(70px);
    }

    100% {
        background-position: 50% 48%;
        filter: blur(46px);
    }
}

.img-hero {
    position: relative;
    width: 100%;
    display: grid;
    place-items: center;
    isolation: isolate;
}

.img-hero::before {
    content: none;
    position: absolute;
    left: 50%;
    bottom: -32px;
    transform: translateX(-50%);
    width: clamp(260px, 55vw, 520px);
    height: clamp(100px, 16vw, 180px);
    background: none;
    clip-path: none;
    -webkit-mask-image: none;
    mask-image: none;
    filter: none;
    opacity: 0;
    mix-blend-mode: screen;
    animation: none;
    pointer-events: none;
    z-index: 1;
}

.img-hero::after {
    content: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    bottom: -12px;
    width: clamp(220px, 48vw, 480px);
    height: 14px;
    background:
        radial-gradient(ellipse at center, rgba(16, 86, 238, 0.85) 0%, rgba(16, 86, 238, 0.45) 36%, rgba(16, 86, 238, 0) 65%),
        linear-gradient(90deg, rgba(16, 86, 238, 0) 0%, rgba(16, 86, 238, 0.9) 50%, rgba(16, 86, 238, 0) 100%);
    border-radius: 999px;
    box-shadow: 0 0 22px 6px rgba(16, 86, 238, 0.45), 0 0 46px 10px rgba(16, 86, 238, 0.25);
    opacity: 0.92;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 2;
    animation: beamPulse 3.4s ease-in-out infinite, dividerGlow 4s ease-in-out infinite;
}

@keyframes dividerGlow {
    0% {
        filter: drop-shadow(0 0 8px rgba(16, 86, 238, 0.45));
        opacity: 0.82;
    }

    50% {
        filter: drop-shadow(0 0 14px rgba(37, 99, 235, 0.9));
        opacity: 1;
    }

    100% {
        filter: drop-shadow(0 0 8px rgba(16, 86, 238, 0.45));
        opacity: 0.82;
    }
}

.hero .img-hero img {
    width: 100%;
    height: auto;
    max-width: 740px;
    display: block;
    position: relative;
    z-index: 3;
    animation: floatHero 7.5s ease-in-out infinite;
    will-change: transform;
}

@keyframes floatHero {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    25% {
        transform: translate3d(0, -18px, 0) scale(1.025);
    }

    55% {
        transform: translate3d(0, 12px, 0) scale(0.99);
    }

    80% {
        transform: translate3d(0, -10px, 0) scale(1.015);
    }

    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
}
.cta-hero p{
    font-size: var(--fs-h4);
}

.mirror-section {
    max-width: var(--max-width);
    width: var(--width);
    margin: 0 auto;
    padding: var(--section-padding-block) var(--section-padding-inline);
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: center;
    color: var(--color-3);
}

.mirror-section h2 {
    line-height: 1.3;
}

.mirror-section p {
    font-size: 1.2em;
    color: var(--color-text-muted);
    max-width: 900px;
    margin: 0 auto;
}
.m-list{
    margin-bottom: 50px;
}

.mirror-section .m-list ul {
    list-style: none;
    font-family: var(--font-sans-1);
    padding: 0;
    display: grid;
    gap: 14px;
    text-align: left;
    max-width: 880px;
    margin: 0 auto;
}

.mirror-section .m-list ul li {
    position: relative;
    padding: 18px 18px 18px 60px;
    font-size: 1.18em;
    color: var(--color-text-main);
    line-height: 1.8;
    background: linear-gradient(120deg, rgba(37, 99, 235, 0.08), rgba(18, 20, 29, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 30px -20px rgba(0, 0, 0, 0.6);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, 0.35s ease;
}

.mirror-section .m-list ul li::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #7fb3ff, #2563eb);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.mirror-section .m-list ul li:hover {
    background: linear-gradient(160deg, rgba(7, 20, 52, 0.9), rgba(9, 42, 102, 0.78));
    transform: translateY(-8px);
    box-shadow: 0 28px 64px -30px rgba(0, 0, 0, 0.82), 0 0 0 1px rgba(37, 99, 235, 0.18);
    border-color: rgba(37, 99, 235, 0.45);
}

.cta-hero {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-bottom: 20px;
    font-family: "Saira", sans-serif;
    color: var(--color-3);
    position: relative;
    z-index: 3;
}

.cta-hero::before {
    content: '';
    position: absolute;
    inset: -32px;
    background:
        radial-gradient(360px 320px at 16% 18%, rgba(37, 99, 235, 0.14), transparent 58%),
        radial-gradient(420px 360px at 74% 12%, rgba(16, 86, 238, 0.12), transparent 62%),
        radial-gradient(520px 440px at 42% 86%, rgba(255, 255, 255, 0.06), transparent 70%);
    filter: blur(30px);
    opacity: 0.9;
    animation: techPulse 16s ease-in-out infinite;
    z-index: -2;
    pointer-events: none;
}

.cta-hero::after {
    content: '';
    position: absolute;
    inset: -18px;
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.08), rgba(37, 99, 235, 0.16), rgba(255, 255, 255, 0.08));
    mask-image: linear-gradient(90deg, transparent 10%, #000 25%, #000 75%, transparent 90%);
    mix-blend-mode: screen;
    opacity: 0.35;
    transform: translateY(-12%);
    animation: scanline 12s linear infinite;
    z-index: -1;
    pointer-events: none;
}

.hero h1 {
    text-shadow: 0 0 18px rgba(37, 99, 235, 0.32), 0 0 32px rgba(37, 99, 235, 0.18);
}

.hero .btn1 {
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 30px -14px rgba(37, 99, 235, 0.75);
    animation: glowPulse 4s ease-in-out infinite;
}

.hero .btn1::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.24) 40%, transparent 80%);
    transform: translateX(-120%);
    animation: shimmer 5.5s ease-in-out infinite;
}

.services-marquee {
    width: 100%;
    margin: 0 auto;
    padding: 32px var(--section-padding-inline);
    background: linear-gradient(180deg, rgba(9, 12, 20, 0.85) 0%, rgba(9, 14, 30, 0.72) 100%);
    position: relative;
    overflow: hidden;
    border-block: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
}

.services-marquee::before,
.services-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 14%;
    pointer-events: none;
    z-index: 2;
    background: linear-gradient(90deg, rgba(9, 12, 20, 1), rgba(9, 12, 20, 0));
}

.services-marquee::after {
    right: 0;
    transform: scaleX(-1);
}

.services-marquee::before {
    left: 0;
}

.marquee-mask {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 2%, #000 18%, #000 82%, transparent 98%);
    -webkit-mask-image: linear-gradient(90deg, transparent 2%, #000 18%, #000 82%, transparent 98%);
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.marquee-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 18px;
    width: max-content;
    animation: marqueeScroll 22s linear infinite;
    animation-play-state: paused;
    align-items: center;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.marquee-track.is-ready {
    animation-play-state: running;
}

.service-card {
    flex: 0 0 auto;
    min-width: 260px;
    padding: 18px 22px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(18, 27, 60, 0.9), rgba(18, 48, 102, 0.8));
        border: 1px solid rgba(255, 255, 255, 0.08);
        color: var(--color-3);
        font-family: var(--font-sans-1);
        font-weight: 700;
        letter-spacing: 0.4px;
    box-shadow: 0 20px 38px -26px rgba(0, 0, 0, 0.82), 0 0 0 1px rgba(37, 99, 235, 0.12);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    white-space: nowrap;
}

@keyframes marqueeScroll {
    0% {
        transform: translate3d(0, 0, 0);
    }

        100% {
        transform: translate3d(-50%, 0, 0);
    }
}

@media only screen and (max-width: 900px) {
    .services-marquee {
        padding: 24px var(--section-padding-inline);
    }

    .marquee-track {
        gap: 12px;
        animation-duration: 18s;
    }

    .service-card {
        min-width: 190px;
        padding: 14px 16px;
        font-size: 0.95rem;
    }
}

/* Tablets portrait */
@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .services-marquee {
        padding: 26px var(--section-padding-inline);
    }

    .marquee-track {
        gap: 14px;
        animation-duration: 20s;
    }

    .service-card {
        min-width: 200px;
        padding: 16px 18px;
        font-size: 1rem;
    }
}

/* Tablets landscape */
@media only screen and (min-width: 768px) and (max-width: 1280px) and (orientation: landscape) {
    .services-marquee {
        padding: 28px var(--section-padding-inline);
    }

    .marquee-track {
        gap: 16px;
        animation-duration: 21s;
    }

    .service-card {
        min-width: 220px;
        padding: 16px 20px;
        font-size: 1rem;
    }
}

@media only screen and (max-width: 600px) {
    .services-marquee::before,
    .services-marquee::after {
        width: 18%;
    }

    .marquee-mask {
        mask-image: linear-gradient(90deg, transparent 4%, #000 20%, #000 80%, transparent 96%);
        -webkit-mask-image: linear-gradient(90deg, transparent 4%, #000 20%, #000 80%, transparent 96%);
    }

    .service-card {
        min-width: 170px;
        font-size: 0.9rem;
    }
}

.modules .cards {
    padding-top: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.cards .item {
    position: relative;
    padding: 24px;
    background: linear-gradient(140deg, rgba(6, 16, 42, 0.95), rgba(11, 25, 61, 0.88)), url(../assets/img/bg-card.webp);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    box-shadow: 0 24px 60px -34px rgba(0, 0, 0, 0.7);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
    margin-bottom: 50px;
    flex: 1 1 280px;
    max-width: 360px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
    overflow: hidden;
    isolation: isolate;
}

.cards .item::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 18px;
    padding: 1px;
    background: conic-gradient(from 135deg, rgba(37, 99, 235, 0.9), rgba(56, 189, 248, 0.85), rgba(168, 85, 247, 0.8), rgba(37, 99, 235, 0.9));
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transform: scale(0.98);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
    z-index: 0;
}

.cards .item:hover {
    background: linear-gradient(160deg, rgba(7, 20, 52, 0.9), rgba(9, 42, 102, 0.78));
    color: var(--color-3);
    transform: translateY(-12px);
    box-shadow: 0 28px 64px -30px rgba(0, 0, 0, 0.82), 0 0 0 1px rgba(37, 99, 235, 0.18);
    border-color: rgba(37, 99, 235, 0.45);
}

.cards .item:hover::before {
    opacity: 1;
    transform: scale(1);
}

.modules h3 {
    font-size: 1.8em;
}

.cards .item p {
    font-size: 23px;
}

.modules {
    max-width: var(--max-width);
    width: var(--width);
    margin: 0 auto;
    padding: var(--section-padding-block) var(--section-padding-inline);
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: center;
    color: var(--color-3);
}

.modules .sub-title {
    font-size: var(--fs-h3);
    color: var(--color-text-muted);
    max-width: 980px;
    margin: 0 auto;
    line-height: 1.5;
}

.cards .item img {
    margin-bottom: 12px;
}

/* Portfolio */
.portfolio {
    padding: var(--section-padding-block) var(--section-padding-inline);
    background: url(../assets/img/bg-portfolio.webp) no-repeat;
    max-width: var(--max-width);
    width: var(--width);
    color: var(--color-3);
    text-align: center;
    margin: auto;
    background-position: bottom right;
    background-size: contain;
}

.portfolio .portfolio-grid {
    padding-top: 50px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    gap: 25px;
}

.portfolio-grid .item-grid {
    position: relative;
    background: linear-gradient(150deg, #022859f9, #011c40d7), url(../assets/img/bg-card.webp);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    text-align: start;
    padding: 20px;
    min-height: 150px;
    box-shadow: 0 20px 44px -28px rgba(0, 0, 0, 0.7);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, 0.35s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
    isolation: isolate;
}
.portfolio-grid .item-grid::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 18px;
    padding: 1px;
    background: conic-gradient(from 135deg, rgba(37, 99, 235, 0.9), rgba(56, 189, 248, 0.85), rgba(168, 85, 247, 0.8), rgba(37, 99, 235, 0.9));
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transform: scale(0.98);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
    z-index: 0;
}


.portfolio-grid .item-grid:hover {
    background: linear-gradient(160deg, rgba(7, 20, 52, 0.9), rgba(9, 42, 102, 0.78));
    color: var(--color-3);
    box-shadow: 0 24px 56px -32px rgba(0, 0, 0, 0.82), 0 0 0 1px rgba(37, 99, 235, 0.18);
    transform: translateY(-10px);
    border-color: rgba(37, 99, 235, 0.45);
}

.portfolio-grid .item-grid:hover::before {
    opacity: 1;
    transform: scale(1);
}

.card-title {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.decoration {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-top: 2px;
}

.item-1 {
    grid-column: span 2;
    color: var(--color-3);
}

.item-2 {
    grid-column: span 2;
}

.item-3 {
    grid-column: span 3;
    margin-left: 70px;
}

.portfolio-grid .item-grid h3 {
    font-size: 30px;
}

.portfolio-grid .item-grid h4 {
    font-size: 25px;
    font-weight: 400;
}

.portfolio-grid .item-grid img {
    width: 100%;
    height: auto;
}

.portfolio-grid .item-grid p {
    font-size: 20px;
    margin-bottom: 15px;
}

.link-project {
    display: flex;
    padding: 5px;
    background-color: #2563eb;
    border: 1px solid var(--color-3);
    color: var(--color-3);
    text-align: center;
    justify-content: center;
    text-decoration: none;
    font-size: 19px;
    width: 150px;
}

.link-project:hover {
    background-color: #dadada;
    color: #1056ee;
}

/* Estilização do formulário*/
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-section {
    padding: var(--section-padding-block) var(--section-padding-inline);
    background-position: right;
    background-size: cover;
}

.form-section .container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: var(--max-width);
    min-height: 350px;
    padding: 25px;
    gap: 25px;
    align-items: center;
    justify-content: center;
    color: var(--color-3);
    background: linear-gradient(150deg, #022859f9, #011c40d7), url(../assets/img/bg-card.webp);
    margin: 0 auto;
    border-radius: 3px;
    box-shadow: 2px 2px 14px 1px rgba(2, 5, 10, 0.47);
    position: relative;
    z-index: 2;
    isolation: isolate;
}

.form-title {
    margin: auto;
    font-size: 2em;
    margin-bottom: 100px;
    text-align: center;
    color: var(--color-3);
}

.form-title h2 {
    font-size: 2em;
}

.form-title p {
    width: 100%;
    max-width: var(--max-width);
    margin: auto;
    font-size: 1em;
}

.form-step {
    display: none;
    text-align: center;
    width: 100%;
}

.form-step.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: min(600px, 100%);
    background-color: var(--color-6);
    animation: fadeIn 0.5s ease-in-out;
    border-radius: 3px;
    padding: 25px;
}

.form-step h3 {
    font-size: 1.8em;
}

.form-step p {
    font-size: 1.3em;
}

.check {
    display: flex;
    align-items: center;
    text-align: start;
    justify-content: space-between;
    padding: 10px;
    border: 1px solid #323f8c;
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s, background-color .2s;
    margin-bottom: 10px;
    width: 100%;
    gap: 12px;
}

.check input[type="checkbox"] {
    pointer-events: none;
}

.check.is-checked {
    border-color: #333640;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, .15);
    background-color: var(--color-4);
}

.check.option4 {
    cursor: text;
}

.check.option4 input[type="text"] {
    width: 60%;
    border: 1px solid var(--color-border);
    background: rgba(12, 12, 12, 0.55);
    border-radius: 6px;
    padding: 10px 12px;
    color: var(--color-text-main);
    transition: border-color .2s, box-shadow .2s, background-color .2s;
}

.check.option4 input[type="text"]:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.18);
    background: rgba(16, 24, 48, 0.75);
}

.adress {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
}

.adress input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 1em;
    background: rgba(12, 12, 12, 0.65);
    color: var(--color-text-main);
    transition: border-color .2s, box-shadow .2s, background-color .2s;
}

.adress input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, .15);
    background: rgba(16, 24, 48, 0.78);
}

.adress input::placeholder,
.check.option4 input[type="text"]::placeholder {
    color: rgba(218, 218, 218, 0.78);
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.selection {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border: 1px solid #323f8c;
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s, background-color .2s;
    margin-bottom: 10px;
    width: 100%;
    gap: 12px;
}

.selection input[type="checkbox"] {
    pointer-events: none;
}

.selection.is-selected {
    border-color: #333640;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, .15);
    background-color: var(--color-4);
}

.form-navigation {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 8px;
    width: 100%;
}

.start-btn {
    padding: 10px;
    width: 100px;
    color: var(--color-3);
    background-color: #1056ee;
    border: 1px solid #1056ee;
    border-radius: 3px;
    cursor: pointer;
}

.start-btn:hover {
    color: #1056ee;
    background-color: #dadada;
}

.next-btn {
    padding: 10px;
    width: 100px;
    color: var(--color-3);
    background-color: #1056ee;
    border: 1px solid var(--color-3);
    border-radius: 3px;
    cursor: pointer;
}

.next-btn:hover {
    color: #1056ee;
    background-color: #dadada;
}

.prev-btn {
    padding: 10px;
    width: 100px;
    color: #dadada;
    background-color: transparent;
    border: 1px solid #dadada;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color .2s, color .2s;
}

.prev-btn:hover {
    border: 1px solid #dadada;
    color: #dadada;
}

.final-btn {
    padding: 10px 28px;
    color: var(--color-6);
    background-color: var(--color-3);
    border: 1px solid var(--color-3);
    border-radius: 3px;
    cursor: pointer;
    transition: background-color .2s, color .2s;
}

.final-btn:hover {
    background-color: var(--color-6);
    color: var(--color-3);
}

.form-status {
    min-height: 24px;
    font-size: 1em;
    color: var(--color-text-muted);
}

.form-status.is-info {
    color: #93c5fd;
}

.form-status.is-success {
    color: #34d399;
}

.form-status.is-error {
    color: #f87171;
}

.form-error {
    color: #d93025;
    font-size: 0.95em;
    margin-top: 12px;
}

footer {
    text-align: center;
    background-color: var(--color-2);
    padding: 10px;
    color: var(--color-3);
}

/* Button Laser Animation */
@keyframes laser {
    0% {
        left: -100%;
    }

    100% {
        left: 200%;
    }
}


/* Large devices (ajustes abaixo de 1200px) */
@media only screen and (max-width: 1200px) {
    .header {
        gap: 40px;
    }

    nav {
        width: auto;
    }

    .logo-social {
        justify-content: flex-end;
        width: auto;
    }

    .portfolio .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .item-3 {
        grid-column: span 2;
        margin-left: 0;
    }
}

/* Tablets grandes e telas médias (912px a 992px)
   - Evita quebra do header e remove ícones sociais */
@media only screen and (min-width: 912px) and (max-width: 992px) {
    .header {
        flex-wrap: nowrap;
        gap: 16px;
    }

    .logo-social {
        display: none;
    }

    nav {
        width: auto;
        flex: 1 1 auto;
        justify-content: center;
    }

    .nav-list {
        gap: 24px;
    }
}

/* Laptops pequenos e tablets landscape (1201px a 1368px)
   - Mantém header em uma linha reduzindo espaçamentos e ajustando nav */
@media only screen and (min-width: 1201px) and (max-width: 1368px) {
    .header {
        gap: 24px;
    }

    nav {
        width: auto;
        flex: 1 1 auto;
    }

    .nav-list {
        gap: 28px;
    }

    .logo-social {
        justify-content: flex-end;
        width: auto;
    }
}

/* Medium devices (ajustes abaixo de 992px) - tablets */
@media only screen and (max-width: 992px) {
    .header {
        flex-wrap: wrap;
        gap: 24px;
    }

    .logo-social {
        order: 3;
        justify-content: flex-start;
    }

    nav {
        width: 100%;
        justify-content: center;
    }

    .nav-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 24px;
    }

    .hero {
        background-attachment: scroll, scroll, scroll, scroll;
    }

    .hero-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 32px;
        padding-inline: var(--section-padding-inline);
    }

    .cta-hero {
        align-items: center;
    }

    /* Ajustes de tipografia para tablets */
    h1 {
        font-size: clamp(2.4rem, 5vw, 3.4rem);
    }

    h2 {
        font-size: clamp(2rem, 4.2vw, 2.9rem);
    }

    .cta-hero p {
        font-size: 1.3em;
    }

    .mirror-section p {
        font-size: 1.6em;
    }

    .img-hero {
        display: flex;
        justify-content: center;
    }

    .hero .img-hero img {
        max-width: 520px;
    }

    .img-hero .hero-leds {
        width: 150%;
        height: 100%;
        top: -8%;
    }

    .mirror-section {
        padding-inline: var(--section-padding-inline);
    }

    .mirror-section .m-list ul li {
        font-size: 24px;
    }

    .modules {
        padding-inline: var(--section-padding-inline);
    }

    .modules .sub-title {
        font-size: 1.4em;
    }

    .portfolio {
        padding-inline: var(--section-padding-inline);
    }

    .portfolio .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .item-1,
    .item-2,
    .item-3 {
        grid-column: span 2;
    }

    .form-section .container {
        width: 100%;
        padding: 20px;
    }
}


/* Small devices (ajustes abaixo de 768px) */
@media only screen and (max-width: 768px) {
    h2 {
        font-size: clamp(2rem, 6vw, 2.8rem);
    }

    .header {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 16px;
    }

    .logo-header {
        justify-content: flex-start;
    }

    nav {
        position: absolute;
        top: calc(100% - 20px);
        right: 35px;
        width: min(330px, calc(100% - 24px));
        height: auto;
        background: linear-gradient(160deg, rgba(13, 18, 32, 0.98), rgba(10, 14, 25, 0.96) 60%, rgba(7, 9, 17, 0.94));
        border: 1px solid #dadada5c;
        transform: translateY(-12px) scale(0.97);
        transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 18px 14px 14px;
        box-shadow: 0 26px 44px -32px rgba(0, 0, 0, 0.65), 0 12px 24px -18px rgba(0, 0, 0, 0.55);
        z-index: 1000;
        border-radius: 22px;
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    nav.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }

    .nav-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .nav-list {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .nav-list li {
        width: 100%;
    }

    .nav-list a {
        width: 100%;
    }

    .nav-list a::after {
        display: none;
    }

    .nav-list a:hover {
        background: #1d4fd865;
        color: #ffffff;
    }

    .nav-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-left: 0;
    }

    .logo-social,
    .nav-social {
        display: flex;
        gap: 12px;
    }

    .nav-social a {
        width: 42px;
        height: 42px;
        display: grid;
        place-items: center;
        background: #1d4fd828;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        box-shadow: 0 12px 26px -16px rgba(29, 79, 216, 0.123);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .nav-social a:hover {
        transform: translateY(-2px);
        box-shadow: 0 16px 30px -18px #1d4fd821;
    }

    .nav-social img {
        width: 32px;
        height: auto;
    }

    .nav-cta {
        display: block;
        text-align: center;
        width: 100%;
        padding: 14px 18px;
        border-radius: 28px;
        font-size: 16px;
        box-shadow: 0 18px 30px -18px #1d4fd86f;
    }

    .menu-toggle {
        display: flex;
        justify-self: end;
        align-self: center;
    }


    /* Hero */
    .hero-inner {
        display: flex;
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 28px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .cta-hero {
        gap: 1rem;
        align-items: center;
    }

    .cta-hero p {
        font-size: 1.2em;
    }

    /* reduzir cobertura/velocidade em telas menores */
    .img-hero img {
        animation: floatYSm 5.5s ease-in-out infinite;
    }

    .img-hero .hero-leds {
        width: 130%;
        height: 90%;
        top: -6%;
    }

    /* Efeito esfumaçado somente no mobile */
    .img-hero::before {
        content: '';
        position: absolute;
        left: 50%;
        bottom: -76px;
        transform: translateX(-50%);
        width: 92%;
        height: 180px;
        background: linear-gradient(180deg, rgba(16, 86, 238, 0.55) 0%, rgba(16, 86, 238, 0.12) 68%, rgba(16, 86, 238, 0) 100%);
        clip-path: ellipse(10% 10%, 15% 12%, 13% 11%, 14% 10%);
        filter: blur(16px);
        opacity: 1;
        mix-blend-mode: screen;
        animation: energyDrift 16s ease-in-out infinite;
        pointer-events: none;
        z-index: 1;
    }

    .img-hero::after {
        content: '';
        position: absolute;
        left: 50%;
        bottom: -4px;
        transform: translateX(-50%);
        width: 90%;
        height: 14px;
        background:
            radial-gradient(ellipse at center, rgba(16, 86, 238, 0.88) 0%, rgba(16, 86, 238, 0.48) 40%, rgba(16, 86, 238, 0) 70%),
            linear-gradient(90deg, rgba(16, 86, 238, 0) 0%, rgba(16, 86, 238, 0.9) 50%, rgba(16, 86, 238, 0) 100%);
        border-radius: 999px;
        box-shadow: 0 0 18px 6px rgba(16, 86, 238, 0.45), 0 0 32px 12px rgba(16, 86, 238, 0.25);
        opacity: 0.9;
        pointer-events: none;
        z-index: 2;
        animation: beamPulse 3.4s ease-in-out infinite, dividerGlow 4s ease-in-out infinite;
    }

    .img-hero::after {
        opacity: 1;
        transform: translateX(-50%) translateY(10px) scaleX(0.96);
        height: 12px;
        animation: beamPulse 3.2s ease-in-out infinite, dividerGlow 3.8s ease-in-out infinite;
    }


    .modules .cards {
        gap: 16px;
    }

    .portfolio .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .form-step.active {
        width: 100%;
    }

}


/* Celulares e telas menores */
/* Extra small devices (telefones até 600px) */
@media only screen and (max-width: 600px) {
    main {
        overflow-x: hidden;
    }

    .header {
        padding-inline: var(--section-padding-inline);
    }

    .logo-social {
        justify-content: center;
        gap: 12px;
        width: auto;
        grid-column: 1 / -1;
    }

    .hero {
        padding-inline: var(--section-padding-inline);
    }

    .img-hero .hero-leds {
        width: 120%;
        height: 80%;
        top: -4%;
    }

    .cta-hero {
        align-items: center;
    }

    .cta-hero p {
        font-size: 1.1em;
    }

    .cta-hero button {
        width: 100%;
    }

    .mirror-section {
        padding-inline: var(--section-padding-inline);
    }
}

@media only screen and (max-width: 580px) {
    .mirror-section .m-list ul li {
        font-size: 20px;
    }
}

@media only screen and (max-width: 480px) {
    .img-hero .hero-leds {
        width: 110%;
        height: 70%;
        top: -2%;
    }

    .modules {
        padding-inline: var(--section-padding-inline);
    }

    .modules .sub-title {
        font-size: 1.4em;
    }

    .modules .cards {
        justify-content: center;
    }

    .portfolio {
        padding-inline: var(--section-padding-inline);
    }

    .portfolio-grid .item-grid {
        padding: 16px;
    }

    .link-project {
        width: 100%;
    }

    .form-title {
        font-size: 1.5em;
        margin-bottom: 48px;
    }

    .form-title h2 {
        font-size: 1.6em;

    }
}

@media only screen and (max-width: 380px) {
    .form-step h3 {
        font-size: 1.4em;
    }
}

@media only screen and (max-width: 280px) {
    .form-step p {
        font-size: 1.1em;
    }
}
