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

:root {
    /* Paleta: Creme + Rosé + Verde Sálvia */
    --color-creme: #FAF7F2;
    --color-rose: #E8B4B8;
    --color-rose-dark: #D89FA3;
    --color-sage: #A8B5A0;
    --color-sage-dark: #8F9B87;
    --color-gold: #D4AF70;
    --color-text-dark: #2C2C2C;
    --color-text-light: #5A5A5A;
    
    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-creme);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-md);
}

/* ==========================================
   SCREEN TRANSITIONS
   ========================================== */
.screen {
    min-height: 100vh;
    display: none;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.screen.active {
    display: flex;
    opacity: 1;
}

/* ==========================================
   ETAPA 1: CAPA
   ========================================== */
#capa {
    position: relative;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-creme) 0%, #FFF9F0 100%);
    overflow: hidden;
}

#capa .content-wrapper {
    text-align: center;
    z-index: 10;
    position: relative;
    animation: fadeInUp 1s ease-out;
}

.main-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    color: var(--color-rose);
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.subtitle {
    font-family: var(--font-body);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 300;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-lg);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.reveal-button {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 500;
    color: white;
    background: linear-gradient(135deg, var(--color-rose) 0%, var(--color-rose-dark) 100%);
    border: none;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(232, 180, 184, 0.3);
    letter-spacing: 0.05em;
}

.reveal-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(232, 180, 184, 0.4);
    background: linear-gradient(135deg, var(--color-rose-dark) 0%, var(--color-rose) 100%);
}

.reveal-button:active {
    transform: translateY(-1px);
}

/* Decorative Elements */
.decorative-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
}

.circle-1 {
    width: 300px;
    height: 300px;
    background: var(--color-rose);
    top: -100px;
    right: -50px;
    animation: float 8s ease-in-out infinite;
}

.circle-2 {
    width: 200px;
    height: 200px;
    background: var(--color-sage);
    bottom: -50px;
    left: -80px;
    animation: float 6s ease-in-out infinite reverse;
}

.circle-3 {
    width: 150px;
    height: 150px;
    background: var(--color-gold);
    top: 50%;
    left: 10%;
    animation: float 10s ease-in-out infinite;
}

/* ==========================================
   ETAPA 2: REVELAÇÃO
   ========================================== */
#revelacao {
    padding: var(--spacing-xl) 0;
    animation: fadeIn 0.8s ease-out;
}

.announcement-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.announcement-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--color-rose);
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

.announcement-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--color-sage);
    margin-top: var(--spacing-sm);
}

/* Info Cards */
.info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.info-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.info-card .icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.info-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-rose);
    margin-bottom: var(--spacing-xs);
}

.info-card p {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.highlight-date {
    font-family: var(--font-heading);
    font-size: 1.5rem !important;
    font-weight: 600;
    color: var(--color-sage) !important;
    margin-top: var(--spacing-xs);
}

/* ==========================================
   COUNTDOWN
   ========================================== */
.countdown-section {
    background: linear-gradient(135deg, var(--color-sage) 0%, var(--color-sage-dark) 100%);
    padding: var(--spacing-lg);
    border-radius: 20px;
    margin-bottom: var(--spacing-xl);
    box-shadow: 0 10px 30px rgba(168, 181, 160, 0.3);
}

.countdown-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: white;
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.countdown-display {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: var(--spacing-md);
    border-radius: 15px;
    min-width: 100px;
    text-align: center;
}

.countdown-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.countdown-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-top: var(--spacing-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==========================================
   GALLERY
   ========================================== */
.gallery-section {
    margin-bottom: var(--spacing-xl);
}

.gallery-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-rose);
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.gallery-item {
    position: relative;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    padding: var(--spacing-sm) var(--spacing-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text-light);
    text-align: center;
    background: white;
}

/* ==========================================
   FOOTER MESSAGE
   ========================================== */
.footer-message {
    text-align: center;
    padding: var(--spacing-lg) 0;
    margin-top: var(--spacing-lg);
    border-top: 2px solid var(--color-rose);
}

.footer-message p {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-sage);
    font-weight: 500;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 768px) {
    .container {
        padding: var(--spacing-sm);
    }
    
    .info-section {
        grid-template-columns: 1fr;
    }
    
    .countdown-display {
        gap: var(--spacing-sm);
    }
    
    .countdown-item {
        min-width: 80px;
        padding: var(--spacing-sm);
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item img {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2.5rem;
    }
    
    .reveal-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .announcement-title {
        font-size: 2rem;
    }
    
    .announcement-subtitle {
        font-size: 1.5rem;
    }
}