@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* ==========================================
   SISTEMA DE DESIGN & VARIÁVEIS (HSL PREMIUM)
   ========================================== */
:root {
    /* Paleta Cromática Principal (Mágica & Quente) */
    --primary-hue: 342; /* Rosa Pêssego Nobre */
    --primary-saturation: 85%;
    --primary-light: 68%;
    
    --primary: hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light));
    --primary-dark: hsl(var(--primary-hue), var(--primary-saturation), 45%);
    --primary-lightest: hsl(var(--primary-hue), 100%, 94%);
    --primary-glow: hsla(var(--primary-hue), var(--primary-saturation), var(--primary-light), 0.35);

    --accent-hue: 42; /* Dourado Ensolarado */
    --accent: hsl(var(--accent-hue), 95%, 62%);
    --accent-glow: hsla(var(--accent-hue), 95%, 62%, 0.3);

    /* Tons Neutros */
    --bg: #faf7f8;
    --card-bg: rgba(255, 255, 255, 0.75);
    --card-border: rgba(255, 255, 255, 0.4);
    
    --text-main: #2b1f22;
    --text-muted: #6e5e62;
    
    --success: #3ecf8e;
    --warning: #f5a623;
    --danger: #ff4757;

    /* Sombras Fina e Efeito Vidro */
    --glass-shadow: 0 8px 32px 0 rgba(220, 160, 175, 0.08);
    --hover-shadow: 0 20px 40px 0 rgba(220, 160, 175, 0.18);
    --border-radius-lg: 24px;
    --border-radius-md: 16px;
    --border-radius-sm: 8px;
    
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Tema Escuro Elegante (Opcional ou Automático) */
@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0f0a0c;
        --card-bg: rgba(22, 14, 17, 0.75);
        --card-border: rgba(255, 255, 255, 0.05);
        --text-main: #f5f0f2;
        --text-muted: #b0a0a5;
        --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
        --hover-shadow: 0 20px 40px 0 rgba(0, 0, 0, 0.45);
        --primary-lightest: hsl(var(--primary-hue), 30%, 15%);
    }
}

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

body {
    background-color: var(--bg);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    transition: background-color 0.5s ease;
}

h1, h2, h3, .brand-font {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

button, input, select {
    font-family: inherit;
    outline: none;
    border: none;
}

/* ==========================================
   ANIMAÇÕES E EFEITOS
   ========================================== */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(232, 110, 141, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(232, 110, 141, 0); }
    100% { box-shadow: 0 0 0 0 rgba(232, 110, 141, 0); }
}

.float-item {
    animation: float 6s ease-in-out infinite;
}

/* Efeito Vidro (Glassmorphism) */
.glass-panel {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--card-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
}

.glass-panel:hover {
    box-shadow: var(--hover-shadow);
    border-color: hsla(var(--primary-hue), var(--primary-saturation), var(--primary-light), 0.2);
}

/* ==========================================
   LAYOUT PRINCIPAL
   ========================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header Premium */
.header {
    padding: 2rem 0;
    margin-bottom: 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 247, 248, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(220, 160, 175, 0.08);
}

@media (prefers-color-scheme: dark) {
    .header {
        background: rgba(15, 10, 12, 0.7);
        border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    }
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-heart {
    font-size: 1.5rem;
    color: var(--primary);
    -webkit-text-fill-color: initial;
    animation: float 3s ease-in-out infinite;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.btn {
    padding: 0.8rem 1.6rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 8px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px var(--primary-glow);
}

.btn-secondary {
    background: var(--primary-lightest);
    color: var(--primary-dark);
}

.btn-secondary:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

/* ==========================================
   SEÇÃO HERO (INTRODUÇÃO IMPACTANTE)
   ========================================== */
.hero {
    text-align: center;
    padding: 4rem 1rem 3rem 1rem;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, hsla(var(--primary-hue), var(--primary-saturation), var(--primary-light), 0.12) 0%, rgba(250,247,248,0) 70%);
    z-index: -1;
    pointer-events: none;
}

.hero-tag {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-dark);
    background: var(--primary-lightest);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-main), #8d626e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero h1 span {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 400;
    color: var(--primary);
    -webkit-text-fill-color: initial;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 2.5rem auto;
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-val {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-dark);
    display: block;
    line-height: 1;
}

.stat-lbl {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================
   BARRA DE FILTROS & BUSCA INTELIGENTE
   ========================================== */
.search-filter-section {
    margin-bottom: 3rem;
}

.search-wrapper {
    display: flex;
    gap: 1rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 0.6rem;
    border-radius: 50px;
    box-shadow: var(--glass-shadow);
    align-items: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    transition: var(--transition);
}

.search-wrapper:focus-within {
    border-color: var(--primary);
    box-shadow: 0 10px 30px var(--primary-glow);
    transform: translateY(-2px);
}

.search-input {
    flex: 1;
    background: transparent;
    padding: 0.8rem 1.5rem;
    font-size: 1.1rem;
    color: var(--text-main);
}

.search-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px var(--primary-glow);
    transition: var(--transition);
}

.search-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* Filtro de Datas Categoria */
.date-selector-row {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.filter-select {
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-main);
    font-weight: 500;
    cursor: pointer;
    min-width: 150px;
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238d626e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    background-size: 1rem;
}

.filter-select:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.active-filters {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: -1rem;
    margin-bottom: 2rem;
}

.filter-tag {
    background: var(--primary-lightest);
    color: var(--primary-dark);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-tag a {
    font-weight: 800;
    color: var(--danger);
}

/* ==========================================
   GALERIA DE IMAGENS - MOSAICO STYLE PINTEREST
   ========================================== */
.gallery-wrapper {
    margin-bottom: 5rem;
}

.empty-state {
    text-align: center;
    padding: 5rem 1rem;
}

.empty-icon {
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.5;
    margin-bottom: 1.5rem;
}

.empty-state h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--text-muted);
}

.gallery-grid {
    columns: 4 300px;
    column-gap: 1.8rem;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 1.8rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transform: translateZ(0);
}

.gallery-card {
    border-radius: var(--border-radius-lg);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    overflow: hidden;
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
}

.gallery-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Informações de sobreposição (Hover) */
.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(15, 10, 12, 0.95) 0%, rgba(15, 10, 12, 0.4) 60%, rgba(15, 10, 12, 0) 100%);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    color: #fff;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.gallery-item:hover .gallery-card {
    box-shadow: var(--hover-shadow);
    transform: translateY(-5px);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover .card-overlay {
    opacity: 1;
    transform: translateY(0);
}

.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-desc {
    font-size: 0.85rem;
    opacity: 0.85;
    margin-bottom: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 0.8rem;
    font-size: 0.8rem;
    font-weight: 500;
}

.card-date {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    opacity: 0.8;
}

.card-faces {
    display: flex;
    gap: 0.4rem;
}

.badge {
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-mj {
    background: var(--primary);
    color: #fff;
}

.badge-parents {
    background: var(--accent);
    color: #2b1f22;
}

/* ==========================================
   PAINEL DE CONTROLE (DASHBOARD)
   ========================================== */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

@media (max-width: 900px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

/* Bloco de Controle (Controle de IA) */
.control-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.control-card {
    padding: 2rem;
}

.control-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(220, 160, 175, 0.12);
    padding-bottom: 0.8rem;
}

.toggle-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.toggle-label {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.toggle-title {
    font-weight: 600;
    font-size: 1rem;
}

.toggle-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Switch Estilizado */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary);
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--primary);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* Área de Upload em Lote */
.upload-zone {
    padding: 2.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 2px dashed rgba(232, 110, 141, 0.3);
    background: hsla(var(--primary-hue), var(--primary-saturation), 98%, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.upload-zone:hover {
    border-color: var(--primary);
    background: hsla(var(--primary-hue), var(--primary-saturation), 96%, 0.8);
}

.upload-icon {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.upload-files-list {
    margin-top: 1.5rem;
    max-height: 200px;
    overflow-y: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.upload-progress-item {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(220, 160, 175, 0.15);
    padding: 0.8rem 1.2rem;
    border-radius: var(--border-radius-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.upload-progress-bar {
    height: 4px;
    background: var(--primary-lightest);
    width: 100%;
    border-radius: 10px;
    margin-top: 0.5rem;
    overflow: hidden;
}

.upload-progress-fill {
    height: 100%;
    background: var(--primary);
    width: 0%;
    transition: width 0.3s ease;
}

/* Grade de Estatísticas Administrativas */
.stats-cards-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.admin-stat-card {
    padding: 1.5rem;
    text-align: center;
}

.admin-stat-card h4 {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.admin-stat-val {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-dark);
}

/* ==========================================
   MODAL DE VISUALIZAÇÃO PREMIUM (LIGHTBOX)
   ========================================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 10, 12, 0.98);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.lightbox-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    width: 90%;
    max-width: 1200px;
    height: 80%;
    max-height: 800px;
    background: var(--bg);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    animation: float 8s ease-in-out infinite alternate;
}

@media (max-width: 800px) {
    .lightbox-content {
        grid-template-columns: 1fr;
        grid-template-rows: 2fr 1fr;
        height: 95%;
        max-height: initial;
    }
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: 800;
    z-index: 1001;
    transition: var(--transition);
}

.lightbox-close:hover {
    background: var(--primary);
    color: #fff;
    transform: rotate(90deg);
}

.lightbox-media {
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    height: 100%;
}

.lightbox-media img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.lightbox-info {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    overflow-y: auto;
}

.lightbox-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.lightbox-desc {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.lightbox-details {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.detail-item {
    border-bottom: 1px solid rgba(220, 160, 175, 0.12);
    padding-bottom: 0.6rem;
}

.detail-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.detail-value {
    font-weight: 600;
    color: var(--text-main);
}

.lightbox-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.lightbox-tag {
    background: var(--primary-lightest);
    color: var(--primary-dark);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* ==========================================
   FOOTER PREMIUM
   ========================================== */
.footer {
    padding: 4rem 0 3rem 0;
    border-top: 1px solid rgba(220, 160, 175, 0.08);
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-love {
    color: var(--primary);
    font-size: 1.2rem;
    display: inline-block;
    animation: float 2s ease-in-out infinite;
}

/* ==========================================
   WIDGET CAIXINHA DE MÚSICA FLUTUANTE (FAB MINIMALISTA)
   ========================================== */
.music-fab-container {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 999;
}

.music-fab {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(232, 110, 141, 0.85); /* Tom rosa pêssego translúcido */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 24px var(--primary-glow);
    transition: var(--transition);
    position: relative;
    outline: none;
}

/* Duplo Ícone: Nota musical estática por padrão, CD gira tocando */
.music-fab .music-note-icon {
    font-size: 1.2rem;
    transition: var(--transition);
    display: block;
}

.music-fab .disc-icon {
    font-size: 1.3rem;
    display: none;
    transition: var(--transition);
}

.music-fab:hover {
    transform: scale(1.08) translateY(-2px);
    background: var(--primary);
    box-shadow: 0 12px 32px rgba(232, 110, 141, 0.55);
}

/* Estado Tocando (Playing) */
.music-fab.playing {
    background: var(--primary);
    animation: pulse-glow 2.5s infinite;
}

.music-fab.playing .music-note-icon {
    display: none;
}

.music-fab.playing .disc-icon {
    display: block;
    animation: rotate-disc 3.5s linear infinite;
}

@keyframes rotate-disc {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Partículas de Notas Musicais Flutuantes (Versão FAB) */
.note-particle {
    position: absolute;
    color: var(--primary);
    font-size: 0.95rem;
    pointer-events: none;
    opacity: 0;
    z-index: 998;
}

@keyframes float-note-fab {
    0% {
        transform: translate(0, 0) scale(0.5) rotate(0deg);
        opacity: 0;
    }
    15% {
        opacity: 0.9;
    }
    100% {
        transform: translate(var(--x-offset), -90px) scale(1.2) rotate(var(--rotation));
        opacity: 0;
    }
}

/* ==========================================
   OTIMIZAÇÕES DE ALTA PERFORMANCE PARA CELULAR
   ========================================== */
@media (max-width: 600px) {
    /* Ajustes Gerais */
    body {
        background-color: var(--bg);
    }
    
    .container {
        padding: 0 1rem; /* Mais espaço útil nas laterais */
    }

    .header {
        padding: 1.2rem 0;
        margin-bottom: 1rem;
    }

    .logo {
        font-size: 1.4rem;
    }

    .logo-heart {
        font-size: 1.2rem;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    /* Hero Section Super Compacta */
    .hero {
        padding: 1.5rem 0.5rem 1rem 0.5rem;
        margin-bottom: 0.5rem;
    }

    .hero::before {
        width: 320px;
        height: 320px;
    }

    .hero-tag {
        font-size: 0.7rem;
        padding: 0.35rem 0.8rem;
        margin-bottom: 0.8rem;
    }

    .hero h1 {
        font-size: 2.2rem; /* Tamanho perfeito para telas pequenas sem quebrar */
        line-height: 1.2;
        margin-bottom: 0.6rem;
    }

    .hero p {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
        padding: 0 0.5rem;
    }

    .stats-grid {
        margin-top: 0.8rem;
        gap: 1rem;
    }

    .stat-item {
        padding: 0.8rem 1.5rem !important;
    }

    .stat-val {
        font-size: 2rem;
    }

    /* Busca e Filtros Inteligentes de Alta Performance no Celular */
    .search-filter-section {
        margin-bottom: 1.5rem;
    }

    .search-wrapper {
        padding: 0.4rem;
        margin-bottom: 1.2rem;
        gap: 0.5rem;
        border-radius: 30px;
    }

    .search-input {
        padding: 0.5rem 0.8rem;
        font-size: 0.95rem;
    }

    .search-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .date-selector-row {
        gap: 0.6rem;
        margin-bottom: 1.2rem;
    }

    .filter-select {
        flex: 1;
        min-width: 100px;
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        background-position: right 0.6rem center;
        background-size: 0.8rem;
    }

    .active-filters {
        margin-top: -0.5rem;
        margin-bottom: 1rem;
        gap: 0.5rem;
    }

    .filter-tag {
        padding: 0.3rem 0.7rem;
        font-size: 0.75rem;
    }

    /* Galeria Mosaico Pinterest Breathtaking em 2 Colunas no Celular */
    .gallery-grid {
        columns: 2; /* 2 colunas no celular aproveitam perfeitamente a tela e exibem mais fotos */
        column-gap: 0.8rem; /* Gaps charmosos e compactos */
    }

    .gallery-item {
        margin-bottom: 0.8rem;
    }

    .gallery-card {
        border-radius: var(--border-radius-md);
    }

    .card-overlay {
        padding: 1rem 0.8rem 0.8rem 0.8rem;
        background: linear-gradient(to top, rgba(15, 10, 12, 0.98) 0%, rgba(15, 10, 12, 0.6) 70%, rgba(15, 10, 12, 0) 100%);
    }

    .card-title {
        font-size: 0.85rem;
        margin-bottom: 0.2rem;
    }

    .card-desc {
        font-size: 0.7rem;
        margin-bottom: 0.4rem;
        -webkit-line-clamp: 2;
    }

    .card-meta {
        padding-top: 0.5rem;
        font-size: 0.65rem;
    }

    .badge {
        padding: 0.15rem 0.4rem;
        font-size: 0.6rem;
    }

    /* Ajuste do Lightbox Modal para Touch Screens */
    .lightbox-close {
        top: 1rem;
        right: 1rem;
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
    }

    .lightbox-content {
        width: 95%;
        height: 90%;
        grid-template-columns: 1fr;
        grid-template-rows: 1.5fr 1fr;
    }

    .lightbox-info {
        padding: 1.2rem;
    }

    .lightbox-info h3 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }

    .lightbox-desc {
        font-size: 0.85rem;
        margin-bottom: 1rem;
        line-height: 1.5;
    }

    .lightbox-details {
        gap: 0.6rem;
    }

    .detail-item {
        padding-bottom: 0.4rem;
    }

    .detail-label {
        font-size: 0.7rem;
    }

    .detail-value {
        font-size: 0.8rem;
    }

    .lightbox-tags {
        margin-top: 0.8rem;
        gap: 0.4rem;
    }

    .lightbox-tag {
        padding: 0.2rem 0.5rem;
        font-size: 0.7rem;
    }

    /* Widget Flutuante no Celular (Ultra Discreto) */
    .music-fab-container {
        bottom: 1rem;
        right: 1rem;
    }

    .music-fab {
        width: 44px;
        height: 44px;
    }

    .music-fab .music-note-icon {
        font-size: 1rem;
    }

    .music-fab .disc-icon {
        font-size: 1.1rem;
    }
}

