/* ─── CSS Variables ─────────────────────────────────────────────────────────── */

:root {
    --sb-gold: #c5a059;
    --sb-gold-dark: #a68546;
    --sb-gold-light: #e6c68a;
    --sb-black: #0a0e17;
    --sb-dark-overlay: rgba(10, 14, 23, 0.85);
    --sb-navy: #0f172a;
}

/* ─── Base ──────────────────────────────────────────────────────────────────── */

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--sb-black);
    color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ─── Tipografia ────────────────────────────────────────────────────────────── */

.font-vintage {
    font-family: 'Cinzel', serif;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.font-premium {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.font-serif-clean {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    line-height: 1.6;
}

/* ─── Backgrounds & Animações ───────────────────────────────────────────────── */

@keyframes meshGradient {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.bg-barber-luxury-main {
    background: linear-gradient(rgba(5, 7, 10, 0.8), rgba(10, 14, 23, 0.95)),
        url('https://images.unsplash.com/photo-1503951914875-452162b0f3f1?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* iOS não suporta background-attachment: fixed corretamente */
@media (max-width: 768px) {
    .bg-barber-luxury-main {
        background-attachment: scroll;
    }
}

.bg-mesh-animado {
    background: linear-gradient(-45deg, #0a0e17, #0f172a, #1e1b4b, #0a0e17);
    background-size: 400% 400%;
    animation: meshGradient 15s ease infinite;
}

/* ─── Glassmorphism ─────────────────────────────────────────────────────────── */

.glass-luxury {
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    background: rgba(10, 14, 23, 0.75);
    border: 1px solid rgba(197, 160, 89, 0.15);
}

.blur-overlay {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* ─── Formulários (Welcome Page) ────────────────────────────────────────────── */

.input-luxury-clean {
    font-family: 'Inter', sans-serif !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(197, 160, 89, 0.2) !important;
    border-radius: 6px !important;
    color: #ffffff !important;
    font-size: 0.875rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1rem !important;
}

.input-luxury-clean:focus {
    background: rgba(197, 160, 89, 0.08) !important;
    border-color: var(--sb-gold) !important;
    outline: none !important;
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.15) !important;
}

.input-luxury-clean::placeholder {
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
}

/* ─── Botões ────────────────────────────────────────────────────────────────── */

.btn-barber-gold {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--sb-gold), var(--sb-gold-dark));
    color: #000;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
    transition: all 0.4s ease;
    border: none;
}

.btn-barber-gold:hover {
    filter: brightness(1.2);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(197, 160, 89, 0.3);
}

/* ─── Auxiliares ────────────────────────────────────────────────────────────── */

.platinum-glow {
    box-shadow: 0 0 60px -15px rgba(197, 160, 89, 0.4);
}

.text-gold {
    color: var(--sb-gold);
}

/* ─── Selects & Date pickers ────────────────────────────────────────────────── */

select option {
    background-color: #0A0E17 !important;
    color: white !important;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

/* Focus restrito a inputs dentro do formulário da welcome (não afeta admin/auth) */
.input-luxury-clean:focus,
.input-vintage:focus {
    outline: none;
    border-color: var(--sb-gold);
    box-shadow: 0 0 0 1px var(--sb-gold);
}
