/* ═══════════════════════════════════════════════════════
   galeria.css — GaleriaPRO Admin Shared Stylesheet
   Usado por: dashboard.php, gerenciar_album.php
═══════════════════════════════════════════════════════ */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg-void: #08090c;
    --bg-surface: #0e1117;
    --bg-panel: #13161d;
    --bg-raised: #1a1e28;
    --line: rgba(255,255,255,0.06);
    --line-mid: rgba(255,255,255,0.1);
    --gold: #FF0000;
    --gold-dim: #943338;
    --gold-glow: rgba(201,76,76,0.15);
    --text: #e8e9ec;
    --text-soft: #7a8099;
    --text-faint: #3e4460;
    --red: #e05555;
    --green: #4aad8b;
    --indigo: #818cf8;
}

html, body {
    background: var(--bg-void);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(ellipse 80% 60% at 10% 0%, rgba(201,168,76,0.04) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 90% 100%, rgba(99,102,241,0.03) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}
a{text-decoration: none;}
/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--bg-raised); border-radius: 10px; }

/* ── NAVBAR ── */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(8,9,12,0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: 0;
    height: 60px;
}
.navbar .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.brand-icon {
    width: 30px;
    height: 30px;
    background: var(--gold-glow);
    border: 1px solid var(--gold-dim);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--gold);
}
.brand-name {
    font-family: 'DM Sans';
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
    letter-spacing: 0.05em;
}
.brand-name em { font-style: normal; color: var(--gold); }

.nav-user { display: flex; align-items: center; gap: 16px; }
.user-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 12px 5px 5px;
    background: var(--bg-raised);
    border: 1px solid var(--line-mid);
    border-radius: 100px;
}
.user-avatar {
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, var(--gold-dim), #3d2e14);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    color: var(--gold);
}
.user-info { line-height: 1.3; }
.user-role { font-size: 10px; color: var(--text-soft); display: block; }
.user-name { font-size: 12px; font-weight: 500; color: var(--text); }

/* Back link variant (gerenciar_album) */
.nav-back {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-soft);
    text-decoration: none;
    padding: 6px 12px;
    border: 1px solid var(--line-mid);
    border-radius: 8px;
    transition: all 0.2s;
}
.nav-back:hover { color: var(--text); background: var(--bg-raised); }
.nav-context {
    font-size: 13px;
    color: var(--text-soft);
}
.nav-context strong { color: var(--text); font-weight: 500; }

.btn-logout {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(224,85,85,0.08);
    border: 1px solid rgba(224,85,85,0.2);
    border-radius: 8px;
    color: var(--red);
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s;
}
.btn-logout:hover { background: rgba(224,85,85,0.18); color: #ff6b6b; transform: translateY(-1px); }

/* ── LAYOUT ── */
.page-wrap {
    position: relative;
    z-index: 1;
    padding: 40px 0 80px;
}
.page-title {
    font-family: 'DM Sans';
    font-size: 26px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 4px;
}
.page-subtitle { font-size: 13px; color: var(--text-soft); }
.page-header {
    margin-bottom: 36px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}
.total-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--bg-raised);
    border: 1px solid var(--line-mid);
    border-radius: 100px;
    font-size: 12px;
    color: var(--text-soft);
}
.total-badge strong { color: var(--text); font-weight: 500; }


.badge-btn{ color: white; background: var(--red) }
/* ── PANEL ── */
.panel {
    background: var(--bg-panel);
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    animation: fadeUp 0.4s ease both;
}
.panel-header {
    padding: 18px 24px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 10px;
}
.panel-header-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    font-size: 12px;
}
.panel-header-icon.gold { background: var(--gold-glow); color: var(--gold); border: 1px solid var(--gold-dim); }
.panel-header-icon.blue { background: rgba(99,102,241,0.12); color: var(--indigo); border: 1px solid rgba(99,102,241,0.25); }
.panel-header-icon.green { background: rgba(74,173,139,0.1); color: var(--green); border: 1px solid rgba(74,173,139,0.25); }
.panel-title { font-size: 13px; font-weight: 500; color: var(--text); }
.panel-header-right { margin-left: auto; }
.panel-body { padding: 24px; }

/* ── FORM ── */
.field-group { margin-bottom: 20px; }
.field-label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}
.field-input {
    width: 100%;
    background: var(--bg-raised);
    border: 1px solid var(--line-mid);
    border-radius: 10px;
    color: var(--text);
    padding: 10px 14px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.field-input::placeholder { color: var(--text-faint); }
.field-input:focus {
    border-color: var(--gold-dim);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.08);
}
input[type="file"].field-input { cursor: pointer; }
input[type="file"].field-input::file-selector-button {
    background: var(--bg-surface);
    border: 1px solid var(--line-mid);
    color: var(--text-soft);
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 11px;
    margin-right: 10px;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: all 0.2s;
}
input[type="file"].field-input::file-selector-button:hover {
    background: var(--bg-raised);
    color: var(--text);
}

.btn-create {
    width: 100%;
    padding: 11px 0;
    background: linear-gradient(135deg, rgba(201,168,76,0.18), rgba(201,168,76,0.08));
    border: 1px solid var(--gold-dim);
    border-radius: 10px;
    color: var(--gold);
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
    margin-top: 8px;
}
.btn-create:hover {
    background: linear-gradient(135deg, rgba(201,168,76,0.28), rgba(201,168,76,0.14));
    border-color: var(--gold);
    transform: translateY(-1px);
}

/* ── TABLE ── */
.albums-table { width: 100%; border-collapse: collapse; }
.albums-table thead th {
    padding: 12px 20px;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-faint);
    border-bottom: 1px solid var(--line);
    background: rgba(0,0,0,0.2);
}
.albums-table tbody tr { border-bottom: 1px solid var(--line); transition: background 0.15s; }
.albums-table tbody tr:last-child { border-bottom: none; }
.albums-table tbody tr:hover { background: rgba(255,255,255,0.02); }
.albums-table td { padding: 16px 20px; vertical-align: middle; }

.album-cover {
    width: 64px; height: 44px;
    object-fit: cover; border-radius: 8px;
    border: 1px solid var(--line-mid); display: block;
}
.album-cover-placeholder {
    width: 64px; height: 44px;
    background: var(--bg-raised); border: 1px solid var(--line);
    border-radius: 8px; display: flex; align-items: center;
    justify-content: center; color: var(--text-faint); font-size: 16px;
}
.album-name { font-size: 13px; font-weight: 500; color: var(--text); margin-bottom: 3px; }
.album-date { font-size: 11px; color: var(--text-soft); }

.photo-count {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 4px 10px;
    background: rgba(74,173,139,0.08); border: 1px solid rgba(74,173,139,0.2);
    border-radius: 100px; font-size: 11px; font-weight: 500; color: var(--green);
}

/* ── ACTION BUTTONS ── */
.action-group { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.action-btn {
    width: 32px; height: 32px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 8px; font-size: 13px;
    text-decoration: none; cursor: pointer;
    transition: all 0.18s; border: 1px solid;
    background: transparent;
}
.action-btn.primary { background: rgba(99,102,241,0.1); border-color: rgba(99,102,241,0.25); color: var(--indigo); }
.action-btn.primary:hover { background: rgba(99,102,241,0.2); color: #a5b4fc; transform: translateY(-1px); }
.action-btn.edit { background: rgba(201,168,76,0.08); border-color: rgba(201,168,76,0.2); color: var(--gold); }
.action-btn.edit:hover { background: rgba(201,168,76,0.18); border-color: var(--gold-dim); transform: translateY(-1px); }
.action-btn.danger { background: rgba(224,85,85,0.08); border-color: rgba(224,85,85,0.2); color: var(--red); }
.action-btn.danger:hover { background: rgba(224,85,85,0.18); color: #ff6b6b; transform: translateY(-1px); }

/* ── MODAL ── */
.modal-content {
    background: var(--bg-panel);
    border: 1px solid var(--line-mid);
    border-radius: 16px; color: var(--text);
    box-shadow: 0 40px 80px rgba(0,0,0,0.6);
}
.modal-header { border-bottom: 1px solid var(--line); padding: 20px 24px; }
.modal-title { font-size: 14px; font-weight: 500; }
.modal-body { padding: 24px; }
.modal-footer { border-top: 1px solid var(--line); padding: 16px 24px; gap: 10px; }
.btn-close { filter: invert(0.5); opacity: 0.6; }
.btn-close:hover { filter: invert(0.8); opacity: 1; }

.btn-modal-cancel {
    padding: 9px 20px;
    background: transparent; border: 1px solid var(--line-mid);
    border-radius: 9px; color: var(--text-soft);
    font-family: 'DM Sans', sans-serif; font-size: 13px; cursor: pointer; transition: all 0.2s;
}
.btn-modal-cancel:hover { background: var(--bg-raised); color: var(--text); }
.btn-modal-save {
    padding: 9px 22px;
    background: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(79,70,229,0.2));
    border: 1px solid rgba(99,102,241,0.4);
    border-radius: 9px; color: #a5b4fc;
    font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 500; cursor: pointer; transition: all 0.2s;
}
.btn-modal-save:hover { background: linear-gradient(135deg, rgba(99,102,241,0.3), rgba(79,70,229,0.3)); border-color: rgba(99,102,241,0.6); color: #c7d2fe; transform: translateY(-1px); }

/* ── EMPTY STATE ── */
.empty-state { padding: 60px 24px; text-align: center; }
.empty-icon {
    width: 56px; height: 56px;
    background: var(--bg-raised); border: 1px solid var(--line);
    border-radius: 14px; display: flex; align-items: center;
    justify-content: center; font-size: 22px; color: var(--text-faint);
    margin: 0 auto 16px;
}
.empty-title { font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.empty-sub { font-size: 12px; color: var(--text-soft); }

/* ── HELPERS ── */
.sticky-top-custom { position: sticky; top: 80px; }
.divider { display: flex; align-items: center; gap: 12px; margin: 6px 0 20px; }
.divider-line { flex: 1; height: 1px; background: var(--line); }
.divider-text { font-size: 10px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.1em; }

/* ── GERENCIAR ALBUM — Drop Zone ── */
.drop-zone {
    border: 1px dashed var(--gold-dim);
    border-radius: 14px;
    background: rgba(201,168,76,0.02);
    padding: 48px 24px;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    position: relative;
}
.drop-zone:hover, .drop-zone.dragover {
    background: rgba(201,168,76,0.06);
    border-color: var(--gold);
}
.drop-zone-icon {
    width: 52px; height: 52px;
    background: var(--gold-glow);
    border: 1px solid var(--gold-dim);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: var(--gold);
    margin: 0 auto 16px;
    transition: transform 0.2s;
}
.drop-zone:hover .drop-zone-icon { transform: translateY(-3px); }
.drop-zone-title { font-size: 15px; font-weight: 500; color: var(--text); margin-bottom: 6px; }
.drop-zone-sub { font-size: 12px; color: var(--text-soft); }
.drop-zone-formats {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 14px;
    padding: 5px 12px;
    background: var(--bg-raised);
    border: 1px solid var(--line);
    border-radius: 100px;
    font-size: 11px; color: var(--text-faint);
}

/* ── GERENCIAR ALBUM — Progress ── */
.progress-wrap {
    margin-top: 20px;
    padding: 16px 20px;
    background: var(--bg-raised);
    border: 1px solid var(--line);
    border-radius: 12px;
    display: none;
}
.progress-wrap.active { display: block; }
.progress-label {
    display: flex; justify-content: space-between;
    font-size: 12px; color: var(--text-soft);
    margin-bottom: 10px;
}
.progress-label span:last-child { color: var(--gold); font-weight: 500; }
.progress-track {
    width: 100%; height: 4px;
    background: var(--bg-panel);
    border-radius: 100px; overflow: hidden;
}
.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--gold-dim), var(--gold));
    border-radius: 100px;
    width: 0%;
    transition: width 0.3s ease;
}

/* ── GERENCIAR ALBUM — Photo Grid ── */
.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}
.foto-container {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--line);
    cursor: grab;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
    aspect-ratio: 4/3;
    background: var(--bg-raised);
}
.foto-container:hover {
    border-color: var(--line-mid);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.foto-container:active { cursor: grabbing; }
.foto-thumb {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: opacity 0.2s;
}
.foto-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.2s;
    display: flex; align-items: flex-end; justify-content: flex-end;
    padding: 8px;
}
.foto-container:hover .foto-overlay { opacity: 1; }
.btn-delete {
    width: 28px; height: 28px;
    background: rgba(224,85,85,0.9);
    border: none; border-radius: 7px;
    color: white; font-size: 11px;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: background 0.15s, transform 0.15s;
    backdrop-filter: blur(4px);
}
.btn-delete:hover { background: var(--red); transform: scale(1.1); }
.drag-handle {
    position: absolute; top: 8px; left: 8px;
    width: 22px; height: 22px;
    background: rgba(0,0,0,0.5);
    border-radius: 5px;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.5); font-size: 10px;
    opacity: 0; transition: opacity 0.2s;
    backdrop-filter: blur(4px);
}
.foto-container:hover .drag-handle { opacity: 1; }

/* Sortable ghost */
.sortable-ghost { opacity: 0.3; border: 1px dashed var(--gold-dim); }
.sortable-chosen { box-shadow: 0 12px 40px rgba(0,0,0,0.5); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .sticky-top-custom { position: static; }
    .page-header { flex-direction: column; align-items: flex-start; gap: 12px; }
    .photos-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
}


/* ── ESTILOS ESPECÍFICOS DESTA PÁGINA ── */
        
        /* Área de Drag & Drop (Uploader) */
        #drop-zone {
            border: 2px dashed var(--line-mid);
            border-radius: 12px;
            background: var(--bg-raised);
            padding: 40px 20px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        #drop-zone:hover, #drop-zone.dragover {
            border-color: var(--gold);
            background: rgba(201,168,76,0.03);
        }
        .upload-icon {
            font-size: 32px;
            color: var(--gold);
            margin-bottom: 12px;
            opacity: 0.8;
            transition: transform 0.3s ease;
        }
        #drop-zone:hover .upload-icon { transform: translateY(-4px); opacity: 1; }
        .upload-title { color: var(--text); font-size: 14px; font-weight: 500; margin-bottom: 4px; }
        .upload-subtitle { color: var(--text-soft); font-size: 12px; }
        
        /* Barra de Progresso Customizada */
        .progress-wrapper { margin-top: 16px; }
        .progress-text { font-size: 11px; color: var(--text-soft); margin-bottom: 6px; display: flex; justify-content: space-between; }
        .progress-custom {
            height: 6px;
            background: rgba(0,0,0,0.4);
            border: 1px solid var(--line);
            border-radius: 10px;
            overflow: hidden;
        }
        .progress-custom-bar {
            height: 100%;
            background: linear-gradient(90deg, var(--gold-dim), var(--gold));
            width: 0%;
            transition: width 0.3s ease;
            border-radius: 10px;
        }

        /* Thumbnails e Ordenação */
        .foto-container { position: relative; cursor: grab; }
        .foto-container:active { cursor: grabbing; }
        .foto-thumb {
            width: 100%;
            height: 140px;
            object-fit: cover;
            border-radius: 10px;
            border: 1px solid var(--line-mid);
            transition: transform 0.3s, border-color 0.3s;
        }
        .foto-container:hover .foto-thumb {
            border-color: var(--gold-dim);
            transform: scale(1.02);
            box-shadow: 0 10px 20px rgba(0,0,0,0.4);
        }
        
        /* Botão de Deletar sobre a foto */
        .btn-delete-foto {
            position: absolute;
            top: 10px;
            right: 10px;
            width: 28px;
            height: 28px;
            background: rgba(14, 17, 23, 0.85); /* --bg-surface com opacidade */
            backdrop-filter: blur(4px);
            border: 1px solid rgba(224, 85, 85, 0.4);
            color: var(--red);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            cursor: pointer;
            opacity: 0;
            transition: all 0.2s;
            z-index: 2;
        }
        .foto-container:hover .btn-delete-foto { opacity: 1; }
        .btn-delete-foto:hover {
            background: var(--red);
            color: white;
            border-color: var(--red);
            transform: scale(1.1);
        }

        /* Fantasma do Drag and Drop */
        .sortable-ghost { opacity: 0.2; transform: scale(0.9); }



        .photo-card { 
            position: relative; 
            overflow: hidden; 
            border-radius: 12px; 
            border: 1px solid var(--line);
            transition: transform 0.3s ease, border-color 0.3s ease;
            background: var(--bg-panel);
            display: block;
        }
        
        .photo-card:hover { 
            transform: translateY(-5px); 
            border-color: var(--gold-dim);
            box-shadow: 0 15px 30px rgba(0,0,0,0.6); 
        }
        
        .photo-img { 
            object-fit: cover; 
            height: 260px; 
            width: 100%; 
            display: block;
            transition: transform 0.5s ease;
        }
        .photo-card:hover .photo-img { transform: scale(1.05); }
        
        /* Botão de download moderno na visão pública */
        .download-btn { 
            position: absolute; 
            bottom: 12px; 
            right: 12px; 
            background: rgba(14, 17, 23, 0.85);
            backdrop-filter: blur(4px);
            border: 1px solid var(--line-mid);
            color: var(--text);
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0; 
            transform: translateY(10px);
            transition: all 0.3s ease;
            z-index: 10;
            text-decoration: none;
        }
        .photo-card:hover .download-btn { opacity: 1; transform: translateY(0); }
        .download-btn:hover { background: var(--gold); color: #000; border-color: var(--gold); }

        /* Estilo dos Botões de Compartilhar */
        .share-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 16px;
            border-radius: 100px;
            font-size: 13px;
            font-weight: 500;
            text-decoration: none;
            transition: all 0.2s;
            color: white;
        }
        .share-whatsapp { background: rgba(37, 211, 102, 0.15); border: 1px solid rgba(37, 211, 102, 0.3); color: #4ade80; }
        .share-whatsapp:hover { background: #25D366; color: #000; }
        
        .share-facebook { background: rgba(24, 119, 242, 0.15); border: 1px solid rgba(24, 119, 242, 0.3); color: #60a5fa; }
        .share-facebook:hover { background: #1877F2; color: #fff; }

        /* Estilo Paginação Dark */
        .pagination { margin-top: 40px; }
        .page-link { background: var(--bg-panel); border-color: var(--line); color: var(--text-soft); }
        .page-link:hover { background: var(--bg-raised); color: var(--gold); border-color: var(--gold-dim); }
        .page-item.active .page-link { background: var(--gold-dim); border-color: var(--gold); color: #fff; }
        .page-item.disabled .page-link { background: transparent; border-color: transparent; color: var(--text-faint); }


        /* Mantém o botão de download sempre visível em telemóveis e tablets (até 768px) */
        @media (max-width: 768px) {
            .download-btn {
                opacity: 1 !important;
                transform: translateY(0) !important;
                /* Opcional: Aumentar ligeiramente o botão no mobile para facilitar o toque do dedo */
                width: 42px;
                height: 42px;
                bottom: 10px;
                right: 10px;
            }
        }
        
        /* Em alternativa/complemento: para qualquer ecrã que não suporte "hover" (touchscreens) */
        @media (hover: none) {
            .download-btn {
                opacity: 1 !important;
                transform: translateY(0) !important;
            }
        }


        /* ── FOOTER STYLE ── */
.main-footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--line);
    padding: 60px 0 30px;
    margin-top: 80px;
    position: relative;
    z-index: 10;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-text {
    color: var(--text-soft);
    font-size: 13px;
    line-height: 1.6;
    margin-top: 15px;
}

.footer-socials {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.social-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-faint);
    margin-bottom: 15px;
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 12px;
}

/* Botões Sociais */
.social-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-raised);
    border: 1px solid var(--line-mid);
    border-radius: 10px;
    color: var(--text-soft);
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-btn:hover {
    transform: translateY(-5px);
    color: var(--gold);
    border-color: var(--gold-dim);
    box-shadow: 0 5px 15px var(--gold-glow);
}

/* Cores específicas no Hover (Opcional) */
.social-btn.instagram:hover { color: #e1306c; border-color: #e1306c; }
.social-btn.tiktok:hover { color: #ff0050; border-color: #ff0050; }
.social-btn.youtube:hover { color: #ff0000; border-color: #ff0000; }
.social-btn.twitter:hover { color: #fff; border-color: #fff; }

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--line);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-faint);
    font-size: 12px;
    margin: 0;
}

/* Ajuste Responsivo */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-socials {
        align-items: center;
    }
    .main-footer {
        padding: 40px 0 20px;
    }
}