:root {
    --background: #050805;
    --background-soft: #090d09;
    --surface: #0c120d;
    --surface-light: #111912;

    --green: #9cff00;
    --green-dark: #65d800;
    --green-light: #bdff41;

    --text: #f7faf4;
    --muted: #a8b1a4;

    --border: rgba(190, 255, 122, 0.15);
    --border-strong: rgba(156, 255, 0, 0.42);

    --shadow: 0 25px 80px rgba(0, 0, 0, 0.45);

    --radius-small: 14px;
    --radius-medium: 20px;
    --radius-large: 30px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    color: var(--text);

    background:
        radial-gradient(
            circle at 75% 4%,
            rgba(118, 255, 0, 0.06),
            transparent 30%
        ),
        radial-gradient(
            circle at 5% 34%,
            rgba(118, 255, 0, 0.035),
            transparent 25%
        ),
        var(--background);

    font-family: "Inter", sans-serif;
    line-height: 1.6;

    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}

svg {
    display: block;

    width: 24px;
    height: 24px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.svg-symbols {
    display: none;
}

.container {
    width: min(1180px, calc(100% - 40px));

    margin-inline: auto;
}

.section {
    padding: 110px 0;

    scroll-margin-top: 85px;
}

.background-grid {
    position: fixed;
    z-index: -1;

    inset: 0;

    pointer-events: none;

    opacity: 0.15;

    background-image:
        linear-gradient(
            rgba(139, 255, 0, 0.045) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(139, 255, 0, 0.045) 1px,
            transparent 1px
        );

    background-size: 70px 70px;

    mask-image:
        radial-gradient(
            circle at center,
            black,
            transparent 80%
        );
}

/* Cabeçalho */

.site-header {
    position: fixed;
    z-index: 100;

    inset: 0 0 auto;

    background: rgba(5, 8, 5, 0.84);

    border-bottom:
        1px solid rgba(255, 255, 255, 0.06);

    backdrop-filter: blur(18px);
}

.navigation {
    min-height: 80px;

    display: flex;
    align-items: center;

    gap: 30px;
}

.brand {
    width: 185px;

    flex-shrink: 0;
}

.brand img {
    width: 100%;
    max-height: 72px;

    object-fit: contain;
}

.menu {
    margin-left: auto;

    display: flex;
    align-items: center;

    gap: 25px;
}

.menu a {
    color: var(--muted);

    font-size: 13px;
    font-weight: 700;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.menu a:hover {
    color: var(--green);

    transform: translateY(-1px);
}

.menu-button {
    display: none;
}

/* Botões */

.button {
    min-height: 50px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 0 22px;

    border: 1px solid transparent;
    border-radius: var(--radius-small);

    font-weight: 800;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

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

.button-primary {
    color: #071000;

    background:
        linear-gradient(
            135deg,
            var(--green-light),
            var(--green-dark)
        );

    box-shadow:
        0 12px 34px rgba(117, 240, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.button-primary:hover {
    box-shadow:
        0 17px 45px rgba(117, 240, 0, 0.3);
}

.button-outline {
    color: var(--text);

    background: rgba(156, 255, 0, 0.025);

    border-color: rgba(156, 255, 0, 0.55);
}

.button-small {
    min-height: 43px;

    padding: 0 17px;

    font-size: 13px;
}

.header-button {
    color: #071000;

    background: var(--green);
}

.header-button svg {
    width: 19px;
    height: 19px;
}

/* Títulos */

.eyebrow {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    color: var(--green);

    font-size: 12px;
    font-weight: 900;

    letter-spacing: 0.12em;

    text-transform: uppercase;
}

.eyebrow > span {
    width: 32px;
    height: 2px;

    background: var(--green);

    box-shadow: 0 0 14px var(--green);
}

.section-heading {
    max-width: 770px;

    margin-bottom: 52px;
}

.section-heading h2,
.backup-content h2,
.cloud-description h2,
.contact-information h2 {
    margin: 18px 0;

    font-family: "Rajdhani", sans-serif;

    font-size: clamp(40px, 5vw, 58px);
    line-height: 1;

    letter-spacing: -0.035em;
}

.section-heading p,
.backup-content > p,
.cloud-description > p,
.contact-information > p {
    color: var(--muted);

    font-size: 16px;
}

/* Início */

.hero {
    position: relative;

    min-height: 800px;

    padding-top: 160px;

    overflow: hidden;
}

.hero-grid {
    display: grid;

    grid-template-columns: 1.04fr 0.96fr;

    align-items: center;

    gap: 80px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    max-width: 760px;

    margin: 19px 0;

    font-family: "Rajdhani", sans-serif;

    font-size: clamp(56px, 6.5vw, 86px);
    line-height: 0.98;

    letter-spacing: -0.04em;
}

.hero h1 em {
    color: var(--green);

    font-style: normal;

    text-shadow:
        0 0 25px rgba(156, 255, 0, 0.18);
}

.hero-description {
    max-width: 650px;

    margin: 0;

    color: var(--muted);

    font-size: 18px;
}

.hero-buttons {
    margin-top: 34px;

    display: flex;
    flex-wrap: wrap;

    gap: 12px;
}

.hero-features {
    margin-top: 32px;

    display: flex;
    flex-wrap: wrap;

    gap: 22px;
}

.hero-features div {
    color: var(--muted);

    font-size: 12px;
    font-weight: 700;
}

.hero-features span {
    margin-right: 6px;

    color: var(--green);
}

.hero-visual {
    position: relative;

    min-height: 520px;

    display: grid;
    place-items: center;
}

.energy-ring {
    position: absolute;

    width: 465px;
    height: 465px;

    border:
        1px solid rgba(156, 255, 0, 0.28);

    border-radius: 50%;

    box-shadow:
        inset 0 0 80px rgba(156, 255, 0, 0.035),
        0 0 70px rgba(156, 255, 0, 0.06);

    animation:
        energy-pulse 4s ease-in-out infinite;
}

.energy-ring::before,
.energy-ring::after {
    content: "";

    position: absolute;

    border-radius: 50%;

    border:
        1px dashed rgba(156, 255, 0, 0.13);
}

.energy-ring::before {
    inset: 42px;
}

.energy-ring::after {
    inset: 98px;

    border-style: solid;
}

.visual-stage {
    position: relative;

    width: 400px;
    min-height: 400px;

    display: grid;
    place-items: center;
}

.hero-logo {
    position: relative;
    z-index: 2;

    width: 285px;

    border-radius: 50%;

    filter:
        drop-shadow(
            0 0 35px rgba(117, 255, 0, 0.17)
        );
}

.stage-line {
    position: absolute;

    left: 5%;
    right: 5%;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--green),
            transparent
        );

    box-shadow: 0 0 16px var(--green);
}

.stage-line-top {
    top: 14%;

    transform: rotate(-10deg);
}

.stage-line-bottom {
    bottom: 12%;

    transform: rotate(8deg);
}

.floating-service {
    position: absolute;
    z-index: 4;

    min-width: 118px;

    display: flex;
    align-items: center;

    gap: 9px;

    padding: 11px 13px;

    color: var(--muted);

    background: rgba(10, 16, 10, 0.9);

    border:
        1px solid rgba(156, 255, 0, 0.25);

    border-radius: 13px;

    box-shadow:
        0 14px 38px rgba(0, 0, 0, 0.35);

    backdrop-filter: blur(12px);

    font-size: 11px;
    font-weight: 800;
}

.floating-service svg {
    color: var(--green);

    width: 21px;
    height: 21px;
}

.floating-phone {
    top: 25%;
    left: -5%;

    animation:
        floating 5s ease-in-out infinite;
}

.floating-computer {
    top: 34%;
    right: -7%;

    animation:
        floating 5.7s ease-in-out infinite 0.8s;
}

.floating-cloud {
    right: 8%;
    bottom: 2%;

    animation:
        floating 6.1s ease-in-out infinite 0.4s;
}

.hero-glow {
    position: absolute;

    border-radius: 50%;

    filter: blur(80px);

    pointer-events: none;
}

.hero-glow-one {
    top: 110px;
    right: 0;

    width: 360px;
    height: 360px;

    background:
        rgba(132, 255, 0, 0.055);
}

.hero-glow-two {
    bottom: 30px;
    left: -130px;

    width: 300px;
    height: 300px;

    background:
        rgba(132, 255, 0, 0.035);
}

.statistics {
    margin-top: 80px;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    overflow: hidden;

    background:
        rgba(255, 255, 255, 0.018);

    border: 1px solid var(--border);
    border-radius: var(--radius-medium);
}

.statistics > div {
    padding: 22px 24px;

    border-right: 1px solid var(--border);
}

.statistics > div:last-child {
    border-right: 0;
}

.statistics strong,
.statistics span {
    display: block;
}

.statistics strong {
    font-size: 14px;
}

.statistics span {
    color: var(--muted);

    font-size: 11px;
}

/* Serviços */

.services-section {
    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(255, 255, 255, 0.012),
            transparent
        );
}

.services-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 17px;
}

.service-card {
    min-height: 335px;

    padding: 28px;

    display: flex;
    flex-direction: column;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.026),
            rgba(156, 255, 0, 0.018)
        ),
        var(--surface);

    border: 1px solid var(--border);
    border-radius: var(--radius-large);

    box-shadow:
        inset 0 1px rgba(255, 255, 255, 0.025);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}

.service-card:hover {
    transform: translateY(-6px);

    border-color: var(--border-strong);
}

.service-icon {
    width: 55px;
    height: 55px;

    display: grid;
    place-items: center;

    color: var(--green);

    background:
        rgba(156, 255, 0, 0.06);

    border:
        1px solid rgba(156, 255, 0, 0.32);

    border-radius: 15px;
}

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

.service-card h3 {
    margin: 24px 0 10px;

    font-size: 21px;
}

.service-card p {
    margin: 0;

    color: var(--muted);

    font-size: 14px;
}

.service-card > a {
    margin-top: auto;

    padding-top: 25px;

    color: var(--green);

    font-size: 13px;
    font-weight: 800;
}

/* Backup */

.backup-panel {
    min-height: 560px;

    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    align-items: center;

    gap: 75px;

    padding: 58px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 15% 50%,
            rgba(156, 255, 0, 0.08),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            rgba(17, 25, 17, 0.98),
            rgba(7, 11, 7, 0.98)
        );

    border:
        1px solid rgba(156, 255, 0, 0.21);

    border-radius: 34px;

    box-shadow: var(--shadow);
}

.backup-visual {
    position: relative;

    min-height: 410px;

    display: grid;
    place-items: center;
}

.cloud-orbit {
    position: relative;

    width: 285px;
    height: 285px;

    display: grid;
    place-items: center;

    border:
        1px solid rgba(156, 255, 0, 0.28);

    border-radius: 50%;

    box-shadow:
        0 0 90px rgba(156, 255, 0, 0.08),
        inset 0 0 50px rgba(156, 255, 0, 0.04);
}

.cloud-orbit::before,
.cloud-orbit::after {
    content: "";

    position: absolute;

    border:
        1px dashed rgba(156, 255, 0, 0.25);

    border-radius: 50%;

    animation:
        rotating 20s linear infinite;
}

.cloud-orbit::before {
    inset: 25px;
}

.cloud-orbit::after {
    inset: 60px;

    animation-direction: reverse;
}

.cloud-orbit svg {
    width: 100px;
    height: 100px;

    color: var(--green);

    filter:
        drop-shadow(
            0 0 18px rgba(156, 255, 0, 0.4)
        );
}

.cloud-lock {
    position: absolute;

    width: 39px;
    height: 39px;

    display: grid;
    place-items: center;

    color: #071000;

    background: var(--green);

    border-radius: 50%;

    font-weight: 900;
}

.photo-stack {
    position: absolute;

    right: 0;
    bottom: 28px;

    width: 150px;
    height: 130px;
}

.photo-stack div {
    position: absolute;

    width: 92px;
    height: 108px;

    background:
        linear-gradient(
            145deg,
            #24331e,
            #0c140a
        );

    border:
        1px solid rgba(156, 255, 0, 0.32);

    border-radius: 13px;

    box-shadow:
        0 12px 25px rgba(0, 0, 0, 0.35);
}

.photo-stack div:nth-child(1) {
    top: 12px;
    left: 0;

    transform: rotate(-12deg);
}

.photo-stack div:nth-child(2) {
    top: 6px;
    left: 28px;

    transform: rotate(2deg);
}

.photo-stack div:nth-child(3) {
    top: 0;
    left: 55px;

    transform: rotate(12deg);
}

.backup-content ul {
    margin: 28px 0 34px;

    padding: 0;

    display: grid;

    gap: 12px;

    list-style: none;
}

.backup-content li {
    color: var(--muted);

    font-size: 14px;
}

.backup-content li span {
    margin-right: 8px;

    color: var(--green);
}

/* NexTech Cloud */

.cloud-section {
    padding-top: 20px;
}

.cloud-panel {
    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 65px;

    padding: 58px;

    background:
        rgba(255, 255, 255, 0.018);

    border: 1px solid var(--border);
    border-radius: var(--radius-large);
}

.development-badge {
    display: inline-flex;

    margin-top: 15px;

    padding: 8px 13px;

    color: var(--green);

    background:
        rgba(156, 255, 0, 0.055);

    border:
        1px solid rgba(156, 255, 0, 0.22);

    border-radius: 999px;

    font-size: 11px;
    font-weight: 800;
}

.dashboard-preview {
    min-height: 320px;

    display: grid;

    grid-template-columns: 64px 1fr;

    overflow: hidden;

    background: #080d08;

    border:
        1px solid rgba(156, 255, 0, 0.2);

    border-radius: var(--radius-medium);

    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.35);

    transform:
        perspective(900px)
        rotateY(-5deg);
}

.preview-sidebar {
    padding-top: 18px;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 16px;

    background:
        rgba(255, 255, 255, 0.025);

    border-right: 1px solid var(--border);
}

.preview-sidebar strong {
    width: 32px;
    height: 32px;

    display: grid;
    place-items: center;

    color: #071000;

    background: var(--green);

    border-radius: 9px;
}

.preview-sidebar i {
    width: 25px;
    height: 7px;

    background:
        rgba(255, 255, 255, 0.11);

    border-radius: 5px;
}

.preview-main {
    padding: 20px;
}

.preview-title {
    width: 42%;
    height: 12px;

    margin-bottom: 27px;

    background:
        rgba(255, 255, 255, 0.14);

    border-radius: 8px;
}

.preview-cards {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 10px;
}

.preview-cards div {
    height: 78px;

    padding: 14px;

    display: flex;
    align-items: end;

    color: var(--muted);

    border: 1px solid var(--border);
    border-radius: 13px;

    font-size: 11px;
}

.preview-chart {
    height: 120px;

    margin-top: 14px;

    padding: 18px;

    display: flex;
    align-items: end;

    gap: 8px;

    border: 1px solid var(--border);
    border-radius: 13px;
}

.preview-chart i {
    flex: 1;

    background:
        linear-gradient(
            var(--green),
            #397800
        );

    border-radius: 5px 5px 0 0;
}

.preview-chart i:nth-child(1) {
    height: 32%;
}

.preview-chart i:nth-child(2) {
    height: 50%;
}

.preview-chart i:nth-child(3) {
    height: 44%;
}

.preview-chart i:nth-child(4) {
    height: 70%;
}

.preview-chart i:nth-child(5) {
    height: 60%;
}

.preview-chart i:nth-child(6) {
    height: 86%;
}

/* Sobre */

.about-grid {
    display: grid;

    grid-template-columns: 0.85fr 1.15fr;

    gap: 90px;
}

.about-content > p {
    margin-top: 0;

    color: var(--muted);

    font-size: 17px;
}

.values-grid {
    margin-top: 34px;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 14px;
}

.values-grid article {
    padding: 23px;

    background:
        rgba(255, 255, 255, 0.018);

    border: 1px solid var(--border);
    border-radius: var(--radius-medium);
}

.values-grid strong {
    color: var(--green);

    font-family: "Rajdhani", sans-serif;
    font-size: 17px;
}

.values-grid h3 {
    margin: 17px 0 7px;
}

.values-grid p {
    margin: 0;

    color: var(--muted);

    font-size: 13px;
}

/* Processo */

.process-section {
    background:
        rgba(255, 255, 255, 0.012);

    border-top:
        1px solid rgba(255, 255, 255, 0.045);

    border-bottom:
        1px solid rgba(255, 255, 255, 0.045);
}

.process-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: var(--radius-large);
}

.process-step {
    min-height: 250px;

    padding: 28px;

    border-right: 1px solid var(--border);
}

.process-step:last-child {
    border-right: 0;
}

.process-step strong {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    color: #071000;

    background: var(--green);

    border-radius: 50%;
}

.process-step h3 {
    margin: 42px 0 10px;

    font-size: 19px;
}

.process-step p {
    margin: 0;

    color: var(--muted);

    font-size: 13px;
}

/* Contato */

.contact-grid {
    display: grid;

    grid-template-columns: 0.85fr 1.15fr;

    gap: 80px;
}

.contact-cards {
    margin-top: 30px;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 12px;
}

.contact-cards > * {
    padding: 18px;

    display: flex;
    align-items: center;

    gap: 13px;

    background:
        rgba(255, 255, 255, 0.018);

    border: 1px solid var(--border);
    border-radius: var(--radius-small);
}

.contact-cards svg {
    flex-shrink: 0;

    color: var(--green);
}

.contact-cards small,
.contact-cards strong {
    display: block;
}

.contact-cards small {
    color: var(--muted);

    font-size: 11px;
}

.contact-cards strong {
    margin-top: 4px;

    font-size: 13px;
}

.contact-form {
    padding: 31px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.025),
            rgba(156, 255, 0, 0.015)
        );

    border: 1px solid var(--border);
    border-radius: 25px;

    box-shadow: var(--shadow);
}

.form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 14px;
}

.contact-form label {
    margin-bottom: 16px;

    display: grid;

    gap: 8px;

    color: #dce5d8;

    font-size: 12px;
    font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;

    color: var(--text);

    background:
        rgba(0, 0, 0, 0.32);

    border:
        1px solid rgba(255, 255, 255, 0.11);

    border-radius: 12px;

    outline: none;
}

.contact-form input,
.contact-form select {
    height: 49px;

    padding: 0 13px;
}

.contact-form textarea {
    padding: 13px;

    resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color:
        rgba(156, 255, 0, 0.52);

    box-shadow:
        0 0 0 3px rgba(156, 255, 0, 0.055);
}

.form-button {
    width: 100%;
}

.form-warning {
    margin-top: 12px;

    display: block;

    color: #7d8879;

    text-align: center;

    font-size: 10px;
}

/* Rodapé */

.footer {
    padding: 65px 0 24px;

    background: #030503;

    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;

    grid-template-columns: 1.5fr repeat(3, 1fr);

    gap: 50px;
}

.footer-brand img {
    width: 220px;
}

.footer-brand p {
    max-width: 300px;
}

.footer h3 {
    margin: 0 0 16px;

    font-size: 14px;
}

.footer p,
.footer a,
.footer span {
    margin-bottom: 8px;

    display: block;

    color: var(--muted);

    font-size: 12px;
}

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

.footer-bottom {
    margin-top: 48px;

    padding-top: 22px;

    display: flex;
    justify-content: space-between;

    gap: 20px;

    border-top:
        1px solid rgba(255, 255, 255, 0.07);
}

.footer-bottom span {
    margin: 0;
}

.floating-whatsapp {
    position: fixed;
    z-index: 90;

    right: 22px;
    bottom: 22px;

    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    color: #0a1203;

    background: var(--green);

    border-radius: 50%;

    box-shadow:
        0 16px 40px rgba(110, 255, 0, 0.23);

    transition: transform 0.2s ease;
}

.floating-whatsapp:hover {
    transform: scale(1.07);
}

/* Animações */

.reveal {
    opacity: 0;

    transform: translateY(24px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;

    transform: translateY(0);
}

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

@keyframes energy-pulse {
    50% {
        transform: scale(1.025);

        opacity: 0.8;
    }
}

@keyframes rotating {
    to {
        transform: rotate(360deg);
    }
}

/* Tablet */

@media (max-width: 1050px) {

    .menu-button {
        margin-left: auto;

        width: 43px;
        height: 43px;

        display: grid;
        place-content: center;

        gap: 5px;

        background: transparent;

        border: 1px solid var(--border);
        border-radius: 11px;
    }

    .menu-button span {
        width: 21px;
        height: 2px;

        background: var(--green);
    }

    .menu {
        position: fixed;

        inset: 80px 16px auto;

        display: none;
        flex-direction: column;
        align-items: stretch;

        gap: 0;

        padding: 14px;

        background:
            rgba(5, 8, 5, 0.98);

        border: 1px solid var(--border);
        border-radius: 17px;

        box-shadow: var(--shadow);
    }

    .menu.open {
        display: flex;
    }

    .menu a {
        padding: 13px;
    }

    .header-button {
        display: none;
    }

    .hero-grid,
    .backup-panel,
    .cloud-panel,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        text-align: center;
    }

    .hero-description {
        margin-inline: auto;
    }

    .hero-buttons,
    .hero-features {
        justify-content: center;
    }

    .hero-grid {
        gap: 20px;
    }

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

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

    .statistics > div:nth-child(2) {
        border-right: 0;
    }

    .statistics > div:nth-child(-n + 2) {
        border-bottom: 1px solid var(--border);
    }

    .backup-panel,
    .cloud-panel {
        padding: 40px;
    }

    .about-grid,
    .contact-grid {
        gap: 45px;
    }

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

    .process-step:nth-child(2) {
        border-right: 0;
    }

    .process-step:nth-child(-n + 2) {
        border-bottom: 1px solid var(--border);
    }

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

}

/* Celular */

@media (max-width: 620px) {

    .container {
        width: min(100% - 28px, 1180px);
    }

    .section {
        padding: 78px 0;
    }

    .brand {
        width: 145px;
    }

    .hero {
        min-height: auto;

        padding-top: 128px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .button {
        width: 100%;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;

        gap: 9px;
    }

    .hero-visual {
        min-height: 390px;
    }

    .energy-ring {
        width: 330px;
        height: 330px;
    }

    .visual-stage {
        width: 320px;
        min-height: 330px;
    }

    .hero-logo {
        width: 220px;
    }

    .floating-service {
        min-width: auto;

        padding: 8px 10px;
    }

    .floating-phone {
        left: 0;
    }

    .floating-computer {
        right: 0;
    }

    .floating-cloud {
        right: 9%;
    }

    .statistics,
    .services-grid,
    .values-grid,
    .contact-cards,
    .form-row,
    .process-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .statistics > div {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .statistics > div:last-child {
        border-bottom: 0;
    }

    .backup-panel,
    .cloud-panel {
        padding: 26px 20px;
    }

    .backup-visual {
        min-height: 340px;
    }

    .cloud-orbit {
        width: 230px;
        height: 230px;
    }

    .photo-stack {
        right: -5px;
    }

    .dashboard-preview {
        min-height: 250px;

        grid-template-columns: 48px 1fr;

        transform: none;
    }

    .preview-cards div {
        height: 64px;

        padding: 8px;
    }

    .preview-chart {
        height: 85px;

        padding: 12px;
    }

    .process-step {
        min-height: 215px;

        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .process-step:last-child {
        border-bottom: 0;
    }

    .contact-form {
        padding: 21px 16px;
    }

    .footer-bottom {
        flex-direction: column;
    }

}

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

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;

        transition: none !important;
    }

    .reveal {
        opacity: 1;

        transform: none;
    }

}

/* ===== NEXTECH PATH WORDMARK START ===== */

.site-header {
    top: 10px;
    right: 0;
    left: 0;

    padding-inline: 12px;

    background: transparent;
    border: 0;

    backdrop-filter: none;

    pointer-events: none;
}

.navigation {
    position: relative;

    width: min(1180px, 100%);
    min-height: 74px;

    margin-inline: auto;

    padding: 4px 14px;

    gap: 20px;

    background:
        linear-gradient(
            135deg,
            rgba(12, 17, 12, 0.95),
            rgba(4, 7, 4, 0.93)
        );

    border:
        1px solid rgba(255, 255, 255, 0.075);

    border-radius: 18px;

    box-shadow:
        0 18px 55px rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.035);

    backdrop-filter: blur(22px);

    pointer-events: auto;
}

.brand {
    width: 250px;
    height: 54px;

    display: flex;
    align-items: center;

    flex-shrink: 0;
}

.nextech-code-logo {
    display: block;

    width: 100%;
    height: auto;

    overflow: visible;
}

.nextech-code-logo-header {
    max-height: 54px;

    transition:
        transform 0.2s ease,
        filter 0.2s ease;
}

.brand:hover .nextech-code-logo-header {
    transform: translateY(-1px);

    filter:
        drop-shadow(
            0 0 8px rgba(156, 255, 0, 0.16)
        );
}

.menu {
    position: absolute;

    top: 50%;
    left: 50%;

    margin: 0;

    display: flex;
    align-items: center;

    gap: 24px;

    transform: translate(-50%, -50%);
}

.menu a {
    position: relative;

    padding: 8px 0;

    color: #aeb7aa;

    font-size: 12px;
    font-weight: 700;
}

.menu a::after {
    content: "";

    position: absolute;

    right: 50%;
    bottom: 1px;
    left: 50%;

    height: 2px;

    background: var(--green);

    border-radius: 999px;

    box-shadow:
        0 0 8px rgba(156, 255, 0, 0.7);

    transition:
        right 0.2s ease,
        left 0.2s ease;
}

.menu a:hover::after {
    right: 0;
    left: 0;
}

.header-button {
    margin-left: auto;

    min-height: 40px;

    padding-inline: 15px;

    border-radius: 11px;

    font-size: 12px;
}

.hero {
    padding-top: 150px;
}

.footer-code-logo {
    width: 285px;

    margin-bottom: 15px;
}

.nextech-code-logo-footer {
    width: 100%;

    filter:
        drop-shadow(
            0 0 8px rgba(156, 255, 0, 0.1)
        );
}

.footer-brand > img {
    display: none !important;
}

@media (max-width: 1050px) {

    .site-header {
        top: 7px;

        padding-inline: 8px;
    }

    .navigation {
        min-height: 68px;

        border-radius: 16px;
    }

    .brand {
        width: 210px;
        height: 50px;
    }

    .nextech-code-logo-header {
        max-height: 50px;
    }

    .menu-button {
        margin-left: auto;
    }

    .menu {
        position: fixed;

        top: 80px;
        right: 9px;
        left: 9px;

        width: auto;

        margin: 0;

        transform: none;

        background:
            rgba(5, 8, 5, 0.985);

        border:
            1px solid rgba(156, 255, 0, 0.16);

        border-radius: 16px;

        box-shadow:
            0 24px 60px rgba(0, 0, 0, 0.56);
    }

    .menu a {
        padding: 13px;
    }

    .menu a::after {
        display: none;
    }

    .hero {
        padding-top: 125px;
    }

}

@media (max-width: 620px) {

    .navigation {
        min-height: 62px;

        padding: 3px 9px;
    }

    .brand {
        width: 165px;
        height: 45px;
    }

    .nextech-code-logo-header {
        max-height: 45px;
    }

    .menu-button {
        width: 39px;
        height: 39px;
    }

    .footer-code-logo {
        width: 235px;
    }

}

/* ===== NEXTECH PATH WORDMARK END ===== */

/* ===== MOBILE HEADER FIX START ===== */

@media (max-width: 768px) {

    /*
        Cabeçalho compacto exclusivo para celular
    */

    .site-header {
        position: fixed !important;

        top: 0 !important;
        right: 0 !important;
        left: 0 !important;

        width: 100% !important;
        height: auto !important;

        padding: 8px 10px !important;

        background: transparent !important;
        border: 0 !important;

        pointer-events: none !important;
    }

    .navigation {
        position: relative !important;

        width: 100% !important;
        height: 58px !important;
        min-height: 58px !important;

        margin: 0 auto !important;
        padding: 6px 8px 6px 12px !important;

        display: grid !important;

        grid-template-columns:
            minmax(0, 1fr)
            auto !important;

        align-items: center !important;

        gap: 10px !important;

        overflow: visible !important;

        background:
            linear-gradient(
                135deg,
                rgba(13, 18, 13, 0.97),
                rgba(4, 8, 4, 0.97)
            ) !important;

        border:
            1px solid rgba(156, 255, 0, 0.17) !important;

        border-radius: 15px !important;

        box-shadow:
            0 12px 35px rgba(0, 0, 0, 0.48),
            inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;

        backdrop-filter: blur(20px) !important;

        pointer-events: auto !important;
    }

    /*
        Logo reduzida sem distorcer
    */

    .brand {
        grid-column: 1 !important;

        width: 158px !important;
        min-width: 0 !important;
        max-width: 158px !important;

        height: 40px !important;
        min-height: 40px !important;

        margin: 0 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;

        overflow: hidden !important;
    }

    .nextech-code-logo-header {
        width: 158px !important;
        max-width: 158px !important;

        height: auto !important;
        max-height: 36px !important;

        margin: 0 !important;

        object-fit: contain !important;
    }

    /*
        Botão hambúrguer
    */

    .menu-button {
        grid-column: 2 !important;

        width: 42px !important;
        height: 42px !important;

        margin: 0 !important;
        padding: 0 !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;

        gap: 5px !important;

        color: var(--green) !important;

        background:
            rgba(156, 255, 0, 0.055) !important;

        border:
            1px solid rgba(156, 255, 0, 0.25) !important;

        border-radius: 11px !important;

        cursor: pointer !important;
    }

    .menu-button span {
        width: 20px !important;
        height: 2px !important;

        display: block !important;

        background: var(--green) !important;

        border-radius: 999px !important;

        box-shadow:
            0 0 7px rgba(156, 255, 0, 0.4) !important;

        transition:
            transform 0.22s ease,
            opacity 0.22s ease !important;
    }

    .menu-button[aria-expanded="true"] span:nth-child(1) {
        transform:
            translateY(7px)
            rotate(45deg) !important;
    }

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

    .menu-button[aria-expanded="true"] span:nth-child(3) {
        transform:
            translateY(-7px)
            rotate(-45deg) !important;
    }

    .header-button {
        display: none !important;
    }

    /*
        Menu fechado por padrão.
        Só aparece quando recebe a classe .open.
    */

    .menu {
        position: absolute !important;

        top: calc(100% + 8px) !important;
        right: 0 !important;
        left: 0 !important;

        width: 100% !important;
        height: auto !important;
        max-height: 0 !important;

        margin: 0 !important;
        padding: 0 10px !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;

        gap: 2px !important;

        overflow: hidden !important;

        opacity: 0 !important;
        visibility: hidden !important;

        pointer-events: none !important;

        transform: translateY(-8px) !important;

        background:
            linear-gradient(
                160deg,
                rgba(12, 18, 12, 0.99),
                rgba(4, 8, 4, 0.99)
            ) !important;

        border:
            1px solid rgba(156, 255, 0, 0.17) !important;

        border-radius: 15px !important;

        box-shadow:
            0 20px 50px rgba(0, 0, 0, 0.62) !important;

        backdrop-filter: blur(22px) !important;

        transition:
            max-height 0.28s ease,
            padding 0.28s ease,
            opacity 0.2s ease,
            transform 0.28s ease,
            visibility 0.2s ease !important;
    }

    .menu.open {
        max-height: 420px !important;

        padding:
            10px !important;

        opacity: 1 !important;
        visibility: visible !important;

        pointer-events: auto !important;

        transform: translateY(0) !important;
    }

    .menu a {
        width: 100% !important;

        padding: 12px 14px !important;

        display: flex !important;
        align-items: center !important;

        color: #dce4d8 !important;

        background: transparent !important;

        border:
            1px solid transparent !important;

        border-radius: 10px !important;

        font-size: 13px !important;
        font-weight: 700 !important;

        text-align: left !important;

        transform: none !important;
    }

    .menu a:hover,
    .menu a:active {
        color: var(--green) !important;

        background:
            rgba(156, 255, 0, 0.065) !important;

        border-color:
            rgba(156, 255, 0, 0.14) !important;
    }

    .menu a::after {
        display: none !important;
    }

    /*
        Compensa o cabeçalho fixo
    */

    .hero {
        padding-top: 105px !important;
    }

    .section {
        scroll-margin-top: 82px !important;
    }

    /*
        Impede qualquer elemento do cabeçalho
        de aumentar a largura da página
    */

    .site-header,
    .navigation,
    .brand,
    .menu,
    .menu-button {
        box-sizing: border-box !important;
    }

}

@media (max-width: 380px) {

    .site-header {
        padding-inline: 6px !important;
    }

    .navigation {
        padding-left: 9px !important;
    }

    .brand {
        width: 138px !important;
        max-width: 138px !important;
    }

    .nextech-code-logo-header {
        width: 138px !important;
        max-width: 138px !important;
        max-height: 32px !important;
    }

}

/* ===== MOBILE HEADER FIX END ===== */
