:root {
    --bg-color: #fdfdfb;
    --text-primary: #1a1a1a;
    --text-secondary: #5a5a5a;
    --accent: #d63031; /* Vermelho Imperial */
    --accent-hover: #b02626;
    --gold: #d4af37;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow: hidden; /* Evita scroll na tela cheia */
    height: 100vh;
    width: 100vw;
}

.fullscreen-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.kanji-fullscreen {
    width: 100vw;
    height: 100vh;
    object-fit: contain; /* Mostra a imagem inteira sem cortes */
    object-position: center center;
    padding: 2vh; /* Pequeno respiro para não encostar nas bordas */
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.kanji-fullscreen.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Ícone de Envelope no Canto Inferior Esquerdo */
.mail-link {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 10;
    color: var(--text-primary);
    opacity: 0.6;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
}

.mail-link:hover {
    opacity: 1;
    color: var(--accent);
    transform: scale(1.1) rotate(-5deg);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.envelope-icon {
    width: 40px;
    height: 40px;
}

/* Footer sutil ou removido */
.main-footer {
    position: fixed;
    bottom: 10px;
    right: 20px;
    font-size: 0.7rem;
    color: #bbb;
    z-index: 5;
    background: transparent;
}

/* Responsividade */
@media (max-width: 768px) {
    .family-name {
        font-size: 2.2rem;
    }
    
    .kanji-logo {
        max-width: 220px;
    }
    
    .tagline {
        font-size: 0.9rem;
        letter-spacing: 0.1em;
    }
    
    .btn-webmail {
        padding: 1rem 2rem;
        width: 100%;
        justify-content: center;
    }
}
