﻿/* ==========================================================================
   NOITE EXCLUSIVA - PREMIUM STYLESHEET
   ========================================================================== */

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

   :root {
       /* Paleta de Cores de Luxo */
       --gold-primary: #D4AF37;
       --gold-light: #F9E596;
       --gold-dark: #997A15;
       --gold-gradient: linear-gradient(135deg, #BF953F 0%, #FCF6BA 25%, #B38728 50%, #FBF5B7 75%, #AA771C 100%);
       --bg-deep: #050505;
       --bg-card: rgba(17, 17, 17, 0.7); /* Translúcido para o efeito vidro */
       --text-main: #EAEAEA;
       --text-muted: #888888;
   }
   
   /* --- SCROLLBAR PERSONALIZADA (O detalhe que muda tudo) --- */
   ::-webkit-scrollbar {
       width: 8px;
   }
   ::-webkit-scrollbar-track {
       background: var(--bg-deep);
   }
   ::-webkit-scrollbar-thumb {
       background: var(--gold-dark);
       border-radius: 10px;
   }
   ::-webkit-scrollbar-thumb:hover {
       background: var(--gold-primary);
   }
   
   /* --- BASE & TIPOGRAFIA --- */
   body {
       background-color: var(--bg-deep);
       /* Fundo com um gradiente radial extremamente subtil para não ser um preto "chapado" */
       background-image: radial-gradient(circle at 50% 0%, #1a1a1a 0%, #050505 60%);
       color: var(--text-main);
       font-family: 'Montserrat', sans-serif;
       -webkit-font-smoothing: antialiased;
       min-height: 100vh;
   }
   
   h1, h2, h3, h4, h5 {
       font-family: 'Playfair Display', serif;
       letter-spacing: 1px;
   }
   
   /* --- NAVEGAÇÃO E LOGOTIPO (Com o truque da Lupa) --- */
   .navbar {
       background: rgba(5, 5, 5, 0.98) !important;
       border-bottom: 1px solid rgba(212, 175, 55, 0.15);
       padding: 15px 0;
       z-index: 1050;
       box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
   }
   
   #logo-principal {
       height: 140px; 
       object-fit: contain;
       mix-blend-mode: screen;
       transform: scale(1.9); /* O truque para ignorar a margem preta da imagem */
       transform-origin: left center;
       transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
       margin-left: 20px;
   }
   
   #logo-principal:hover {
       transform: scale(2.05); /* Zoom elegante */
   }
   
   /* --- BOTÕES PREMIUM --- */
   .btn-gold {
       background: var(--gold-gradient);
       color: #000 !important;
       font-weight: 600;
       font-size: 0.8rem;
       text-transform: uppercase;
       letter-spacing: 2px;
       padding: 12px 30px;
       border: none;
       border-radius: 3px;
       transition: all 0.4s ease;
       box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
   }
   
   .btn-gold:hover {
       transform: translateY(-3px);
       box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
   }
   
   .btn-outline-gold {
       background: transparent;
       color: var(--gold-primary);
       border: 1px solid var(--gold-primary);
       font-weight: 500;
       font-size: 0.8rem;
       text-transform: uppercase;
       letter-spacing: 2px;
       padding: 11px 25px;
       border-radius: 3px;
       transition: all 0.4s ease;
   }
   
   .btn-outline-gold:hover {
       background: var(--gold-primary);
       color: #000 !important;
       box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
   }
   
   /* Fix para botões não cortarem texto */
   .action-buttons a {
       white-space: nowrap;
       display: inline-flex;
       align-items: center;
       justify-content: center;
   }
   
   /* --- MENU LATERAL (GLASSMORPHISM) E STICKY --- */
   @media (min-width: 992px) {
       .sticky-sidebar {
           position: sticky;
           top: 130px;
       }
   }
   
   .sidebar-filtros {
       background: var(--bg-card);
       backdrop-filter: blur(10px); /* Efeito vidro */
       -webkit-backdrop-filter: blur(10px);
       border: 1px solid rgba(255, 255, 255, 0.05);
       border-radius: 8px;
       padding: 35px 25px;
       box-shadow: 0 15px 35px rgba(0,0,0,0.4);
   }
   
   .filter-label {
       color: var(--gold-light);
       font-size: 0.75rem;
       text-transform: uppercase;
       letter-spacing: 2px;
       margin-bottom: 10px;
       font-weight: 500;
       display: block;
   }
   
   /* Campos de Formulário Elegantes */
   .form-select, .form-control {
       background-color: transparent !important;
       border: none;
       border-bottom: 1px solid #444;
       color: #fff !important;
       border-radius: 0;
       padding: 10px 5px;
       font-size: 0.95rem;
       transition: all 0.3s ease;
       box-shadow: none !important;
   }
   
   .form-select:focus, .form-control:focus {
       border-bottom-color: var(--gold-primary);
       background-color: rgba(212, 175, 55, 0.03) !important;
   }
   
   /* Para o texto do Select ficar legível nas opções */
   .form-select option {
       background-color: #111;
       color: #fff;
   }
   
   /* --- GRADE DE MODELOS & ANIMAÇÕES --- */
   /* Animação de entrada dos cards */
   @keyframes fadeUp {
       from { opacity: 0; transform: translateY(30px); }
       to { opacity: 1; transform: translateY(0); }
   }
   
   .profile-card {
       background: #0d0d0d;
       border-radius: 10px;
       overflow: hidden;
       transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
       border: 1px solid rgba(212, 175, 55, 0.08);
       height: 100%;
       position: relative;
       animation: fadeUp 0.8s ease backwards;
   }
   
   /* Atraso em cascata para os cartões aparecerem um a um */
   .col-xl-4:nth-child(1) .profile-card { animation-delay: 0.1s; }
   .col-xl-4:nth-child(2) .profile-card { animation-delay: 0.2s; }
   .col-xl-4:nth-child(3) .profile-card { animation-delay: 0.3s; }
   .col-xl-4:nth-child(4) .profile-card { animation-delay: 0.4s; }
   
   .profile-card:hover {
       transform: translateY(-10px);
       border-color: rgba(212, 175, 55, 0.5);
       box-shadow: 0 20px 40px rgba(0,0,0,0.8), 0 0 20px rgba(212, 175, 55, 0.15);
   }
   
   .profile-img-container {
       height: 400px;
       width: 100%;
       overflow: hidden;
       position: relative;
   }
   
   /* Gradiente na base da foto para suavizar a transição para o texto */
   .profile-img-container::after {
       content: '';
       position: absolute;
       bottom: 0; left: 0; right: 0;
       height: 40%;
       background: linear-gradient(to top, #0d0d0d 0%, transparent 100%);
       pointer-events: none;
   }
   
   .profile-img-container img {
       width: 100%;
       height: 100%;
       object-fit: cover;
       object-position: center top;
       transition: transform 1s ease;
   }
   
   .profile-card:hover .profile-img-container img {
       transform: scale(1.08);
   }
   
   .profile-info {
       padding: 20px 25px 30px;
       text-align: center;
       position: relative;
       z-index: 2; /* Fica acima do gradiente da imagem */
       margin-top: -30px; /* Puxa o texto ligeiramente para cima da imagem */
   }
   
   .profile-info h5 {
       color: var(--text-main);
       font-size: 1.6rem;
       margin-bottom: 8px;
       font-weight: 600;
       text-shadow: 0 2px 4px rgba(0,0,0,0.8);
   }
   
   .profile-info .price {
       font-size: 1.1rem;
       font-weight: 500;
       color: var(--gold-primary);
       font-family: 'Montserrat', sans-serif;
       letter-spacing: 1px;
   }
   
   /* --- RESPONSIVIDADE MOBILE OTIMIZADA --- */
   @media (max-width: 991px) {
       #logo-principal {
           height: 110px;
           transform: scale(2.2); 
           transform-origin: center center;
           margin-left: 0;
           margin-bottom: 35px;
       }
       
       .navbar { padding: 10px 0 20px 0; }
       
       .action-buttons {
           padding: 0 10px;
           width: 100%;
           display: flex;
           gap: 10px;
       }
       
       .btn-gold, .btn-outline-gold {
           padding: 12px 10px;
           font-size: 0.75rem;
           flex: 1; /* Faz os botões ocuparem 50% cada no telemóvel */
           text-align: center;
       }
       
       .sidebar-filtros { margin-bottom: 30px; }
       
       .profile-img-container { height: 380px; }
   }

   /* --- ESTILOS EXCLUSIVOS DO DASHBOARD --- */

/* Esconde o input original feio do navegador */
input[type="file"] {
    display: none;
}

/* Cria a nova zona de upload premium */
.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background: rgba(212, 175, 55, 0.05);
    border: 1px dashed var(--gold-primary);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-main);
    text-align: center;
}

.file-upload-label:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--gold-light);
    transform: translateY(-2px);
}

.file-upload-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--gold-primary);
}

.file-name-display {
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--gold-primary);
    font-weight: 500;
}

/* Dicas de texto mais claras */
.text-dica {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 0.8rem;
    margin-top: 5px;
    display: block;
}