/* =========================================================
   NEBULOSA LABS — STYLE FINAL
   Direção visual: espaço profundo + azul como energia
========================================================= */

:root {
    --bg-0: #010309;
    --bg-1: #02050a;
    --line: rgba(205, 218, 234, 0.08);
    --line-strong: rgba(205, 218, 234, 0.14);
    --text: #f3f6fa;
    --muted: #8d98a6;
    --accent: #6caeff;
    --accent-strong: #8fc2ff;
    --shadow: 0 26px 80px rgba(0, 0, 0, 0.34);
    --radius-lg: 18px;
    --header-h: 88px;
}

/* =========================================================
   CRAB NEBULA — CONTRASTE TIPOGRÁFICO
========================================================= */

html[data-universe="crab"] {
    --text: #ffffff;
    --muted: #c4ceda;
    --accent: #70b7ff;
    --accent-strong: #a3d0ff;
}

html[data-universe="crab"] .about-page {
    --about-text: #ffffff;
    --about-text-soft: #d9e1ea;
    --about-muted: #e4ebf3;
}

html[data-universe="crab"] h1,
html[data-universe="crab"] h2,
html[data-universe="crab"] h3 {
    text-shadow:
        0 3px 10px rgba(0, 0, 0, 0.92),
        0 0 24px rgba(0, 0, 0, 0.45);
}

html[data-universe="crab"] p,
html[data-universe="crab"] .section-tag,
html[data-universe="crab"] .hero-tag {
    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.95),
        0 0 18px rgba(0, 0, 0, 0.45);
}

html[data-universe="crab"] .about-hero .section-tag {
    color: #d4dde8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--bg-0);
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    font-family: Inter, Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--bg-0);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
}

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

button,
input,
textarea {
    font: inherit;
}

::selection {
    color: #06101b;
    background: #a8d0ff;
}

/* =========================================================
   HEADER
========================================================= */

.header {
    position: fixed;

    top: 18px;
    left: 50%;

    z-index: 1000;

    width: min(1180px, calc(100vw - 40px));
    min-height: 72px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 22px;

    transform: translateX(-50%);

    background:
        linear-gradient(
            180deg,
            rgba(5, 10, 19, 0.80),
            rgba(2, 6, 13, 0.88)
        );

    border: 1px solid rgba(150, 180, 220, 0.14);
    border-radius: 22px;

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

    box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

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

.brand-logo {
    display: block;
    width: 245px;
    height: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav a {
    position: relative;
    color: #b8c0cb;
    font-size: 0.92rem;
    transition: color 0.25s ease;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -9px;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    transform: scaleX(0);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav a:hover,
.nav a.active {
    color: #fff;
}

.nav a.active {
    color: var(--accent-strong);
}

.nav a:hover::after,
.nav a.active::after {
    transform: scaleX(1);
    opacity: 0.8;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 999px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
    SELETOR DE UNIVERSO — POPOVER
========================================================= */

.universe-selector {
    position: fixed;
    top: calc(var(--header-h) + 122px);
    right: 28px;
    z-index: 900;
    width: 40px;
}

/* BOTÃO */

.universe-trigger {
    position: relative;

    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    padding: 0;

    color: #cbd6e2;
    background: rgba(4, 8, 15, 0.78);

    border: 1px solid rgba(205, 218, 234, 0.12);
    border-radius: 50%;

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

    font-size: 0;

    cursor: pointer;

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

.universe-trigger::before {
    content: "✦";

    font-size: 1rem;
    line-height: 1;

    color: currentColor;
}

.universe-trigger::after {
    content: "Escolha seu universo";

    position: absolute;

    top: 50%;
    right: calc(100% + 10px);

    transform:
        translateY(-50%)
        translateX(6px);

    padding: 8px 11px;

    color: #cbd6e2;
    background: rgba(4, 8, 15, 0.94);

    border: 1px solid rgba(205, 218, 234, 0.10);
    border-radius: 8px;

    font-size: 0.62rem;
    font-weight: 650;

    letter-spacing: 1px;
    text-transform: uppercase;

    white-space: nowrap;

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;
}

.universe-trigger:hover {
    color: #ffffff;

    background: rgba(7, 13, 23, 0.94);

    border-color: rgba(108, 174, 255, 0.45);

    transform: translateY(-2px);

    box-shadow:
        0 0 18px rgba(108, 174, 255, 0.12);
}

.universe-trigger:hover::after {
    opacity: 1;
    visibility: visible;

    transform:
        translateY(-50%)
        translateX(0);
}

/* PAINEL */

.universe-panel {
    position: absolute;
    top: 0;
    right: calc(100% + 12px);
    width: 198px;
    max-height: min(370px, calc(100dvh - 170px));
    overflow-y: auto;
    padding: 10px;
    background: linear-gradient(145deg, rgba(8,14,24,.96), rgba(2,6,13,.98));
    border: 1px solid rgba(205,218,234,.13);
    border-radius: 15px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 18px 45px rgba(0,0,0,.42);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(7px);
    transition: opacity .22s ease, visibility .22s ease, transform .22s ease;
}

.universe-selector.open .universe-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
}


.universe-panel-title {
    display: block;

    margin-bottom: 12px;

    color: #768291;

    font-size: 0.53rem;
    font-weight: 700;
    letter-spacing: 2px;

    text-align: center;
}


/* OPÇÕES */

.universe-options {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.universe-option {
    width: 100%;

    display: grid;
    grid-template-columns: 38px 1fr;
    align-items: center;

    gap: 9px;

    padding: 7px;

    color: #8d98a6;
    background: transparent;

    border: 1px solid transparent;
    border-radius: 10px;

    cursor: pointer;

    text-align: left;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}


.universe-option:hover {
    color: #fff;

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

    border-color: rgba(205, 218, 234, 0.08);
}


.universe-option.active {
    color: #fff;

    background: rgba(108, 174, 255, 0.055);

    border-color: rgba(108, 174, 255, 0.22);
}


.universe-thumb {
    width: 38px;
    height: 38px;

    display: block;

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    border: 1px solid rgba(205, 218, 234, 0.16);
    border-radius: 50%;
}


.universe-option.active .universe-thumb {
    border-color: rgba(108, 174, 255, 0.78);

    box-shadow:
        0 0 16px rgba(108, 174, 255, 0.22);
}


.universe-option-name {
    min-width: 0;

    color: inherit;

    font-size: 0.66rem;
    font-weight: 500;

    line-height: 1.25;
}


/* MOBILE */

@media (max-width: 700px) {
    .universe-selector {
    position: absolute;
    top: 160px;
    right: 14px;
    left: auto;
}
    .universe-panel {
        right: calc(100% + 10px);
        left: auto;
        top: 0;
        width: min(198px, calc(100vw - 78px));
        max-height: calc(100dvh - 190px);
    }
}

/* =========================================================
    INFORMAÇÕES DO UNIVERSO
========================================================= */

.universe-info {
    position: fixed;
    top: calc(var(--header-h) + 76px);
    right: 28px;
    z-index: 910;
    width: 40px;
}


.universe-info-trigger {
    position: relative;

    width: 40px;
    height: 40px;
    min-height: 40px;

    display: grid;
    place-items: center;

    padding: 0;

    color: #cbd6e2;
    background: rgba(4, 8, 15, 0.78);

    border: 1px solid rgba(205, 218, 234, 0.12);
    border-radius: 50%;

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

    font-size: 0;

    cursor: pointer;

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

.universe-info-trigger::before {
    content: "i";

    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;

    color: currentColor;
}

.universe-info-trigger::after {
    content: "Sobre esta imagem";

    position: absolute;

    top: 50%;
    right: calc(100% + 10px);

    transform:
        translateY(-50%)
        translateX(6px);

    padding: 8px 11px;

    color: #cbd6e2;
    background: rgba(4, 8, 15, 0.94);

    border: 1px solid rgba(205, 218, 234, 0.10);
    border-radius: 8px;

    font-size: 0.62rem;
    font-weight: 650;

    letter-spacing: 1px;
    text-transform: uppercase;

    white-space: nowrap;

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;
}

.universe-info-trigger:hover {
    color: #ffffff;

    background: rgba(7, 13, 23, 0.94);

    border-color: rgba(108, 174, 255, 0.45);

    transform: translateY(-2px);

    box-shadow:
        0 0 18px rgba(108, 174, 255, 0.12);
}

.universe-info-trigger:hover::after {
    opacity: 1;
    visibility: visible;

    transform:
        translateY(-50%)
        translateX(0);
}

.universe-info-dot {
    display: none;
}

/* Legendas também acessíveis pelo teclado. */
.universe-trigger:focus-visible::after,
.universe-info-trigger:focus-visible::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

/* =========================
   PAINEL
========================= */

.universe-info-panel {
    position: absolute;
    top: 0;
    right: calc(100% + 12px);
    width: min(360px, calc(100vw - 95px));
    max-height: calc(100dvh - 182px);
    overflow-y: auto;
    padding: 24px;
    color: var(--text);
    background: linear-gradient(145deg,rgba(9,15,24,.97),rgba(2,6,12,.98));
    border: 1px solid rgba(205,218,234,.14);
    border-radius: 16px;
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: 0 24px 70px rgba(0,0,0,.48);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(8px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease,
                right .25s ease;
}


.universe-info.open .universe-info-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
}

/* Os dois painéis podem permanecer abertos lado a lado no desktop. */
@media (min-width: 701px) {
    .universe-selector.open + .universe-info.open .universe-info-panel {
        right: calc(100% + 226px);
    }
}


/* =========================
   CABEÇALHO
========================= */

.universe-info-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}


.universe-info-label {
    color: var(--accent);

    font-size: 0.59rem;
    font-weight: 700;

    letter-spacing: 2px;
}


.universe-info-close {
    width: 28px;
    height: 28px;

    display: grid;
    place-items: center;

    flex: 0 0 28px;

    color: #778391;

    background: transparent;

    border: 1px solid rgba(205, 218, 234, 0.08);
    border-radius: 8px;

    font-size: 1.15rem;
    line-height: 1;

    cursor: pointer;

    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}


.universe-info-close:hover {
    color: #ffffff;

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

    border-color: rgba(205, 218, 234, 0.18);
}


/* =========================
   CONTEÚDO
========================= */

.universe-info-name {
    margin-top: 22px;

    color: #ffffff;

    font-size: 1.65rem;
    font-weight: 500;

    letter-spacing: -0.8px;
}


.universe-info-description {
    margin-top: 12px;

    color: #919dab;

    font-size: 0.85rem;

    line-height: 1.65;
}


.universe-info-data {
    display: grid;

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

    gap: 18px 20px;

    margin-top: 26px;
    padding-top: 22px;

    border-top: 1px solid rgba(205, 218, 234, 0.08);
}


.universe-info-data div {
    min-width: 0;
}


.universe-info-data span,
.universe-info-credit span {
    display: block;

    margin-bottom: 6px;

    color: #5f6b79;

    font-size: 0.54rem;
    font-weight: 650;

    letter-spacing: 1.5px;
}


.universe-info-data strong,
.universe-info-credit strong {
    display: block;

    color: #bec8d4;

    font-size: 0.72rem;
    font-weight: 500;

    line-height: 1.45;
}


.universe-info-credit {
    margin-top: 22px;
    padding-top: 18px;

    border-top: 1px solid rgba(205, 218, 234, 0.08);
}


/* Link informativo; sem reproduzir a insígnia oficial da NASA. */
.universe-info-source {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(205,218,234,.08);
    width: 100%;
    color: #9fbfe3;
    font-size: .72rem;
    transition: color .2s ease;
}
.universe-info-source:hover { color: #fff; }

/* =========================================================
   INFORMAÇÕES — MOBILE
========================================================= */
@media (max-width: 700px) {
    .universe-info {
        top: 110px;
        right: 14px;
    }

    .universe-info-panel {
        position: fixed;
        top: 108px;
        right: 64px;
        left: auto;
        width: min(330px, calc(100vw - 78px));
        max-height: calc(100dvh - 125px);
        overflow-y: auto;
        padding: 19px;
    }

    .universe-info-data {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    /* Em telas pequenas, o popover fica na frente só enquanto se escolhe. */
    .universe-selector.open + .universe-info.open .universe-info-panel {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

/* =========================================================
   ELEMENTOS GLOBAIS
========================================================= */

.section-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.section-tag,
.hero-tag {
    color: #dce7f4;
    text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.85),
    0 0 16px rgba(0, 0, 0, 0.6);
    font-size: 0.73rem;
    font-weight: 650;
    letter-spacing: 4.5px;
    text-transform: uppercase;
}

.section-tag {
    display: block;
    margin-bottom: 22px;
    text-align: center;
}

.section-title {
    max-width: 940px;
    margin: 0 auto;
    color: var(--text);
    font-size: clamp(2.7rem, 5vw, 5rem);
    line-height: 0.98;
    letter-spacing: -3px;
    font-weight: 500;
    text-align: center;
}

.section-description {
    max-width: 760px;
    margin: 24px auto 0;
    color: #e5edf7;
    text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.9),
    0 0 18px rgba(0, 0, 0, 0.65);
    font-size: 1.06rem;
    line-height: 1.75;
    text-align: center;
}

.btn {
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 28px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-weight: 650;
    cursor: pointer;
    transition:
        transform 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.btn-primary {
    color: #05080d;
    background: #eef5fd;
    border-color: #eef5fd;
}

.btn-primary:hover {
    transform: translateY(-3px);
    background: #fff;
    box-shadow: 0 14px 38px rgba(108, 174, 255, 0.16);
}

.btn-secondary {
    color: #f5f7fa;
    background: rgba(255, 255, 255, 0.018);
    border-color: rgba(255, 255, 255, 0.14);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    color: var(--accent-strong);
    border-color: rgba(108, 174, 255, 0.38);
    background: rgba(108, 174, 255, 0.035);
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 40px;
}

/* =========================================================
   HOME — HERO COM NEBULOSA REAL
========================================================= */

.hero {
    min-height: 80vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 145px 7% 70px;
    isolation: isolate;
    background: transparent;
}

.universe-bg {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;

    z-index: 0;

    background-image:
        url("../assets/img/nebula-pillars.webp");

    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;

    pointer-events: none;
}

.universe-bg::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(1, 3, 9, 0.68) 0%,
            rgba(1, 3, 9, 0.42) 45%,
            rgba(1, 3, 9, 0.30) 100%
        ),
        linear-gradient(
            180deg,
            rgba(1, 3, 9, 0.28) 0%,
            rgba(1, 3, 9, 0.22) 50%,
            rgba(1, 3, 9, 0.38) 100%
        );

    pointer-events: none;
}

    

.hero-content {
    width: 100%;
    max-width: 790px;
}

.hero-tag {
    display: inline-block;
    margin-bottom: 25px;
    color: #a4afbc;
}

.hero h1 {
    max-width: 760px;
    font-size: clamp(3.6rem, 5.7vw, 6rem);
    line-height: 0.93;
    letter-spacing: -4px;
    font-weight: 500;
}

.hero h1 span {
    display: block;
    margin-top: 10px;
    color: var(--accent);
    text-shadow: 0 0 36px rgba(108, 174, 255, 0.12);
}

.hero p {
    max-width: 640px;
    margin-top: 25px;
    color: #a0aab7;
    font-size: 1.14rem;
    line-height: 1.72;
}

/* =========================================================
   SERVIÇOS / PROJETOS / SEÇÕES ESCURAS
========================================================= */

.services {
    position: relative;
    overflow: hidden;
    padding: 135px 7%;
    background: transparent;
}



.services + .services {
    background: transparent;
}

.services + .services .hero-actions {
    justify-content: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 70px;
}

.service-card {
    position: relative;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 36px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.026), rgba(255, 255, 255, 0.008));
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.14);
    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        background 0.35s ease,
        box-shadow 0.35s ease;
}

.service-card::before {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    top: -145px;
    right: -125px;
    border-radius: 50%;
    background: rgba(190, 205, 225, 0.045);
    filter: blur(64px);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(108, 174, 255, 0.20);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.032), rgba(108, 174, 255, 0.012));
    box-shadow:
        0 26px 72px rgba(0, 0, 0, 0.30),
        0 0 34px rgba(108, 174, 255, 0.022);
}

.service-card:hover::before {
    opacity: 1;
}

.service-number {
    position: relative;
    z-index: 2;
    margin-bottom: auto;
    color: #8390a0;
    font-size: 0.75rem;
    font-weight: 650;
    letter-spacing: 3px;
}

.service-card h3 {
    position: relative;
    z-index: 2;
    max-width: 500px;
    margin-top: 66px;
    color: var(--text);
    font-size: 1.75rem;
    line-height: 1.15;
    font-weight: 500;
}

.service-card p {
    position: relative;
    z-index: 2;
    max-width: 540px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 0.97rem;
    line-height: 1.68;
}

.service-list {
    position: relative;
    z-index: 2;
    margin-top: 22px;
    padding-left: 20px;
    color: #abb4c0;
    font-size: 0.94rem;
    line-height: 1.82;
}

.service-list li::marker {
    color: #8d99a8;
}

/* =========================================================
   PROJETOS
========================================================= */

.project-image {
    position: relative;
    z-index: 2;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: top;
    margin-bottom: 26px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.075);
    filter: saturate(0.92) brightness(0.92);
    transition: filter 0.35s ease, transform 0.35s ease;
}

.service-card:hover .project-image {
    filter: saturate(1) brightness(1);
    transform: scale(1.012);
}

.project-status {
    position: relative;
    z-index: 2;
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 18px;
    padding: 7px 10px;
    color: #9aa5b3;
    font-size: 0.65rem;
    font-weight: 650;
    letter-spacing: 1.5px;
    border: 1px solid rgba(205, 218, 234, 0.11);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.018);
}

.project-real {
    color: #dfe7f0;
    border-color: rgba(108, 174, 255, 0.20);
    background: rgba(108, 174, 255, 0.035);
}

.project-link {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    margin-top: 26px;
    color: var(--accent-strong);
    font-size: 0.91rem;
    font-weight: 650;
    transition: color 0.25s ease, transform 0.25s ease;
}

.project-link:hover {
    color: #fff;
    transform: translateX(5px);
}


/* =========================================================
   DECK ORBITAL — HOME
========================================================= */

.orbital-showcase {
    position: relative;
    padding: 65px 7% 75px;
    background: transparent;
}

.orbital-deck {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1400px;
    margin: 32px auto 20px;
    padding: 28px 18px 36px;
}

/* Estrutura das cartas */

.orbital-card {
    --rotation: 0deg;
    --offset: 0px;

    position: relative;
    isolation: isolate;
    display: block;
    flex: 0 0 clamp(240px, 28vw, 350px);
    min-width: 0;
    min-height: 410px;
    margin-left: -35px;
    overflow: hidden;

    color: #f3f6fa;
    background: transparent;
    border: 1px solid rgba(175, 205, 245, 0.20);
    border-radius: 22px;

    box-shadow:
        0 30px 75px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);

    transform:
        translateY(var(--offset))
        rotate(var(--rotation));

    transition:
        transform 0.45s cubic-bezier(.2,.8,.2,1),
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.orbital-card:first-child {
    margin-left: 0;
}

/* Distribuição em leque */

.orbital-card--left {
    --rotation: -9deg;
    --offset: 25px;
    z-index: 1;
}

.orbital-card--featured {
    --rotation: 0deg;
    --offset: -18px;
    z-index: 3;
    border-color: rgba(108, 174, 255, 0.48);
}

.orbital-card--right {
    --rotation: 9deg;
    --offset: 25px;
    z-index: 2;
}

/* Interação */

.orbital-card:hover,
.orbital-card:focus-visible {
    z-index: 5;

    transform:
        translateY(-35px)
        rotate(0deg)
        scale(1.045);

    border-color: rgba(108, 174, 255, 0.85);

    box-shadow:
        0 40px 90px rgba(0, 0, 0, 0.70),
        0 0 40px rgba(108, 174, 255, 0.15);
}

.orbital-card:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

/* Imagem do projeto */

.orbital-card__image {
    display: block;
    width: 100%;
    height: 215px;
    object-fit: cover;
    object-position: top center;

    filter: brightness(0.85) saturate(0.9);

    transition:
        filter 0.35s ease,
        transform 0.45s ease;
}

.orbital-card:hover .orbital-card__image {
    filter: brightness(1) saturate(1);
    transform: scale(1.045);
}

/* Conteúdo */

.orbital-card__body {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;

    min-height: 195px;
    padding: 23px 24px 26px;

    background: linear-gradient(
    180deg,
    rgba(1, 3, 8, 0.18) 0%,
    rgba(1, 3, 8, 0.42) 100%
);

backdrop-filter: blur(4px);
-webkit-backdrop-filter: blur(4px);
}

.orbital-card__status {
    color: #91a2b7;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 1.8px;
}

.orbital-card--featured .orbital-card__status {
    color: #8fc2ff;
}

.orbital-card__body h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.55rem;
    font-weight: 550;
    line-height: 1.15;
}

.orbital-card__body p {
    flex: 1;
    margin: 0;
    color: #b9c6d5;
    font-size: 0.83rem;
    line-height: 1.6;
}

.orbital-card__cta {
    margin-top: auto;
    color: #8fc2ff;
    font-size: 0.83rem;
    font-weight: 650;
}

.orbital-deck__footer {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.orbital-deck__hint {
    display: none;
}

/* =========================================================
   DECK ORBITAL — MOBILE
========================================================= */

@media (max-width: 760px) {

    .orbital-showcase {
        padding: 95px 7% 105px;
    }

    .orbital-deck {
        justify-content: flex-start;
        gap: 16px;
        perspective: none;

        margin: 35px -7vw 5px;
        padding: 18px 7vw 30px;

        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 7vw;
        scrollbar-width: none;
    }

    .orbital-deck::-webkit-scrollbar {
        display: none;
    }

    .orbital-card,
    .orbital-card:first-child {
        flex: 0 0 min(79vw, 325px);
        min-height: 395px;
        margin-left: 0;

        transform: none;
        scroll-snap-align: center;
    }

    .orbital-card:hover,
    .orbital-card:focus-visible {
        transform: translateY(-4px);
    }

    .orbital-card__image {
        height: 190px;
    }

    .orbital-deck__hint {
        display: block;
        margin-top: 5px;
        color: #a8b8ca;
        font-size: 0.76rem;
        text-align: center;
    }

    .orbital-deck__footer {
        margin-top: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .orbital-card,
    .orbital-card__image {
        transition: none;
    }
}

/* =========================================================
    MONTE SEU PROJETO
========================================================= */

.project-builder {
    min-height: 100vh;
    position: relative;
    overflow: visible;
    padding: 150px 7% 100px;
    background: transparent;
}

.launch-price {
    width: fit-content;
    margin: 35px auto 60px;
    padding: 9px 15px;
    color: #c5cfda;
    font-size: 0.69rem;
    font-weight: 650;
    letter-spacing: 2px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.018);
}

.builder-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.6fr);
    gap: 35px;
    align-items: start;
}

.builder-options h2 {
    margin-bottom: 25px;
    color: #e8edf3;
    font-size: 1.45rem;
    font-weight: 500;
}

.project-options,
.extras-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-options {
    gap: 16px;
}

.extras-grid {
    gap: 12px;
}

.builder-card {
    min-height: 210px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 25px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.018);
    border: 1px solid var(--line);
    border-radius: 16px;
    transition:
        transform 0.28s ease,
        background 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease;
}

.builder-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.027);
    border-color: rgba(108, 174, 255, 0.19);
}

.builder-card:has(input:checked),
.extra-option:has(input:checked),
.quantity-option.is-active {
    border-color: rgba(108, 174, 255, 0.50);
    background: rgba(108, 174, 255, 0.04);
    box-shadow: 0 0 26px rgba(108, 174, 255, 0.035);
}

.builder-card {
    position: relative;
}

.builder-card input[type="radio"] {
    position: absolute;
    top: 27px;
    right: 25px;
    width: 17px;
    height: 17px;
    margin: 0;
}

.builder-card-title {
    color: #fff;
    font-size: 1.17rem;
    font-weight: 650;
}

.builder-card-description {
    flex: 1;
    color: #bdc9d9;
    font-size: 0.91rem;
    line-height: 1.62;
}

.builder-card strong,
.extra-option strong,
#additional-page-quantity {
    color: var(--accent-strong);
}

.builder-card strong {
    font-size: 0.93rem;
}

.builder-step {
    margin-top: 58px;
}

.builder-note {
    margin: -12px 0 25px;
    color: #aebacd;
    font-size: 0.89rem;
    line-height: 1.6;
}

.extra-option {
    min-height: 70px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 18px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.016);
    border: 1px solid var(--line);
    border-radius: 12px;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

.extra-option:hover {
    border-color: rgba(108, 174, 255, 0.18);
    background: rgba(255, 255, 255, 0.022);
}

.extra-option > span {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    color: #d8dfe7;
}

.extra-option > span small {
    color: #aebacd;
    font-size: 0.78rem;
    font-weight: 400;
    line-height: 1.5;
}

.extra-option:has(> span small) {
    align-items: start;
}

.extra-option:has(> span small) > input {
    margin-top: 5px;
}

.extra-option:has(> span small) > strong {
    margin-top: 2px;
}

.extra-option strong {
    font-size: 0.86rem;
}

/* =========================
   CONTADOR DE PÁGINAS
========================= */

.quantity-option {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "copy price"
        "copy control";
    row-gap: 12px;
    cursor: default;
}

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

.quantity-option-copy {
    grid-area: copy;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.quantity-option-copy span {
    color: #dce3eb;
    font-size: 0.95rem;
    font-weight: 500;
}

.quantity-option-copy small {
    color: #74808e;
    font-size: 0.75rem;
    line-height: 1.45;
}

.quantity-unit-price {
    grid-area: price;
    align-self: start;
    white-space: nowrap;
}

.quantity-control {
    grid-area: control;
    display: grid;
    grid-template-columns: 36px 44px 36px;
    align-items: center;
    overflow: hidden;
    background: #04080d;
    border: 1px solid rgba(205, 218, 234, 0.10);
    border-radius: 10px;
}

.quantity-button {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aeb8c5;
    background: transparent;
    border: 0;
    font-size: 1.15rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.22s ease, background 0.22s ease;
}

.quantity-button:hover:not(:disabled) {
    color: #fff;
    background: rgba(108, 174, 255, 0.08);
}

.quantity-button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
}

.quantity-button:disabled {
    opacity: 0.28;
    cursor: not-allowed;
}

#additional-page-quantity {
    min-width: 44px;
    font-size: 0.9rem;
    font-weight: 650;
    text-align: center;
    user-select: none;
}

/* =========================
   RESUMO DO CONFIGURADOR
========================= */

.builder-summary {
    position: sticky;
    top: 120px;
    /* Impede que um orçamento longo entre atrás do cabeçalho fixo. */
    max-height: calc(100vh - 140px);
    max-height: calc(100dvh - 140px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(143, 194, 255, 0.30) transparent;
    padding: 32px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.006)),
        #03070c;
    border: 1px solid rgba(205, 218, 234, 0.10);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.builder-summary .section-tag {
    text-align: left;
}

.builder-summary h2 {
    margin-top: 5px;
    font-size: 2rem;
    font-weight: 500;
}

.builder-summary p {
    margin-top: 18px;
    color: #bbc9d8;
    line-height: 1.62;
}

#estimate-items {
    margin-top: 25px;
}

.estimate-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.estimate-list li {
    padding-bottom: 10px;
    color: #c9d1db;
    font-size: 0.89rem;
    line-height: 1.5;
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.estimate-recurring {
    margin-top: 22px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: rgba(255, 255, 255, 0.018);
    border: 1px solid rgba(205, 218, 234, 0.085);
    border-radius: 12px;
}

.estimate-recurring span {
    color: #909aa8;
    font-size: 0.8rem;
}

.estimate-recurring strong {
    color: var(--accent-strong);
    font-size: 1.03rem;
}

.builder-summary small {
    display: block;
    margin-top: 28px;
    color: #a8b7c7;
    font-size: 0.77rem;
    line-height: 1.6;
}

.builder-contact {
    width: 100%;
    margin-top: 28px;
}

.builder-summary.estimate-pulse {
    animation: estimatePulse 0.48s ease;
}

@keyframes estimatePulse {
    0%, 100% {
        box-shadow: var(--shadow), 0 0 0 rgba(108, 174, 255, 0);
    }
    45% {
        box-shadow: var(--shadow), 0 0 30px rgba(108, 174, 255, 0.09);
    }
}

/* =========================================================
    CONTATO
========================================================= */

.contact {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    padding: 150px 7% 100px;
    background: transparent;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
    gap: 40px;
    margin-top: 65px;
    align-items: start;
}

.contact-form,
.contact-info {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.20);
}

.contact-form {
    padding: 35px;
    background: rgba(255, 255, 255, 0.018);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 22px;
}

.form-group label {
    color: #cdd5df;
    font-size: 0.86rem;
    font-weight: 500;
}

.form-group > input,
.form-group textarea {
    width: 100%;
    padding: 15px 16px;
    color: #fff;
    background: #04080d;
    border: 1px solid rgba(205, 218, 234, 0.10);
    border-radius: 10px;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.form-group textarea {
    min-height: 190px;
    resize: vertical;
    line-height: 1.6;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #626d7a;
}

.form-group > input:focus,
.form-group textarea:focus,
.iti input:focus {
    border-color: rgba(108, 174, 255, 0.55);
    box-shadow: 0 0 0 3px rgba(108, 174, 255, 0.07);
}

.contact-submit {
    width: 100%;
    margin-top: 8px;
    border: none;
}

.contact-info {
    position: sticky;
    top: 120px;
    padding: 35px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.024), rgba(255, 255, 255, 0.006)),
        #03070c;
}

.contact-info .section-tag {
    text-align: left;
}

.contact-info h2 {
    margin-top: 8px;
    color: #fff;
    font-size: 2rem;
    line-height: 1.15;
    font-weight: 500;
}

.contact-info p {
    margin-top: 22px;
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.72;
}

.contact-highlight {
    margin-top: 32px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.contact-highlight strong {
    color: var(--accent-strong);
    font-size: 1.03rem;
    font-weight: 500;
}

/* =========================================================
    INTL TEL INPUT
========================================================= */

.iti {
    width: 100%;
    --iti-border-color: #252b33;
    --iti-country-selector-bg: #05090e;
    --iti-icon-color: #8f9aaa;
    --iti-hover-color: #0c1118;
}

.iti input {
    width: 100%;
    height: 50px;
    color: var(--text);
    background: #04080d;
    border: 1px solid #252b33;
    border-radius: 10px;
    font-family: inherit;
    font-size: 15px;
    outline: none;
}

.iti input::placeholder {
    color: #687482;
}

.iti__selected-country {
    background: transparent;
    border-radius: 10px 0 0 10px;
}

.iti__selected-country:hover {
    background: #0c1118;
}

.iti__selected-dial-code {
    color: #b8c2ce;
}

.iti__country-selector {
    overflow: hidden;
    margin-top: 7px;
    color: var(--text);
    background: #05090e;
    border: 1px solid #252b33;
    border-radius: 10px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.50);
}

.iti__search-input {
    padding: 13px 14px 13px 44px !important;
    color: var(--text) !important;
    background: #080d13 !important;
    border: none !important;
    border-bottom: 1px solid #252b33 !important;
    border-radius: 0 !important;
    font-family: inherit;
    font-size: 14px;
}

.iti__search-input::placeholder {
    color: #687482;
}

.iti__country-list {
    background: #05090e;
}

.iti__country {
    padding-top: 10px;
    padding-bottom: 10px;
    color: #dce3eb;
}

.iti__country:hover,
.iti__country.iti__highlight {
    background: #0d131b;
}

.iti__country[aria-selected="true"] {
    background: #101820;
}

.iti__country-name {
    color: #dce3eb;
}

.iti__dial-code,
.iti__search-icon,
.iti__arrow,
.iti__country-check {
    color: #89baff;
}

.iti__country-list::-webkit-scrollbar {
    width: 8px;
}

.iti__country-list::-webkit-scrollbar-track {
    background: #05090e;
}

.iti__country-list::-webkit-scrollbar-thumb {
    background: #29313b;
    border-radius: 10px;
}

.iti__country-list::-webkit-scrollbar-thumb:hover {
    background: #384553;
}

/* =========================================================
    PÁGINA SOBRE
========================================================= */

.about-page {
    --about-text: #f2f5f8;
    --about-text-soft: #eef4fc;
    --about-muted: #dce8f5;

    --about-line: rgba(205, 218, 234, 0.08);
    --about-line-strong: rgba(205, 218, 234, 0.13);
    background: transparent;
}

.about-page .section-tag {
    color: #bdcad9;
}

/* =========================
    HERO SOBRE
========================= */

.about-hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 150px 7% 90px;
    background: transparent;
}

.about-hero-content {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 900px;
}

.about-hero .section-tag {
    text-align: left;
}

.about-hero h1 {
    max-width: 900px;
    color: var(--about-text);
    font-size: clamp(3.5rem, 7vw, 7rem);
    line-height: 0.92;
    letter-spacing: -5px;
    font-weight: 500;
}

.about-hero h1 span {
    display: block;
    margin-top: 12px;
    color: var(--accent);
}

.about-hero p {
    max-width: 650px;
    margin-top: 30px;
    color: var(--about-muted);
    text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.85),
    0 0 18px rgba(0, 0, 0, 0.6);

    font-size: 1.15rem;
    line-height: 1.75;
}


.about-scroll-indicator {
    width: fit-content;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 70px;
    color: #8995a3;
}

.about-scroll-indicator span {
    font-size: 0.68rem;
    font-weight: 650;
    letter-spacing: 3px;
}

.about-scroll-line {
    width: 1px;
    height: 55px;
    margin-left: 5px;
    background: linear-gradient(to bottom, rgba(202, 214, 229, 0.72), rgba(108, 174, 255, 0.22), transparent);
    animation: scrollSignal 2s ease-in-out infinite;
}

@keyframes scrollSignal {
    0%, 100% {
        opacity: 0.35;
        transform: scaleY(0.7);
    }
    50% {
        opacity: 0.9;
        transform: scaleY(1);
    }
}

/* =========================
    ORIGEM
========================= */

.about-intro {
    padding: 140px 7%;
    background: transparent;
    border-top: 1px solid var(--about-line);
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 90px;
    align-items: start;
}

.about-intro-title .section-tag {
    text-align: left;
}

.about-intro-title h2 {
    max-width: 580px;
    color: var(--about-text);
    font-size: clamp(2.8rem, 5vw, 5rem);
    line-height: 1;
    letter-spacing: -3px;
    font-weight: 500;
}

.about-intro-copy {
    max-width: 650px;
    padding-top: 50px;
}

.about-intro-copy p {
    margin-top: 24px;
    color: var(--about-muted);
    font-size: 1rem;
    line-height: 1.85;
}

.about-intro-copy .about-lead {
    margin-top: 0;
    color: var(--about-text-soft);
    font-size: 1.35rem;
    line-height: 1.6;
}

/* =========================
    TRAJETÓRIA
========================= */

.about-mission {
    position: relative;
    padding: 140px 7%;
    background: transparent;
}

.about-mission-heading {
    margin-bottom: 82px;
}

.mission-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.38fr);
    gap: 70px;
    align-items: start;
}

.mission-path {
    position: relative;
    padding-left: 70px;
}

.mission-progress {
    position: absolute;
    left: 18px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(210, 222, 237, 0.065);
}

.mission-progress-line {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom, #86bcff, #4f8ee3, #2c5c9e);
    box-shadow: 0 0 14px rgba(108, 174, 255, 0.24);
}

.mission-object {
    position: absolute;
    left: 50%;
    top: 0%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    background: #050a10;
    border: 1px solid rgba(108, 174, 255, 0.42);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(108, 174, 255, 0.16);
}

.mission-object span {
    width: 5px;
    height: 5px;
    background: #8bc3ff;
    border-radius: 50%;
    box-shadow: 0 0 9px rgba(108, 174, 255, 0.65);
}

.mission-step {
    min-height: 270px;
    position: relative;
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 30px;
    padding: 0 0 55px;
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.mission-step:last-child {
    min-height: auto;
    padding-bottom: 0;
}

.mission-number {
    color: rgba(195, 210, 229, 0.72);
    font-size: 0.86rem;
    font-weight: 650;
    letter-spacing: 2px;
    transition: color 0.4s ease, transform 0.4s ease, text-shadow 0.4s ease;
}

.mission-step-content {
    max-width: 620px;
    position: relative;
    transition: opacity 0.45s ease, transform 0.45s ease, filter 0.45s ease;
}

.mission-step-content > span {
    display: block;
    margin-bottom: 14px;
    color: #b7c5d6;
    font-size: 0.69rem;
    font-weight: 650;
    letter-spacing: 4px;
    transition: color 0.4s ease, text-shadow 0.4s ease, letter-spacing 0.4s ease;
}

.mission-step-content h3 {
    color: #e9edf2;
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    line-height: 1.12;
    font-weight: 500;
    transition: color 0.4s ease, text-shadow 0.4s ease;
}

.mission-step-content p {
    margin-top: 18px;
    color: #d0dae6;
    font-size: 1rem;
    line-height: 1.75;
}

.mission-step.is-visible:not(.is-current) .mission-step-content {
    opacity: 0.88;
    transform: translateX(0);
    filter: saturate(0.55);
}

.mission-step.is-current .mission-step-content {
    opacity: 1;
    transform: translateX(10px);
    filter: saturate(1);
}

.mission-step.is-current .mission-step-content h3 {
    color: #fff;
    text-shadow: 0 0 24px rgba(108, 174, 255, 0.10);
}

.mission-step.is-current .mission-step-content > span {
    color: var(--accent-strong);
    letter-spacing: 4.5px;
    text-shadow: 0 0 14px rgba(108, 174, 255, 0.20);
}

.mission-step.is-current .mission-number {
    color: var(--accent);
    transform: translateX(5px);
    text-shadow: 0 0 12px rgba(108, 174, 255, 0.22);
}

.mission-step-content::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    left: -70px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(108, 174, 255, 0.032);
    border-radius: 50%;
    filter: blur(58px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s ease;
}

.mission-step.is-current .mission-step-content::before {
    opacity: 1;
}

.mission-step-content > * {
    position: relative;
    z-index: 2;
}

/* =========================
    TELEMETRIA
========================= */

.mission-console {
    position: sticky;
    top: 125px;
    overflow: hidden;
    padding: 28px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.024), rgba(255, 255, 255, 0.008)),
        #03070c;
    border: 1px solid var(--about-line-strong);
    border-radius: 16px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
    transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.mission-console-label {
    display: block;
    padding-bottom: 18px;
    color: #afbed0;
    font-size: 0.62rem;
    font-weight: 650;
    letter-spacing: 2.5px;
    border-bottom: 1px solid var(--about-line);
}

.mission-console-status {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: 28px;
}

.mission-console-status span {
    color: #b4c2d2;
    font-size: 0.67rem;
    letter-spacing: 2px;
}

.mission-console-status strong {
    color: var(--accent);
    font-size: 2.5rem;
    font-weight: 300;
}

.mission-console-name {
    margin-top: 12px;
    padding-bottom: 24px;
    color: #f2f5f8;
    font-size: 1.4rem;
    letter-spacing: 3px;
    border-bottom: 1px solid var(--about-line);
}

.mission-console-data {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 24px;
}

.mission-console-data div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mission-console-data span {
    color: #acbbcd;
    font-size: 0.6rem;
    letter-spacing: 2px;
}

.mission-console-data strong {
    color: #d3deeb;
    font-size: 0.73rem;
    font-weight: 500;
}

.mission-signal {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 28px;
    color: var(--accent-strong);
    font-size: 0.65rem;
    font-weight: 650;
    letter-spacing: 1.5px;
}

.mission-signal span {
    width: 7px;
    height: 7px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(108, 174, 255, 0.60);
    animation: signalPulse 1.5s infinite;
}

@keyframes signalPulse {
    50% {
        opacity: 0.25;
    }
}

.mission-console.is-updating {
    border-color: rgba(108, 174, 255, 0.28);
    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.22),
        0 0 28px rgba(108, 174, 255, 0.045);
}

#mission-current-number,
#mission-current-name {
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.mission-console.is-updating #mission-current-number,
.mission-console.is-updating #mission-current-name {
    opacity: 0.3;
    transform: translateY(-4px);
}

/* =========================
    FUNDADOR
========================= */

.about-founder {
    padding: 150px 7%;
    background: transparent;
    border-top: 1px solid var(--about-line);
}

.founder-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 100px;
    align-items: center;
}

.founder-visual {
    min-height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        radial-gradient(circle, rgba(166, 181, 201, 0.035), transparent 52%),
        #03070c;
    border: 1px solid var(--about-line);
    border-radius: 22px;
    box-shadow:
        inset 0 0 70px rgba(255, 255, 255, 0.008),
        0 28px 80px rgba(0, 0, 0, 0.20);
}

/* Fotografia do fundador */
.founder-photo {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

.founder-content .section-tag {
    text-align: left;
}

.founder-content h2 {
    max-width: 720px;
    color: var(--about-text);
    font-size: clamp(2.6rem, 4.5vw, 4.5rem);
    line-height: 1;
    letter-spacing: -3px;
    font-weight: 500;
}


.founder-content > p {
    max-width: 680px;
    margin-top: 25px;
    color: #e0e6ee;
    line-height: 1.8;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}

.founder-content > p strong {
    color: #d8dfe7;
    font-weight: 500;
}

.founder-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 38px;
}

.founder-meta div {
    padding: 18px;
    background: rgba(255, 255, 255, 0.018);
    border: 1px solid var(--about-line);
    border-radius: 12px;
}


.founder-meta span {
    display: block;
    color: #c5d3e5;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85);
}


.founder-meta strong {
    display: block;
    margin-top: 8px;
    color: #c7d0da;
    font-size: 0.78rem;
    font-weight: 500;
}

/* =========================
    VISÃO / FINAL
========================= */

.about-vision {
    position: relative;
    overflow: hidden;
    padding: 170px 7%;
    background: transparent;
}

.vision-content {
    max-width: 1050px;
    margin: 0 auto;
    text-align: center;
}

.vision-eyebrow {
    margin-bottom: 25px;
    color: #b7c6d7;
    font-size: 1.1rem;
}

.vision-content h2 {
    color: var(--about-text);
    font-size: clamp(3rem, 6vw, 6rem);
    line-height: 0.98;
    letter-spacing: -4px;
    font-weight: 500;
}

.vision-content h2 span {
    display: block;
    margin-top: 12px;
    color: var(--accent);
}

.vision-content > p:last-child {
    max-width: 720px;
    margin: 35px auto 0;
    color: #c4d0de;
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-final {
    min-height: 75vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 140px 7%;
    background: transparent;
    border-top: 1px solid var(--about-line);
}

.about-final-glow {
    position: absolute;
    width: 700px;
    height: 700px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: rgba(108, 174, 255, 0.025);
    border-radius: 50%;
    filter: blur(110px);
}

.about-final-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-final-content h2 {
    color: var(--about-text);
    font-size: clamp(3.2rem, 6vw, 6rem);
    line-height: 0.95;
    letter-spacing: -4px;
    font-weight: 500;
}

.about-final-content h2 span {
    display: block;
    margin-top: 12px;
    color: var(--accent);
}

.about-final-content p {
    max-width: 620px;
    margin: 28px auto 0;
    color: #c3cfdd;
    font-size: 1.05rem;
    line-height: 1.75;
}

.about-final-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 42px;
}

.about-reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* =========================================================
    RESPONSIVO
========================================================= */

@media (max-width: 1100px) {
    .nav {
        gap: 23px;
    }

    .nav a {
        font-size: 0.88rem;
    }
}

@media (max-width: 1000px) {
    .header {
        flex-direction: column;
        gap: 18px;
        padding: 20px 5%;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 18px 24px;
    }

    .hero {
        padding: 180px 6% 70px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .builder-layout,
    .contact-layout,
    .mission-layout,
    .about-intro-grid,
    .founder-grid {
        grid-template-columns: 1fr;
    }

    .builder-summary,
    .contact-info,
    .mission-console {
        position: static;
    }

    /* Coluna única: resumo inteiro visível, sem rolagem interna. */
    .builder-summary {
        max-height: none;
        overflow: visible;
    }

    .founder-grid,
    .about-intro-grid {
        gap: 50px;
    }

    .about-intro-copy {
        padding-top: 0;
    }

}

@media (max-width: 700px) {
    :root {
        --header-h: 78px;
    }

    .header {
        position: relative;
        top: 12px;
        min-height: 78px;
        flex-direction: row;
        justify-content: space-between;
        gap: 0;
        padding: 14px 5%;
    }

    .brand-logo {
        width: clamp(164px, 48vw, 210px);
    }

    .menu-toggle {
        display: flex;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 24px 5%;
        flex-direction: column;
        align-items: center;
        gap: 22px;
        background: rgba(1, 3, 9, 0.985);
        border-top: 1px solid rgba(255, 255, 255, 0.055);
        border-bottom: 1px solid rgba(255, 255, 255, 0.055);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }

    .nav.active {
        display: flex;
    }

    .nav a::after {
    bottom: -6px;
}

.hero {
    min-height: calc(100svh - 78px);
    padding: 38px 6% 36px;
}

    .hero h1 {
        font-size: 3.15rem;
        line-height: 0.96;
        letter-spacing: -2px;
    }

    .hero p {
        margin-top: 18px;
        font-size: 1rem;
    }

    .hero-tag {
        font-size: 0.65rem;
        letter-spacing: 3px;
    }

    .hero-actions,
    .about-final-actions {
        flex-direction: column;
    }

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

    .btn,
    .about-final-actions .btn {
        width: 100%;
    }

    .services,
    .project-builder,
    .contact,
    .about-intro,
    .about-mission,
    .about-founder,
    .about-vision,
    .about-final {
        padding-left: 5%;
        padding-right: 5%;
    }

    .services,
    .about-intro,
    .about-mission,
    .about-founder,
    .about-vision,
    .about-final {
        padding-top: 90px;
        padding-bottom: 90px;
    }

    .project-builder,
    .contact {
        padding-top: 95px;
        padding-bottom: 70px;
    }

    .section-title {
        font-size: clamp(2.4rem, 11vw, 3.7rem);
        letter-spacing: -2px;
    }

    .contact .section-title {
        max-width: 100%;
        font-size: clamp(2.05rem, 9.2vw, 3rem);
        line-height: 1.02;
        letter-spacing: -1.5px;
        overflow-wrap: normal;
    }

    .section-description {
        font-size: 0.98rem;
    }

    .services-grid {
        margin-top: 50px;
    }

    .service-card {
        min-height: 260px;
        padding: 27px;
    }

    .service-card h3 {
        margin-top: 50px;
        font-size: 1.5rem;
    }

    .project-options,
    .extras-grid {
        grid-template-columns: 1fr;
    }

    .builder-step {
        margin-top: 45px;
    }

    .contact-layout {
        margin-top: 45px;
    }

    .contact-form,
    .contact-info,
    .builder-summary {
        padding: 24px;
    }

    .contact-info h2 {
        font-size: 1.65rem;
    }

    .about-hero {
        min-height: calc(100svh - 78px);
        padding: 80px 6% 60px;
    }

    .about-hero h1 {
        font-size: 3.2rem;
        letter-spacing: -3px;
    }

    .about-hero p {
        font-size: 1rem;
    }

    .about-mission-heading {
        margin-bottom: 65px;
    }

    .mission-path {
        padding-left: 38px;
    }

    .mission-progress {
        left: 7px;
    }

    .mission-step {
        min-height: 240px;
        grid-template-columns: 1fr;
        gap: 10px;
        padding-bottom: 42px;
    }

    .mission-step.is-current .mission-step-content {
        transform: translateX(5px);
    }

    .mission-step-content::before {
        width: 170px;
        height: 170px;
    }

    .founder-visual {
        min-height: 380px;
    }

    .founder-meta {
        grid-template-columns: 1fr;
    }

    .vision-content h2,
    .about-final-content h2 {
        letter-spacing: -2.5px;
    }
}

@media (max-width: 460px) {
    .quantity-option {
        grid-template-columns: 1fr;
        grid-template-areas:
            "copy"
            "price"
            "control";
    }

    .quantity-control {
        width: fit-content;
        margin-top: 2px;
    }

    .quantity-unit-price {
        margin-top: 2px;
    }
}

/* =========================================================
    ACESSIBILIDADE
========================================================= */

:focus-visible {
    outline: 2px solid rgba(108, 174, 255, 0.72);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .about-reveal {
        opacity: 1;
        transform: none;
    }
}
/* =========================================================
    EXPERIÊNCIA NEBULOSA
========================================================= */

.nebula-experience {
    position: relative;

    min-height: 55vh;
    padding: 65px 0 45px;

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

    overflow: hidden;

    background: transparent;
}


/* Canvas 3D */

#nebula-canvas {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    display: block;

    z-index: 1;

    pointer-events: none;
}


/* Camada cinematográfica */

.nebula-experience::before {
    display: none;
}


/* Conteúdo */

.nebula-experience-content {
    position: relative;

    z-index: 5;

    width: min(1100px, 90%);
    margin: 0 auto;

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

    text-align: center;
}


.nebula-experience-content .section-tag {
    display: block;

    margin-bottom: 28px;

    text-align: center;
}


.nebula-experience-content h2 {
    width: 100%;
    max-width: 1100px;

    margin: 0 auto;

    font-size: clamp(3.5rem, 6vw, 6.5rem);
    line-height: 0.95;

    letter-spacing: -4px;
    font-weight: 500;

    text-align: center;
}


.nebula-experience-content h2 span {
    display: block;

    margin-top: 12px;

    color: var(--accent);

    font-size: inherit;
    line-height: inherit;
}


.nebula-experience-content p {
    max-width: 700px;

    margin: 30px auto 0;

    color: var(--muted);

    font-size: 1.05rem;
    line-height: 1.75;

    text-align: center;
}


/* Mobile */

@media (max-width: 600px) {

    .nebula-experience {
        min-height: 85vh;
    }

    .nebula-experience-content {
        width: 90%;
    }

    .nebula-experience-content h2 {
        font-size: 3.1rem;
        line-height: 0.98;

        letter-spacing: -2px;
    }

    .nebula-experience-content p {
        font-size: 0.95rem;
    }

}

/* =========================================================
    CONTATO + FOOTER GLOBAL
========================================================= */

.site-footer {
    position: relative;
    padding: 58px 7% 26px;

    background:
        linear-gradient(
            180deg,
            rgba(1, 3, 8, 0.18) 0%,
            rgba(1, 3, 8, 0.42) 100%
        );

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

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

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;

    background:
        radial-gradient(circle at 70% 20%, rgba(92, 140, 255, 0.08), transparent 38%),
        radial-gradient(circle at 25% 80%, rgba(255, 140, 60, 0.06), transparent 32%);

    opacity: 1;
}


.site-footer-inner {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1280px;

    margin: 0 auto;
}


/* =========================
    CONTEÚDO PRINCIPAL
========================= */

.footer-main {
    display: grid;

    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(480px, 1.1fr);

    align-items: end;

    gap: 80px;
}


.footer-brand {
    max-width: 570px;
}


.footer-kicker {
    display: block;

    margin-bottom: 20px;

    color: var(--accent);

    font-size: 0.66rem;
    font-weight: 700;

    letter-spacing: 4px;

    text-transform: uppercase;
}


.footer-brand h2 {
    color: #f4f7fb;

    font-size: clamp(2.4rem, 4.2vw, 4.6rem);

    line-height: 0.98;

    letter-spacing: -3px;

    font-weight: 500;
}


.footer-brand h2 span {
    display: block;

    margin-top: 8px;

    color: #8f9baa;
}


.footer-tagline {
    margin-top: 24px;

    color: #7f8b99;

    font-size: 0.92rem;

    line-height: 1.65;
}


/* =========================
   REDES SOCIAIS
========================= */
.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.footer-social {
    width: 56px;
    height: 56px;
    min-height: 56px;

    display: grid;
    place-items: center;

    padding: 0;
    gap: 0;

    flex: 0 0 56px;

    color: #cfd8e3;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.04),
            rgba(255, 255, 255, 0.015)
        );

    border: 1px solid rgba(205, 218, 234, 0.12);
    border-radius: 16px;

    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.20),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);

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

.footer-social:hover {
    transform: translateY(-3px);
    color: #ffffff;

    background:
        linear-gradient(
            145deg,
            rgba(108, 174, 255, 0.18),
            rgba(8, 14, 24, 0.98)
        );

    border-color: rgba(108, 174, 255, 0.42);

    box-shadow:
        0 14px 32px rgba(0, 0, 0, 0.28),
        0 0 20px rgba(108, 174, 255, 0.14);
}

.footer-social-icon {
    width: 22px;
    height: 22px;

    display: grid;
    place-items: center;

    flex: none;

    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;

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

.footer-social:hover .footer-social-icon {
    transform: scale(1.08);
}

.footer-social-icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

.footer-social-name {
    display: none;
}


.footer-social:hover {
    transform: translateY(-4px);

    color: #ffffff;

    background:
        linear-gradient(
            145deg,
            rgba(108, 174, 255, 0.075),
            rgba(255, 255, 255, 0.018)
        );

    border-color:
        rgba(108, 174, 255, 0.32);

    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.28),
        0 0 26px rgba(108, 174, 255, 0.08);
}


.footer-social:hover .footer-social-icon {
    color: #ffffff;

    transform: scale(1.06);

    background:
        linear-gradient(
            145deg,
            rgba(108, 174, 255, 0.20),
            rgba(108, 174, 255, 0.07)
        );

    border-color:
        rgba(108, 174, 255, 0.42);

    box-shadow:
        0 0 22px rgba(108, 174, 255, 0.16);
}


/* =========================
   LINHA / ASSINATURA
========================= */

.footer-line {
    width: 100%;
    height: 1px;

    margin: 58px 0 24px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(205, 218, 234, 0.12) 12%,
            rgba(205, 218, 234, 0.12) 88%,
            transparent
        );
}


.footer-bottom {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


.footer-signature {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #7b8795;

    font-size: 0.76rem;
    letter-spacing: 0.5px;
}

.footer-sign-logo {
    width: 34px;

    height: 34px;

    flex: 0 0 34px;

    display: block;

    object-fit: contain;

    filter:
        drop-shadow(0 0 6px rgba(108, 174, 255, 0.22));
}

.footer-signature strong {
    color: #cfd8e3;

    font-weight: 600;
}


.footer-meta {
    display: flex;

    align-items: center;

    gap: 22px;

    color: #687482;

    font-size: 0.68rem;

    letter-spacing: 1px;

    text-transform: uppercase;
}


.footer-status {
    display: flex;

    align-items: center;

    gap: 8px;
}


.footer-status i {
    width: 6px;
    height: 6px;

    background: var(--accent);

    border-radius: 50%;

    box-shadow:
        0 0 8px rgba(108, 174, 255, 0.85),
        0 0 18px rgba(108, 174, 255, 0.32);
}


/* =========================================================
   DOCK FLUTUANTE
========================================================= */

.contact-dock {
    position: fixed;

    right: 24px;
    bottom: 24px;

    z-index: 950;

    display: flex;

    flex-direction: column;

    gap: 10px;

    transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s ease;

}

body:has(.universe-info.open) .contact-dock {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
}


.contact-dock-link {
    position: relative;

    width: 52px;
    height: 52px;

    display: grid;

    place-items: center;

    color: #dbe6f2;

    background:
        linear-gradient(
            145deg,
            rgba(13, 21, 32, 0.94),
            rgba(3, 8, 15, 0.96)
        );

    border:
        1px solid
        rgba(205, 218, 234, 0.16);

    border-radius: 15px;

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

    box-shadow:
        0 14px 34px rgba(0, 0, 0, 0.40),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);

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


.contact-dock-icon {
    width: 23px;
    height: 23px;

    display: grid;

    place-items: center;
}


.contact-dock-icon svg {
    width: 23px;
    height: 23px;

    display: block;
}


.contact-dock-link:hover {
    transform:
        translateY(-3px)
        scale(1.04);

    color: #ffffff;

    background:
        linear-gradient(
            145deg,
            rgba(108, 174, 255, 0.18),
            rgba(5, 12, 22, 0.97)
        );

    border-color:
        rgba(108, 174, 255, 0.50);

    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.48),
        0 0 26px rgba(108, 174, 255, 0.18);
}


/* Tooltip */

.contact-dock-link::after {
    content: attr(data-label);

    position: absolute;

    top: 50%;
    right: calc(100% + 12px);

    padding: 7px 10px;

    transform:
        translateY(-50%)
        translateX(5px);

    color: #e6edf5;

    background: rgba(3, 8, 15, 0.96);

    border:
        1px solid
        rgba(205, 218, 234, 0.12);

    border-radius: 7px;

    font-size: 0.66rem;

    font-weight: 600;

    letter-spacing: 0.7px;

    white-space: nowrap;

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s ease;
}


.contact-dock-link:hover::after {
    opacity: 1;

    visibility: visible;

    transform:
        translateY(-50%)
        translateX(0);
}


/* =========================
    ACESSIBILIDADE
========================= */

.footer-social:focus-visible,
.contact-dock-link:focus-visible {
    outline: 2px solid var(--accent);

    outline-offset: 3px;
}


/* =========================================================
   RESPONSIVO
========================================================= */

@media (max-width: 950px) {

    .footer-main {
        grid-template-columns: 1fr;

        gap: 48px;
    }

    .footer-brand {
        max-width: 700px;
    }

    .footer-socials {
        max-width: 700px;
    }

}


@media (max-width: 600px) {

    .site-footer {
        padding:
            62px
            6%
            24px;
    }

    .footer-brand h2 {
        font-size: 2.7rem;

        letter-spacing: -2px;
    }

    .footer-socials {
        grid-template-columns: 1fr;
    }

    .footer-social {
        min-height: 60px;
    }

    .footer-line {
        margin-top: 44px;
    }

    .footer-bottom {
        align-items: flex-start;

        flex-direction: column;

        gap: 15px;
    }

    .footer-signature {
        align-items: flex-start;

        flex-direction: column;

        gap: 3px;
    }

    .footer-meta {
        width: 100%;

        justify-content: space-between;
    }

    .contact-dock {
        right: 14px;
        bottom: 14px;
    }

/* Evitar sobreposição no configurador e no rodapé */
body:has(.project-builder) .contact-dock,
.contact-dock.is-near-footer {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
}

    .contact-dock-link {
        width: 46px;
        height: 46px;

        border-radius: 13px;
    }

    .contact-dock-icon,
    .contact-dock-icon svg {
        width: 21px;
        height: 21px;
    }

    .contact-dock-link::after {
        display: none;
    }

}

/* Ocultar barra de rolagem do card informativo */
.universe-info-panel {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.universe-info-panel::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}




/* ==========================================
   NEBULOSA LABS — CURSOR NASA SLS
========================================== */

#nasa-rocket-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    z-index: 99999;
    pointer-events: none;
    opacity: 0;
    will-change: transform;
}

#nasa-rocket-cursor.visible {
    opacity: 1;
}

/* Foguete inclinado */

#nasa-rocket-cursor .rocket-visual {
    position: absolute;
    top: 0;
    left: 0;
    width: max-content;
    transform: translateX(-50%) rotate(-42deg);
    transform-origin: 50% 0%;
    filter: drop-shadow(0 0 5px rgba(108, 174, 255, 0.5));
}

#nasa-rocket-cursor img {
    display: block;
    width: auto;
    height: 52px;
    max-width: none;
    user-select: none;
}

/* Propulsão azul */

#nasa-rocket-cursor .rocket-flame {
    position: absolute;
    bottom: -15px;
    left: 50%;
    z-index: -1;
    width: 6px;
    height: 21px;
    border-radius: 50% 50% 65% 65%;

    background: linear-gradient(
        to bottom,
        #ffffff,
        #a8edff 25%,
        #37b5ff 55%,
        transparent 100%
    );

    transform-origin: center top;
    filter: drop-shadow(0 0 7px #42baff);
    animation: rocket-thrust 0.18s ease-in-out infinite alternate;
}

@keyframes rocket-thrust {
    from {
        transform: translateX(-50%) scaleY(0.75);
        opacity: 0.75;
    }

    to {
        transform: translateX(-50%) scaleY(1.2);
        opacity: 1;
    }
}



/* Rastro de partículas da propulsão */

.rocket-trail-particle {
    position: fixed;
    width: 4px;
    height: 4px;
    border-radius: 50%;

    background: #a8e9ff;

    box-shadow:
        0 0 5px #65c8ff,
        0 0 12px rgba(37, 140, 255, 0.45);

    pointer-events: none;
    z-index: 99998;

    animation: rocket-trail-fade 650ms ease-out forwards;
}

@keyframes rocket-trail-fade {
    0% {
        opacity: 0.85;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(7px, 9px) scale(0.15);
    }
}

/* Impulso ao clicar */

#nasa-rocket-cursor.rocket-boost .rocket-flame {
    width: 9px;
    height: 32px;
    filter: drop-shadow(0 0 12px #36aaff);
}

#nasa-rocket-cursor.rocket-boost .rocket-visual {
    filter: drop-shadow(0 0 13px #49baff);
}

/* Cursor personalizado apenas no desktop */

@media (hover: hover) and (pointer: fine) {
    body.rocket-cursor-active,
    body.rocket-cursor-active a,
    body.rocket-cursor-active button,
    body.rocket-cursor-active input,
    body.rocket-cursor-active label,
    body.rocket-cursor-active select,
    body.rocket-cursor-active textarea {
        cursor: none !important;
    }
}

/* Desativar em dispositivos touch */

@media (hover: none), (pointer: coarse) {
    #nasa-rocket-cursor {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    #nasa-rocket-cursor .rocket-flame {
        animation: none;
    }
}



/* ==========================================
   NEBULOSA LABS — PLAYER MUSICAL
========================================== */

.nl-music {
    position: fixed;
    right: 24px;
    bottom: 88px;
    z-index: 950;
    font-family: inherit;
}


/* Botão flutuante */

.nl-music__toggle {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin-left: auto;

    color: #dceeff;
    background: linear-gradient(145deg, #101d30, #030812);
    border: 1px solid rgba(108, 174, 255, .4);
    border-radius: 50%;

    box-shadow: 0 0 24px rgba(54, 145, 255, .15);
    backdrop-filter: blur(16px);
    cursor: pointer;
    font-size: 21px;
    transition: .3s ease;
}

.nl-music__toggle:hover {
    transform: scale(1.08);
    border-color: #8fc2ff;
    box-shadow: 0 0 32px rgba(54, 145, 255, .35);
}


/* Legenda do botão musical */

.nl-music__toggle::after {
    content: attr(aria-label);
    position: absolute;
    top: 50%;
    right: calc(100% + 12px);

    padding: 8px 12px;
    color: #dceeff;
    background: rgba(4, 8, 15, 0.95);

    border: 1px solid rgba(108, 174, 255, 0.25);
    border-radius: 8px;

    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translate(6px, -50%);
    transition: 0.2s ease;
}

.nl-music__toggle:hover::after,
.nl-music__toggle:focus-visible::after {
    opacity: 1;
    visibility: visible;
    transform: translate(0, -50%);
}

/* Painel expansível */

.nl-music__panel {
    position: absolute;
    right: 0;
    bottom: 66px;
    width: 340px;
    max-height: min(380px, calc(100dvh - 250px));
    overflow-y: auto;
    padding: 24px;

    color: #f3f6fa;
    background: linear-gradient(
        145deg,
        rgba(12, 23, 39, .97),
        rgba(2, 6, 14, .98)
    );

    border: 1px solid rgba(108, 174, 255, .22);
    border-radius: 20px;
    backdrop-filter: blur(22px);
    box-shadow: 0 22px 65px rgba(0, 0, 0, .55);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px) scale(.97);
    transform-origin: bottom right;
    transition: .25s ease;
}

/* NEBULOSA LABS RADIO — Rolagem invisível */

.nl-music__panel {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.nl-music__panel::-webkit-scrollbar {
    display: none;
}

.nl-music.is-open .nl-music__panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

/* Informações musicais */

.nl-music__label {
    color: #76b8ff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nl-music__title {
    margin: 12px 0 6px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
}

.nl-music__track {
    color: #aebed1;
    font-size: 13px;
    line-height: 1.5;
}

/* Controles de reprodução */

.nl-music__controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin: 24px 0;
}

.nl-music__button {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;

    color: #dceeff;
    background: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: .2s ease;
}

.nl-music__button:hover {
    color: #ffffff;
    transform: scale(1.12);
}

.nl-music__play {
    width: 52px;
    height: 52px;
    color: #04101c;
    background: #8fc2ff;
    box-shadow: 0 0 22px rgba(108, 174, 255, .3);
}

/* Progresso e volume */

.nl-music__progress,
.nl-music__volume {
    width: 100%;
    accent-color: #70b7ff;
    cursor: pointer;
}

.nl-music__time {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    color: #8295aa;
    font-size: 11px;
}

.nl-music__volume-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
    color: #aebed1;
    font-size: 12px;
}

/* Playlist */

.nl-music__playlist {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.nl-music__playlist button {
    width: 100%;
    padding: 12px;
    color: #b9c8da;
    background: transparent;
    border: none;
    border-radius: 9px;
    text-align: left;
    cursor: pointer;
}

.nl-music__playlist button:hover,
.nl-music__playlist button.active {
    color: #ffffff;
    background: rgba(108, 174, 255, .12);
}

/* Responsividade */


@media (max-width: 600px) {
    .nl-music {
        right: 11px;
        bottom: 72px;
    }

    .nl-music__panel {
        right: 0;
        width: min(340px, calc(100vw - 32px));
        padding: 20px;
    }
}



@media (prefers-reduced-motion: reduce) {
    .nl-music__toggle,
    .nl-music__panel {
        transition: none;
        position: relative;
    }
}

/* RADIO — Telas pequenas e baixas */

@media (max-width: 600px) and (max-height: 650px) {
    .nl-music__panel {
        max-height: 260px;
    }
}