/* ===== FONTS ===== */
@font-face {
    font-family: 'Vogue Sans';
    src: url('fonts/voguesans/Vogue Sans Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Public Sans';
    src: url('fonts/publicsans/Public Sans Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Public Sans';
    src: url('fonts/publicsans/Public Sans SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* ===== VARIÁVEIS CSS ===== */
:root {
    /* Paleta de Cores - Carolina Walter */
    --branco-neve: #FEFEFE;
    --cinza-assuado: #BFC8CE;
    --preto-acetinado: #232323;
    --bege-medio: #C0B49D;
    --rato-ouro: #AEA58D;
    
    /* Cores de apoio */
    --cinza-claro: #F8F9FA;
    --cinza-medio: #6C757D;
    --cinza-escuro: rgba(33, 33, 33, 0.62);
    --transparente: rgba(0, 0, 0, 0);
    
    /* Tipografia */
    --font-primary: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Vogue Sans', Georgia, serif;
    
    /* Espaçamentos */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --radius-xl: 30px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.16);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
}

/* ===== ESTILOS GERAIS ===== */
body {
    font-family: var(--font-primary);
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: var(--branco-neve);
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== LAYOUT CONTRACT — Seções full-bleed; conteúdo limitado a 600px ===== */

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: var(--spacing-lg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--spacing-xl);
}

/* ===== SEÇÃO DO PERFIL ===== */
.profile-section {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    margin-top: 50px;
}

.profile-image {
    margin-bottom: var(--spacing-md);
    position: relative;
    display: inline-block;
}

.profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bege-medio);
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 48px rgba(192, 180, 157, 0.3);
}

.profile-name {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    color: var(--branco-neve);
    margin-bottom: var(--spacing-xs);
    letter-spacing: -0.02em;
}

.profile-title {
    font-size: 0.95rem;
    color: var(--cinza-assuado);
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
}

.profile-subtitle {
    font-size: 0.875rem;
    color: var(--rato-ouro);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-sm);
}

.arrow-down {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: var(--spacing-sm);
    color: var(--bege-medio);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

/* ===== SEÇÃO DOS LINKS ===== */
.links-section {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.link-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(192, 180, 157, 0.1) 0%, rgba(174, 165, 141, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.link-card:hover {
    transform: translateY(-4px);
    border-color: rgba(192, 180, 157, 0.3);
    box-shadow: var(--shadow-lg);
}

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

.link-card.featured {
    background: linear-gradient(135deg, rgba(192, 180, 157, 0.15) 0%, rgba(174, 165, 141, 0.1) 100%);
    border-color: rgba(192, 180, 157, 0.3);
}

.link-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(192, 180, 157, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bege-medio);
    transition: all 0.3s ease;
}

.link-card:hover .link-icon {
    background: rgba(192, 180, 157, 0.3);
    transform: scale(1.1);
}

.link-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.link-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--branco-neve);
    margin-bottom: var(--spacing-xs);
    letter-spacing: -0.01em;
}

.link-description {
    font-size: 0.875rem;
    color: var(--cinza-assuado);
    line-height: 1.5;
    margin-bottom: var(--spacing-sm);
}

.link-button {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-md);
    background: rgba(192, 180, 157, 0.2);
    color: var(--bege-medio);
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
    align-self: flex-start;
    border: 1px solid rgba(192, 180, 157, 0.3);
}

.link-button:hover {
    background: var(--bege-medio);
    color: var(--preto-acetinado);
    transform: translateX(4px);
    border-color: var(--bege-medio);
}

.link-button svg {
    transition: transform 0.3s ease;
}

.link-button:hover svg {
    transform: translateX(2px);
}

/* ===== FOOTER ===== */
.footer-section {
    text-align: center;
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-text {
    font-size: 0.875rem;
    color: var(--cinza-medio);
    margin-bottom: var(--spacing-sm);
}

.footer-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--cinza-assuado);
    transition: all 0.3s ease;
    cursor: pointer;
}

.footer-arrow:hover {
    background: rgba(192, 180, 157, 0.2);
    color: var(--bege-medio);
    transform: translateX(-4px);
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 640px) {
    .container {
        max-width: 100%;
        padding: var(--spacing-md);
        gap: var(--spacing-lg);
    }
    
    .profile-img {
        width: 100px;
        height: 100px;
    }
    
    .profile-name {
        font-size: 1.75rem;
    }
    
    .link-card {
        padding: var(--spacing-md);
        gap: var(--spacing-sm);
    }
    
    .link-icon {
        width: 40px;
        height: 40px;
    }
    
    .link-title {
        font-size: 1.125rem;
    }
}

@media (max-width: 360px) {
    .container {
        padding: var(--spacing-sm);
    }
    
    .profile-name {
        font-size: 1.5rem;
    }
    
    .profile-title {
        font-size: 0.875rem;
    }
    
    .link-card {
        padding: var(--spacing-sm);
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }
    
    .link-content {
        align-items: center;
    }
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-section {
    animation: fadeInUp 0.6s ease-out;
}

.link-card {
    animation: fadeInUp 0.6s ease-out;
}

.link-card:nth-child(1) { animation-delay: 0.1s; }
.link-card:nth-child(2) { animation-delay: 0.2s; }
.link-card:nth-child(3) { animation-delay: 0.3s; }

.footer-section {
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

/* ===== ACESSIBILIDADE ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== FOCUS STATES ===== */
.link-button:focus,
.footer-arrow:focus {
    outline: 2px solid var(--bege-medio);
    outline-offset: 2px;
}

.link-card:focus-within {
    border-color: var(--bege-medio);
    box-shadow: 0 0 0 2px rgba(192, 180, 157, 0.3);
}