/* ==========================================================================
   1. VARIÁVEIS GLOBAIS DO PROJETO (style.css) [1]
   ========================================================================== */
:root {
    --color-bg: #FAF4F2;           /* Off-white Rosado Suave (Fundo) */
    --color-card: #FFFDFC;         /* Pérola (Cards e Modais) */
    --color-border: #F4E3DF;       /* Divisor Rosé Macio */
    --color-text-dark: #3D1D1D;    /* Vinho Escuro Burgundy (Texto) */
    --color-text-muted: #927371;   /* Rosé Acinzedado (Subtítulos) */
    --color-rose-gold: #D48C70;    /* Rose Gold Quente (Destaques) */
    --color-blush: #DC8073;        /* Blush Romântico (Botões e Ativos) */
    --color-blush-hover: #C66C5F;  /* Blush Escurecido (Hover) */
    --color-white: #FFFFFF;        /* Branco Puro */
    
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
}

/* ==========================================================================
   2. ESTILOS GERAIS E RESETS
   ========================================================================== */
* {
    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);
}

/* ==========================================================================
   3. CLASSES UTILITÁRIAS COMUNS (style.css) [1]
   ========================================================================== */
.uppercase {
    text-transform: uppercase;
}

.tracking-wide {
    letter-spacing: 0.05em;
}

.hidden {
    display: none !important;
}

/* Efeito decorativo sutil de sombra rosa */
.glow-rose {
    box-shadow: 0 4px 20px -2px rgba(220, 128, 115, 0.12);
}

/* Transição de opacidade usada para esconder o welcome screen */
.fade-out {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease-in-out;
}

/* Canvas de alta performance de estrelas e corações 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;
    gap: 1.5rem;
}

.welcome-tag {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-blush);
}

.welcome-title {
    font-size: 1.875rem;
    font-weight: 400;
    letter-spacing: 0.025em;
    color: var(--color-text-dark);
}

.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;
}
/* ==========================================================================
   CORREÇÃO DE GLITCH DO MAPA LEAFLET ( style.css ) [1]
   ========================================================================== */
.leaflet-container {
    z-index: 10 !important;
}

/* Corrige o vazamento de tiles do Leaflet na tela [1] */
.leaflet-container .leaflet-tile {
    box-sizing: content-box !important;
}

.leaflet-container * {
    box-sizing: content-box !important;
}
/* ==========================================================================
   ESTILOS DO MAPA DO AMOR INTERATIVO (style.css) [1]
   ========================================================================== */
.map-section {
    margin-top: 4rem;
    position: relative;
    z-index: 10;
}

.map-wrapper {
    width: 100%;
    height: 250px; /* ⚠️ CRUCIAL: Define a altura física para o Leaflet renderizar! [1] */
    background-color: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(220, 128, 115, 0.08);
    margin-top: 1rem;
    position: relative;
}

/* Estilo do link do Google Maps dentro do popup do balãozinho [1] */
.map-link {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--color-blush);
    text-decoration: none;
    transition: color 0.2s ease;
}

.map-link:hover {
    color: var(--color-blush-hover);
}