:root {
    --primary: #f8f1ed;
    --accent: #d4a373;
    --rose: #e8a0bf;
    --text: #5a5a5a;
    --shadow: rgba(0, 0, 0, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--primary);
    color: var(--text);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Intro Elegante */
#intro {
    position: fixed;
    inset: 0;
    background: white;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: 1.8s cubic-bezier(0.8, 0, 0.2, 1);
}

.intro-content .pre-title { font-size: 0.9rem; letter-spacing: 3px; text-transform: uppercase; color: #aaa; }
.intro-content h1 { font-family: 'Playfair Display'; font-size: 3.5rem; color: var(--rose); margin: 15px 0; }
.intro-content button {
    margin-top: 40px; padding: 18px 50px; border: none; border-radius: 4px;
    background: var(--rose); color: white; cursor: pointer;
    font-weight: 600; letter-spacing: 1px; box-shadow: 0 15px 30px rgba(232, 160, 191, 0.25);
}

/* Header Glassmorphism */
header {
    padding: 25px 8%; display: flex; justify-content: space-between;
    background: rgba(255, 255, 255, 0.6); backdrop-filter: blur(15px);
    position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(0,0,0,0.03);
}

.logo { font-family: 'Playfair Display'; font-weight: bold; font-size: 1.4rem; color: var(--rose); }
nav a { text-decoration: none; color: var(--text); margin-left: 25px; font-weight: 500; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; }

/* Contador Hero */
.hero { height: 90vh; display: flex; align-items: center; justify-content: center; background: url('https://www.transparenttextures.com/patterns/cream-paper.png'); }
.contador-container { text-align: center; padding: 60px; background: white; border-radius: 5px; box-shadow: 0 30px 60px var(--shadow); }
#dias { font-size: 6rem; font-family: 'Playfair Display'; font-weight: 700; color: var(--rose); }

/* Galeria Artística */
.section { padding: 120px 10%; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-family: 'Playfair Display'; font-size: 2.8rem; margin-bottom: 10px; }

.galeria-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.foto-frame { height: 400px; border-radius: 4px; overflow: hidden; box-shadow: 0 20px 40px var(--shadow); transition: 0.6s; }
.foto-frame img { width: 100%; height: 100%; object-fit: cover; transition: 1s; filter: sepia(20%); }
.foto-frame:hover img { transform: scale(1.08); filter: sepia(0%); }

/* Buquê Pika */
.seletor-flores { display: flex; justify-content: center; gap: 20px; margin-bottom: 40px; }
.flor-btn { cursor: pointer; text-align: center; transition: 0.4s; padding: 15px; background: white; border-radius: 4px; }
.flor-btn:hover { transform: translateY(-10px); box-shadow: 0 10px 20px var(--shadow); }
.flor-btn img { width: 60px; margin-bottom: 10px; }

#vaso-container { position: relative; width: 400px; height: 500px; margin: auto; display: flex; justify-content: center; }
.vaso-vidro {
    position: absolute; bottom: 0; width: 140px; height: 200px;
    background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 4px 4px 60px 60px; backdrop-filter: blur(10px); z-index: 10;
}
.agua { position: absolute; bottom: 0; width: 100%; height: 65%; background: rgba(173, 216, 230, 0.2); }
.flor-no-vaso { position: absolute; bottom: 120px; width: 160px; transform-origin: bottom center; animation: brotar 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; }

@keyframes brotar { from { transform: translateY(100px) scale(0) rotate(0deg); opacity: 0; } to { opacity: 1; } }

/* Carta de Papel Real */
.envelope-wrapper { perspective: 1500px; text-align: center; }
.envelope {
    width: 450px; height: 320px; background: #e092a4; margin: auto;
    position: relative; cursor: pointer; transition: 1s; box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}
.card {
    position: absolute; inset: 10px; background: #fffcf9; padding: 40px;
    transform: translateY(0); transition: 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1; border: 1px solid #f0f0f0;
}
.envelope.aberto .card { transform: translateY(-180px); z-index: 20; height: auto; box-shadow: 0 -15px 40px rgba(0,0,0,0.1); }
.assinatura { margin-top: 30px; font-family: 'Playfair Display'; font-style: italic; color: var(--rose); }

footer { padding: 40px; text-align: center; font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; color: #999; }