/* ee-cod | Tema: Ferreira Dórea - High Visibility
   Ajuste: Realce de Fundo e Compactação de Bio
*/

html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-color: #000;
}

body {
    background-image: url('https://www.bpfy.ee/image/backgrounds/corporativos/Ferreira_Dorea.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed !important;
    background-repeat: no-repeat !important;
    font-family: 'Inter', -apple-system, sans-serif;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

/* OVERLAY: Ajustado para 0.3 para dar mais clareza à imagem */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); 
    z-index: 1;
    pointer-events: none;
}

.profile-wrap { 
    position: relative; 
    z-index: 10; 
    padding-top: 100px; /* Espaço para o rosto na foto */
    max-width: 380px;
    margin: 0 auto;
    text-align: center;
}

.name-h1 {
    font-size: 1.6rem !important;
    font-weight: 300 !important; 
    color: #ffffff !important;
    text-transform: none !important;
    letter-spacing: 1px !important;
    margin-bottom: 0px !important; /* TOTALMENTE COLADO */
    padding-bottom: 0px !important;
}

.bio {
    color: #D4AF37 !important; /* Ouro FD realçado */
    font-weight: 400;
    font-size: 0.85rem;
    text-transform: none !important;
    margin-top: -2px !important; /* SOBE A BIO PARA COLAR NO NOME */
    margin-bottom: 40px; /* Distância para os botões */
    opacity: 1; /* Máxima visibilidade */
}

.link-item {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    padding: 16px 20px !important;
    margin-bottom: 12px !important;
    transition: all 0.4s ease-in-out !important;
    font-weight: 300 !important;
    font-size: 0.9rem !important;
    text-transform: none !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- AJUSTES EXCLUSIVOS PARA CELULAR --- */
@media (max-width: 480px) {
    body::after {
        /* Overlay ainda mais leve no celular para a imagem aparecer mais */
        background: rgba(0, 0, 0, 0.2) !important; 
    }
    
    body {
        /* Ajusta o foco da imagem no mobile para não cortar o Dr. Ferreira */
        background-position: 40% center !important; 
    }

    .profile-wrap {
        padding-top: 80px; /* Ajusta a altura do texto conforme a foto no mobile */
    }

    .name-h1 {
        font-size: 1.5rem !important;
        text-shadow: 0 2px 10px rgba(0,0,0,0.8); /* Garante leitura sobre imagem clara */
    }

    .bio {
        font-size: 0.8rem;
        text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    }
}