@import url('https://fonts.googleapis.com/css2?family=Merriweather+Sans:wght@700&display=swap');

body {
    margin: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(0deg, rgb(13, 0, 22), rgb(19, 19, 19), rgb(24, 10, 22));
    color: rgb(255, 255, 255);
    font-family: Arial, sans-serif;
    text-align: center;
    overflow: hidden;
    user-select: none;
}

.container {
    margin-top: -5vh;
    position: relative;
    z-index: 20;
    /* acima do canvas */
}

.merriweather-sans-regular {
    font-family: "Merriweather Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

.botao-contato {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: rgb(87, 202, 112);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #ffffff;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}

.botao-contato:hover {
    transform: scale(1.1);
    background: rgb(153, 87, 11);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Canvas fullscreen para eixos 3D estáticos */
#eixosCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 5;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.15));
}

/* Triângulos rastros */
.trail-tri {
    position: fixed;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 10px solid rgba(255, 255, 255, 0.65);
    opacity: 0.8;
    pointer-events: none;
    will-change: transform, opacity;
    animation: fadeShrink 1.2s linear forwards;
    mix-blend-mode: screen;
}

@keyframes fadeShrink {
    0% {
        opacity: .8;
        transform: translate(-50%, -50%) scale(1) rotate(var(--rot));
    }

    70% {
        opacity: .35;
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(.2) rotate(var(--rot));
    }
}

/* Botão contato novo estilo */
.botao-contato {
    background: #ffffff;
    color: #000;
    border: 2px solid #ffffff;
    font-size: 24px;
    transition: background .35s ease, color .35s ease, transform .35s ease, box-shadow .35s ease;
    animation: pulseBtn 2.4s ease-in-out infinite;
}

.botao-contato:hover {
    background: #000000;
    color: #ffffff;
    border-color: #ffffff;
    transform: scale(1.08);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.15), 0 0 18px rgba(255, 255, 255, 0.35);
}

@keyframes pulseBtn {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .trail-tri {
        animation: fadeShrink 1.2s linear forwards paused;
    }

    .botao-contato {
        animation: none;
    }
}

/* Links rodapé centralizados (10% acima do rodapé) */
.footer-links {
    position: fixed;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 30;
    font-family: inherit;
}

.footer-links .link-btn {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .5px;
    padding: 10px 22px;
    background: rgba(255, 255, 255, 0.42);
    /* was ~0.18, mais branco */
    border: 1.2px solid rgba(255, 255, 255, 0.65);
    /* borda mais visível */
    color: #111;
    text-decoration: none;
    border-radius: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: border-color .3s ease, background .35s ease, transform .25s ease, box-shadow .35s ease;
    box-shadow: 0 4px 10px -4px rgba(0, 0, 0, 0.25), 0 1px 2px rgba(0, 0, 0, 0.12), inset 0 0 0 0.5px rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px) saturate(140%);
}

.footer-links .link-btn:before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.05));
    opacity: .6;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.footer-links .link-btn:hover {
    background: rgba(255, 255, 255, 0.60);
    /* hover mais sólido mantendo vidro */
    border-color: rgba(255, 255, 255, 0.85);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px -4px rgba(0, 0, 0, 0.32), 0 2px 4px rgba(0, 0, 0, 0.18), inset 0 0 0 0.5px rgba(255, 255, 255, 0.55);
}

.footer-links .link-btn:active {
    transform: translateY(0);
}

@media (max-width: 520px) {
    .footer-links {
        bottom: 12%;
        gap: .6rem;
    }

    .footer-links .link-btn {
        padding: 9px 16px;
        font-size: 12px;
    }
}

.subtitulo {
    color: rgba(255, 255, 255, 0.6);
}