/* INDEX - TOPO */

.index-topbar {
    transition: background .3s ease, box-shadow .3s ease;
}

.index-menu a {
    position: relative;
    overflow: hidden;
    transition: color .25s ease, border-color .25s ease, transform .25s ease;
}

.index-menu a::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        135deg,
        rgba(0, 167, 255, .22),
        rgba(57, 220, 255, .08)
    );

    opacity: 0;
    transform: scale(.85);
    border-radius: inherit;
    transition: opacity .25s ease, transform .25s ease;
    z-index: -1;
}

.index-menu a:hover {
    color: #fff;
    border-color: rgba(57, 220, 255, .65);
    transform: translateY(-2px);
}

.index-menu a:hover::before {
    opacity: 1;
    transform: scale(1);
}

/* HAMBURGER ANIMADO */

.hamb {
    width: 44px;
    height: 44px;
    position: relative;
    cursor: pointer;
}

.hamb span {
    display: block;
    width: 28px;
    height: 3px;
    margin: 6px auto;

    background: #fff;
    border-radius: 999px;
    transition: transform .3s ease, opacity .25s ease;
}

.hamb.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamb.active span:nth-child(2) {
    opacity: 0;
}

.hamb.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* AVATAR CLICÁVEL */

.avatar-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

.avatar-link:hover .avatar {
    transform: scale(1.08) rotate(4deg);
    box-shadow: 0 0 24px rgba(57, 220, 255, .55);
}

.avatar {
    transition: transform .25s ease, box-shadow .25s ease;
}

.avatar-text {
    font-size: 14px;
    font-weight: 800;
}

/* HERO */

.index-hero {
    position: relative;
    overflow: hidden;
}

.index-hero::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -120px;
    top: 50px;

    background: radial-gradient(circle, rgba(57, 220, 255, .22), transparent 68%);
    pointer-events: none;
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 8px 14px;

    color: var(--cyan);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;

    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(16, 29, 51, .5);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.btn.ghost {
    background: transparent;
}

.index-hero-card {
    animation: floatCard 4.5s ease-in-out infinite;
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* TÍTULOS */

.section-title {
    margin-bottom: 20px;
}

.section-title span {
    color: var(--cyan);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.section-title h2 {
    margin: 8px 0 0;
    font-size: clamp(28px, 4vw, 48px);
}

/* SOB MEDIDA */

.custom-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    margin: 20px 5% 80px;
    padding: 34px;

    background: linear-gradient(
        135deg,
        rgba(16, 29, 51, .82),
        rgba(6, 13, 25, .92)
    );
    border: 1px solid var(--line);
    border-radius: 32px;
    box-shadow: var(--shadow);
}

/* RODAPÉ */

.site-footer {
    padding: 54px 5% 24px;

    background:
        radial-gradient(circle at 10% 0%, rgba(0, 167, 255, .18), transparent 34%),
        linear-gradient(180deg, rgba(5, 11, 22, .4), #02050b);

    border-top: 1px solid var(--line);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr .8fr;
    gap: 28px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;

    font-weight: 900;
    letter-spacing: .08em;
}

.footer-brand img {
    width: 56px;
    height: 56px;
    object-fit: cover;

    border-radius: 16px;
    box-shadow: 0 0 18px rgba(57, 220, 255, .35);
}

.site-footer h3 {
    margin-top: 0;
    color: var(--cyan);
}

.site-footer p,
.site-footer a {
    display: block;
    color: var(--muted);
    line-height: 1.7;
}

.site-footer a {
    margin-bottom: 8px;
    transition: color .2s ease, transform .2s ease;
}

.site-footer a:hover {
    color: #fff;
    transform: translateX(4px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;

    margin-top: 34px;
    padding-top: 18px;

    color: var(--muted);
    border-top: 1px solid var(--line);
}

/* MENU MOBILE SUAVE */

@media (max-width: 950px) {
    .menu {
        display: flex;
        opacity: 0;
        transform: translateY(-12px) scale(.98);
        pointer-events: none;
        transition: opacity .25s ease, transform .25s ease;
    }

    .menu.open {
        opacity: 1;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }

    .custom-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .avatar-text {
        display: none;
    }

    .custom-section {
        margin-left: 5%;
        margin-right: 5%;
        padding: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
    }
}