/* ==========================================================================
   com_classificados — Redesign (arte docs/marketing/redesign/tema_*.html)
   Home, busca de terapeutas e perfil do terapeuta. As cores seguem o tema
   sazonal do template (--nv-*, injetadas por templates/redesign/helper.php);
   os valores padrão abaixo são os do tema Black Friday da arte.
   Escopo: .nv-redesign (div raiz de cada tela) — não afeta outras telas.
 ========================================================================== */
.nv-redesign {
    --bg-950: var(--nv-bg, #06020c);
    --bg-900: #0c0418;
    --bg-800: #190933;
    --purple: var(--nv-primary, #a855f7);
    --purple-light: #c084fc;
    --purple-glow: rgba(168, 85, 247, .45);
    --gold: var(--nv-secondary, #fbbf24);
    --gold-dark: var(--nv-accent, #d97706);
    --gold-glow: rgba(251, 191, 36, .4);
    --border-dark: rgba(168, 85, 247, .2);
    --txt: var(--nv-text, #f8fafc);
    --txt-muted: var(--nv-muted, #cbd5e1);
    font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
    color: var(--txt);
    line-height: 1.6;
}
.nv-redesign h1, .nv-redesign h2, .nv-redesign h3, .nv-redesign h4, .nv-redesign h5, .nv-redesign h6 {
    font-family: 'Outfit', 'Inter', system-ui, sans-serif;
    letter-spacing: -.02em;
    color: var(--txt);
}
.nv-redesign .text-muted { color: var(--txt-muted) !important; opacity: .85; }
.nv-redesign a:not(.btn):not(.nav-link):not(.btn-gold-bf):not(.btn-purple-outline):not(.text-decoration-none) { color: var(--gold); }

/* Faixa de seção em largura total (sai do container do template) */
.nv-redesign .nv-band { position: relative; }
.nv-redesign .nv-band-full { width: 100%; }

/* Botões */
.nv-redesign .btn-gold-bf {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    color: #06020c; font-weight: 700; border: 0; border-radius: 10px; padding: 10px 22px;
    transition: all .3s ease; box-shadow: 0 4px 18px var(--gold-glow);
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: 'Outfit', 'Inter', sans-serif; text-decoration: none;
}
.nv-redesign .btn-gold-bf:hover, .nv-redesign .btn-gold-bf:focus-visible {
    background: linear-gradient(135deg, #fef08a 0%, #fbbf24 50%, #f59e0b 100%);
    color: #000; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(251, 191, 36, .6);
}
.nv-redesign .btn-purple-outline {
    border: 1px solid var(--purple); color: var(--purple-light); background: rgba(168, 85, 247, .1);
    font-weight: 600; border-radius: 10px; padding: 8px 18px; transition: all .2s ease;
    display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none;
}
.nv-redesign .btn-purple-outline:hover, .nv-redesign .btn-purple-outline:focus-visible {
    background: var(--purple); color: #fff; box-shadow: 0 0 15px var(--purple-glow); transform: translateY(-2px);
}

/* Hero */
.nv-redesign .hero-bf {
    position: relative; overflow: hidden; text-align: center;
    background: radial-gradient(circle at 50% 20%, #2e0854 0%, #150529 45%, var(--bg-950) 100%);
    padding: 70px 0 60px; border-bottom: 1px solid var(--border-dark);
}
.nv-redesign .hero-bf::before {
    content: ""; position: absolute; top: -50px; left: 50%; transform: translateX(-50%);
    width: 700px; max-width: 100%; height: 350px; pointer-events: none; filter: blur(40px);
    background: radial-gradient(circle, rgba(168, 85, 247, .25) 0%, transparent 70%);
}
.nv-redesign .badge-bf-fire {
    background: linear-gradient(90deg, #dc2626, #f59e0b); color: #fff; font-weight: 800;
    padding: 6px 16px; border-radius: 50px; font-size: .82rem; letter-spacing: 1px;
    display: inline-flex; align-items: center; gap: 6px; text-transform: uppercase;
    box-shadow: 0 0 18px rgba(239, 68, 68, .5); animation: nvPulse 2s infinite;
}
@keyframes nvPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.03); box-shadow: 0 0 24px rgba(245,158,11,.7); } }
.nv-redesign .hero-title { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; line-height: 1.15; margin: 18px 0; }
.nv-redesign .text-gradient-purple {
    background: linear-gradient(135deg, #fff 30%, #c084fc 70%, #fbbf24 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* Caixa de busca */
.nv-redesign .search-card-bf {
    background: rgba(18, 6, 36, .85); border: 1px solid rgba(168, 85, 247, .35); border-radius: 20px;
    box-shadow: 0 16px 40px rgba(0,0,0,.6), 0 0 30px rgba(168,85,247,.15); backdrop-filter: blur(20px);
    padding: 24px; text-align: left;
}
.nv-redesign .search-card-bf:hover { border-color: var(--purple); }
.nv-redesign .search-input-group {
    background: rgba(10, 3, 20, .85); border: 1px solid rgba(255,255,255,.1); border-radius: 12px;
    padding: 10px 14px; display: flex; align-items: center; gap: 10px; transition: all .2s ease;
}
.nv-redesign .search-input-group:focus-within {
    border-color: var(--purple); box-shadow: 0 0 15px rgba(168,85,247,.3); background: rgba(15,5,30,.95);
}
.nv-redesign .search-input-group input,
.nv-redesign .search-input-group select {
    background: transparent; border: 0; color: #fff; width: 100%; outline: 0; font-size: .95rem; box-shadow: none;
}
.nv-redesign .search-input-group select option { background: #120624; color: #fff; }
.nv-redesign .search-input-group input::placeholder { color: #94a3b8; }

/* Tags de dores/sintomas */
.nv-redesign .tag-symptom {
    background: rgba(25, 9, 51, .8); border: 1px solid rgba(168,85,247,.25); color: #cbd5e1;
    padding: 8px 16px; border-radius: 50px; font-size: .88rem; font-weight: 500; cursor: pointer;
    display: inline-flex; align-items: center; gap: 6px; user-select: none; transition: all .2s ease;
}
.nv-redesign .tag-symptom:hover, .nv-redesign .tag-symptom.active {
    background: linear-gradient(135deg, rgba(168,85,247,.3), rgba(251,191,36,.2));
    border-color: var(--gold); color: #fff; transform: translateY(-2px); box-shadow: 0 4px 14px rgba(168,85,247,.3);
}
.nv-redesign .tag-symptom.active { background: var(--purple); color: #06020c; font-weight: 700; }

/* Oráculos (iscas gratuitas) */
.nv-redesign .bait-card {
    position: relative; height: 100%; display: flex; flex-direction: column; overflow: hidden;
    background: linear-gradient(160deg, rgba(25,9,51,.8) 0%, rgba(13,4,28,.9) 100%);
    border: 1px solid var(--border-dark); border-radius: 18px;
    transition: all .35s cubic-bezier(.165,.84,.44,1);
}
.nv-redesign .bait-card:hover { transform: translateY(-8px); border-color: var(--gold); box-shadow: 0 16px 32px rgba(0,0,0,.6), 0 0 25px rgba(251,191,36,.25); }
.nv-redesign .bait-card .bait-hero {
    height: 150px; display: flex; align-items: center; justify-content: center; font-size: 3.2rem;
    background: radial-gradient(circle at 50% 40%, rgba(168,85,247,.35), rgba(12,4,24,.9));
}
.nv-redesign .card-badge-free {
    position: absolute; top: 14px; right: 14px; z-index: 2; color: #fff; font-weight: 800; font-size: .75rem;
    padding: 4px 10px; border-radius: 20px; background: linear-gradient(90deg, #10b981, #059669);
    box-shadow: 0 2px 8px rgba(16,185,129,.4);
}

/* Cards de terapeuta */
.nv-redesign .therapist-card-bf {
    position: relative; height: 100%; display: flex; flex-direction: column; justify-content: space-between;
    background: linear-gradient(175deg, #16072e 0%, #0d041c 100%); border: 1px solid rgba(168,85,247,.25);
    border-radius: 20px; padding: 20px; transition: all .3s ease;
}
.nv-redesign .therapist-card-bf:hover { border-color: var(--purple); transform: translateY(-6px); box-shadow: 0 16px 36px rgba(0,0,0,.6), 0 0 20px rgba(168,85,247,.2); }
.nv-redesign .therapist-photo-wrap {
    position: relative; width: 84px; height: 84px; border-radius: 50%; padding: 3px; flex-shrink: 0;
    background: linear-gradient(135deg, var(--gold), var(--purple));
}
.nv-redesign .therapist-photo { font-size: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #190933; }
.nv-redesign .therapist-initials {
    width: 100%; height: 100%; border-radius: 50%; background: #190933; color: var(--gold);
    display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.5rem;
}
.nv-redesign .badge-verified-glow {
    position: absolute; bottom: -2px; right: -2px; width: 24px; height: 24px; border-radius: 50%;
    background: #0ea5e9; color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: .78rem; border: 2px solid var(--bg-950);
}
.nv-redesign .badge-bf-discount {
    background: linear-gradient(90deg, #e11d48, #be123c); color: #fff; font-weight: 800; font-size: .78rem;
    padding: 4px 10px; border-radius: 6px; display: inline-flex; align-items: center; gap: 4px;
    box-shadow: 0 2px 10px rgba(225,29,72,.4);
}
.nv-redesign .nv-chip {
    display: inline-block; padding: 2px 10px; border-radius: 6px; font-size: .75rem; color: #f1f5f9;
    background: #0f0820; border: 1px solid rgba(148,163,184,.35);
}

/* B2B e blog */
.nv-redesign .b2b-section-bf {
    background: radial-gradient(circle at 80% 50%, #300c5c 0%, #15062a 50%, #080210 100%);
    border-top: 1px solid var(--border-dark); border-bottom: 1px solid var(--border-dark); padding: 70px 0;
}
.nv-redesign .blog-card-bf {
    background: #130626; border: 1px solid rgba(168,85,247,.2); border-radius: 16px; overflow: hidden;
    height: 100%; display: flex; flex-direction: column; transition: all .3s ease;
}
.nv-redesign .blog-card-bf:hover { border-color: var(--purple); transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,.5); }

/* Perfil / painéis escuros */
.nv-redesign .nv-panel {
    background: var(--bg-800); border: 1px solid rgba(148,163,184,.3); border-radius: 12px; padding: 1.5rem;
}
.nv-redesign .nv-panel-inner { background: var(--bg-900); border: 1px solid rgba(148,163,184,.2); border-radius: 12px; padding: 1rem; }
.nv-redesign .nv-panel-offer { border: 1px solid var(--gold); box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.nv-redesign .nav-pills .nav-link {
    background: #0f0820; border: 1px solid rgba(148,163,184,.35); color: #fff; border-radius: 50px;
}
.nv-redesign .nav-pills .nav-link.active { background: var(--purple); border-color: var(--purple); color: #fff; }
.nv-redesign .form-control, .nv-redesign .form-select {
    background-color: rgba(10,3,20,.85); border-color: rgba(148,163,184,.35); color: #fff;
}
.nv-redesign .form-control::placeholder { color: #94a3b8; }
.nv-redesign .form-control:focus, .nv-redesign .form-select:focus {
    background-color: rgba(15,5,30,.95); border-color: var(--purple); color: #fff; box-shadow: 0 0 0 .2rem rgba(168,85,247,.25);
}
.nv-redesign .form-label, .nv-redesign label { color: var(--txt); }

@media (max-width: 575.98px) {
    .nv-redesign .hero-bf { padding: 44px 0 36px; }
    .nv-redesign .search-card-bf { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .nv-redesign .badge-bf-fire { animation: none; }
    .nv-redesign .bait-card, .nv-redesign .therapist-card-bf, .nv-redesign .blog-card-bf, .nv-redesign .btn-gold-bf { transition: none; }
}
