.inicio {
    --hero-navy: #00142f;
    --hero-blue: #0877ff;
    --hero-cyan: #08d9ff;
    min-height: 100svh;
    padding: 0;
    align-items: stretch;
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(circle at 70% 46%, rgba(0, 91, 255, 0.15), transparent 24%),
        radial-gradient(circle at 30% 58%, rgba(0, 75, 211, 0.09), transparent 28%),
        var(--hero-navy);
}

.inicio::before,
.inicio::after {
    content: none;
}

.hero-grid {
    position: absolute;
    inset: 0;
    z-index: -3;
    background-image:
        linear-gradient(rgba(17, 104, 193, 0.14) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 104, 193, 0.14) 1px, transparent 1px);
    background-size: 70px 70px;
    mask-image: linear-gradient(to right, #000 0%, rgba(0, 0, 0, 0.74) 72%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-wave {
    position: absolute;
    z-index: -1;
    pointer-events: none;
    border: 1px solid rgba(11, 226, 255, 0.8);
    background:
        radial-gradient(circle at 52% 48%, rgba(10, 219, 255, 0.62), transparent 2%),
        radial-gradient(ellipse at 50% 50%, #074fff 0%, #003ab8 42%, #001747 72%);
    box-shadow:
        inset 0 0 38px rgba(10, 219, 255, 0.34),
        0 0 26px rgba(0, 111, 255, 0.72);
    filter: saturate(1.25);
}

.hero-wave-top {
    top: -36%;
    right: -8%;
    width: 57vw;
    height: 54vw;
    min-width: 760px;
    min-height: 720px;
    border-radius: 43% 57% 64% 36% / 44% 35% 65% 56%;
    transform: rotate(22deg) skewX(-8deg);
}

.hero-wave-left {
    left: -20%;
    bottom: -37%;
    width: 49vw;
    height: 56vw;
    border-radius: 46% 54% 45% 55% / 42% 60% 40% 58%;
    transform: rotate(-24deg) skewY(9deg);
}

.hero-wave-bottom {
    right: -12%;
    bottom: -54%;
    width: 57vw;
    height: 60vw;
    border-radius: 60% 40% 48% 52% / 45% 55% 45% 55%;
    transform: rotate(17deg);
}

.hero-header {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 20;
    width: min(100% - 6rem, 1510px);
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transform: translateX(-50%);
}

.hero-logo {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-grande);
    font-size: clamp(2.5rem, 3.3vw, 4rem);
    font-weight: 900;
    line-height: 0.8;
    letter-spacing: -0.15em;
    filter: drop-shadow(0 8px 18px rgba(0, 98, 255, 0.25));
}

.hero-logo span:first-child {
    color: #ffffff;
}

.hero-logo span:last-child {
    padding-right: 0.1em;
    background: linear-gradient(180deg, #08e6ff, #0875ff 58%, #0a3bca);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-menu-toggle {
    width: 66px;
    height: 66px;
    border: 1px solid #2289ff;
    border-radius: 17px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #ffffff;
    background: linear-gradient(145deg, rgba(13, 76, 160, 0.82), rgba(4, 30, 76, 0.9));
    box-shadow: inset 0 0 18px rgba(17, 110, 255, 0.28), 0 10px 30px rgba(0, 0, 0, 0.22);
    cursor: pointer;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.hero-menu-toggle span {
    width: 30px;
    height: 4px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.3s ease, opacity 0.2s ease;
}

.hero-menu-toggle:hover,
.hero-menu-toggle:focus-visible {
    border-color: var(--hero-cyan);
    box-shadow: inset 0 0 20px rgba(8, 217, 255, 0.3), 0 0 24px rgba(8, 119, 255, 0.35);
    outline: none;
    transform: translateY(-2px);
}

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

.hero-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

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

.container-inicio {
    min-height: 100svh;
    padding: 155px clamp(3rem, 8vw, 10rem) 70px;
}

.hero-layout {
    width: min(100%, 1330px);
    margin: auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(430px, 0.95fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 7rem);
}

.conteudo-inicio {
    min-width: 0;
    align-items: flex-start;
    text-align: left;
    gap: 0;
}

.hero-eyebrow {
    min-height: 48px;
    padding: 0 23px;
    border: 1px solid rgba(61, 139, 255, 0.88);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 18px;
    color: #08d9ff;
    background: rgba(3, 25, 64, 0.72);
    box-shadow: inset 0 0 17px rgba(0, 93, 255, 0.2), 0 10px 25px rgba(0, 0, 0, 0.14);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero-eyebrow span {
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: linear-gradient(145deg, #10efff, #0879ff);
    box-shadow: 0 0 16px rgba(8, 217, 255, 0.9);
}

.titulo-inicio {
    align-items: flex-start;
    margin: 1.55rem 0 0;
}

.titulo-inicio h1,
.titulo-inicio .destaque-inicio {
    font-family: var(--font-grande);
    font-size: clamp(4.2rem, 5.7vw, 6.3rem);
    font-weight: 850;
    line-height: 0.92;
    letter-spacing: -0.055em;
}

.titulo-inicio h1 {
    color: #ffffff;
}

.titulo-inicio h1 span,
.titulo-inicio .destaque-inicio {
    background: linear-gradient(180deg, #09ddff 0%, #0885ff 46%, #0758e8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 8px 20px rgba(0, 94, 255, 0.2));
}

.titulo-inicio .destaque-inicio {
    padding: 0.12em 0 0.04em;
    animation: none;
}

.hero-description {
    max-width: 660px;
    margin-top: 1.25rem;
    color: #cbd4ea;
    font-size: clamp(1.25rem, 1.65vw, 1.85rem);
    line-height: 1.35;
}

.cta-group {
    width: 100%;
    margin-top: 2.25rem;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 1.35rem;
}

.cta-primary,
.cta-secondary {
    min-height: 72px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-family: var(--font-pequena);
    font-size: 1.2rem;
    font-weight: 700;
}

.cta-primary {
    min-width: 375px;
    padding: 0 38px;
    gap: 28px;
    border: 1px solid #0de3ff;
    background: linear-gradient(120deg, #08ccff 0%, #0879ff 48%, #0757ff 100%);
    box-shadow: 0 0 28px rgba(0, 104, 255, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.cta-primary span {
    color: #ffffff;
    font-size: inherit;
    font-weight: inherit;
}

.cta-primary i {
    font-size: 1.8rem;
}

.cta-secondary {
    min-width: 260px;
    padding: 0 36px;
    border: 1px solid rgba(104, 156, 255, 0.9);
    background: linear-gradient(110deg, rgba(6, 42, 93, 0.76), rgba(3, 20, 49, 0.78));
    box-shadow: inset 0 0 20px rgba(5, 75, 167, 0.18);
}

.cta-primary:hover,
.cta-primary:focus-visible,
.cta-secondary:hover,
.cta-secondary:focus-visible {
    color: #ffffff;
    outline: none;
    transform: translateY(-3px);
    filter: brightness(1.1);
    box-shadow: 0 0 32px rgba(8, 171, 255, 0.4);
}

.hero-specialties {
    display: flex;
    align-items: center;
    gap: 2.2rem;
    margin-top: 2.15rem;
    color: #d8deed;
    font-size: 1.2rem;
}

.hero-specialties li + li::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 2.2rem;
    border-radius: 50%;
    background: var(--hero-cyan);
    box-shadow: 0 0 9px rgba(8, 217, 255, 0.7);
}

.hero-cv-wrap {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 1.9rem;
}

.hero-cv-wrap > span {
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #2f94ff);
}

.hero-cv-wrap > span:last-child {
    background: linear-gradient(90deg, #2f94ff, transparent);
}

.hero-cv {
    min-width: 225px;
    min-height: 61px;
    padding: 0 27px;
    border: 1px solid rgba(45, 130, 255, 0.88);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    color: #ffffff;
    background: rgba(3, 27, 67, 0.76);
    box-shadow: inset 0 0 20px rgba(0, 80, 190, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.hero-cv i {
    color: var(--hero-cyan);
    font-size: 1.65rem;
}

.hero-cv:hover,
.hero-cv:focus-visible {
    color: #ffffff;
    border-color: var(--hero-cyan);
    outline: none;
    transform: translateY(-3px);
    box-shadow: 0 0 26px rgba(0, 128, 255, 0.32);
}

.hero-visual {
    position: relative;
    width: min(100%, 590px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    justify-self: center;
}

.hero-orbit {
    position: absolute;
    border: 1px solid rgba(21, 109, 255, 0.8);
    border-radius: 50%;
    box-shadow: 0 0 18px rgba(0, 70, 200, 0.08);
}

.hero-orbit-outer {
    inset: 4%;
}

.hero-orbit-inner {
    inset: 15%;
}

.hero-orbit-dot {
    position: absolute;
    z-index: 3;
    width: 22px;
    height: 22px;
    border: 1px solid rgba(145, 245, 255, 0.72);
    border-radius: 50%;
    background: #08d9ff;
    box-shadow: 0 0 17px rgba(8, 217, 255, 0.72);
}

.hero-orbit-dot-one {
    top: 23%;
    right: 7%;
}

.hero-orbit-dot-two {
    top: 42%;
    left: 12%;
}

.hero-orbit-dot-three {
    right: 14%;
    bottom: 25%;
}

.hero-code-card {
    position: relative;
    z-index: 2;
    width: 240px;
    aspect-ratio: 1;
    padding: 31px;
    border: 2px solid #78ceff;
    border-radius: 55px;
    background: linear-gradient(145deg, rgba(72, 158, 255, 0.92), rgba(7, 60, 179, 0.85));
    box-shadow:
        inset 0 0 28px rgba(203, 241, 255, 0.34),
        0 0 20px rgba(0, 184, 255, 0.72),
        0 0 58px rgba(0, 92, 255, 0.62);
}

.hero-code-card > div {
    width: 100%;
    height: 100%;
    border: 2px solid #08dcff;
    border-radius: 38px;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 50% 45%, #0960dc, #04298f 75%);
    box-shadow: inset 0 0 28px rgba(0, 146, 255, 0.54);
}

.hero-code-card i {
    color: #ffffff;
    font-size: 6rem;
    filter: drop-shadow(0 4px 5px rgba(0, 0, 0, 0.2));
}

.menu-aberto {
    position: fixed;
    inset: 0;
    z-index: 15;
    display: grid;
    place-items: center;
    padding: 8rem 2rem 3rem;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(17, 104, 193, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 104, 193, 0.12) 1px, transparent 1px),
        radial-gradient(circle at 50% 45%, rgba(5, 101, 255, 0.25), transparent 38%),
        rgba(0, 14, 38, 0.97);
    background-size: 70px 70px, 70px 70px, auto, auto;
    backdrop-filter: blur(16px);
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.menu-aberto.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.nav-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
}

.nav-menu a {
    padding: 0.35rem 1.5rem;
    color: #ffffff;
    font-family: var(--font-grande);
    font-size: clamp(2.2rem, 5vw, 4.8rem);
    font-weight: 750;
    line-height: 1;
    letter-spacing: -0.04em;
    transition: color 0.2s ease, transform 0.2s ease, text-shadow 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
    color: var(--hero-cyan);
    outline: none;
    transform: scale(1.04);
    text-shadow: 0 0 24px rgba(8, 217, 255, 0.42);
}

body.menu-open {
    overflow: hidden;
}

@media (max-width: 1200px) {
    .container-inicio {
        padding-inline: 4rem;
    }

    .hero-layout {
        grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.75fr);
        gap: 2rem;
    }

    .titulo-inicio h1,
    .titulo-inicio .destaque-inicio {
        font-size: clamp(3.6rem, 6vw, 5rem);
    }

    .cta-primary {
        min-width: 320px;
    }

    .cta-secondary {
        min-width: 210px;
    }

    .hero-code-card {
        width: 205px;
        border-radius: 48px;
    }
}

@media (max-width: 900px) {
    .inicio {
        min-height: auto;
    }

    .hero-header {
        width: calc(100% - 2.5rem);
        height: 112px;
    }

    .hero-menu-toggle {
        width: 58px;
        height: 58px;
        border-radius: 15px;
    }

    .container-inicio {
        min-height: 100svh;
        padding: 125px 1.25rem 90px;
    }

    .hero-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.1rem;
    }

    .hero-visual {
        grid-row: 1;
        width: min(76vw, 440px);
    }

    .conteudo-inicio {
        grid-row: 2;
        align-items: center;
        text-align: center;
    }

    .titulo-inicio {
        align-items: center;
    }

    .hero-description {
        max-width: 600px;
    }

    .cta-group {
        justify-content: center;
    }

    .hero-wave-top {
        top: -12%;
        right: -55%;
        min-width: 780px;
        min-height: 700px;
    }

    .hero-wave-left {
        left: -65%;
        bottom: -18%;
        width: 110vw;
        height: 110vw;
    }

    .hero-wave-bottom {
        right: -66%;
        bottom: 8%;
        width: 105vw;
        height: 115vw;
    }
}

@media (max-width: 640px) {
    .inicio {
        width: 100vw;
        max-width: 100vw;
        min-width: 0;
    }

    .hero-grid,
    .menu-aberto {
        background-size: 52px 52px, 52px 52px, auto, auto;
    }

    .hero-header {
        width: calc(100% - 2rem);
        height: 78px;
    }

    .hero-logo {
        font-size: 2.45rem;
    }

    .hero-menu-toggle {
        width: 50px;
        height: 50px;
    }

    .hero-menu-toggle span {
        width: 25px;
        height: 3px;
        gap: 6px;
    }

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

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

    .container-inicio {
        padding: 82px 1rem 44px;
    }

    .hero-layout {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        gap: 0.75rem;
    }

    .hero-visual {
        width: min(70vw, 285px);
    }

    .hero-code-card {
        width: 116px;
        padding: 14px;
        border-radius: 29px;
    }

    .hero-code-card > div {
        border-radius: 20px;
    }

    .hero-code-card i {
        font-size: 3.5rem;
    }

    .hero-orbit-dot {
        width: 14px;
        height: 14px;
    }

    .hero-eyebrow {
        min-height: 38px;
        padding: 0 16px;
        gap: 13px;
        font-size: 0.78rem;
    }

    .hero-eyebrow span {
        width: 15px;
        height: 15px;
    }

    .titulo-inicio {
        width: 100%;
        margin-top: 0.95rem;
    }

    .titulo-inicio h1,
    .titulo-inicio .destaque-inicio {
        max-width: 100%;
        font-size: clamp(2rem, 9.2vw, 2.75rem);
        line-height: 0.94;
    }

    .titulo-inicio h1 {
        white-space: nowrap;
    }

    .hero-description {
        width: 100%;
        max-width: 520px;
        margin-top: 0.9rem;
        font-size: clamp(0.98rem, 4.4vw, 1.2rem);
        line-height: 1.4;
    }

    .cta-group {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1.25rem;
    }

    .cta-primary,
    .cta-secondary {
        width: 100%;
        max-width: min(100%, 410px);
        min-width: 0;
        min-height: 58px;
        font-size: 1rem;
    }

    .hero-specialties {
        gap: 0.8rem;
        margin-top: 1.35rem;
        font-size: 0.96rem;
    }

    .hero-specialties li + li::before {
        width: 6px;
        height: 6px;
        margin-right: 0.8rem;
    }

    .hero-cv-wrap {
        width: min(100%, 440px);
        margin-top: 2rem;
    }

    .hero-cv-wrap > span {
        width: auto;
        flex: 1;
    }

    .hero-cv {
        min-width: 205px;
        min-height: 54px;
        padding-inline: 22px;
    }

    .menu-aberto {
        padding-top: 7rem;
    }

    .nav-menu {
        gap: 0.85rem;
    }

    .nav-menu a {
        font-size: clamp(2.25rem, 12vw, 3.4rem);
    }
}

@media (max-width: 380px) {
    .container-inicio {
        padding-inline: 0.8rem;
    }

    .hero-visual {
        width: 72vw;
    }

    .titulo-inicio h1,
    .titulo-inicio .destaque-inicio {
        font-size: 2rem;
    }

    .hero-specialties {
        font-size: 0.87rem;
    }

    .hero-cv-wrap > span {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-menu-toggle,
    .hero-menu-toggle span,
    .menu-aberto,
    .nav-menu a,
    .cta-primary,
    .cta-secondary,
    .hero-cv {
        transition: none;
    }
}
