/* ===== Fundo da página: foto com camada escura para dar leitura ===== */
body {
    padding-bottom: 40px;
    background-image:
        linear-gradient(180deg, rgba(10, 12, 24, .35), rgba(10, 12, 24, .65)),
        url(assets/img/fundo1.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* ===== Topo: vidro translúcido ===== */
.topo {
    margin-top: 40px;
    padding: 50px 50px 50px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .06));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 4px solid rgba(255, 255, 255, .35);
    border-radius: 48px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .35);
    animation: entrar .8s ease both;
}

.topo h1 {
    letter-spacing: -.5px;
    text-shadow: 0 4px 18px rgba(0, 0, 0, .45);
}

.topo .lead {
    font-size: 1.15rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .4);
}

/* ===== Foto de perfil com anel de luz e flutuação leve ===== */
.avatar {
    padding: 6px;
    box-shadow: 0 0 40px rgb(255, 255, 255);
    animation: flutuar 5s ease-in-out infinite;
}
.avatar img {
    display: block;
    width: 170px;
    height: 170px;
    object-fit: cover;
    transition: transform .4s;
}
.avatar:hover img {
    transform: scale(1.06) rotate(-3deg);
}

/* Linha decorativa entre o texto e os botões */
.divisoria {
    width: 90px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, transparent, #fff, transparent);
    opacity: .85;
}

/* ===== Menu de botões ===== */
.menu .btn {
    min-width: 160px;
    padding: 12px 22px;
    font-weight: 500;
    border-width: 2px;
    background-color: rgba(255, 255, 255, .08);
    backdrop-filter: blur(4px);
    transition: transform .25s, box-shadow .25s, background-color .25s, color .25s;
    animation: entrar .7s ease both;
}
.menu .btn:nth-child(1) { animation-delay: .20s; }
.menu .btn:nth-child(2) { animation-delay: .30s; }
.menu .btn:nth-child(3) { animation-delay: .40s; }
.menu .btn:nth-child(4) { animation-delay: .50s; }

.menu .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .4);
}
.menu .btn i {
    transition: transform .25s;
}
.menu .btn:hover i {
    transform: scale(1.25) rotate(-8deg);
}

/* ===== Celular ===== */
@media (max-width: 575px) {
    .topo { border-radius: 32px; padding: 36px 14px 40px; }
    .avatar img { width: 140px; height: 140px; }
    .menu .btn { min-width: 44%; padding: 11px 8px; }
}

/* ===== Animações ===== */
@keyframes entrar {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: none; }
}
@keyframes flutuar {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
}