/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #2A2424;
    --white: #FFFFFF;
    --beige: #FCFAF8;
    --beige-warm: #F7EBE8;
    --rose: #B67A7D;
    --rose-light: #D5A6A8;
    --rose-hover: #965B5E;
    --rose-glow: rgba(182, 122, 125, 0.15);
    --gray: #8A8585;
    --gray-light: #D1CDCD;
    --gold: #C9A96E;
    --transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--black);
    background: var(--beige);
    line-height: 1.6;
    font-size: 15px;
    font-weight: 400;
    overflow: hidden;
    min-height: 100vh;
    min-height: 100dvh;
}

/* =============================================
   BIO PAGE CONTAINER
   ============================================= */
.bio-page {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(160deg, #FCFAF8 0%, #F9F2EF 30%, #F5ECEB 60%, #FCFAF8 100%);
}

/* Ambient glows */
.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}

.bg-glow-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(182, 122, 125, 0.12) 0%, transparent 70%);
    top: -10%;
    right: -5%;
    animation: floatGlow 8s ease-in-out infinite alternate;
}

.bg-glow-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.08) 0%, transparent 70%);
    bottom: -10%;
    left: -5%;
    animation: floatGlow 10s ease-in-out infinite alternate-reverse;
}

@keyframes floatGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(20px, -20px) scale(1.15); }
}

/* =============================================
   MAIN CONTAINER
   ============================================= */
.bio-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =============================================
   HEADER — AVATAR + LOGO + TAGLINE
   ============================================= */
.bio-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s both;
}

.avatar-ring {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, var(--rose) 0%, var(--rose-light) 50%, var(--gold) 100%);
    box-shadow: 0 8px 32px rgba(182, 122, 125, 0.25);
    flex-shrink: 0;
}

.avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--beige);
}

.bio-logo {
    height: 36px;
    width: auto;
    display: block;
}

/* Logo inside avatar ring */
.avatar-ring--logo {
    background: linear-gradient(135deg, var(--rose) 0%, var(--rose-light) 50%, var(--gold) 100%);
}

.avatar-img--logo {
    object-fit: contain;
    padding: 14px;
    background: var(--white);
}

.bio-tagline {
    font-size: 13px;
    color: var(--gray);
    font-weight: 300;
    letter-spacing: 0.3px;
    max-width: 280px;
    line-height: 1.5;
}

.bio-tagline em {
    font-style: italic;
    color: var(--rose);
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 400;
}

.trust-badges {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 500;
    color: var(--rose);
    letter-spacing: 0.3px;
    background: rgba(182, 122, 125, 0.08);
    padding: 4px 10px;
    border-radius: 100px;
}

.badge svg {
    flex-shrink: 0;
}

/* =============================================
   LINKS
   ============================================= */
.bio-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.25s both;
}

.bio-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 14px;
    text-decoration: none;
    color: var(--black);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.bio-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(182, 122, 125, 0.04) 100%);
    opacity: 0;
    transition: var(--transition);
}

.bio-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border-color: rgba(182, 122, 125, 0.3);
}

.bio-link:hover::before {
    opacity: 1;
}

.bio-link:active {
    transform: translateY(0) scale(0.99);
}

/* Primary CTA — Avaliação */
.bio-link--primary {
    background: linear-gradient(135deg, var(--rose) 0%, var(--rose-hover) 100%);
    border: 1px solid rgba(182, 122, 125, 0.3);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(182, 122, 125, 0.3);
}

.bio-link--primary::before {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 100%);
}

.bio-link--primary .link-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.bio-link--primary .link-text small {
    color: rgba(255, 255, 255, 0.75);
}

.bio-link--primary .link-arrow {
    color: rgba(255, 255, 255, 0.7);
}

.bio-link--primary:hover {
    box-shadow: 0 12px 40px rgba(182, 122, 125, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Secondary CTA — Site */
.bio-link--secondary {
    background: rgba(255, 255, 255, 0.85);
    border: 1.5px solid var(--rose-light);
}

.bio-link--secondary .link-icon {
    background: var(--rose-glow);
    color: var(--rose);
}

/* Link inner elements */
.link-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(182, 122, 125, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--rose);
    transition: var(--transition);
}

.bio-link:hover .link-icon {
    transform: scale(1.05);
}

.link-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.link-text strong {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1px;
    line-height: 1.3;
}

.link-text small {
    font-size: 11.5px;
    color: var(--gray);
    font-weight: 400;
    letter-spacing: 0.2px;
}

.link-arrow {
    font-size: 16px;
    color: var(--gray-light);
    transition: var(--transition);
    flex-shrink: 0;
    font-weight: 300;
}

.bio-link:hover .link-arrow {
    transform: translateX(3px);
    color: var(--rose);
}

.bio-link--primary:hover .link-arrow {
    color: var(--white);
}

/* Staggered link animations */
.bio-link:nth-child(1) { animation: fadeInUp 0.5s cubic-bezier(0.2,0.8,0.2,1) 0.3s both; }
.bio-link:nth-child(2) { animation: fadeInUp 0.5s cubic-bezier(0.2,0.8,0.2,1) 0.38s both; }
.bio-link:nth-child(3) { animation: fadeInUp 0.5s cubic-bezier(0.2,0.8,0.2,1) 0.46s both; }
.bio-link:nth-child(4) { animation: fadeInUp 0.5s cubic-bezier(0.2,0.8,0.2,1) 0.54s both; }
.bio-link:nth-child(5) { animation: fadeInUp 0.5s cubic-bezier(0.2,0.8,0.2,1) 0.62s both; }
.bio-link:nth-child(6) { animation: fadeInUp 0.5s cubic-bezier(0.2,0.8,0.2,1) 0.70s both; }

/* =============================================
   FOOTER
   ============================================= */
.bio-footer {
    text-align: center;
    animation: fadeInUp 0.5s cubic-bezier(0.2,0.8,0.2,1) 0.8s both;
}

.bio-footer p {
    font-size: 11px;
    color: var(--gray-light);
    letter-spacing: 0.5px;
    font-weight: 400;
}

/* =============================================
   RESPONSIVE — SMALL PHONES
   ============================================= */
@media (max-height: 740px) {
    .bio-container {
        gap: 16px;
    }
    .bio-header {
        gap: 8px;
    }
    .avatar-ring {
        width: 72px;
        height: 72px;
    }
    .bio-logo {
        height: 30px;
    }
    .bio-tagline {
        font-size: 12px;
    }
    .trust-badges {
        margin-top: 0;
    }
    .bio-links {
        gap: 8px;
    }
    .bio-link {
        padding: 11px 14px;
        border-radius: 12px;
    }
    .link-icon {
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }
    .link-icon svg {
        width: 18px;
        height: 18px;
    }
    .link-text strong {
        font-size: 13px;
    }
    .link-text small {
        font-size: 11px;
    }
}

@media (max-height: 640px) {
    .bio-container {
        gap: 12px;
    }
    .avatar-ring {
        width: 60px;
        height: 60px;
    }
    .bio-logo {
        height: 26px;
    }
    .trust-badges {
        display: none;
    }
    .bio-links {
        gap: 6px;
    }
    .bio-link {
        padding: 10px 12px;
        gap: 10px;
    }
    .link-icon {
        width: 32px;
        height: 32px;
    }
    .link-text small {
        display: none;
    }
}

/* Desktop / Tablet tweaks */
@media (min-width: 768px) {
    .bio-container {
        max-width: 440px;
        gap: 28px;
    }
    .avatar-ring {
        width: 96px;
        height: 96px;
    }
    .bio-logo {
        height: 40px;
    }
    .bio-link {
        padding: 16px 20px;
    }
}
