/* --- ESTILOS v19.6 (UX MOBILE + DESIGN ORIGINAL RESTAURADO) --- */
:root {
    --primary-dark: #1a2c22;
    --accent-orange: #d97d3e;
    --text-light: #f4f4f4;
    --font-header: 'Montserrat', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body { 
    background: var(--primary-dark); 
    color: var(--text-light); 
    font-family: 'Roboto', sans-serif; 
    overflow-x: hidden;
    padding-bottom: 80px; /* Previne que o conteúdo fique por trás da Bottom Nav */
}

.container { width: 92%; max-width: 1200px; margin: 0 auto; }
.hidden { display: none !important; }
.text-center { text-align: center; }
.page-margin { padding-top: 70px; padding-bottom: 20px; }

/* --- CABEÇALHO --- */
#main-header { 
    position: fixed; top: 0; width: 100%; z-index: 3000;
    background: rgba(26, 44, 34, 0.95); backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.1); padding: 12px 0;
}
.header-content { display: flex; justify-content: space-between; align-items: center; }
.header-logo { height: 28px; }

/* --- NAVEGAÇÃO INFERIOR (BOTTOM NAV) --- */
.bottom-nav {
    position: fixed; bottom: 0; left: 0; width: 100%;
    background: #121f18; border-top: 1px solid rgba(255,255,255,0.1);
    display: flex; justify-content: space-around; align-items: center;
    height: 65px; z-index: 2000; padding-bottom: env(safe-area-inset-bottom);
}
.nav-item {
    background: none; border: none; color: #777;
    display: flex; flex-direction: column; align-items: center;
    font-size: 0.65rem; font-weight: 700; cursor: pointer;
    flex: 1; transition: 0.3s; text-transform: uppercase;
}
.nav-item i { font-size: 1.4rem; margin-bottom: 4px; }
.nav-item.active { color: var(--accent-orange); }

/* --- SEÇÕES E TIPOGRAFIA --- */
.section-title { font-family: var(--font-header); font-size: 1.8rem; margin-bottom: 5px; }
.section-subtitle { opacity: 0.6; margin-bottom: 25px; font-size: 0.9rem; }
.highlight-orange { color: var(--accent-orange); }

/* --- MODO SONHAR (WISHLIST) --- */
.wishlist-container { margin-bottom: 20px; }
.wish-card { 
    background: rgba(255,255,255,0.05); padding: 20px; border-radius: 15px; 
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px;
    border-left: 4px solid var(--accent-orange);
}
.wish-info h3 { font-size: 1.1rem; margin-bottom: 10px; font-family: var(--font-header); }
.wish-info ul { list-style: none; font-size: 0.85rem; opacity: 0.9; }
.btn-go { background: none; border: none; color: #aaa; font-size: 1.2rem; padding: 10px; cursor: pointer; transition: 0.2s; }
.btn-go:hover { color: var(--accent-orange); }

/* --- MODO EXPLORAR (HERO E FEATURES) --- */
#hero { 
    height: 50vh; border-radius: 20px; overflow: hidden; position: relative;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7)), url('hero.jpg') center/cover; 
    margin-bottom: 30px; display: flex; align-items: center; justify-content: center;
}
.hero-content { position: relative; z-index: 10; text-align: center; padding: 20px; width: 100%; }
.hero-content h1 { font-size: 2.5rem; font-family: var(--font-header); margin-bottom: 15px; }
.tagline { margin: 0 auto 30px; opacity: 0.9; max-width: 500px; line-height: 1.6; }

#features { background: white; color: #333; border-radius: 20px; padding: 40px 20px; margin-top: -50px; position: relative; z-index: 5; text-align: center; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 20px; margin-top: 20px; }
.feature-card { padding: 15px; }
.feature-card i { font-size: 1.8rem; color: var(--accent-orange); margin-bottom: 10px; }
.feature-card h3 { font-size: 1rem; margin-bottom: 5px; color: var(--primary-dark); }
.feature-card p { font-size: 0.8rem; opacity: 0.8; }

/* --- MODO RECORDAR (BLOG) --- */
.blog-timeline { display: flex; flex-direction: column; gap: 15px; margin-top: 10px; }
.history-card { 
    background: rgba(255,255,255,0.05); padding: 15px; border-radius: 12px; 
    text-align: left; color: white; border-left: 4px solid var(--accent-orange);
}
.blog-location { font-size: 1.1rem; font-weight: bold; margin-bottom: 5px; }
.history-card img { width: 100%; border-radius: 10px; margin: 10px 0; border: 1px solid #444; }

/* --- BOTÕES GERAIS --- */
.btn { 
    padding: 12px 24px; border-radius: 10px; border: none; font-weight: 700; 
    cursor: pointer; font-family: var(--font-header); transition: 0.2s;
    text-transform: uppercase; font-size: 0.8rem;
}
.btn-orange { background: var(--accent-orange); color: white; }
.btn-outline { background: none; border: 1px solid var(--accent-orange); color: var(--accent-orange); }
.btn-large { padding: 16px 32px; font-size: 0.9rem; }
.btn-text { 
    background: none; border: none; color: #aaa; cursor: pointer; 
    font-weight: 600; text-align: center; display: block; 
    text-transform: uppercase; font-size: 0.8rem; padding: 15px; margin-top: 10px;
}
.w-full { width: 100%; }

/* --- DASHBOARD FLUTUANTE (PILOT HUD) --- */
#tracking-dashboard {
    position: fixed; bottom: 85px; left: 50%; transform: translateX(-50%);
    width: 94%; max-width: 500px;
    background: rgba(18, 31, 24, 0.96); backdrop-filter: blur(15px);
    border-radius: 20px; border: 1px solid var(--accent-orange);
    padding: 15px; z-index: 1500;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}
.dashboard-top-bar {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.info-badge { font-size: 0.85rem; font-weight: 600; color: #ddd; display: flex; align-items: center; gap: 5px; }
.clickable-value { color: var(--accent-orange); text-decoration: underline; cursor: pointer; }
.dashboard-content { display: flex; justify-content: space-around; align-items: center; }

.btn-icon-round {
    width: 48px; height: 48px; border-radius: 50%; border: none;
    color: white; display: flex; align-items: center; justify-content: center; 
    font-size: 1.2rem; box-shadow: 0 4px 10px rgba(0,0,0,0.3); cursor: pointer;
}
.circle-red { background: #E53935; }
.circle-blue { background: #2196F3; }
.circle-green { background: #4CAF50; }
.circle-orange { background: var(--accent-orange); }
.circle-gray { background: #555; }

/* --- MODAIS E FORMULÁRIOS --- */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.85); display: flex; align-items: center; justify-content: center; z-index: 5000;
    backdrop-filter: blur(8px);
}
.modal-content {
    background: #25382c; padding: 30px; border-radius: 20px; width: 90%; max-width: 400px;
    border: 1px solid #3a5244;
}
/* Restaura o título centralizado no modal */
.modal-content h3 {
    text-align: center;
    font-family: var(--font-header);
    margin-bottom: 20px;
    color: white;
    font-size: 1.4rem;
}
.wide-modal { max-width: 600px; max-height: 85vh; overflow-y: auto; text-align: left;}

.input-dark, select, textarea {
    width: 100%; padding: 15px; background: #1a2c22; border: 1px solid #3a5244;
    color: white; border-radius: 10px; margin-bottom: 15px; outline: none; font-family: 'Roboto', sans-serif;
}

.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.modal-header h3 { margin-bottom: 0; }
.close-x { background: none; border: none; color: white; font-size: 2rem; cursor: pointer; }

/* --- COMPONENTES EXTRAS --- */
#toast-container { position: fixed; top: 80px; left: 50%; transform: translateX(-50%); z-index: 9999; }
.toast { background: var(--accent-orange); color: white; padding: 12px 25px; border-radius: 50px; margin-bottom: 10px; font-weight: 600; font-size: 0.85rem; box-shadow: 0 5px 15px rgba(0,0,0,0.3); }

.custom-file-upload {
    display: block; width: 100%; padding: 25px; border: 2px dashed #d97d3e;
    text-align: center; cursor: pointer; border-radius: 10px; color: #d97d3e; font-weight: bold;
    position: relative; margin-bottom: 15px;
}
#log-photo { width: 0.1px; height: 0.1px; opacity: 0; overflow: hidden; position: absolute; z-index: -1; }
#photo-preview img { width: 100%; border-radius: 10px; margin-bottom: 15px; border: 1px solid #3a5244; }

.data-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }