/* ==========================================================================
   1. VARIÁVEIS DO DESIGN SYSTEM (LUMORA MEMORIAL - TEMA ORIGINAL) [1]
   ========================================================================== */
:root {
    /* Paleta de Cores Originais do Molde [1] */
    --color-bg: #FBFBFA;           /* Soft Off-White (Fundo) */
    --color-card: #F5F2EC;         /* Suave Areia (Cards e Formulários) */
    --color-border: #EAE6E1;       /* Divisor Suave */
    --color-text-dark: #2C3E35;    /* Cinza Escuro Esverdeado (Texto) */
    --color-text-muted: #6B706E;   /* Cinza Muted (Secundários) */
    --color-rose-gold: #C59B73;    /* Rose Gold Quente (Detalhes) */
    --color-blush: #6E7E65;        /* Verde Oliva Suave (Ativos e Botões) */
    --color-blush-hover: #5B6B53;  /* Verde Oliva Escuro (Hover) */
    --color-white: #FFFFFF;        /* Branco Puro */
    
    /* Configurações Tipográficas */
    --font-serif: 'Lora', serif;
    --font-sans: 'Inter', sans-serif;
}

/* ==========================================================================
   2. ESTILOS GERAIS E RESET
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text-dark);
    font-family: var(--font-sans);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.bg-light-theme {
    background-color: var(--color-bg);
}

.font-serif {
    font-family: var(--font-serif);
}

.uppercase {
    text-transform: uppercase;
}

.tracking-wide {
    letter-spacing: 0.05em;
}

.hidden {
    display: none !important;
}

.glow-rose {
    box-shadow: 0 4px 20px -2px rgba(110, 126, 101, 0.1);
}

.fade-out {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease-in-out;
}

/* Canvas de partículas flutuantes */
#starryCanvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Envoltório da tela de boas-vindas */
.welcome-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 80px);
    z-index: 10;
}

.welcome-screen {
    max-width: 28rem;
    width: 100%;
    padding: 1.5rem;
    text-align: center;
    z-index: 10;
}

.welcome-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.welcome-tag {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-blush);
}

/* Moldura para a foto da capa na entrada */
.welcome-photo-frame {
    position: relative;
    width: 11rem;
    height: 11rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--color-white);
    box-shadow: 0 10px 25px rgba(44, 62, 53, 0.12);
    background-color: var(--color-white);
}

.welcome-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.welcome-title {
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 0.025em;
    color: var(--color-text-dark);
    margin-top: 0.5rem;
}

.welcome-text {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    line-height: 1.625;
    max-width: 20rem;
    margin: 0 auto;
}

.welcome-video-wrapper {
    position: relative;
    aspect-ratio: 16 / 9;
    width: 100%;
    background-color: #000;
    border-radius: 1rem;
    overflow: hidden;
    border: 2px solid var(--color-white);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.welcome-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.welcome-btn-container {
    padding-top: 0.5rem;
}

.discreet-footer {
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.625rem;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    z-index: 10;
    position: relative;
}