/* style.css - Design Canônico CREA-AM */

:root {
    --bg-gradient: linear-gradient(180deg, #7836bc 0%, #9c27b4 100%);
    --text-primary: #ffffff;
    --text-button: #ffffff;
    --card-bg: #ffffff;
    --btn-bg: #8c32b2;
    /* Roxo principal do botão */
    --hover-bg: #742596;
    --font-main: 'Inter', sans-serif;
    --transition: all 0.2s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg-gradient);
    font-family: var(--font-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow-x: hidden;
    position: relative;
    padding: 2rem 1rem;
}

/* Background grid effect (opcional, pode ajustar a opacidade) */
body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
}

/* Os ícones laterais flutuantes (podemos usar pseudo-elementos simples para simular as # e balões de coração que tem na imagem) */
.decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* Container Layout */
.container {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    margin-top: 2rem;
}

/* Header Text (Acompanhe nossas redes sociais) */
.header-titles {
    text-align: center;
    margin-bottom: 2rem;
    z-index: 2;
}

.profile-title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-primary);
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

/* O Cartão Branco de Fundo */
.links-card-bg {
    background: var(--card-bg);
    border-radius: 30px;
    width: 100%;
    padding: 5rem 2rem 2rem 2rem;
    /* Espaço pro avatar ficar metade pra fora */
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 4rem;
    /* Abre espaço para a foto flutuar acima */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Profile Photo Flutuando no Meio-Norte */
.profile-img-container {
    position: absolute;
    top: -70px;
    /* metade da altura (~140px/2) pra fora */
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4A4AFF, #C642B5);
    /* borda gradiente */
    padding: 5px;
    /* espessura da borda falsa */
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: white;
}

/* Link Buttons */
.link-btn {
    display: flex;
    align-items: center;
    padding: 0.8rem 1.2rem;
    background: var(--btn-bg);
    border-radius: 25px;
    /* Bastante arredondado na foto */
    color: var(--text-button);
    text-decoration: underline;
    /* A foto tem texto sublinhado! */
    font-weight: 500;
    font-size: 1.1rem;
    transition: var(--transition);
    border: none;
    position: relative;
}

.link-btn:hover {
    background: var(--hover-bg);
    transform: scale(1.02);
}

/* Ícones do Menu */
.icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-right: 1rem;
    /* Ícones na foto são brancos lisos, usando SVG inline */
}

.icon-wrapper svg {
    width: 24px;
    height: 24px;
    fill: #ffffff;
}

/* Footer Oculto ou Discreto pois não aparece claramente com destaque no print, mas mantido pra direitos */
.footer {
    text-align: center;
    margin-top: 1rem;
    color: var(--btn-bg);
    font-size: 0.8rem;
    font-weight: 500;
}

@media (max-width: 480px) {
    .profile-title {
        font-size: 2.2rem;
    }

    .profile-img-container {
        width: 120px;
        height: 120px;
        top: -60px;
    }

    .links-card-bg {
        padding: 4.5rem 1.5rem 1.5rem 1.5rem;
    }
}