/* ============================================================
   1. VARIÁVEIS E CONFIGURAÇÕES GLOBAIS
   ============================================================ */
:root {
    --oliva-deep: #4A5D23;
    --oliva-primary: #708238;
    --oliva-soft: #A3AD85;
    --oliva-bg: #F8F9F5;
    --apple-black: #1d1d1f;
    --apple-text-secondary: #86868b;
    --glass-bg: rgba(255, 255, 255, 0.92);
}

* { 
    margin: 0; padding: 0; box-sizing: border-box; 
    -webkit-tap-highlight-color: transparent; 
}

html { 
    scroll-behavior: smooth; 
    height: -webkit-fill-available; 
    width: 100%;
}

body {
    font-family: 'Inter', -apple-system, system-ui, sans-serif;
    background-color: #ffffff;
    color: var(--apple-black);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden; 
    width: 100%;
    min-height: 100dvh;
    line-height: 1.5;
}

/* ============================================================
   2. NAVEGAÇÃO CERIMONIAL (TRANSLÚCIDA & ELEGANTE)
   ============================================================ */
.main-nav {
    position: fixed; 
    top: 0; 
    width: 100%; 
    height: 90px;
    
    /* EFEITO VIDRO */
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); 
    
    z-index: 9999; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    transition: all 0.3s ease;
}

.nav-content {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* LOGO CERIMONIAL (CURSIVA) */
.nav-logo {
    font-family: 'Great Vibes', cursive;
    font-size: 38px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, color 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
    color: #f0f0f0;
}

/* Ajuste Mobile */
@media (max-width: 480px) {
    .main-nav { height: 70px; }
    .nav-logo { font-size: 28px; }
}

/* ============================================================
   3. HERO SECTION (LARGURA TOTAL GARANTIDA)
   ============================================================ */
.hero {
    position: relative;
    height: 100dvh;
    width: 100vw; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: #000;
}

.hero-carousel-container {
    position: absolute;
    inset: 0; 
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.1) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    padding: 0 20px;
    margin-top: 60px; 
}

.hero .slide img {
    width: 100%; 
    height: 100%;
    object-fit: cover;
    object-position: center 45%; 
}

.hero h1 {
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-size: clamp(38px, 10vw, 88px); 
    font-weight: 600;
}

.hero-date { color: #ffffff; opacity: 0.9; font-size: 13px; font-weight: 600; letter-spacing: 0.2em; margin-bottom: 15px; display: block; }
.hero-subtitle { color: rgba(255, 255, 255, 0.95); font-size: clamp(17px, 4vw, 22px); font-weight: 300; margin-top: 20px; }
.serif { color: var(--oliva-soft); font-family: 'Playfair Display', serif; font-style: italic; }

/* Animação do Slide */
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1); z-index: 0; }
.slide.active { opacity: 1; z-index: 1; }

/* ============================================================
   4. CONTEÚDO E CARDS
   ============================================================ */
.section-container { padding: 40px 16px; max-width: 1000px; margin: 0 auto; }

.apple-card {
    background: var(--oliva-bg); border-radius: 28px; overflow: hidden;
    border: 1px solid rgba(112, 130, 56, 0.1);
}

.card-grid { display: grid; grid-template-columns: 1fr; }

.card-image img { width: 100%; height: 300px; object-fit: cover; display: block; }

.card-info { padding: 30px 20px; } 

.badge { font-size: 11px; font-weight: 600; color: var(--oliva-primary); text-transform: uppercase; letter-spacing: 0.05em; }

h2 { font-size: 30px; color: var(--oliva-deep); margin: 10px 0 20px; letter-spacing: -0.02em; } 

.details-stack { display: flex; flex-direction: column; gap: 20px; }

.detail-item strong { display: block; font-size: 11px; color: var(--apple-text-secondary); text-transform: uppercase; }
.detail-item p { font-size: 16px; font-weight: 500; }

.cta-button {
    display: block; width: 100%; background: var(--oliva-deep); color: #fff;
    text-align: center; text-decoration: none; padding: 18px; border-radius: 18px;
    font-weight: 600; margin-top: 30px; transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.cta-button:hover { background-color: #3b4a1c; }

/* Animação de Entrada */
.reveal { opacity: 0; transform: translateY(25px); will-change: transform, opacity; transition: opacity 1.2s ease, transform 1.2s cubic-bezier(0.2, 0, 0, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* ============================================================
   5. RODAPÉ E MEDIA QUERIES
   ============================================================ */
.apple-footer { padding: 60px 20px 100px; background: var(--oliva-bg); border-top: 1px solid rgba(0,0,0,0.05); }
.footer-container { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 980px; margin: 0 auto; gap: 40px; }
.footer-names { font-family: 'Playfair Display', serif; font-style: italic; font-size: 24px; color: var(--oliva-deep); }
.footer-date { font-size: 12px; letter-spacing: 0.1em; color: var(--apple-text-secondary); margin: 8px 0 20px; text-transform: uppercase; }
.footer-legal { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.footer-legal a { color: var(--oliva-primary); text-decoration: none; font-size: 12px; font-weight: 500; }
.footer-img { width: 130px; height: auto; display: block; }
.separator { display: none; }

.cookie-banner {
    position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
    width: 90%; max-width: 400px; background: rgba(29, 29, 31, 0.95);
    backdrop-filter: blur(20px); padding: 16px 20px; border-radius: 16px;
    z-index: 10000; display: none; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.cookie-content { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 15px; }
.cookie-content p { color: #fff; font-size: 13px; margin: 0; }
.cookie-content a { color: #fff; text-decoration: underline; }
#accept-cookies {
    background: #fff; color: #000; border: none; padding: 8px 16px;
    border-radius: 20px; font-size: 13px; font-weight: 600; cursor: pointer;
}

@media (min-width: 768px) {
    .card-grid { grid-template-columns: 1fr 1fr; }
    .card-image img { height: 100%; min-height: 500px; }
    .card-info { padding: 60px; }
    h2 { font-size: 34px; }
    .cta-button { width: auto; display: inline-block; padding: 14px 35px; }
    .footer-container { flex-direction: row; justify-content: space-between; text-align: left; }
    .footer-legal { flex-direction: row; }
    .footer-img { width: 200px; }
    .separator { display: inline; margin: 0 4px; color: #d2d2d7; }
}

/* =========================================
   6. BOTÃO DE CONFIRMAÇÃO HERO (PULSANTE)
   ========================================= */
.hero-actions {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.big-pulse-btn {
    background-color: var(--oliva-deep);
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    padding: 18px 40px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(74, 93, 35, 0.4);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255,255,255,0.2);
    animation: pulse-green 2s infinite;
}

.big-pulse-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(74, 93, 35, 0.6);
    background-color: #3b4a1c;
}

.big-pulse-btn .icon { font-size: 20px; }

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(74, 93, 35, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(74, 93, 35, 0); }
    100% { box-shadow: 0 0 0 0 rgba(74, 93, 35, 0); }
}

.big-pulse-btn.modo-presente {
    background-color: #fff;
    color: var(--oliva-deep);
    animation: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* =========================================
   7. BARRA DE AÇÃO - LISTA DE PRESENTES
   (Fica logo abaixo do Carrossel)
   ========================================= */
.gift-action-bar {
    width: 100%;
    background-color: #f5f5f7;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.big-pulse-btn-solid {
    background-color: var(--oliva-deep);
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    padding: 18px 50px;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(74, 93, 35, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    animation: pulse-shadow 2s infinite;
}

.big-pulse-btn-solid:hover {
    transform: translateY(-2px);
    background-color: #3b4a1c;
    box-shadow: 0 15px 30px rgba(74, 93, 35, 0.4);
}

.big-pulse-btn-solid .icon { font-size: 22px; }

@keyframes pulse-shadow {
    0% { box-shadow: 0 0 0 0 rgba(74, 93, 35, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(74, 93, 35, 0); }
    100% { box-shadow: 0 0 0 0 rgba(74, 93, 35, 0); }
}