/* ============================================================
   FAÇOS — CSS GLOBAL UNIFICADO
   Substitui todos os arquivos CSS do projeto.
   Cada HTML deve importar apenas este arquivo.
   ============================================================ */

/* ─── 1. FONTE ─────────────────────────────────────────────── */
@import url("https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&display=swap");


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

*:focus-visible {
    outline: 2px solid #FFC700;
    outline-offset: 2px;
}


/* ─── 3. TOKENS GLOBAIS ─────────────────────────────────────── */
:root {
    /* Paleta principal */
    --yellow:        #FFC700;
    --yellow-light:  #FFDD3D;
    --yellow-pale:   #FFE066;
    --yellow-bg:     #FFF3D0;

    /* Marrons */
    --brown:         #8B4513;
    --brown-dark:    #6B3410;
    --brown-mid:     #5C3A1E;
    --brown-deep:    #4A2E16;
    --brown-light:   #A0522D;

    /* Textos */
    --text-900:      #2C1A0E;
    --text-700:      #5A3A1A;
    --text-500:      #7A6A5A;
    --text-300:      #A0826D;
    --text-light:    #A0826D;

    /* Superfícies */
    --surface-white: #F0F3FF;
    --surface-cream: #FFFBF2;
    --surface-card:  #F0F3FF;
    --surface-pale:  #FFF8E7;
    --surface-light: #FDFAC2;
    --surface-warm:  #FFF8DC;

    /* Bordas e sombras */
    --border:        #F0E0C0;
    --shadow:        0 2px 12px rgba(139, 69, 19, 0.10);
    --shadow-hover:  0 6px 24px rgba(139, 69, 19, 0.18);

    /* Semânticas */
    --green:         #22c55e;
    --red:           #ef4444;
    --blue:          #2563eb;
    --orange:        #f59e0b;

    /* Estrutura */
    --radius-sm:     8px;
    --radius-md:     16px;
    --radius-lg:     24px;
    --radius-pill:   50px;

    --header-height: 92px;
    --sidebar-width: 82px;

    /* Fonte */
    --font:          "Sora", "Segoe UI", Arial, sans-serif;

    /* Tema escuro — telas do Profissional (dark by default) */
    --bg-dark:       #1E1B17;
    --card-bg:       #262320;
    --tag-bg:        #34313A;
    --text-cream:    #FDF8E3;
    --text-main:     #F0F3FF;
    --text-muted:    #978A7E;
    --menu-bg:       #2E2A38;
    --item-bg:       #404040;
    --item-bg-hover: #4a4a4a;
    --border-dark:   rgba(240, 243, 255, 0.09);
}


/* ─── 4. BASE ────────────────────────────────────────────────── */
html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font);
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}


/* ══════════════════════════════════════════════════════════════
   LANDING PAGE  (index.html)
   ══════════════════════════════════════════════════════════════ */
body.landing {
    color: #3E2711;
    background-color: #FFFDF7;
}

/* Botão ADM */
body.landing .adm-btn {
    position: fixed;
    top: 0.8rem;
    right: 0.8rem;
    z-index: 900;
    background: var(--brown-mid);
    border: none;
    color: var(--yellow-pale);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s, background 0.2s;
}
body.landing .adm-btn:hover { background: var(--brown-deep); transform: scale(1.05); }

/* Header da landing */
body.landing .site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--yellow);
    border-bottom: 1px solid rgba(92, 58, 30, 0.1);
}
body.landing .header-inner {
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
body.landing .header-left { display: flex; align-items: center; gap: 2.5rem; }
body.landing .brand-mark { display: flex; align-items: center; gap: 0.6rem; }
body.landing .brand-mark svg, body.landing .brand-icon { width: 24px; height: 26px; object-fit: contain; }
body.landing .brand-logo-full { width: 100px; height: auto; object-fit: contain; }
body.landing .brand-logo-footer { height: 42px; }
body.landing .brand-mark span { font-weight: 800; font-size: 1.2rem; letter-spacing: 0.02em; color: #3E2711; }
body.landing .main-nav { display: flex; gap: 2rem; }
body.landing .main-nav a { position: relative; font-size: 0.92rem; font-weight: 600; color: #922800; transition: color 0.2s; }
body.landing .main-nav a:hover { color: #6E1E00; }
body.landing .header-actions { display: flex; align-items: center; gap: 0.9rem; }
body.landing .btn-entrar {
    display: flex; align-items: center; gap: 0.4rem;
    font-weight: 700; font-size: 0.9rem; color: var(--brown-mid);
    padding: 0.55rem 1rem; border-radius: 50px;
    border: 1.5px solid rgba(92, 58, 30, 0.25);
    transition: background 0.2s;
}
body.landing .btn-entrar svg { width: 16px; height: 16px; }
body.landing .btn-entrar:hover { background: rgba(92, 58, 30, 0.06); }
body.landing .btn-cadastrar {
    background: var(--brown-mid); color: var(--yellow-pale);
    font-weight: 700; font-size: 0.9rem;
    padding: 0.6rem 1.3rem; border-radius: 50px;
    transition: background 0.2s, transform 0.2s;
}
body.landing .btn-cadastrar:hover { background: var(--brown-deep); transform: translateY(-1px); }

/* Hero (.hero-botoes/.btn-hero-*/.hero-tags eram de um rascunho antigo da
   landing, com <h1>/<p> soltos dentro de .hero-inner — nada disso existe no
   index.html atual, que usa .hero-content/.hero-title/.hero-chips/etc; essas
   regras colidiam com .hero/.hero-inner e deixavam a página toda amarela) */
body.landing .hero { background: #FFFDF7; overflow: hidden; }
body.landing .hero-inner { max-width: 1240px; margin: 0 auto; padding: 4.5rem 2rem 3rem; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }

/* Seções da landing */
body.landing .secao { padding: 5rem 2rem; }
body.landing .secao-clara { background-color: var(--surface-light); }
body.landing .secao-cinza { background-color: #F0ECC8; }
body.landing .secao-escura { background: var(--text-900); }
body.landing .secao-inner { max-width: 900px; margin: 0 auto; }
body.landing .secao-tag {
    display: inline-flex; background: #FCE8B8; color: #A9762F;
    font-weight: 700; font-size: 0.78rem; letter-spacing: 0.05em;
    padding: 0.4rem 1rem; border-radius: 50px; margin-bottom: 1rem;
}
body.landing .secao-tag-clara { background: rgba(255, 224, 102, 0.15); color: var(--yellow-pale); }
body.landing .secao h2 { font-size: 1.9rem; font-weight: 800; color: #922800; margin-bottom: 1.2rem; }
body.landing .titulo-claro { color: #FFF8DC; }
body.landing .secao p { font-size: 1rem; line-height: 1.7; color: #5C4023; font-weight: 500; margin-bottom: 1rem; }
body.landing .texto-forte { font-weight: 700; color: var(--brown-deep); }
body.landing .texto-claro { color: #D9C4A8; }
body.landing .secao-intro { max-width: 600px; }
body.landing .secao-com-imagem { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
body.landing .secao-com-imagem.inverter .secao-mascote, body.landing .secao-com-imagem.inverter .secao-foto { order: -1; }
body.landing .secao-mascote { display: flex; justify-content: center; }
body.landing .secao-mascote img { width: 100%; max-width: 380px; display: block; }
body.landing #funcionamento .secao-mascote { margin-top: 4.5rem; }
body.landing #diferencial .secao-mascote img { max-width: 480px; }
body.landing .secao-foto { border-radius: 24px; overflow: hidden; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12); height: 360px; }
body.landing .secao-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
body.landing .secao-escura .secao-mascote { background: #3E2711; }
body.landing .cards-diferencial { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; margin-top: 1.5rem; }
body.landing .card-diferencial {
    display: flex; align-items: center; gap: 0.7rem;
    background: rgba(240, 243, 255, 0.05);
    border: 1px solid rgba(255, 224, 102, 0.18);
    border-radius: 14px; padding: 1rem 1.1rem;
}
body.landing .card-diferencial svg { width: 20px; height: 20px; color: var(--yellow); flex-shrink: 0; }
body.landing .card-diferencial p { margin: 0; font-size: 0.88rem; font-weight: 700; color: #FFF8DC; }
body.landing .passos-lista { list-style: none; display: flex; flex-direction: column; gap: 1.3rem; margin-top: 1.8rem; }
body.landing .passos-lista li {
    display: flex; align-items: flex-start; gap: 1.1rem;
    background: #FFFEE8; border-radius: 16px; padding: 1.1rem 1.3rem;
    box-shadow: 0 4px 16px rgba(92, 58, 30, 0.08);
}
body.landing .passo-numero {
    flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
    background: var(--yellow); color: #8F3D0E; font-weight: 800; font-size: 0.95rem;
    display: flex; align-items: center; justify-content: center;
}
body.landing .passos-lista strong { display: block; font-size: 1rem; color: #922800; margin-bottom: 0.15rem; }
body.landing .passos-lista span { font-size: 0.9rem; color: #954521; }
body.landing .servicos-chips { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.5rem 0; }
body.landing .servicos-chips span {
    background: #FFF8DC; border: 1px solid rgba(92, 58, 30, 0.15);
    color: var(--brown-mid); font-weight: 700; font-size: 0.88rem;
    padding: 0.6rem 1.2rem; border-radius: 50px;
}
body.landing .secao-nota { font-size: 0.88rem; color: #A89880; }

/* CTA final */
body.landing .cta-final { background: linear-gradient(135deg, #FFC107 0%, #E6A800 100%); padding: 4.5rem 2rem; text-align: center; }
body.landing .cta-final-inner h2 { font-size: 2rem; font-weight: 800; color: var(--text-900); margin-bottom: 0.3rem; }
body.landing .cta-final-inner p { font-size: 1.15rem; color: #5C4023; font-weight: 700; margin-bottom: 2rem; }
body.landing .link-profissional { display: inline-block; margin-top: 1.2rem; font-size: 0.9rem; font-weight: 700; color: #3E2711; text-decoration: underline; }

/* Footer */
body.landing .site-footer { background: #8F3D0E; padding: 3.5rem 2rem 1.5rem; }
body.landing .footer-inner {
    max-width: 1000px; margin: 0 auto;
    display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem;
}
body.landing .footer-col { display: flex; flex-direction: column; gap: 0.9rem; }
body.landing .footer-col h4 { font-size: 0.95rem; color: #FFE9B8; font-weight: 700; text-decoration: underline; margin-bottom: 0.1rem; }
body.landing .footer-col a, body.landing .footer-col span { font-size: 0.9rem; color: #FDFAC2; display: flex; align-items: center; gap: 0.5rem; }
body.landing .footer-col a { text-decoration: underline; width: fit-content; }
body.landing .footer-col a svg, body.landing .footer-col span svg { width: 15px; height: 15px; flex-shrink: 0; }
body.landing .footer-col a:hover { color: var(--yellow); }
body.landing .footer-brand .brand-mark span { color: #FFF8DC; }
body.landing .footer-social { display: flex; gap: 0.7rem; margin-top: 0.8rem; }
body.landing .footer-social a { width: 34px; height: 34px; border-radius: 50%; background: rgba(240,243,255,0.08); display: flex; align-items: center; justify-content: center; }
body.landing .footer-social svg { width: 16px; height: 16px; color: #FFF8DC; }
body.landing .footer-link-profissional { display: inline-block; margin-top: 1.1rem; font-size: 0.85rem; font-weight: 700; color: var(--yellow); }
body.landing .footer-link-profissional:hover { text-decoration: underline; }
body.landing .footer-copy { max-width: 1000px; margin: 1.5rem auto 0; text-align: center; font-size: 0.8rem; color: #E8C9A8; }
body.landing .footer-copy a { color: #FFE9B8; text-decoration: underline; }

/* Modal da landing */
body.auth-body .modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); justify-content: center; align-items: center; z-index: 1000; }
body.auth-body .modal-content { background: #FFF8E7; width: 90%; max-width: 420px; border-radius: 28px; padding: 2rem; position: relative; box-shadow: 0 20px 40px rgba(0,0,0,0.2); }
body.auth-body .close-modal { position: absolute; top: 1rem; right: 1.5rem; font-size: 1.4rem; color: #7A6A5A; cursor: pointer; }
body.auth-body .modal-content h2 { font-size: 1.3rem; font-weight: 800; color: #3E2711; text-align: center; margin-bottom: 1rem; }
body.auth-body .modal-content label { display: block; font-size: 0.85rem; font-weight: 600; color: #5C4023; margin-top: 0.9rem; margin-bottom: 0.3rem; }
body.auth-body .modal-content input { width: 100%; padding: 0.7rem 0.9rem; border-radius: 10px; border: 1px solid rgba(92,58,30,0.25); font-family: inherit; font-size: 0.9rem; }
body.landing .entrar-btn {
    width: 100%; background: var(--brown-mid); color: var(--yellow-pale); border: none;
    border-radius: 50px; padding: 0.85rem; font-family: var(--font); font-size: 0.95rem; font-weight: 700;
    margin-top: 1.3rem; cursor: pointer; transition: background 0.2s;
}
body.landing .entrar-btn:hover { background: var(--brown-deep); }

/* Responsive landing */
@media (max-width: 900px) {
    body.landing .main-nav { display: none; }
    body.landing .secao-com-imagem, body.landing .secao-com-imagem.inverter { grid-template-columns: 1fr; }
    body.landing .secao-com-imagem.inverter .secao-mascote { order: 0; }
    body.landing .secao-mascote { max-width: 260px; margin: 0 auto; }
    body.landing .cards-diferencial { grid-template-columns: 1fr; }
    body.landing .hero-inner { grid-template-columns: 1fr; padding: 3rem 1.5rem 2rem; }
    body.landing .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    body.landing .header-actions .btn-entrar span { display: none; }
}


/* ══════════════════════════════════════════════════════════════
   AUTH  (login.html, cadastro.html)
   ══════════════════════════════════════════════════════════════ */
body.auth-body {
    font-family: var(--font);
    background-color: var(--surface-light);
    background-image: url("/imagens/fundo-favos.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    color: var(--text-900);
}
body.auth-body .auth-page { position: relative; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3rem 1.5rem; gap: 1.8rem; }
body.auth-body .auth-page-form { display: flex; flex-direction: column; align-items: center; gap: 1.8rem; width: 100%; }
body.auth-body .auth-brand { display: flex; align-items: center; gap: 0.6rem; }
body.auth-body .auth-brand svg, body.auth-body .auth-brand .brand-icon { width: 24px; height: 26px; object-fit: contain; }
body.auth-body .auth-brand span { font-weight: 800; font-size: 1.2rem; color: var(--text-900); }
body.auth-body .auth-card { background: var(--surface-pale); width: 100%; max-width: 420px; border-radius: 28px; padding: 2.2rem 2rem; box-shadow: 0 20px 50px rgba(92, 58, 30, 0.18); }
body.auth-body .auth-card-larga { max-width: 620px; }
body.auth-body .auth-card h1 { font-size: 1.5rem; font-weight: 800; color: var(--text-900); text-align: center; }
body.auth-body .auth-sub { font-size: 0.88rem; color: var(--text-500); text-align: center; margin-top: 0.3rem; margin-bottom: 1.6rem; }
body.auth-body .auth-card label { display: block; font-size: 0.85rem; font-weight: 600; color: #5C4023; margin-bottom: 0.35rem; margin-top: 1rem; }
body.auth-body .auth-card input { width: 100%; padding: 0.75rem 0.95rem; border-radius: 10px; border: 1px solid rgba(92, 58, 30, 0.22); font-family: var(--font); font-size: 0.92rem; background: #F0F3FF; }
body.auth-body .auth-card input:focus { outline: none; border-color: var(--yellow); }
body.auth-body .usuario-prefix { display: flex; align-items: center; background: #F0F3FF; border: 1px solid rgba(92,58,30,0.22); border-radius: 10px; overflow: hidden; }
body.auth-body .usuario-prefix span { padding: 0 0 0 0.95rem; color: #A89880; font-size: 0.92rem; }
body.auth-body .usuario-prefix input { border: none; padding-left: 0.2rem; }
body.auth-body .esqueci-senha { display: block; text-align: right; font-size: 0.8rem; font-weight: 600; color: #A9762F; text-decoration: underline; margin-top: 0.6rem; }
body.auth-body .auth-btn {
    width: 100%; background: var(--brown-mid); color: var(--yellow-pale); border: none;
    border-radius: 50px; padding: 0.9rem; font-family: var(--font); font-size: 0.95rem; font-weight: 700;
    margin-top: 1.5rem; cursor: pointer; transition: background 0.2s, transform 0.2s;
}
body.auth-body .auth-btn:hover { background: var(--brown-deep); transform: translateY(-1px); }
body.auth-body .auth-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
body.auth-body .auth-troca { text-align: center; font-size: 0.85rem; color: var(--text-500); margin-top: 1.3rem; }
body.auth-body .auth-troca a { color: var(--brown-mid); font-weight: 700; text-decoration: underline; }
body.auth-body .auth-link-profissional { font-size: 0.85rem; font-weight: 700; color: #3E2711; text-decoration: underline; }
body.auth-body .auth-hero { display: flex; flex-direction: column; align-items: center; gap: 0.9rem; }
body.auth-body .auth-logo-link { display: flex; justify-content: center; }
body.auth-body .auth-logo-full { width: 230px; max-width: 60vw; object-fit: contain; }
body.auth-body .auth-heading { font-size: 1.7rem; font-weight: 800; color: #5C2E0C; text-align: center; }
body.auth-body .auth-heading-sub { font-size: 0.95rem; color: #97655A; text-align: center; margin-top: -0.6rem; }
body.auth-body .auth-card-tabs { padding-top: 1.6rem; }
body.auth-body .tab-switch { display: flex; background: #F4EED4; border-radius: 50px; padding: 5px; gap: 4px; }
body.auth-body .tab-btn { flex: 1; border: none; background: transparent; border-radius: 50px; padding: 0.7rem 0.5rem; font-family: var(--font); font-size: 0.92rem; font-weight: 700; color: #A8925F; cursor: pointer; transition: background 0.2s, color 0.2s; }
body.auth-body .tab-btn.active { background: #FFC107; color: #3E2711; box-shadow: 0 4px 10px rgba(92,58,30,0.15); }
body.auth-body .tab-panel { display: none; }
body.auth-body .tab-panel.active { display: block; }
body.auth-body .auth-card-tabs .auth-btn { background: #FFC107; color: #3E2711; }
body.auth-body .auth-card-tabs .auth-btn:hover { background: #F0B400; }
body.auth-body .auth-voltar { display: flex; align-items: center; gap: 0.4rem; background: none; border: none; color: #5C4023; font-family: var(--font); font-size: 0.85rem; font-weight: 600; cursor: pointer; margin-bottom: 1rem; }
body.auth-body .auth-voltar svg { width: 16px; height: 16px; }
body.auth-body .pagina-voltar { position: absolute; top: 1.5rem; left: 1.5rem; display: flex; align-items: center; gap: 0.4rem; background: var(--surface-pale); border: 1px solid rgba(92,58,30,0.15); border-radius: 50px; padding: 0.55rem 1rem; color: #5C4023; font-family: var(--font); font-size: 0.85rem; font-weight: 600; cursor: pointer; box-shadow: 0 6px 16px rgba(92,58,30,0.12); }
body.auth-body .pagina-voltar svg { width: 16px; height: 16px; }
body.auth-body .auth-card select { width: 100%; padding: 0.75rem 0.95rem; border-radius: 10px; border: 1px solid rgba(92,58,30,0.22); font-family: var(--font); font-size: 0.92rem; background: #F0F3FF; color: #3E2711; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C4023' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 16px; cursor: pointer; }
body.auth-body .auth-card select:focus { outline: none; border-color: var(--yellow); }
body.auth-body .auth-card textarea { width: 100%; padding: 0.75rem 0.95rem; border-radius: 14px; border: 1px solid rgba(92,58,30,0.22); font-family: var(--font); font-size: 0.92rem; background: #F0F3FF; color: #3E2711; resize: vertical; min-height: 90px; line-height: 1.4; }
body.auth-body .auth-card textarea::placeholder { color: rgba(92,58,30,0.45); }
body.auth-body .auth-card textarea:focus { outline: none; border-color: var(--yellow); }

/* Cards de seleção de perfil (hexagonais) */
body.auth-body .escolha-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.4rem; width: 100%; max-width: 900px; }
body.auth-body .escolha-card {
    flex: 0 0 340px; width: 340px; height: 420px; background: #F0F3FF; padding: 4.4rem 3.2rem;
    text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    filter: drop-shadow(0 18px 34px rgba(92,58,30,0.18));
    cursor: pointer; -webkit-tap-highlight-color: transparent;
    transition: transform 0.25s ease, background 0.3s ease;
}
body.auth-body .escolha-icone { width: 60px; height: 60px; border-radius: 50%; background: #FDEECA; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; flex-shrink: 0; transition: background 0.3s ease; }
body.auth-body .escolha-icone svg { width: 24px; height: 24px; color: var(--brown-mid); transition: color 0.3s ease; }
body.auth-body .escolha-titulo { font-size: 1.35rem; font-weight: 800; color: #5C2E0C; margin-bottom: 0.7rem; transition: color 0.3s ease; }
body.auth-body .escolha-desc { font-size: 0.82rem; color: #8B5A3C; line-height: 1.45; margin-bottom: 1.3rem; transition: color 0.3s ease; }
body.auth-body .escolha-btn { background: none; border: none; color: #E6A400; font-family: var(--font); font-size: 0.9rem; font-weight: 700; pointer-events: none; transition: color 0.3s ease; }
body.auth-body .escolha-card.ativo { background: linear-gradient(160deg, #FFCA28 0%, #F0A500 100%); transform: translateY(-6px); }
body.auth-body .escolha-card.ativo .escolha-icone { background: rgba(240,243,255,0.25); }
body.auth-body .escolha-card.ativo .escolha-icone svg { color: #F0F3FF; }
body.auth-body .escolha-card.ativo .escolha-titulo, body.auth-body .escolha-card.ativo .escolha-btn { color: #F0F3FF; }
body.auth-body .escolha-card.ativo .escolha-desc { color: rgba(240,243,255,0.92); }
body.auth-body .escolha-card.ativo .escolha-btn { text-decoration: underline; }
@media (max-width: 760px) {
    body.auth-body .escolha-card { clip-path: none; filter: none; border-radius: 24px; box-shadow: 0 20px 50px rgba(92,58,30,0.12); width: 100%; max-width: 340px; height: auto; padding: 2.2rem 1.6rem; }
}
@media (max-width: 520px) { body.auth-body .escolha-grid { flex-direction: column; } }


/* ══════════════════════════════════════════════════════════════
   TELAS INTERNAS — CLIENTE (TelaIni, Perfil, Chat, Pedidos,
   Pagamentos, Localizacao, Sino, Notificacoes, Servicos)
   ══════════════════════════════════════════════════════════════ */
body.app-cliente {
    font-family: var(--font);
    background-color: var(--surface-warm);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--brown-mid);
}

/* Header interno */
body.app-cliente .header {
    background-color: #F8DE9E; /* TESTE: amarelo claro. Para voltar ao amarelo original: var(--yellow) */
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-height);
}
body.app-cliente .logo-img { width: 100px; height: auto; object-fit: contain; }
body.app-cliente .header-left { display: flex; align-items: center; }
body.app-cliente .header-right { display: flex; align-items: center; gap: 1.5rem; }
body.app-cliente .header-link { color: var(--brown-mid); text-decoration: none; font-weight: 600; font-size: 0.9rem; letter-spacing: 0.01em; transition: opacity 0.2s; }
body.app-cliente .header-link:hover { opacity: 0.7; }
body.app-cliente .header-icons { display: flex; gap: 1rem; align-items: center; }

/* Botões de ícone */
body.app-cliente .icon-btn { display: flex; align-items: center; opacity: 0.85; transition: opacity 0.2s, transform 0.2s; }
body.app-cliente .icon-btn:hover { opacity: 1; transform: scale(1.1); }
body.app-cliente .icon-btn img { width: 26px; height: 26px; object-fit: contain; }

/* Botão logout */
body.app-cliente .logout-btn { background-color: var(--brown-mid); color: var(--yellow-pale); border: none; padding: 0.5rem 1rem; border-radius: 20px; font-size: 0.88rem; cursor: pointer; font-weight: 600; font-family: var(--font); transition: background 0.2s, transform 0.2s; }
body.app-cliente .logout-btn:hover { background-color: var(--brown-deep); transform: scale(1.04); }

/* Links de perfil/home */
body.app-cliente .perfil-link, body.app-cliente .home-link { display: flex; align-items: center; transition: transform 0.2s ease; }
body.app-cliente .perfil-link:hover, body.app-cliente .home-link:hover { transform: scale(1.1); }

/* Config menu (dropdown) */
body.app-cliente .config-wrap { position: relative; display: flex; align-items: center; }
body.app-cliente .config-trigger { display: flex; align-items: center; justify-content: center; background: none; border: none; padding: 0; cursor: pointer; transition: transform 0.2s; }
body.app-cliente .config-trigger:hover { transform: none; }
body.app-cliente .config-trigger img { filter: brightness(0.9); }
body.app-cliente .config-trigger:hover img { filter: brightness(1); }
body.app-cliente .config-menu { display: none; position: absolute; top: calc(100% + 14px); right: 0; background: #2E2A38; border-radius: 14px; padding: 0.5rem; min-width: 200px; box-shadow: 0 12px 32px rgba(0,0,0,0.35); flex-direction: column; z-index: 300; }
body.app-cliente .config-menu.open { display: flex; }
body.app-cliente .config-menu-sidebar { top: auto; bottom: 0; left: calc(100% + 14px); right: auto; }
body.app-cliente .config-item { display: flex; align-items: center; gap: 0.7rem; background: none; border: none; color: #FDF8E3; font-family: var(--font); font-size: 0.95rem; font-weight: 500; text-align: left; padding: 0.7rem 0.8rem; border-radius: 8px; cursor: pointer; transition: background 0.15s; width: 100%; }
body.app-cliente .config-item svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--yellow); }
body.app-cliente .config-item:hover { background: rgba(255,199,0,0.1); }
body.app-cliente .config-item-sair { color: #FF8A80; border-top: 1px solid rgba(240,243,255,0.08); margin-top: 0.3rem; padding-top: 0.9rem; }
body.app-cliente .config-item-sair svg { color: #FF8A80; }

/* Layout principal */
body.app-cliente .main-container { display: flex; flex: 1; }

/* Sidebar (barra lateral real fica mais abaixo, bloco "Sidebar nav" — este
   trecho era da Notificacoes.html antiga/órfã e colidia com .sidebar real) */

/* Área de conteúdo */
body.app-cliente .content { flex: 1; padding: 3rem 4rem; display: flex; flex-direction: column; align-items: center; }

/* Título principal */
body.app-cliente .title { font-size: 3rem; color: var(--brown-mid); text-align: center; margin-bottom: 2rem; line-height: 1.3; }

/* Busca */
body.app-cliente .search-container { width: 100%; max-width: 600px; margin-bottom: 3rem; }
body.app-cliente .search-box { display: flex; align-items: center; border: 2px solid var(--yellow); border-radius: 16px; padding: 1rem 1.5rem; background-color: #F0F3FF; transition: box-shadow 0.2s; }
body.app-cliente .search-box:focus-within { border-color: var(--brown-mid); box-shadow: 0 0 0 3px rgba(255,199,11,0.25); }
body.app-cliente .search-icon { color: var(--brown-mid); margin-right: 1rem; font-size: 1.2rem; flex-shrink: 0; }
body.app-cliente .search-input { flex: 1; border: none; outline: none; font-size: 1rem; color: var(--brown-mid); background: transparent; font-family: var(--font); }
body.app-cliente .search-input::placeholder { color: #A0826D; }

/* Títulos de seção */
body.app-cliente .section-title { font-size: 1.3rem; color: var(--shell-navy); margin-bottom: 1.3rem; font-weight: 700; }
body.app-cliente .section-title:has(+ .transacoes-list) { font-size: 1.1rem; font-weight: 700; color: var(--text-900); padding-bottom: 0.5rem; border-bottom: 2px solid var(--yellow); text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 1rem; }

/* Grid de serviços (TelaIni) */
body.app-cliente .services-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.1rem; margin-bottom: 3rem; }
body.app-cliente .service-card { background: var(--shell-card-bg); border: 1px solid var(--shell-border); border-radius: 16px; padding: 1.6rem 1rem; display: flex; flex-direction: column; align-items: center; gap: 0.9rem; text-decoration: none; color: var(--shell-navy); font-weight: 700; font-size: 0.92rem; text-align: center; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
body.app-cliente .service-card:hover { transform: translateY(-3px); box-shadow: var(--shell-shadow); border-color: var(--shell-orange-soft); }

/* Estatísticas */
body.app-cliente .estatisticas-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; width: 100%; max-width: 900px; margin-bottom: 2rem; padding: 2rem 0; }
body.app-cliente .estatistica-item { text-align: center; background: rgba(240,243,255,0.5); border-radius: 20px; padding: 1.5rem 1rem; backdrop-filter: blur(4px); border: 1px solid rgba(255,199,11,0.3); transition: all 0.3s ease; }
body.app-cliente .estatistica-item:hover { transform: translateY(-4px); background: rgba(240,243,255,0.7); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
body.app-cliente .estatistica-numero { display: block; font-size: 2.8rem; font-weight: 700; color: var(--brown-mid); line-height: 1.2; margin-bottom: 0.3rem; }
body.app-cliente .estatistica-label { display: block; font-size: 1rem; color: var(--brown-mid); font-weight: 500; opacity: 0.8; }

/* Botões flutuantes */
body.app-cliente .help-button {
    position: fixed; bottom: 1.5rem; right: 1.5rem;
    background-color: var(--brown-mid); color: var(--yellow-pale);
    border: none; border-radius: 50px; padding: 0.85rem 1.6rem;
    font-size: 0.92rem; font-weight: 600; font-family: var(--font);
    cursor: pointer; display: flex; align-items: center; gap: 0.5rem;
    box-shadow: 0 4px 16px rgba(139,69,19,0.3); z-index: 200;
    transition: background 0.2s, transform 0.2s;
}
body.app-cliente .help-button:hover { background-color: var(--brown-deep); transform: translateY(-2px); }
body.app-cliente .help-button svg { width: 19px; height: 19px; }

body.app-cliente .dark-mode-toggle, body.app-cliente .dark-mode-toggle-ini {
    position: fixed; bottom: 1.5rem; left: 1.5rem;
    background-color: var(--brown-mid); color: var(--yellow-pale);
    border: none; border-radius: 50px; padding: 0.85rem 1.6rem;
    font-size: 0.9rem; font-weight: 600; font-family: var(--font);
    cursor: pointer; display: flex; align-items: center; gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2); z-index: 100;
    transition: all 0.2s;
}
body.app-cliente .dark-mode-toggle:hover, body.app-cliente .dark-mode-toggle-ini:hover { background-color: var(--brown-deep); transform: scale(1.05); }

/* ── Perfil do cliente ── */
body.app-cliente .perfil-container { flex: 1; padding: 2rem 3rem; max-width: 1200px; margin: 0 auto; width: 100%; }
body.app-cliente .page-title { font-size: 2rem; font-weight: 700; color: #922800; margin-bottom: 2rem; }
body.app-cliente .perfil-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 2rem; margin-bottom: 2rem; }
body.app-cliente .perfil-info-card, body.app-cliente .perfil-edit-card { background: rgba(240,243,255,0.95); border-radius: 24px; padding: 2rem; box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
body.app-cliente .foto-perfil { display: flex; flex-direction: column; align-items: center; margin-bottom: 2rem; }
body.app-cliente .avatar-circle { width: 220px; height: 220px; border-radius: 50%; background: linear-gradient(135deg, var(--yellow-pale), #E6A800); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; box-shadow: 0 4px 12px rgba(0,0,0,0.15); overflow: hidden; }
body.app-cliente .avatar-circle span { font-size: 5.5rem; font-weight: 700; color: var(--brown-mid); }
body.app-cliente .avatar-circle img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
body.app-cliente .trocar-foto-btn { background: transparent; border: 2px solid var(--brown-mid); color: var(--brown-mid); padding: 0.5rem 1.5rem; border-radius: 50px; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: all 0.2s; }
body.app-cliente .trocar-foto-btn:hover { background: var(--brown-mid); color: var(--yellow-pale); }
body.app-cliente .info-row { margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid #eee; }
body.app-cliente .info-label { display: block; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: #A0826D; margin-bottom: 0.25rem; }
body.app-cliente .info-value { display: block; font-size: 1rem; font-weight: 600; color: var(--brown-mid); }
body.app-cliente .edit-title { font-size: 1.4rem; font-weight: 700; color: var(--brown-mid); margin-bottom: 1.5rem; padding-bottom: 0.5rem; border-bottom: 2px solid #FFC107; }
body.app-cliente .edit-form { display: flex; flex-direction: column; gap: 1.2rem; }
body.app-cliente .form-group { display: flex; flex-direction: column; }
body.app-cliente .form-group label { font-weight: 600; color: var(--brown-mid); margin-bottom: 0.3rem; font-size: 0.9rem; }
body.app-cliente .form-group input, body.app-cliente .form-group select { padding: 0.8rem 1rem; border: 2px solid #FFC107; border-radius: 12px; font-size: 0.95rem; font-family: var(--font); outline: none; transition: all 0.2s; background: #F0F3FF; }
body.app-cliente .form-group input:focus, body.app-cliente .form-group select:focus { border-color: var(--brown-mid); box-shadow: 0 0 0 3px rgba(92,58,30,0.2); }
body.app-cliente .senha-obs { font-size: 0.7rem; color: #A0826D; margin-top: 0.25rem; }
body.app-cliente .salvar-btn { background: var(--brown-mid); color: var(--yellow-pale); border: none; padding: 1rem; border-radius: 50px; font-size: 1rem; font-weight: 700; font-family: var(--font); cursor: pointer; margin-top: 1rem; transition: all 0.2s; }
body.app-cliente .salvar-btn:hover { background: var(--brown-deep); transform: scale(1.02); }

/* ── Chat ── */
body.app-cliente .chat-list { width: 380px; flex-shrink: 0; display: flex; flex-direction: column; background: var(--surface-cream); border-right: 1px solid var(--border); overflow-y: auto; padding: 1.25rem 1rem; gap: 0.75rem; }
body.app-cliente .chat-list::-webkit-scrollbar { width: 5px; }
body.app-cliente .chat-list::-webkit-scrollbar-thumb { background: #DDB880; border-radius: 4px; }
body.app-cliente .chat-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 0.5rem; border-bottom: 2px solid var(--yellow); }
body.app-cliente .chat-header h2 { font-size: 1.3rem; font-weight: 700; color: #922800; }
body.app-cliente .chat-count { font-size: 0.8rem; color: var(--text-300); font-weight: 500; }
body.app-cliente .conversations-list { display: flex; flex-direction: column; gap: 0.5rem; }
body.app-cliente .conv-card { background: var(--surface-card); border: 1.5px solid var(--border); border-radius: var(--radius-md); padding: 0.9rem 1rem; cursor: pointer; transition: all 0.25s ease; display: flex; align-items: center; gap: 0.8rem; position: relative; }
body.app-cliente .conv-card:hover, body.app-cliente .conv-card.active { box-shadow: var(--shadow-hover); border-color: var(--yellow); transform: translateY(-2px); }
body.app-cliente .conv-card .conv-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); color: var(--brown); font-weight: 700; font-size: 0.95rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 2px 6px rgba(255,199,11,0.3); position: relative; }
body.app-cliente .conv-card .conv-avatar .online-dot { position: absolute; bottom: 0; right: 0; width: 12px; height: 12px; background: #22c55e; border-radius: 50%; border: 2px solid white; }
body.app-cliente .conv-info { flex: 1; min-width: 0; }
body.app-cliente .conv-name { font-size: 0.9rem; font-weight: 700; color: var(--text-900); margin-bottom: 0.1rem; }
body.app-cliente .conv-last-msg { font-size: 0.82rem; color: var(--text-300); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.app-cliente .conv-time { font-size: 0.7rem; color: var(--text-300); flex-shrink: 0; align-self: flex-start; margin-top: 0.2rem; }
body.app-cliente .conv-unread { background: var(--yellow); color: var(--brown); font-size: 0.7rem; font-weight: 700; padding: 0.1rem 0.5rem; border-radius: 50px; flex-shrink: 0; }
body.app-cliente .chat-window { flex: 1; display: flex; flex-direction: column; background: var(--surface-white); position: relative; }
body.app-cliente .chat-placeholder { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; color: var(--text-300); }
body.app-cliente .chat-placeholder h3 { color: var(--text-700); font-size: 1.3rem; }
body.app-cliente .chat-active { flex: 1; display: flex; flex-direction: column; height: 100%; }
body.app-cliente .chat-window-header { padding: 1rem 1.5rem; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; background: var(--surface-cream); }
body.app-cliente .chat-contact-info { display: flex; align-items: center; gap: 0.8rem; }
body.app-cliente .chat-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); color: var(--brown); font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
body.app-cliente .chat-contact-name { font-weight: 700; font-size: 1rem; color: var(--text-900); }
body.app-cliente .chat-contact-status { font-size: 0.8rem; color: #22c55e; display: block; font-weight: 500; }
body.app-cliente .chat-back-btn { display: none; background: none; border: none; font-size: 1.5rem; color: var(--text-700); cursor: pointer; padding: 0.3rem 0.8rem; border-radius: 8px; transition: background 0.2s; }
body.app-cliente .chat-back-btn:hover { background: rgba(0,0,0,0.05); }
body.app-cliente .chat-messages { flex: 1; padding: 1.5rem; overflow-y: auto; display: flex; flex-direction: column; gap: 0.6rem; background: var(--surface-cream); }
body.app-cliente .chat-messages::-webkit-scrollbar { width: 5px; }
body.app-cliente .chat-messages::-webkit-scrollbar-thumb { background: #DDB880; border-radius: 4px; }
body.app-cliente .msg-received { align-self: flex-start; background: #F0F3FF; padding: 0.6rem 1rem; border-radius: 16px 16px 16px 4px; max-width: 75%; box-shadow: var(--shadow); font-size: 0.92rem; line-height: 1.4; }
body.app-cliente .msg-sent { align-self: flex-end; background: var(--yellow); padding: 0.6rem 1rem; border-radius: 16px 16px 4px 16px; max-width: 75%; box-shadow: var(--shadow); font-size: 0.92rem; line-height: 1.4; color: var(--text-900); }
body.app-cliente .msg-time { font-size: 0.65rem; color: var(--text-300); display: block; margin-top: 0.2rem; text-align: right; }
body.app-cliente .msg-received .msg-time { text-align: left; }
body.app-cliente .chat-input-area { display: flex; gap: 0.6rem; padding: 1rem 1.5rem; border-top: 1px solid var(--border); background: var(--surface-white); }
body.app-cliente .chat-input { flex: 1; padding: 0.8rem 1.2rem; border: 2px solid var(--border); border-radius: 50px; font-family: var(--font); font-size: 0.95rem; outline: none; transition: border-color 0.2s; background: var(--surface-cream); color: var(--text-900); }
body.app-cliente .chat-input:focus { border-color: var(--yellow); }
body.app-cliente .chat-send-btn { background: var(--yellow); border: none; border-radius: 50%; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.2s, transform 0.2s; color: var(--brown); font-size: 1.2rem; }
body.app-cliente .chat-send-btn:hover { background: #e6b400; transform: scale(1.05); }

/* ── Pedidos ── */
body.app-cliente .pedidos-content { flex: 1; padding: 2rem 3rem; overflow-y: auto; background: var(--surface-cream); }
body.app-cliente .filtros { display: flex; gap: 0.8rem; margin-bottom: 2rem; flex-wrap: wrap; }
body.app-cliente .filtro-btn { padding: 0.6rem 1.5rem; border: 2px solid var(--border); border-radius: 50px; background: var(--surface-white); color: var(--text-700); font-family: var(--font); font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: all 0.2s; }
body.app-cliente .filtro-btn:hover { border-color: var(--yellow); background: var(--yellow-bg); }
body.app-cliente .filtro-btn.active { background: var(--yellow); border-color: var(--yellow); color: var(--brown); }
body.app-cliente .pedidos-list { display: flex; flex-direction: column; gap: 1rem; }
body.app-cliente .pedido-card { background: var(--surface-card); border: 1.5px solid var(--border); border-radius: var(--radius-md); padding: 1.5rem; display: flex; justify-content: space-between; align-items: center; transition: all 0.25s ease; box-shadow: var(--shadow); }
body.app-cliente .pedido-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
body.app-cliente .pedido-info { flex: 1; }
body.app-cliente .pedido-titulo { font-size: 1.1rem; font-weight: 700; color: var(--text-900); margin-bottom: 0.3rem; }
body.app-cliente .pedido-profissional { font-size: 0.9rem; color: var(--text-700); margin-bottom: 0.2rem; }
body.app-cliente .pedido-profissional strong { color: var(--text-900); }
body.app-cliente .pedido-data { font-size: 0.85rem; color: var(--text-300); margin-bottom: 0.5rem; }
body.app-cliente .pedido-avaliacao { display: flex; align-items: center; gap: 0.3rem; }
body.app-cliente .pedido-avaliacao .stars { display: flex; gap: 2px; }
body.app-cliente .pedido-avaliacao .star { font-size: 0.9rem; color: var(--yellow); }
body.app-cliente .pedido-avaliacao .star.empty { color: #ddd; }
body.app-cliente .pedido-avaliacao .avaliacao-nota { font-size: 0.85rem; font-weight: 600; color: var(--text-900); }
body.app-cliente .pedido-avaliacao .sem-avaliacao { font-size: 0.85rem; color: var(--text-300); font-style: italic; }
body.app-cliente .btn-avaliar-pedido { border: none; background: var(--yellow); color: var(--text-900); font-family: inherit; font-size: 0.78rem; font-weight: 700; padding: 0.3rem 0.8rem; border-radius: 50px; cursor: pointer; transition: filter 0.15s, transform 0.15s; }
body.app-cliente .btn-avaliar-pedido:hover { filter: brightness(0.95); transform: translateY(-1px); }
body.app-cliente .pedido-right { display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem; flex-shrink: 0; margin-left: 1.5rem; }
body.app-cliente .pedido-preco { font-size: 1.3rem; font-weight: 700; color: var(--brown); }
body.app-cliente .pedido-status { padding: 0.3rem 1rem; border-radius: 50px; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }
body.app-cliente .status-concluido { background: #dcfce7; color: #22c55e; }
body.app-cliente .status-andamento { background: #fef3c7; color: #f59e0b; }
body.app-cliente .status-cancelado { background: #fee2e2; color: #ef4444; }

/* ── Pagamentos ── */
body.app-cliente .pagamentos-content { flex: 1; padding: 2rem 3rem; overflow-y: auto; background: var(--surface-cream); }
body.app-cliente .pagamentos-content::-webkit-scrollbar { width: 5px; }
body.app-cliente .pagamentos-content::-webkit-scrollbar-thumb { background: #DDB880; border-radius: 4px; }
body.app-cliente .saldo-container { display: grid; grid-template-columns: 2fr 1fr; gap: 1.5rem; margin-bottom: 2.5rem; }
body.app-cliente .saldo-item { background: var(--surface-card); border: 1.5px solid var(--border); border-radius: var(--radius-md); padding: 1.2rem 1.5rem; text-align: center; box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 120px; }
body.app-cliente .saldo-principal { border: 2px solid var(--yellow); padding: 1.5rem 2rem; min-height: 150px; }
body.app-cliente .saldo-item .saldo-label { display: block; font-size: 0.75rem; font-weight: 600; color: var(--text-300); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.3rem; }
body.app-cliente .saldo-item .saldo-valor { font-size: 1.8rem; font-weight: 700; color: var(--text-900); }
body.app-cliente .saldo-principal .saldo-valor { font-size: 2.5rem; }
body.app-cliente .saldo-valor.positivo { color: #22c55e !important; }
body.app-cliente .saldo-valor.gasto, body.app-cliente .saldo-valor.negativo { color: #ef4444; }
body.app-cliente .adicionar-credito-btn { background: var(--yellow); color: var(--brown); border: none; padding: 0.5rem 1.8rem; border-radius: 50px; font-size: 0.85rem; font-weight: 700; font-family: var(--font); cursor: pointer; transition: all 0.2s; margin-top: 0.5rem; }
body.app-cliente .adicionar-credito-btn:hover { background: #e6b400; transform: scale(1.05); }
body.app-cliente .transacoes-list { display: flex; flex-direction: column; gap: 0.5rem; }
body.app-cliente .transacao-card { background: var(--surface-card); border: 1.5px solid var(--border); border-radius: var(--radius-md); padding: 1rem 1.2rem; display: flex; justify-content: space-between; align-items: center; transition: all 0.25s ease; box-shadow: var(--shadow); }
body.app-cliente .transacao-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-1px); }
body.app-cliente .transacao-info { flex: 1; }
body.app-cliente .transacao-titulo { font-size: 1rem; font-weight: 700; color: var(--text-900); }
body.app-cliente .transacao-descricao { font-size: 0.85rem; color: var(--text-700); margin-top: 0.1rem; }
body.app-cliente .transacao-data { font-size: 0.8rem; color: var(--text-300); margin-top: 0.15rem; }
body.app-cliente .transacao-right { display: flex; flex-direction: column; align-items: flex-end; flex-shrink: 0; margin-left: 1.5rem; }
body.app-cliente .transacao-valor { font-size: 1.1rem; font-weight: 700; }
body.app-cliente .transacao-valor.negativo { color: #ef4444; }
body.app-cliente .transacao-valor.positivo { color: #22c55e; }

/* Modal de pagamento */
body.app-cliente .modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 500; align-items: center; justify-content: center; animation: fadeOverlay 0.2s ease; }
body.app-cliente .modal-overlay.open { display: flex; }
@keyframes fadeOverlay { from { opacity: 0; } to { opacity: 1; } }
body.app-cliente .modal-card { background: var(--surface-card); border-radius: 24px; padding: 2rem; width: 90%; max-width: 440px; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,0.2); animation: slideUp 0.3s cubic-bezier(.22,.68,0,1.2); }
@keyframes slideUp { from { transform: translateY(40px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
body.app-cliente .modal-close { position: absolute; top: 1rem; right: 1.25rem; background: none; border: none; font-size: 1.7rem; color: #bbb; cursor: pointer; transition: color 0.2s; }
body.app-cliente .modal-close:hover { color: #555; }
body.app-cliente .modal-title { font-size: 1.5rem; font-weight: 700; color: var(--text-900); margin-bottom: 0.3rem; }
body.app-cliente .modal-subtitle { font-size: 0.9rem; color: var(--text-300); margin-bottom: 1.5rem; }
body.app-cliente .valor-opcoes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; margin-bottom: 1.5rem; }
body.app-cliente .valor-btn { padding: 0.7rem; border: 2px solid var(--border); border-radius: 12px; background: var(--surface-cream); color: var(--text-900); font-family: var(--font); font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: all 0.2s; }
body.app-cliente .valor-btn:hover { border-color: var(--yellow); background: var(--yellow-bg); }
body.app-cliente .valor-btn.active { border-color: var(--yellow); background: var(--yellow); color: var(--brown); }
body.app-cliente .modal-form-group { margin-bottom: 1.2rem; }
body.app-cliente .modal-form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-700); margin-bottom: 0.3rem; }
body.app-cliente .modal-form-group input, body.app-cliente .modal-form-group select { width: 100%; padding: 0.8rem 1rem; border: 2px solid var(--border); border-radius: 12px; font-family: var(--font); font-size: 0.95rem; outline: none; transition: all 0.2s; background: var(--surface-cream); color: var(--text-900); }
body.app-cliente .modal-form-group input:focus, body.app-cliente .modal-form-group select:focus { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(255,199,11,0.2); }
body.app-cliente .confirmar-pagamento-btn { width: 100%; background: var(--yellow); color: var(--brown); border: none; padding: 1rem; border-radius: 50px; font-size: 1rem; font-weight: 700; font-family: var(--font); cursor: pointer; transition: all 0.2s; margin-top: 0.5rem; }
body.app-cliente .confirmar-pagamento-btn:hover { background: #e6b400; transform: scale(1.02); }

/* ── Notificações (Sino) ── */
body.app-cliente .notificacoes-content, body.app-cliente .notif-content { flex: 1; padding: 2rem 3rem; overflow-y: auto; background: var(--surface-cream); }
body.app-cliente .notificacoes-content::-webkit-scrollbar, body.app-cliente .notif-content::-webkit-scrollbar { width: 5px; }
body.app-cliente .notificacoes-content::-webkit-scrollbar-thumb, body.app-cliente .notif-content::-webkit-scrollbar-thumb { background: #DDB880; border-radius: 4px; }
body.app-cliente .status-badge { background: rgba(255,199,11,0.2); border: 1px solid var(--yellow); border-radius: 50px; padding: 0.6rem 1.5rem; display: inline-block; font-size: 0.9rem; font-weight: 600; color: var(--text-900); margin-bottom: 2rem; }
body.app-cliente .status-badge span { color: #ef4444; font-weight: 700; }
body.app-cliente .notificacoes-list, body.app-cliente .notif-list { display: flex; flex-direction: column; gap: 0.8rem; }
body.app-cliente .notificacao-card { background: var(--surface-card); border: 1.5px solid var(--border); border-radius: var(--radius-md); padding: 1rem 1.5rem; display: flex; justify-content: space-between; align-items: center; transition: all 0.25s ease; box-shadow: var(--shadow); position: relative; cursor: pointer; }
body.app-cliente .notificacao-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
body.app-cliente .notificacao-card.unread { border-left: 4px solid #ef4444; background: #FFF8F0; }
body.app-cliente .notificacao-card .notificacao-info { flex: 1; }
body.app-cliente .notificacao-card .notificacao-titulo { font-size: 1rem; font-weight: 600; color: var(--text-900); margin-bottom: 0.2rem; }
body.app-cliente .notificacao-card .notificacao-descricao { font-size: 0.9rem; color: var(--text-700); margin-bottom: 0.2rem; }
body.app-cliente .notificacao-card .notificacao-tempo { font-size: 0.8rem; color: #A0826D; }
body.app-cliente .notificacao-card .notificacao-right { display: flex; flex-direction: column; align-items: flex-end; flex-shrink: 0; margin-left: 1.5rem; }
body.app-cliente .unread-dot { width: 10px; height: 10px; background: #ef4444; border-radius: 50%; flex-shrink: 0; margin-bottom: 0.3rem; }
body.app-cliente .notif-card { background: var(--surface-card); border: 1.5px solid var(--border); border-radius: var(--radius-md); padding: 1.25rem 1.5rem; display: flex; align-items: flex-start; gap: 1rem; position: relative; transition: all 0.25s ease; box-shadow: var(--shadow); }
body.app-cliente .notif-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
body.app-cliente .notif-card.unread { background: #FFF6DA; border-color: #FFE199; }
body.app-cliente .notif-icon { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
body.app-cliente .notif-icon svg { width: 20px; height: 20px; }
body.app-cliente .notif-icon.icon-message { background: #E8F0FE; color: #2563eb; }
body.app-cliente .notif-icon.icon-payment { background: #E6F7EC; color: #16a34a; }
body.app-cliente .notif-icon.icon-star { background: #FFF3D6; color: #f59e0b; }
body.app-cliente .notif-icon.icon-check { background: #E6F7EC; color: #16a34a; }
body.app-cliente .notif-body { flex: 1; }
body.app-cliente .notif-title { font-size: 1rem; font-weight: 700; color: var(--text-900); margin-bottom: 0.2rem; }
body.app-cliente .notif-desc { font-size: 0.9rem; color: var(--text-700); margin-bottom: 0.4rem; }
body.app-cliente .notif-time { font-size: 0.8rem; color: #f59e0b; font-weight: 600; }
body.app-cliente .notif-dot { width: 9px; height: 9px; border-radius: 50%; background: #f59e0b; flex-shrink: 0; margin-top: 0.3rem; }

/* ── Localizacao / Serviços (list-panel + detail-panel) ── */
body.app-cliente .list-panel { width: 380px; flex-shrink: 0; display: flex; flex-direction: column; background: var(--surface-cream); border-right: 1px solid var(--border); overflow-y: auto; padding: 1.25rem 1rem; gap: 0.75rem; }
body.app-cliente .list-panel::-webkit-scrollbar { width: 5px; }
body.app-cliente .list-panel::-webkit-scrollbar-thumb { background: #DDB880; border-radius: 4px; }
body.app-cliente .results-count { font-size: 0.82rem; font-weight: 500; color: var(--text-300); padding-left: 0.25rem; }
body.app-cliente .professionals-list { display: flex; flex-direction: column; gap: 0.75rem; }
body.app-cliente .pro-card { background: var(--surface-card); border: 1.5px solid var(--border); border-radius: var(--radius-md); padding: 1rem 1.1rem; cursor: pointer; transition: all 0.25s ease; display: flex; align-items: center; gap: 1rem; position: relative; overflow: hidden; }
body.app-cliente .pro-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--yellow); transform: scaleY(0); transition: transform 0.2s; border-radius: 2px; }
body.app-cliente .pro-card:hover, body.app-cliente .pro-card.active { box-shadow: var(--shadow-hover); border-color: var(--yellow); transform: translateY(-2px); }
body.app-cliente .pro-card:hover::before, body.app-cliente .pro-card.active::before { transform: scaleY(1); }
body.app-cliente .pro-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--yellow); color: var(--brown); font-weight: 700; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 2px 6px rgba(255,199,11,0.3); }
body.app-cliente .pro-info { flex: 1; min-width: 0; }
body.app-cliente .pro-name { font-size: 0.98rem; font-weight: 700; color: var(--text-900); margin-bottom: 0.15rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.app-cliente .pro-service { font-size: 0.82rem; color: var(--text-300); margin-bottom: 0.35rem; }
body.app-cliente .pro-meta { display: flex; align-items: center; gap: 0.5rem; }
body.app-cliente .pro-dist { font-size: 0.8rem; color: var(--brown-light); font-weight: 500; display: inline-flex; align-items: center; gap: 0.2rem; }
body.app-cliente .pro-rating-wrap { display: flex; align-items: center; gap: 0.3rem; margin-left: auto; }
body.app-cliente .stars { display: flex; gap: 1px; }
body.app-cliente .star { font-size: 0.82rem; color: var(--yellow); filter: drop-shadow(0 0 1px rgba(255,199,11,0.5)); }
body.app-cliente .star.empty { color: #ddd; }
body.app-cliente .pro-score { font-size: 0.85rem; font-weight: 700; color: var(--text-900); }
body.app-cliente .detail-panel { flex: 1; position: relative; overflow-y: auto; background: var(--detail-bg, #FFFEF9); padding: 3rem; display: flex; align-items: center; justify-content: center; }
body.app-cliente .detail-empty { display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--text-300); max-width: 320px; }
body.app-cliente .detail-empty svg { width: 56px; height: 56px; margin-bottom: 1rem; opacity: 0.5; }
body.app-cliente .detail-empty h3 { font-size: 1.15rem; color: var(--text-900); margin-bottom: 0.4rem; }
body.app-cliente .detail-content { display: none; width: 100%; max-width: 740px; }
body.app-cliente .detail-content.open { display: block; }

/* Modal de profissional */
body.app-cliente .modal-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
body.app-cliente .modal-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--yellow); color: var(--brown); font-size: 1.4rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 4px 12px rgba(255,199,11,0.35); }
body.app-cliente .modal-name { font-size: 1.2rem; font-weight: 700; color: var(--text-900); }
body.app-cliente .modal-service { font-size: 0.88rem; color: var(--text-300); margin-top: 0.15rem; }
body.app-cliente .modal-stars { margin-top: 0.35rem; display: flex; gap: 2px; }
body.app-cliente .modal-star { font-size: 1rem; color: var(--yellow); }
body.app-cliente .modal-star.empty { color: #ddd; }
body.app-cliente .modal-info { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
body.app-cliente .modal-info-item { background: var(--surface-cream); border-radius: 12px; padding: 0.75rem 1rem; }
body.app-cliente .solicitar-btn { width: 100%; background: var(--brown); color: #F0F3FF; border: none; padding: 1rem; border-radius: 50px; font-family: var(--font); font-size: 1rem; font-weight: 700; cursor: pointer; transition: background 0.2s, transform 0.2s; letter-spacing: 0.02em; }
body.app-cliente .solicitar-btn:hover { background: var(--brown-dark); transform: scale(1.02); }
body.app-cliente .pagamento-title { font-size: 1.4rem; font-weight: 700; color: var(--text-900); margin-bottom: 0.3rem; }
body.app-cliente .pagamento-subtitle { font-size: 0.88rem; color: var(--text-300); margin-bottom: 1.25rem; }
body.app-cliente .pagamento-resumo { display: flex; align-items: center; justify-content: space-between; background: var(--surface-cream); border-radius: 12px; padding: 0.9rem 1.1rem; margin-bottom: 1.25rem; }
body.app-cliente .pagamento-resumo-label { font-size: 0.85rem; color: var(--text-300); font-weight: 600; }
body.app-cliente .pagamento-resumo-valor { font-size: 1.2rem; color: var(--brown); font-weight: 700; }
body.app-cliente .pagamento-opcoes { display: flex; flex-direction: column; gap: 0.8rem; margin-bottom: 1.5rem; }
body.app-cliente .pagamento-opcao { display: flex; align-items: center; gap: 0.9rem; width: 100%; padding: 0.9rem 1.1rem; border: 2px solid var(--border); border-radius: 14px; background: var(--surface-cream); font-family: var(--font); text-align: left; cursor: pointer; transition: border-color 0.2s, background 0.2s, transform 0.15s; }
body.app-cliente .pagamento-opcao:hover { border-color: var(--yellow); background: var(--yellow-bg); }
body.app-cliente .pagamento-opcao.active { border-color: var(--yellow); background: var(--yellow-bg); transform: scale(1.01); }
body.app-cliente .pagamento-opcao:disabled { opacity: 0.5; cursor: not-allowed; }
body.app-cliente .pagamento-opcao-icone svg { width: 24px; height: 24px; }
body.app-cliente .pagamento-opcao-titulo { font-size: 0.95rem; font-weight: 700; color: var(--text-900); }
body.app-cliente .pagamento-opcao-sub { font-size: 0.8rem; color: var(--text-300); }
body.app-cliente .confirmar-pagamento-btn:hover:not(:disabled) { background: #e6b400; transform: scale(1.02); }
body.app-cliente .confirmar-pagamento-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Leaflet popups */
body.app-cliente .leaflet-popup-content-wrapper { border-radius: 12px !important; font-family: var(--font) !important; box-shadow: var(--shadow-hover) !important; }
body.app-cliente .leaflet-popup-tip { background: #F0F3FF !important; }
body.app-cliente .popup-name { font-weight: 700; font-size: 0.95rem; color: var(--text-900); }
body.app-cliente .popup-service { font-size: 0.8rem; color: var(--text-300); margin-top: 2px; }
body.app-cliente .popup-dist { font-size: 0.8rem; color: var(--brown); margin-top: 4px; font-weight: 600; }

/* Dark mode — telas do cliente */
body.app-cliente.dark-mode {
    background-color: #121212;
}
body.app-cliente.dark-mode .header { background-color: var(--brown-deep); }
body.app-cliente.dark-mode .header-link, body.app-cliente.dark-mode .icon-btn { color: var(--yellow); }
body.app-cliente.dark-mode .sidebar { background-color: var(--brown-deep); }
body.app-cliente.dark-mode .sidebar img { filter: brightness(1); }
body.app-cliente.dark-mode .content, body.app-cliente.dark-mode .pedidos-content,
body.app-cliente.dark-mode .pagamentos-content, body.app-cliente.dark-mode .notificacoes-content { background-color: #121212; }
body.app-cliente.dark-mode .title, body.app-cliente.dark-mode .section-title, body.app-cliente.dark-mode .page-title { color: #f0e6d0; }
body.app-cliente.dark-mode .search-box { background-color: #2a2a2a; border-color: var(--yellow); }
body.app-cliente.dark-mode .search-input { background-color: #2a2a2a; color: #f0e6d0; }
body.app-cliente.dark-mode .search-input::placeholder { color: #aaa; }
body.app-cliente.dark-mode .service-card { background-color: #2a2a2a; border-color: var(--yellow); }
body.app-cliente.dark-mode .service-card a { color: var(--yellow); }
body.app-cliente.dark-mode .service-card:hover { background-color: #3a3a3a; }
body.app-cliente.dark-mode .estatistica-item { background: rgba(42,42,42,0.8); border-color: rgba(255,199,11,0.2); }
body.app-cliente.dark-mode .estatistica-numero { color: var(--yellow); }
body.app-cliente.dark-mode .estatistica-label { color: #f0e6d0; }
body.app-cliente.dark-mode .pedido-card, body.app-cliente.dark-mode .transacao-card,
body.app-cliente.dark-mode .notificacao-card, body.app-cliente.dark-mode .notif-card { background: #2E2822; border-color: #4A3A2A; }
body.app-cliente.dark-mode .pedido-card:hover, body.app-cliente.dark-mode .transacao-card:hover,
body.app-cliente.dark-mode .notificacao-card:hover, body.app-cliente.dark-mode .notif-card:hover { border-color: var(--yellow); }
body.app-cliente.dark-mode .filtro-btn { background: #2E2822; border-color: #4A3A2A; color: #BFA88C; }
body.app-cliente.dark-mode .filtro-btn:hover { border-color: var(--yellow); background: #3A322A; }
body.app-cliente.dark-mode .filtro-btn.active { background: var(--yellow); color: var(--brown-mid); }
body.app-cliente.dark-mode .perfil-info-card, body.app-cliente.dark-mode .perfil-edit-card { background: #2a2a2a; }
body.app-cliente.dark-mode .detail-panel { background: #121212; }
body.app-cliente.dark-mode .info-servico-card { background: #2a2a2a; border-color: var(--brown-mid); }
body.app-cliente.dark-mode .info-servico-card .modal-header { border-bottom-color: var(--brown-mid); }
body.app-cliente.dark-mode .info-servico-card .modal-name, body.app-cliente.dark-mode .info-servico-card .info-servico-titulo,
body.app-cliente.dark-mode .info-servico-card .info-valor, body.app-cliente.dark-mode .info-servico-card .info-texto,
body.app-cliente.dark-mode .info-servico-card .modal-voltar { color: #F5E6D3; }
body.app-cliente.dark-mode .info-servico-card .info-label { color: var(--yellow); }
body.app-cliente.dark-mode .info-servico-card .info-bloco, body.app-cliente.dark-mode .info-grid .info-bloco, body.app-cliente.dark-mode .info-grid .info-bloco:last-of-type { border-bottom-color: var(--brown-mid); }
body.app-cliente.dark-mode .info-servico-card .modal-voltar:hover { background: #3a3a3a; }
body.app-cliente.dark-mode .form-group input, body.app-cliente.dark-mode .form-group select { background: #3a3a3a; border-color: var(--brown-mid); color: #F5E6D3; }
body.app-cliente.dark-mode .salvar-btn { background: #FFC107; color: #2a241e; }
body.app-cliente.dark-mode .logout-btn, body.app-cliente.dark-mode .dark-mode-toggle,
body.app-cliente.dark-mode .dark-mode-toggle-ini, body.app-cliente.dark-mode .help-button { background-color: var(--brown-mid); color: var(--yellow-pale); }
body.app-cliente.dark-mode .logout-btn:hover, body.app-cliente.dark-mode .dark-mode-toggle:hover,
body.app-cliente.dark-mode .dark-mode-toggle-ini:hover, body.app-cliente.dark-mode .help-button:hover { background-color: var(--brown-deep); }

/* Responsive cliente */
@media (max-width: 900px) {
    body.app-cliente .services-grid { grid-template-columns: repeat(2, 1fr); }
    body.app-cliente .saldo-container { grid-template-columns: 1fr; gap: 1rem; }
    body.app-cliente .perfil-grid { grid-template-columns: 1fr; }
    body.app-cliente .perfil-container { padding: 1.5rem; }
    body.app-cliente .content { padding: 2rem; }
    body.app-cliente .title { font-size: 2rem; }
}
@media (max-width: 700px) {
    body.app-cliente .main-container { flex-direction: column; height: auto; }
    body.app-cliente .sidebar { display: none; }
    body.app-cliente .chat-list { width: 100%; border-right: none; max-height: 40vh; }
    body.app-cliente .chat-window { height: 60vh; }
    body.app-cliente .chat-back-btn { display: block; }
    body.app-cliente .list-panel { width: 100%; border-right: none; max-height: 50vh; }
    body.app-cliente .pedidos-content, body.app-cliente .pagamentos-content, body.app-cliente .notificacoes-content { padding: 1.5rem; }
    body.app-cliente .page-title { font-size: 1.5rem; }
    body.app-cliente .pedido-card { flex-direction: column; align-items: flex-start; gap: 1rem; }
    body.app-cliente .pedido-right { flex-direction: row; align-items: center; justify-content: space-between; width: 100%; margin-left: 0; }
    body.app-cliente .transacao-card { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    body.app-cliente .transacao-right { flex-direction: row; align-items: center; justify-content: space-between; width: 100%; margin-left: 0; }
    body.app-cliente .valor-opcoes { grid-template-columns: repeat(2, 1fr); }
    body.app-cliente .notificacao-card { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    body.app-cliente .notificacao-card .notificacao-right { flex-direction: row; align-items: center; justify-content: space-between; width: 100%; margin-left: 0; }
}
@media (max-width: 600px) {
    body.app-cliente .services-grid { grid-template-columns: 1fr; }
    body.app-cliente .estatisticas-container { grid-template-columns: 1fr; gap: 0.8rem; }
    body.app-cliente .sidebar { display: none; }
    body.app-cliente .content { padding: 1.5rem; }
    body.app-cliente .title { font-size: 1.5rem; }
    body.app-cliente .help-button, body.app-cliente .dark-mode-toggle, body.app-cliente .dark-mode-toggle-ini { padding: 0.6rem 1.2rem; font-size: 0.8rem; }
}


/* ══════════════════════════════════════════════════════════════
   BUZZ (chatbot)
   ══════════════════════════════════════════════════════════════ */
.buzz-widget {
    position: fixed; bottom: 6.5rem; right: 2rem;
    width: 340px; max-width: calc(100vw - 2rem); height: 480px; max-height: calc(100vh - 8rem);
    background: #FFFDF5; border: 1px solid var(--yellow-pale);
    border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    display: none; flex-direction: column; overflow: hidden;
    z-index: 9999; font-family: var(--font);
}
.buzz-widget.active { display: flex; }
.buzz-header { background: var(--brown-mid); color: var(--yellow-pale); padding: 1rem 1.2rem; display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; }
.buzz-header-info { display: flex; align-items: center; gap: 0.7rem; }
.buzz-avatar { width: 40px; height: 40px; border-radius: 50%; background: #FFC107; color: var(--brown-mid); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 800; flex-shrink: 0; }
.buzz-titles { display: flex; flex-direction: column; }
.buzz-name     { font-weight: 700; font-size: 1rem; color: #F0F3FF; }
.buzz-subtitle { font-size: 0.75rem; color: var(--yellow-pale); }
.buzz-close    { background: none; border: none; color: var(--yellow-pale); font-size: 1.4rem; line-height: 1; cursor: pointer; padding: 0.2rem; transition: opacity 0.2s; }
.buzz-close:hover { opacity: 0.7; }
.buzz-messages { flex: 1; padding: 1rem; overflow-y: auto; display: flex; flex-direction: column; gap: 0.7rem; }
.buzz-message  { max-width: 85%; padding: 0.7rem 1rem; border-radius: 14px; font-size: 0.9rem; line-height: 1.4; word-wrap: break-word; }
.buzz-message-bot  { align-self: flex-start; background: #F0F3FF; border: 1px solid var(--yellow-pale); color: var(--brown-mid); border-bottom-left-radius: 4px; }
.buzz-message-user { align-self: flex-end; background: var(--brown-mid); color: var(--yellow-pale); border-bottom-right-radius: 4px; }
.buzz-digitando { display: flex; align-items: center; gap: 4px; padding: 0.85rem 1rem; }
.buzz-digitando span { width: 6px; height: 6px; border-radius: 50%; background: #C4A15A; animation: buzz-digitando-bounce 1.2s infinite ease-in-out; }
.buzz-digitando span:nth-child(2) { animation-delay: 0.15s; }
.buzz-digitando span:nth-child(3) { animation-delay: 0.3s; }
@keyframes buzz-digitando-bounce { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }
.buzz-input:disabled, .buzz-send:disabled { opacity: 0.6; cursor: not-allowed; }
.buzz-footer  { display: flex; align-items: center; gap: 0.6rem; padding: 0.8rem; border-top: 1px solid var(--yellow-pale); background: #FFFDF5; flex-shrink: 0; }
.buzz-input   { flex: 1; padding: 0.6rem 0.9rem; border: 1px solid var(--yellow-pale); border-radius: 20px; font-size: 0.85rem; font-family: var(--font); outline: none; background: #F0F3FF; color: var(--brown-mid); }
.buzz-input:focus { border-color: var(--brown-mid); }
.buzz-send    { background: var(--brown-mid); color: var(--yellow-pale); border: none; padding: 0.6rem 1.1rem; border-radius: 20px; font-size: 0.85rem; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background 0.2s; }
.buzz-send:hover { background: var(--brown-deep); }
body.dark-mode .buzz-widget   { background: #1c1c1c; border-color: var(--brown-mid); }
body.dark-mode .buzz-footer   { background: #1c1c1c; border-top-color: var(--brown-mid); }
body.dark-mode .buzz-message-bot { background: #2a2a2a; border-color: var(--brown-mid); color: #F5E6D3; }
body.dark-mode .buzz-input    { background: #2a2a2a; color: #F5E6D3; border-color: var(--brown-mid); }

/* Buzz: pedido guiado (respostas rápidas, lista de profissionais) */
.buzz-message-bot { white-space: pre-line; }
.buzz-opcoes { align-self: stretch; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.buzz-opcao { background: #F0F3FF; color: var(--brown-mid); border: 1px solid var(--brown-mid); border-radius: 18px; padding: 0.45rem 0.85rem; font-size: 0.82rem; font-weight: 600; font-family: var(--font); cursor: pointer; text-align: left; transition: background 0.2s, color 0.2s; }
.buzz-opcao:hover { background: var(--brown-mid); color: var(--yellow-pale); }
.buzz-lista-pros { align-self: stretch; display: flex; flex-direction: column; gap: 0.4rem; }
.buzz-pro { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; width: 100%; background: #F0F3FF; border: 1px solid var(--yellow-pale); border-radius: 12px; padding: 0.6rem 0.8rem; font-family: var(--font); color: var(--brown-mid); cursor: pointer; text-align: left; transition: border-color 0.2s, background 0.2s; }
.buzz-pro:hover { border-color: var(--brown-mid); background: #FFF8E1; }
.buzz-pro-nome { font-weight: 700; font-size: 0.85rem; overflow-wrap: anywhere; }
.buzz-pro-detalhe { font-size: 0.78rem; white-space: nowrap; color: #7A5A30; }
body.dark-mode .buzz-opcao { background: #2a2a2a; color: #F5E6D3; border-color: var(--brown-mid); }
body.dark-mode .buzz-opcao:hover { background: var(--brown-mid); color: var(--yellow-pale); }
body.dark-mode .buzz-pro { background: #2a2a2a; border-color: var(--brown-mid); color: #F5E6D3; }
body.dark-mode .buzz-pro:hover { background: #333; }
body.dark-mode .buzz-pro-detalhe { color: #D9B77A; }

@media (max-width: 600px) { .buzz-widget { right: 1rem; bottom: 5.5rem; width: calc(100vw - 2rem); height: 440px; } }


/* ══════════════════════════════════════════════════════════════
   TELAS DO PROFISSIONAL  (dashboard, agenda, carteira, mapa,
   mensagens, notificacoes, pepe, perfil, login_profissional)
   ══════════════════════════════════════════════════════════════ */
body.app-profissional {
    font-family: var(--font);
    background: var(--bg-dark);
    color: var(--text-cream);
    min-height: 100vh;
}

/* Tema claro do painel */
html.light-mode {
    --bg-dark:    #FFF8DC;
    --card-bg:    #F0F3FF;
    --tag-bg:     #F2E4C4;
    --text-cream: #2C1A0E;
    --text-main:  #2C1A0E;
    --text-muted: #7A6A5A;
    --menu-bg:    #F0F3FF;
    --item-bg:    #F0EAD6;
    --item-bg-hover: #E6DCC0;
    --border-dark: rgba(44, 26, 14, 0.12);
    color: #2C1A0E;
}
html.light-mode .config-menu { box-shadow: 0 12px 32px rgba(0,0,0,0.15); border: 1px solid rgba(44,26,14,0.08); }
html.light-mode .config-item:hover { background: rgba(255,199,0,0.18); }
html.light-mode .btn-pix { color: #8F5A00; border-color: #8F5A00; }

/* Header do profissional */
body.app-profissional .header {
    height: var(--header-height);
    background: linear-gradient(90deg, #E8B300 0%, #FFC700 45%, #FFDD3D 100%);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 1.5rem; position: sticky; top: 0; z-index: 100;
}
body.app-profissional .brand-link { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
body.app-profissional .logo-full  { height: 46px; width: auto; object-fit: contain; }
body.app-profissional .header-right { display: flex; align-items: center; gap: 1.5rem; padding-right: 0.5rem; }
body.app-profissional .icon-btn { display: flex; align-items: center; justify-content: center; width: 29px; height: 29px; color: var(--text-dark, #171717); text-decoration: none; transition: opacity 0.2s, transform 0.2s; position: relative; }
body.app-profissional .icon-btn img { width: 29px; height: 29px; object-fit: contain; }
body.app-profissional .icon-btn svg { width: 24px; height: 24px; }
body.app-profissional .icon-btn:hover { transform: translateY(-1px); }
body.app-profissional .config-wrap  { position: relative; width: auto; height: auto; }
body.app-profissional .config-trigger { display: flex; align-items: center; justify-content: center; background: none; border: none; padding: 0; cursor: pointer; color: #171717; }
body.app-profissional .config-menu { display: none; position: absolute; top: calc(100% + 14px); right: 0; background: var(--menu-bg, #2E2A38); border-radius: 14px; padding: 0.5rem; min-width: 200px; box-shadow: 0 12px 32px rgba(0,0,0,0.4); flex-direction: column; z-index: 300; }
body.app-profissional .config-menu.open { display: flex; }
body.app-profissional .config-item { display: flex; align-items: center; gap: 0.7rem; background: none; border: none; color: var(--text-cream); font-family: var(--font); font-size: 0.95rem; font-weight: 500; text-align: left; padding: 0.7rem 0.8rem; border-radius: 8px; cursor: pointer; transition: background 0.15s; }
body.app-profissional .config-item svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--yellow); }
body.app-profissional .config-item:hover { background: rgba(255,199,0,0.1); }
body.app-profissional .config-item-sair { color: #FF8A80; border-top: 1px solid rgba(240,243,255,0.08); margin-top: 0.3rem; padding-top: 0.9rem; }
body.app-profissional .config-item-sair svg { color: #FF8A80; }

/* Página e títulos */
body.app-profissional .page { max-width: 1200px; margin: 0 auto; padding: 2.75rem 3.5rem 6rem; }
body.app-profissional .page:has(> .mensagens-layout) { max-width: 1760px; height: calc(100vh - var(--header-height)); display: flex; flex-direction: column; padding: 2.5rem 3.5rem 3rem; }
body.app-profissional .page-title-row { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.75rem; }
body.app-profissional .back-btn { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; color: var(--yellow); text-decoration: none; transition: transform 0.2s, opacity 0.2s; }
body.app-profissional .back-btn svg { width: 26px; height: 26px; }
body.app-profissional .back-btn:hover { transform: translateX(-3px); opacity: 0.8; }
body.app-profissional .page-title { font-size: 1.85rem; font-weight: 500; color: var(--yellow); }
body.app-profissional .titulo-painel { font-size: 1.9rem; font-weight: 700; color: var(--text-cream); margin-bottom: 1.75rem; }
body.app-profissional .card-titulo { color: var(--yellow); font-size: 1.1rem; font-weight: 600; }
body.app-profissional .secao-titulo { color: var(--yellow); font-size: 1.05rem; font-weight: 600; margin-bottom: 0.9rem; }
body.app-profissional .secao-titulo-painel { font-size: 1.1rem; font-weight: 700; color: var(--text-cream); }
body.app-profissional .ver-todas-link { color: var(--yellow); font-size: 0.9rem; font-weight: 600; text-decoration: none; }
body.app-profissional .ver-todas-link:hover { text-decoration: underline; }

/* Help button do profissional */
body.app-profissional .help-button { position: fixed; bottom: 1.75rem; right: 2rem; background: var(--yellow); color: #171717; border: none; border-radius: 50px; padding: 0.85rem 1.6rem; font-family: var(--font); font-size: 0.95rem; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 0.55rem; box-shadow: 0 6px 20px rgba(0,0,0,0.35); z-index: 200; transition: transform 0.2s, background 0.2s; }
body.app-profissional .help-button svg { width: 19px; height: 19px; }
body.app-profissional .help-button:hover { background: var(--yellow-light); transform: translateY(-2px); }

/* Dashboard — grid */
body.app-profissional .painel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
body.app-profissional .ultimas-notif-header { display: flex; align-items: center; justify-content: space-between; margin-top: 2rem; margin-bottom: 1rem; }
body.app-profissional .ultimas-notif-grid { display: flex; flex-direction: column; gap: 0.85rem; }
body.app-profissional .ultima-notif-card { background: var(--card-bg); border-radius: 16px; padding: 1.1rem 1.5rem; display: flex; align-items: center; gap: 1rem; cursor: pointer; transition: background 0.2s, transform 0.15s; border-left: 3px solid transparent; }
body.app-profissional .ultima-notif-card:hover { background: rgba(255,199,0,0.08); transform: translateX(3px); }
body.app-profissional .ultima-notif-card.nao-lida { border-left-color: var(--yellow); }
body.app-profissional .ultima-notif-icone { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,199,0,0.12); color: var(--yellow); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
body.app-profissional .ultima-notif-icone svg { width: 20px; height: 20px; }
body.app-profissional .ultima-notif-corpo { min-width: 0; flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
body.app-profissional .ultima-notif-titulo { font-size: 0.98rem; font-weight: 700; color: var(--text-cream); display: block; margin-bottom: 0.2rem; }
body.app-profissional .ultima-notif-texto { font-size: 0.87rem; color: var(--text-muted); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.app-profissional .ultima-notif-tempo { font-size: 0.8rem; color: var(--text-muted); opacity: 0.7; white-space: nowrap; flex-shrink: 0; }
body.app-profissional .ultima-notif-vazio { color: var(--text-muted); font-size: 0.9rem; padding: 1rem 0; }
body.app-profissional .resumo-valor { font-size: 1.15rem; font-weight: 700; color: var(--yellow); }

/* Agenda */
body.app-profissional .resumo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-bottom: 2.25rem; }
body.app-profissional .resumo-row .resumo-card { background: var(--card-bg); border: 1px solid var(--border-dark); border-radius: 16px; padding: 1.4rem 1rem; display: flex; flex-direction: column; align-items: center; gap: 0.3rem; }
body.app-profissional .resumo-row .resumo-numero { color: var(--yellow); font-size: 2rem; font-weight: 700; }
body.app-profissional .resumo-row .resumo-label { color: var(--text-muted); font-size: 0.9rem; }
body.app-profissional .agenda-list { display: flex; flex-direction: column; gap: 2rem; }
body.app-profissional .dia-titulo { color: var(--yellow); font-size: 1.1rem; font-weight: 600; margin-bottom: 1rem; text-transform: lowercase; }
body.app-profissional .dia-grupo .compromisso-card + .compromisso-card { margin-top: 1rem; }
body.app-profissional .compromisso-card { background: var(--card-bg); border: 1px solid var(--border-dark); border-radius: 16px; padding: 1.4rem 1.6rem; display: flex; align-items: center; gap: 1.5rem; transition: border-color 0.2s, transform 0.2s; }
body.app-profissional .compromisso-card:hover { border-color: rgba(255,199,0,0.35); transform: translateY(-2px); }
body.app-profissional .compromisso-card.cancelado { opacity: 0.6; }
body.app-profissional .horario-col { flex-shrink: 0; width: 64px; text-align: center; border-right: 1px solid var(--item-bg); padding-right: 1.5rem; }
body.app-profissional .horario { color: var(--yellow); font-size: 1.1rem; font-weight: 700; }
body.app-profissional .compromisso-info { flex: 1; display: flex; flex-direction: column; gap: 0.45rem; min-width: 0; }
body.app-profissional .compromisso-top { display: flex; align-items: center; gap: 0.85rem; }
body.app-profissional .compromisso-nome { color: var(--yellow); font-size: 1.1rem; font-weight: 600; }
body.app-profissional .compromisso-servico { color: #C9C9C9; font-size: 0.95rem; }
body.app-profissional .compromisso-endereco { color: var(--text-muted); font-size: 0.85rem; }
body.app-profissional .agenda-btn { flex-shrink: 0; background: var(--yellow); color: #171717; border: none; border-radius: 20px; padding: 0.55rem 1.4rem; font-family: var(--font); font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: background 0.2s, transform 0.2s; }
body.app-profissional .agenda-btn:hover { background: var(--yellow-light); transform: translateY(-1px); }
body.app-profissional .agenda-btn:disabled { background: var(--item-bg); color: var(--text-muted); cursor: not-allowed; transform: none; }
body.app-profissional .status-badge { font-size: 0.76rem; font-weight: 600; padding: 0.28rem 0.8rem; border-radius: 20px; border: 1px solid transparent; }
body.app-profissional .status-confirmado { background: rgba(52,211,153,0.12); border-color: rgba(52,211,153,0.4); color: #34D399; }
body.app-profissional .status-pendente { background: rgba(255,199,0,0.12); border-color: rgba(255,199,0,0.4); color: #F2C94C; }
body.app-profissional .status-cancelado { background: rgba(248,113,113,0.12); border-color: rgba(248,113,113,0.4); color: #F87171; }

/* Carteira */
body.app-profissional .saldo-row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-bottom: 1.5rem; }
body.app-profissional .saldo-card { background: var(--card-bg); border: 1px solid var(--border-dark); border-radius: 16px; padding: 1.4rem 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
body.app-profissional .saldo-principal { background: linear-gradient(135deg, var(--yellow), #E8B300); }
body.app-profissional .saldo-topo { display: flex; align-items: center; gap: 0.6rem; font-size: 0.95rem; font-weight: 500; color: var(--text-main, #F0F3FF); }
body.app-profissional .saldo-principal .saldo-topo { color: #171717; }
body.app-profissional .saldo-topo svg { width: 20px; height: 20px; flex-shrink: 0; }
body.app-profissional .icon-verde { color: #34D399; }
body.app-profissional .saldo-valor { font-size: 1.9rem; font-weight: 700; color: var(--text-main, #F0F3FF); }
body.app-profissional .saldo-principal .saldo-valor { color: #171717; }
body.app-profissional .valor-verde { color: #34D399; }
body.app-profissional .saldo-sub { font-size: 0.85rem; color: var(--text-muted); }
body.app-profissional .acoes-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 2rem; }
body.app-profissional .btn-sacar, body.app-profissional .btn-pix { font-family: var(--font); font-size: 1rem; font-weight: 600; border-radius: 12px; padding: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 0.6rem; transition: transform 0.2s, background 0.2s; }
body.app-profissional .btn-sacar { background: var(--yellow); color: #171717; border: none; }
body.app-profissional .btn-sacar svg { width: 20px; height: 20px; }
body.app-profissional .btn-sacar:hover { background: var(--yellow-light); transform: translateY(-1px); }
body.app-profissional .btn-pix { background: var(--bg-dark); color: var(--yellow); border: 1.5px solid var(--yellow); }
body.app-profissional .btn-pix:hover { background: rgba(255,199,0,0.08); transform: translateY(-1px); }
body.app-profissional .conteudo-grid { display: grid; grid-template-columns: 1fr 360px; gap: 1.5rem; align-items: start; }
body.app-profissional .historico-card, body.app-profissional .dados-card, body.app-profissional .ganhos-card { background: var(--card-bg); border: 1px solid var(--border-dark); border-radius: 16px; padding: 1.5rem; }
body.app-profissional .historico-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
body.app-profissional .btn-exportar { display: flex; align-items: center; gap: 0.5rem; background: var(--item-bg); color: var(--text-main, #F0F3FF); border: none; border-radius: 10px; padding: 0.55rem 1rem; font-family: var(--font); font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: background 0.2s; }
body.app-profissional .btn-exportar svg { width: 16px; height: 16px; }
body.app-profissional .btn-exportar:hover { background: var(--item-bg-hover); }
body.app-profissional .filtros-row { display: flex; gap: 0.6rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
body.app-profissional .transacao-item { background: var(--item-bg); border-radius: 12px; padding: 1rem 1.2rem; display: flex; align-items: center; gap: 1rem; }
body.app-profissional .transacao-icon { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
body.app-profissional .transacao-icon svg { width: 18px; height: 18px; }
body.app-profissional .icon-positivo { background: rgba(52,211,153,0.18); color: #34D399; }
body.app-profissional .icon-negativo { background: rgba(248,113,113,0.18); color: #F87171; }
body.app-profissional .transacao-info { flex: 1; display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }
body.app-profissional .transacao-nome { color: var(--text-main, #F0F3FF); font-weight: 600; font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.app-profissional .transacao-data { color: var(--text-muted); font-size: 0.8rem; }
body.app-profissional .transacao-valor-col { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 0.35rem; }
body.app-profissional .transacao-valor { font-size: 1rem; font-weight: 700; }
body.app-profissional .valor-positivo { color: #34D399; }
body.app-profissional .valor-negativo { color: #F87171; }
body.app-profissional .status-pago { background: rgba(52,211,153,0.18); color: #34D399; font-size: 0.72rem; font-weight: 600; padding: 0.15rem 0.65rem; border-radius: 20px; }
body.app-profissional .dado-item { display: flex; flex-direction: column; gap: 0.25rem; margin-bottom: 1.1rem; }
body.app-profissional .dado-label { color: var(--text-muted); font-size: 0.82rem; }
body.app-profissional .dado-valor { color: var(--text-main, #F0F3FF); font-size: 0.98rem; font-weight: 600; }
body.app-profissional .btn-editar { width: 100%; background: var(--item-bg); color: var(--yellow); border: none; border-radius: 10px; padding: 0.75rem; font-family: var(--font); font-size: 0.92rem; font-weight: 600; cursor: pointer; margin-top: 0.4rem; transition: background 0.2s; }
body.app-profissional .btn-editar:hover { background: var(--item-bg-hover); }
body.app-profissional .ganho-semana { margin-bottom: 1.1rem; }
body.app-profissional .ganho-linha { display: flex; align-items: center; justify-content: space-between; font-size: 0.9rem; color: var(--text-main, #F0F3FF); margin-bottom: 0.45rem; }
body.app-profissional .ganho-barra { height: 6px; background: var(--item-bg); border-radius: 4px; overflow: hidden; }
body.app-profissional .ganho-fill { height: 100%; background: var(--yellow); border-radius: 4px; }
body.app-profissional .sidebar-col { display: flex; flex-direction: column; gap: 1.5rem; }

/* Mapa do profissional */
body.app-profissional .page:has(> .mapa-grid) { max-width: 1760px; }
body.app-profissional .mapa-grid { display: grid; grid-template-columns: 1fr 360px; gap: 1.5rem; align-items: start; }
body.app-profissional .atendimentos-card { background: var(--card-bg); border: 1px solid var(--border-dark); border-radius: 16px; padding: 1.5rem; }
body.app-profissional .map-wrapper { position: relative; width: 100%; height: 420px; border-radius: 14px; overflow: hidden; margin-bottom: 1.25rem; border: 1px solid var(--border-dark); }
body.app-profissional #map { width: 100%; height: 100%; background: #1f1f1f; }
body.app-profissional .clientes-list { display: flex; flex-direction: column; gap: 1rem; }
body.app-profissional .cliente-item { background: var(--item-bg); border-radius: 14px; padding: 1.1rem 1.3rem; }
body.app-profissional .cliente-topo { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.3rem; }
body.app-profissional .cliente-nome { font-size: 1.05rem; font-weight: 600; color: var(--text-main, #F0F3FF); }
body.app-profissional .cliente-item .status-badge { font-size: 0.72rem; font-weight: 700; padding: 0.2rem 0.65rem; border-radius: 20px; text-transform: lowercase; border: none; }
body.app-profissional .cliente-item .status-proximo { background: rgba(255,199,0,0.18); color: var(--yellow); }
body.app-profissional .cliente-servico { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 0.85rem; }
body.app-profissional .cliente-baixo { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; }
body.app-profissional .cliente-meta { display: flex; align-items: center; gap: 1rem; font-size: 0.85rem; color: var(--text-main, #F0F3FF); }
@media (max-width: 800px) {
    body.app-profissional .cliente-baixo { flex-direction: column; align-items: flex-start; }
}
body.app-profissional .cliente-valor { font-size: 1.1rem; font-weight: 700; color: var(--text-main, #F0F3FF); }
body.app-profissional .btn-navegar { width: 100%; margin-top: 1rem; background: var(--yellow); color: #171717; border: none; border-radius: 10px; padding: 0.75rem; font-family: var(--font); font-size: 0.92rem; font-weight: 600; cursor: pointer; transition: background 0.2s, transform 0.2s; }
body.app-profissional .btn-navegar:hover { background: var(--yellow-light); transform: translateY(-1px); }
body.app-profissional .rota-card, body.app-profissional .stats-card, body.app-profissional .area-card { background: var(--card-bg); border: 1px solid var(--border-dark); border-radius: 16px; padding: 1.5rem; }

/* Mensagens do profissional */
body.app-profissional .mensagens-layout { display: grid; grid-template-columns: 420px 1fr; gap: 1.5rem; flex: 1; min-height: 0; }
body.app-profissional .conversas-panel, body.app-profissional .chat-panel { background: var(--card-bg); border: 1px solid var(--border-dark); border-radius: 18px; padding: 1.5rem; display: flex; flex-direction: column; min-height: 0; }
body.app-profissional .panel-title { color: var(--yellow); font-size: 1.15rem; font-weight: 500; margin-bottom: 1rem; flex-shrink: 0; }
body.app-profissional .conversas-list { display: flex; flex-direction: column; gap: 0.75rem; overflow-y: auto; padding-right: 0.5rem; }
body.app-profissional .conversa-item { display: flex; align-items: flex-start; gap: 0.6rem; background: var(--item-bg); border: 1.5px solid transparent; border-radius: 12px; padding: 0.85rem 1rem; text-align: left; cursor: pointer; font-family: var(--font); transition: border-color 0.15s, background 0.15s; }
body.app-profissional .conversa-item:hover { background: var(--item-bg-hover); }
body.app-profissional .conversa-item.active { border-color: var(--yellow); }
body.app-profissional .conversa-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--yellow); color: var(--text-900); font-weight: 700; font-size: 0.85rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
body.app-profissional .conversa-info { flex: 1; min-width: 0; }
body.app-profissional .conversa-top { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.3rem; }
body.app-profissional .conversa-nome { color: var(--yellow); font-weight: 600; font-size: 1rem; }
body.app-profissional .conversa-hora { color: var(--text-muted); font-size: 0.82rem; flex-shrink: 0; }
body.app-profissional .conversa-preview { color: var(--text-main, #F0F3FF); font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.app-profissional .chat-mensagens { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 1.1rem; padding-right: 0.5rem; margin-bottom: 1.25rem; }
body.app-profissional .msg-bubble { max-width: 60%; padding: 0.75rem 1rem; border-radius: 12px; }
body.app-profissional .msg-recebida { align-self: flex-start; background: var(--item-bg); }
body.app-profissional .msg-recebida .msg-texto { color: var(--text-main, #F0F3FF); }
body.app-profissional .msg-enviada { align-self: flex-end; background: var(--yellow); }
body.app-profissional .msg-enviada .msg-texto { color: #171717; }
body.app-profissional .msg-hora { font-size: 0.75rem; color: var(--text-muted); }
body.app-profissional .chat-input-row { display: flex; gap: 0.85rem; flex-shrink: 0; }
body.app-profissional .enviar-btn { background: var(--yellow); color: #171717; border: none; border-radius: 12px; padding: 0 1.75rem; font-family: var(--font); font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: background 0.2s, transform 0.2s; }
body.app-profissional .enviar-btn:hover { background: var(--yellow-light); transform: translateY(-1px); }

/* Notificações do profissional */
body.app-profissional .notif-grid { display: grid; grid-template-columns: 1fr 360px; gap: 1.5rem; align-items: start; }
body.app-profissional .btn-marcar-lidas { background: var(--item-bg); color: var(--text-main, #F0F3FF); border: none; border-radius: 10px; padding: 0.65rem 1.1rem; font-family: var(--font); font-size: 0.88rem; font-weight: 600; cursor: pointer; transition: background 0.2s; }
body.app-profissional .btn-marcar-lidas:hover { background: var(--item-bg-hover); }
body.app-profissional .sidebar-col .resumo-card, body.app-profissional .prefs-card, body.app-profissional .filtros-card { background: var(--card-bg); border: 1px solid var(--border-dark); border-radius: 16px; padding: 1.5rem; }
body.app-profissional .filtro-rapido-btn { width: 100%; text-align: left; background: var(--item-bg); color: var(--text-main, #F0F3FF); border: none; border-radius: 10px; padding: 0.75rem 1rem; font-family: var(--font); font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: background 0.2s, color 0.2s; }
body.app-profissional .filtro-rapido-btn:hover { background: var(--item-bg-hover); }
body.app-profissional .filtro-rapido-btn.active { background: var(--yellow); color: #171717; }

/* Pedidos do profissional (pepe) */
body.app-profissional .pedido-nome { color: var(--yellow); font-size: 1.15rem; font-weight: 600; }
body.app-profissional .pedido-servico { color: var(--text-main, #F0F3FF); font-size: 0.95rem; }
body.app-profissional .valor { color: var(--yellow); font-size: 1.4rem; font-weight: 600; }
body.app-profissional .btn-detalhes { background: var(--yellow); color: #171717; border: none; border-radius: 20px; padding: 0.5rem 1.3rem; font-family: var(--font); font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: background 0.2s, transform 0.2s; }
body.app-profissional .btn-detalhes:hover { background: var(--yellow-light); transform: translateY(-1px); }
body.app-profissional .btn-comprovante { background: #404040; color: #D6D6D6; border: none; border-radius: 20px; padding: 0.5rem 1.3rem; font-family: var(--font); font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: background 0.2s, transform 0.2s; }
body.app-profissional .btn-comprovante:hover { background: #4a4a4a; transform: translateY(-1px); }

/* Perfil do profissional */
body.app-profissional .perfil-grid { display: grid; grid-template-columns: 340px 1fr; gap: 1.5rem; }
body.app-profissional .perfil-info-card,
body.app-profissional .perfil-edit-card { background: var(--card-bg); border-radius: 20px; padding: 2rem; }
body.app-profissional .perfil-info-card { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
body.app-profissional .avatar-circle { width: 128px; height: 128px; border-radius: 50%; background: var(--yellow); color: #171717; display: flex; align-items: center; justify-content: center; font-size: 2.3rem; font-weight: 700; margin-bottom: 1.3rem; overflow: hidden; }
body.app-profissional .perfil-nome { font-size: 1.35rem; font-weight: 700; color: var(--text-cream); margin-bottom: 0.5rem; }
body.app-profissional .perfil-area { display: inline-block; background: var(--tag-bg); color: var(--yellow); font-size: 0.8rem; font-weight: 600; padding: 0.35rem 0.9rem; border-radius: 50px; margin-bottom: 1.75rem; }
body.app-profissional .info-row { width: 100%; display: flex; flex-direction: column; gap: 0.2rem; padding: 0.85rem 0; border-top: 1px solid var(--border-dark); text-align: left; }
body.app-profissional .info-label { font-size: 0.78rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }
body.app-profissional .info-value { font-size: 0.95rem; color: var(--text-cream); word-break: break-word; }
body.app-profissional .logout-btn { margin-top: 1.75rem; width: 100%; background: transparent; border: 1px solid #FB2C36; color: #FB2C36; border-radius: 50px; padding: 0.75rem 1rem; font-family: var(--font); font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: background 0.2s; }
body.app-profissional .logout-btn:hover { background: rgba(251,44,54,0.1); }
body.app-profissional .edit-title { font-size: 1.3rem; font-weight: 700; color: var(--text-cream); margin-bottom: 1.5rem; }
body.app-profissional .edit-form { display: flex; flex-direction: column; gap: 1.15rem; }
body.app-profissional .form-group { display: flex; flex-direction: column; gap: 0.4rem; }
body.app-profissional .form-group label { font-size: 0.85rem; font-weight: 600; color: var(--text-cream); }
body.app-profissional .form-group input,
body.app-profissional .form-group select,
body.app-profissional .form-group textarea { width: 100%; padding: 0.75rem 0.95rem; border-radius: 10px; border: 1px solid var(--border-dark); font-family: var(--font); font-size: 0.92rem; background: var(--bg-dark); color: var(--text-cream); }
body.app-profissional .form-group input:focus,
body.app-profissional .form-group select:focus,
body.app-profissional .form-group textarea:focus { outline: none; border-color: var(--yellow); }
body.app-profissional .salvar-btn { margin-top: 0.5rem; background: var(--yellow); color: #171717; border: none; border-radius: 50px; padding: 0.85rem 1.4rem; font-family: var(--font); font-size: 0.95rem; font-weight: 700; cursor: pointer; transition: background 0.2s, transform 0.2s; }
body.app-profissional .salvar-btn:hover { background: var(--yellow-light); transform: translateY(-1px); }

/* Login do profissional */
body.login-profissional {
    font-family: var(--font);
    background: linear-gradient(135deg, var(--yellow-pale) 0%, #FFC107 50%, #E6A800 100%);
    background-attachment: fixed; min-height: 100vh;
    display: flex; align-items: center; justify-content: center; padding: 2rem;
}
body.app-profissional .login-card { background: #F0F3FF; border-radius: 30px; padding: 2.5rem 2rem; box-shadow: 0 8px 30px rgba(0,0,0,0.12); }
body.app-profissional .login-card h1 { font-size: 1.8rem; font-weight: 700; color: var(--text-900); text-align: center; margin-bottom: 2rem; }
body.login-profissional .form-group { margin-bottom: 1.2rem; }
body.login-profissional .form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-900); margin-bottom: 0.4rem; }
body.login-profissional .form-group input { width: 100%; padding: 0.9rem 1.2rem; border: 2px solid var(--border); border-radius: 14px; font-size: 1rem; font-family: var(--font); outline: none; transition: all 0.3s ease; background: #faf8f5; color: var(--text-900); }
body.login-profissional .form-group input:focus { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(255,199,11,0.25); background: #fffef7; }
body.login-profissional .form-group input::placeholder { color: var(--text-300); opacity: 0.6; }
body.login-profissional .esqueci-senha { display: block; text-align: right; font-size: 0.85rem; color: var(--brown); text-decoration: none; font-weight: 500; margin-bottom: 1.5rem; transition: opacity 0.2s; }
body.login-profissional .esqueci-senha:hover { opacity: 0.7; }
body.login-profissional .entrar-btn { width: 100%; background: var(--brown-mid); color: var(--yellow-pale); border: none; padding: 1rem; border-radius: 50px; font-size: 1.1rem; font-weight: 700; font-family: var(--font); cursor: pointer; transition: all 0.3s ease; margin-top: 0.5rem; }
body.login-profissional .entrar-btn:hover { background: var(--brown-dark); transform: scale(1.02); }
body.login-profissional .dark-mode-toggle { position: fixed; bottom: 1.5rem; left: 1.5rem; background: var(--brown); color: var(--yellow-pale); border: none; border-radius: 50px; padding: 0.85rem 1.6rem; font-family: var(--font); font-size: 0.92rem; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 0.5rem; box-shadow: 0 4px 16px rgba(139,69,19,0.3); z-index: 200; transition: background 0.2s, transform 0.2s; }
body.login-profissional .dark-mode-toggle:hover { background: var(--brown-dark); transform: translateY(-2px); }
body.login-profissional.dark-mode { background: #121212; }
body.login-profissional.dark-mode .login-card { background-color: #2a2a2a; border: 1px solid rgba(255,199,11,0.2); }
body.login-profissional.dark-mode .login-card h1 { color: #f0e6d0; }
body.login-profissional.dark-mode .form-group label { color: #f0e6d0; }
body.login-profissional.dark-mode .form-group input { background-color: #1f1f1f; border-color: #3a3a3a; color: #f0e6d0; }
body.login-profissional.dark-mode .form-group input:focus { border-color: var(--yellow); }
body.login-profissional.dark-mode .esqueci-senha { color: var(--yellow); }

/* Responsive profissional */
@media (max-width: 1100px) {
    body.app-profissional .conteudo-grid, body.app-profissional .mapa-grid, body.app-profissional .notif-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
    body.app-profissional .page { padding: 2rem 1.5rem 6rem; }
    body.app-profissional .painel-grid { grid-template-columns: 1fr; }
    body.app-profissional .perfil-grid { grid-template-columns: 1fr; }
    body.app-profissional .mensagens-layout { grid-template-columns: 1fr; }
    body.app-profissional .conversas-panel { max-height: 320px; }
    body.app-profissional .chat-panel.pro { min-height: 480px; }
}
@media (max-width: 800px) {
    body.app-profissional .resumo-row { gap: 0.75rem; }
    body.app-profissional .compromisso-card { flex-direction: column; align-items: flex-start; }
    body.app-profissional .horario-col { border-right: none; border-bottom: 1px solid var(--item-bg); padding-right: 0; padding-bottom: 0.75rem; width: 100%; text-align: left; }
    body.app-profissional .agenda-btn { width: 100%; }
    body.app-profissional .acoes-row { grid-template-columns: 1fr; }
    body.app-profissional .page { padding: 1.75rem 1.25rem 3rem; }
    body.app-profissional .map-wrapper { height: 320px; }
    body.app-profissional .pedido-card.pro { flex-direction: column; align-items: flex-start; }
    body.app-profissional .pedido-valor.pro { align-items: flex-start; width: 100%; flex-direction: row; justify-content: space-between; }
    body.app-profissional .btn-marcar-lidas { order: 3; width: 100%; }
}
@media (max-width: 560px) {
    body.app-profissional .header { padding: 0 1rem; }
    body.app-profissional .page-title { font-size: 1.5rem; }
    body.app-profissional .resumo-buzz { display: none; }
}


/* ══════════════════════════════════════════════════════════════
   SCROLLBAR GLOBAL
   ══════════════════════════════════════════════════════════════ */
::-webkit-scrollbar       { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #DDB880; border-radius: 4px; }
/* ══════════════════════════════════════════════════════════════
   VARIAVEIS EXTRAS (necessárias pelos trechos adicionados abaixo
   — vindos de app-shell.css e Notificacoes.css)
   ══════════════════════════════════════════════════════════════ */
:root {
    --shell-bg: #FFFCF4;
    --shell-card-bg: #F0F3FF;
    --shell-border: #F1E4C6;
    --shell-navy: #0B1440;
    --shell-navy-soft: #3D4568;
    --shell-text-muted: #6B7592;
    --shell-orange: #F5A300;
    --shell-orange-strong: #FDA900;
    --shell-orange-soft: #FDECC5;
    --shell-gold-btn: #FFC700;
    --shell-gold-btn-hover: #F0B400;
    --shell-shadow: 0 10px 28px rgba(91, 67, 12, 0.08);

    --shell-panel-bg: #FFC700;
    --shell-panel-text: #0B1440;
    --shell-panel-icon-bg: rgba(240, 243, 255, 0.4);
    --shell-panel-icon-bg-hover: rgba(240, 243, 255, 0.65);
    --shell-panel-hover: rgba(11, 20, 64, 0.08);
    --shell-panel-divider: rgba(11, 20, 64, 0.14);
    --shell-panel-active-bg: #FFFCF4;
    --shell-panel-active-text: #0B1440;

    --bg-unread: #FFF6DA;
    --border-unread: #FFE199;
}

body.dark-mode {
    --shell-bg: #141414;
    --shell-card-bg: #1E1E1E;
    --shell-border: #2A2A2A;
    --shell-navy: #F5F1E6;
    --shell-navy-soft: #C9C9C9;
    --shell-text-muted: #9A9A9A;
    --shell-orange: #FFC700;
    --shell-orange-strong: #FFC700;
    --shell-orange-soft: #2E2712;
    --shell-gold-btn: #FFC700;
    --shell-gold-btn-hover: #E6B400;
    --shell-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);

    --shell-panel-bg: #2A2010;
    --shell-panel-text: #F5E9C8;
    --shell-panel-icon-bg: rgba(255, 199, 0, 0.14);
    --shell-panel-icon-bg-hover: rgba(255, 199, 0, 0.24);
    --shell-panel-hover: rgba(255, 199, 0, 0.1);
    --shell-panel-divider: rgba(255, 199, 0, 0.18);
    --shell-panel-active-bg: #40331A;
    --shell-panel-active-text: #FFC700;

    --bg-unread: #3A2E16;
    --border-unread: #5A4420;
}


/* ======================= AUTH (login + cadastro) ======================= */

body.auth-body .hex-page {
    background-color: #1A1A1A;
    background-image: url("/imagens/fundo-novo-login.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
body.auth-body .hex-page:not(.auth-page-login) {
    background-color: #FFF8E1;
    background-image: url("/imagens/fundo-cadastro-colmeia.png");
}
body.auth-body .auth-page-login.modo-profissional {
    /* Duas camadas: um degradê escuro por cima da foto (protege o logo e o
       texto "Bem-vindo de volta!") + a foto em si embaixo. Em janelas mais
       baixas (o que também acontece em zooms mais altos, já que a barra do
       navegador não escala junto) o corte do "cover" empurra a foto mais
       pra direita, a ponto de ela encostar no logo — o degradê garante que,
       mesmo nesse caso, o logo sempre tem um fundo escuro atrás dele, em
       vez de brigar direto com a foto. */
    background-image:
        linear-gradient(90deg,
            rgba(13, 10, 7, 0) 0%,
            rgba(13, 10, 7, 0.5) 28%,
            rgba(13, 10, 7, 0.74) 42%,
            rgba(13, 10, 7, 0.4) 58%,
            rgba(13, 10, 7, 0) 72%),
        url("/imagens/fundo-login-profissional.png");
    /* Ancorado à esquerda (em vez de "center"): com o fundo centralizado,
       dependendo da proporção largura/altura da janela, o corte do "cover"
       podia empurrar a foto do profissional pra direita. Fixando a âncora
       na esquerda, a foto fica sempre no mesmo lugar e o excesso é cortado
       só do lado direito, que já é área vazia (hexágonos). */
    background-position: left center, left center;
}
body.auth-body .hex-page:not(.auth-page-login) .auth-heading {
    color: #2C1A0E;
}
body.auth-body .hex-page:not(.auth-page-login) .auth-heading-sub {
    color: #6B5A48;
}
body.auth-body .hex-page:not(.auth-page-login) .auth-card {
    background: rgba(255, 253, 248, 0.9);
    border: 1px solid rgba(92, 58, 30, 0.1);
    box-shadow: 0 30px 70px rgba(92, 58, 30, 0.16);
}
body.auth-body .hex-page:not(.auth-page-login) .auth-card h1 {
    color: #2C1A0E;
}
body.auth-body .hex-page:not(.auth-page-login) .auth-card label {
    color: #3E2711;
}
body.auth-body .hex-page:not(.auth-page-login) .auth-sub {
    color: #7A6A5A;
}
body.auth-body .hex-page:not(.auth-page-login) .auth-troca {
    color: #7A6A5A;
}
body.auth-body .hex-page:not(.auth-page-login) .auth-troca a {
    color: #C98A12;
}
body.auth-body .auth-page-login {
    background-color: #FFF6DD;
    background-image: url("/imagens/login-fundo-novo.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    color: #3E2711;
}
body.auth-body .auth-login-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1.5rem, calc(5vw - 8px), 3.5rem);
    flex-wrap: wrap;
    width: 100%;
    position: relative;
    z-index: 1;
}
body.auth-body .auth-page-login .auth-hero {
    align-items: flex-start;
    max-width: clamp(260px, calc(25vw + 100px), 420px);
    width: 100%;
}
body.auth-body .auth-page-login .auth-card {
    max-width: clamp(280px, calc(23.5vw + 130px), 430px);
    background: #FFFDF8;
    border: 1px solid rgba(255, 199, 7, 0.35);
    box-shadow: 0 24px 55px rgba(92, 58, 30, 0.22);
}
body.auth-body .auth-page-login .auth-logo-link {
    justify-content: flex-start;
}
body.auth-body .auth-page-login .auth-heading, body.auth-body .auth-page-login .auth-heading-sub {
    text-align: left;
}
body.auth-body .auth-page-login .auth-heading {
    color: #2C1A0E;
    font-size: 2rem;
}
body.auth-body .auth-page-login .auth-heading-sub {
    color: #6B5A48;
}
body.auth-body .auth-page-login .auth-hero, body.auth-body .auth-page-login .auth-card {
    position: relative;
    z-index: 1;
}

@media (max-width: 640px) {
    body.auth-body .auth-login-content {
        flex-direction: column;
        gap: 1.8rem;
    }
    body.auth-body .auth-page-login .auth-hero {
        align-items: center;
        max-width: 100%;
    }
    body.auth-body .auth-page-login .auth-logo-link {
        justify-content: center;
    }
    body.auth-body .auth-page-login .auth-heading, body.auth-body .auth-page-login .auth-heading-sub {
        text-align: center;
    }
}

body.auth-body .auth-page-login .tab-switch {
    background: #F5DFA0;
    box-shadow: inset 0 0 0 1px rgba(92, 58, 30, 0.1);
    width: 100%;
    max-width: 360px;
}
body.auth-body .auth-page-login .tab-btn {
    color: #8B7355;
}
body.auth-body .auth-page-login .tab-btn.active {
    background: linear-gradient(135deg, #FFCF3D 0%, #F5B400 100%);
    color: #2C1A0E;
}
body.auth-body .auth-selos {
    margin-top: 0.6rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}
body.auth-body .selo-icone-lock {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFCF3D 0%, #F5B400 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #2C1A0E;
    box-shadow: 0 4px 10px rgba(197, 138, 18, 0.35);
}
body.auth-body .selo-icone-lock svg {
    width: 19px;
    height: 19px;
}
body.auth-body .selo-titulo {
    font-size: 0.98rem;
    font-weight: 800;
    color: #2C1A0E;
    margin-bottom: 0.25rem;
}
body.auth-body .selo-sub {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #7A6A5A;
    flex-wrap: wrap;
}
body.auth-body .selo-sub svg {
    width: 15px;
    height: 15px;
    color: #2FB344;
    flex-shrink: 0;
}
body.auth-body .auth-page-login .auth-card label {
    color: #3E2711;
}
body.auth-body .auth-page-login .auth-troca {
    color: #8B7869;
}
body.auth-body .auth-page-login .auth-troca a {
    color: #C98A12;
}
body.auth-body .input-icon-wrap {
    position: relative;
}
body.auth-body .input-icon-wrap .input-icone {
    position: absolute;
    left: 0.95rem;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #A8925F;
    pointer-events: none;
}
body.auth-body .input-icon-wrap input {
    padding-left: 2.6rem;
}
body.auth-body .input-icon-wrap:has(.toggle-senha) input {
    padding-right: 2.6rem;
}
body.auth-body .toggle-senha {
    position: absolute;
    right: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    color: #A8925F;
    cursor: pointer;
    display: flex;
}
body.auth-body .toggle-senha svg {
    width: 18px;
    height: 18px;
}
body.auth-body .toggle-senha.ativo {
    color: #C98A12;
}
body.auth-body .auth-page-login .auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #FFCF3D 0%, #F5B400 100%);
    color: #2C1A0E;
}
body.auth-body .auth-page-login .auth-btn svg {
    width: 18px;
    height: 18px;
}
body.auth-body .auth-page-login .auth-btn:hover {
    background: linear-gradient(135deg, #FFD658 0%, #FFC107 100%);
}

/* Aba "Profissionais" do login (fundo escuro, fundo-login-profissional.png):
   todo o texto/ícones do lado esquerdo (hero) estavam com as cores pensadas
   pro fundo claro (marrom escuro em cima de creme), então em cima do fundo
   quase preto ficavam ilegíveis — isso que causava o "bug visual" da aba
   Profissionais. Aqui só ajustamos as cores pra versão escura; o card do
   formulário continua claro (fica com bom contraste em cima do fundo escuro,
   igual um cartão flutuante). */
body.auth-body .auth-page-login.modo-profissional .auth-heading {
    color: #F5EFE4;
}
body.auth-body .auth-page-login.modo-profissional .auth-heading-sub {
    color: #C9B8A0;
}
body.auth-body .auth-page-login.modo-profissional .tab-switch {
    background: rgba(240, 243, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(240, 243, 255, 0.12);
}
body.auth-body .auth-page-login.modo-profissional .tab-btn {
    color: #D9C9B0;
}
body.auth-body .auth-page-login.modo-profissional .tab-btn.active {
    background: linear-gradient(135deg, #FFCF3D 0%, #F5B400 100%);
    color: #2C1A0E;
}
body.auth-body .auth-page-login.modo-profissional .selo-icone-lock {
    background: rgba(255, 199, 11, 0.15);
    color: #FFC107;
}
body.auth-body .auth-page-login.modo-profissional .selo-titulo {
    color: #F5EFE4;
}
body.auth-body .auth-page-login.modo-profissional .selo-sub {
    color: #B8A890;
}
body.auth-body .auth-page-login.modo-profissional .selo-sub svg {
    color: #4ADE80;
}

/* Caixa de login (email/CPF/senha) na aba Profissionais: em vez do cartão
   creme/branco (feito pro fundo claro da aba Empresas), aqui ele fica num
   cinza escuro que conversa com o fundo, mas ainda bem mais claro que o
   fundo em si — pra não "sumir" nele. */
body.auth-body .auth-page-login.modo-profissional .auth-card {
    background: #241F1A;
    border: 1px solid rgba(255, 199, 7, 0.18);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.45);
}
body.auth-body .auth-page-login.modo-profissional .auth-card label {
    color: #D9CDB8;
}
body.auth-body .auth-page-login.modo-profissional .auth-card input {
    background: #322A22;
    border: 1px solid rgba(240, 243, 255, 0.1);
    color: #F3ECDF;
}
body.auth-body .auth-page-login.modo-profissional .auth-card input::placeholder {
    color: #8D8070;
}
body.auth-body .auth-page-login.modo-profissional .auth-card input:focus {
    border-color: var(--yellow);
}
body.auth-body .auth-page-login.modo-profissional .input-icon-wrap .input-icone,
body.auth-body .auth-page-login.modo-profissional .toggle-senha {
    color: #B5A68D;
}
body.auth-body .auth-page-login.modo-profissional .toggle-senha.ativo {
    color: #FFC107;
}
body.auth-body .auth-page-login.modo-profissional .esqueci-senha {
    color: #E8C468;
}
body.auth-body .auth-page-login.modo-profissional .auth-troca {
    color: #B5A68D;
}
body.auth-body .auth-page-login.modo-profissional .auth-troca a {
    color: #FFC107;
}


/* ======================= APP-SHELL (sidebar/topbar) - cliente ======================= */

body.app-cliente .header-left {
    display: flex;
    align-items: center;
}
body.app-cliente .brand-mark {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
}
body.app-cliente .brand-mark .brand-logo {
    height: 64px;
    width: auto;
    object-fit: contain;
}
body.app-cliente .header-right {
    display: flex;
    align-items: center;
    gap: 1.35rem;
}
body.app-cliente .topbar-icon-btn, body.app-cliente .topbar-profile-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: var(--shell-panel-text);
    transition: transform 0.2s, opacity 0.2s;
}
body.app-cliente .topbar-icon-btn svg, body.app-cliente .topbar-profile-btn svg {
    width: 30px;
    height: 30px;
}
body.app-cliente .topbar-icon-btn img, body.app-cliente .topbar-profile-btn img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}
body.app-cliente .icon-claro { display: block; }
body.app-cliente .icon-escuro { display: none; }
body.dark-mode .icon-claro { display: none; }
body.dark-mode .icon-escuro { display: block; }
body.app-cliente .topbar-icon-btn:hover, body.app-cliente .topbar-profile-btn:hover {
    opacity: 0.7;
    transform: scale(1.06);
}
body.app-cliente .topbar-icon-btn.active {
    opacity: 1;
}
/* Card de perfil da barra de cima (empresa) */
body.app-cliente .topbar-profile-card {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    max-width: 260px;
    padding: 0.35rem 0.85rem 0.35rem 0.4rem;
    background: #7A3A15; /* marrom dos ícones */
    border-radius: 999px;
    color: #F0F3FF;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(90, 40, 10, 0.28);
    transition: transform 0.2s, opacity 0.2s;
}
body.app-cliente .topbar-profile-card:hover {
    opacity: 0.9;
}
body.app-cliente .topbar-card-avatar {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: #5A2A0D;
    color: #F0F3FF;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
body.app-cliente .topbar-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
body.app-cliente .topbar-card-textos {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.2;
}
body.app-cliente .topbar-card-nome {
    font-weight: 700;
    font-size: 0.95rem;
    color: #F0F3FF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
body.app-cliente .topbar-card-papel {
    font-size: 0.78rem;
    color: #F3DDB5;
}
body.app-cliente .topbar-card-seta {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: #F3DDB5;
}
@media (max-width: 680px) {
    body.app-cliente .topbar-card-textos,
    body.app-cliente .topbar-card-seta { display: none; }
    body.app-cliente .topbar-profile-card { padding: 0.3rem; }
}

body.app-cliente .main-container {
    display: flex;
    flex: 1;
    align-items: stretch;
}
body.app-cliente .sidebar {
    width: 198px;
    flex-shrink: 0;
    background: var(--shell-panel-bg);
    padding: 2rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    position: sticky;
    top: 92px;
    height: calc(100vh - 92px);
    align-self: flex-start;
    transition: background-color 0.2s ease;
}
body.app-cliente .sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}
body.app-cliente .sidebar-nav-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.85rem 0.7rem;
    border-radius: 14px;
    text-decoration: none;
    color: var(--shell-panel-text);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 1.08rem;
    font-weight: 600;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}
body.app-cliente .sidebar-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    flex-shrink: 0;
    color: var(--shell-panel-text);
}
body.app-cliente .sidebar-nav-icon svg {
    width: 26px;
    height: 26px;
}
body.app-cliente .sidebar-nav-icon img {
    width: 27px;
    height: 27px;
    object-fit: contain;
}
body.app-cliente .config-gear-icon {
    width: 26px;
    height: 26px;
    background-color: currentColor;
    -webkit-mask-image: url("/imagens/engrenagem.png");
    mask-image: url("/imagens/engrenagem.png");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}
body.app-cliente .sidebar-nav-item:hover {
    background: var(--shell-panel-hover);
}
body.app-cliente .sidebar-nav-item.active {
    background: var(--shell-panel-active-bg);
    color: var(--shell-panel-active-text);
}
body.app-cliente .sidebar-nav-item.active .sidebar-nav-icon {
    color: var(--shell-panel-active-text);
}
body.app-cliente .sidebar-bottom {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--shell-panel-divider);
}
body.app-cliente .sidebar .config-wrap {
    position: relative;
    width: 100%;
}
body.app-cliente .sidebar .config-trigger {
    display: flex;
}
body.app-cliente .sidebar-icon {
    display: none;
}
body.app-cliente .notif-badge {
    margin-left: auto;
    min-width: 17px;
    height: 17px;
    padding: 0 5px;
    background: #E53935;
    color: #F0F3FF;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex-shrink: 0;
}
body.app-cliente .sidebar-nav-item.active .notif-badge {
    box-shadow: 0 0 0 2px var(--shell-panel-active-bg);
}
body.app-cliente .config-menu-sidebar {
    bottom: calc(100% + 10px);
    left: 0;
    top: auto;
    right: auto;
}

@media (max-width: 900px) {
    body.app-cliente .sidebar {
        top: 76px;
        height: calc(100vh - 76px);
        width: 172px;
    }
}

@media (max-width: 680px) {
    body.app-cliente .main-container {
        flex-direction: column;
    }
    body.app-cliente .sidebar {
        position: static;
        width: 100%;
        height: auto;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.4rem;
        border-right: none;
        border-bottom: 1px solid var(--shell-panel-divider);
    }
    body.app-cliente .sidebar-nav {
        flex-direction: row;
        flex-wrap: wrap;
        flex: 1;
    }
    body.app-cliente .sidebar-nav-item {
        width: auto;
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }
    body.app-cliente .sidebar-nav-item .sidebar-nav-label {
        display: none;
    }
    body.app-cliente .sidebar-bottom {
        margin-top: 0;
        padding-top: 0;
        border-top: none;
    }
}


/* ======================= TELA INICIO (TelaIni.html) ======================= */

body.app-cliente .pro-score-novo {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-light, #A0826D);
    font-style: italic;
}
body.app-cliente .search-results-vazio {
    text-align: center;
    color: var(--shell-text-muted);
    padding: 2rem 1rem;
    font-size: 0.95rem;
    background: var(--shell-card-bg);
    border: 1px dashed var(--shell-border);
    border-radius: 16px;
}
body.app-cliente .hero-inicio {
    display: flex;
    align-items: stretch;
    gap: 2.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}
body.app-cliente .hero-inicio-photo {
    flex: 1 1 420px;
    max-width: 620px;
    clip-path: polygon(0 0, 83% 0, 100% 50%, 83% 100%, 0 100%);
    border-radius: 22px 0 0 22px;
    overflow: hidden;
}
body.app-cliente .hero-inicio-img {
    width: 100%;
    height: 100%;
    min-height: 330px;
    object-fit: cover;
    display: block;
}
body.app-cliente .hero-inicio-text {
    flex: 1 1 380px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.1rem;
}
body.app-cliente .hero-search-row {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}
body.app-cliente .hero-search-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: var(--shell-card-bg);
    border: 1px solid var(--shell-border);
    border-radius: 14px;
    padding: 0.85rem 1.2rem;
    color: var(--shell-text-muted);
}
body.app-cliente .hero-search-input-wrap svg {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
    color: var(--shell-text-muted);
}
body.app-cliente .hero-search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.98rem;
    color: var(--shell-navy);
    font-family: inherit;
}
body.app-cliente .hero-search-input::placeholder {
    color: var(--shell-text-muted);
}
body.app-cliente .hero-search-btn {
    background: #8B4513;
    color: #F0F3FF;
    border: none;
    border-radius: 14px;
    padding: 0.9rem 1.7rem;
    font-size: 0.98rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s, transform 0.15s;
}
body.app-cliente .hero-search-btn:hover {
    background: #723710;
    transform: translateY(-1px);
}
body.dark-mode .hero-search-btn {
    background: #5C3A1E;
    color: #FFE066;
}
body.dark-mode .hero-search-btn:hover {
    background: #6E4624;
}
body.app-cliente .hero-inicio-heading {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--shell-navy);
}
body.app-cliente .hero-inicio-heading .accent {
    color: var(--shell-orange);
}
body.app-cliente .hero-inicio-sub {
    font-size: 1rem;
    color: var(--shell-text-muted);
    line-height: 1.5;
    max-width: 480px;
}
body.app-cliente .search-results {
    margin-bottom: 3rem;
}
body.app-cliente .search-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
body.app-cliente .search-results-clear {
    background: none;
    border: none;
    color: var(--shell-orange);
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    padding: 0.3rem 0.2rem;
    font-family: inherit;
    white-space: nowrap;
}
body.app-cliente .search-results-clear:hover {
    text-decoration: underline;
}
body.app-cliente .service-icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--shell-orange-soft);
    color: var(--shell-orange);
    flex-shrink: 0;
}
body.app-cliente .service-icon-circle svg {
    width: 24px;
    height: 24px;
}
body.app-cliente .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.1rem;
    margin-bottom: 1rem;
}
body.app-cliente .stat-card {
    background: var(--shell-card-bg);
    border: 1px solid var(--shell-border);
    border-radius: 16px;
    padding: 1.4rem 1.3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}
body.app-cliente .stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shell-shadow);
}
body.app-cliente .stat-icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--shell-orange-soft);
    color: var(--shell-orange);
    flex-shrink: 0;
}
body.app-cliente .stat-icon-circle svg {
    width: 22px;
    height: 22px;
}
body.app-cliente .stat-texts {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
body.app-cliente .stat-numero {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--shell-navy);
    line-height: 1.1;
}
body.app-cliente .stats-grid .stat-label {
    font-size: 0.85rem;
    color: var(--shell-text-muted);
    font-weight: 500;
}

@media (max-width: 1180px) {
    body.app-cliente .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    body.app-cliente .hero-inicio-photo {
        clip-path: none;
        border-radius: 20px;
        flex-basis: 100%;
    }
    body.app-cliente .hero-inicio-img {
        min-height: 220px;
    }
    body.app-cliente .hero-inicio-heading {
        font-size: 1.9rem;
    }
}

@media (max-width: 600px) {
    body.app-cliente .stats-grid {
        grid-template-columns: 1fr;
    }
    body.app-cliente .hero-search-row {
        flex-direction: column;
        align-items: stretch;
    }
    body.app-cliente .hero-inicio-heading {
        font-size: 1.6rem;
    }
}


/* ======================= LOCALIZACAO.html ======================= */

body.app-cliente .categoria-vazio {
    text-align: center;
    color: var(--text-300);
    font-size: 0.8rem;
    padding: 1.5rem 0.5rem;
}
body.app-cliente .categorias-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--surface-cream);
}
body.app-cliente .categorias-topo {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}
body.app-cliente .categorias-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: #922800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}
body.app-cliente .categorias-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    overflow: hidden;
    min-height: 0;
}
body.app-cliente .categoria-coluna {
    display: flex;
    flex-direction: column;
    min-height: 0;
    border-right: 1px solid var(--border);
    overflow: hidden;
}
body.app-cliente .categoria-coluna:last-child {
    border-right: none;
}
body.app-cliente .categoria-titulo {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-900);
    text-align: center;
    padding: 0.9rem 0.6rem;
    border-bottom: 2px solid var(--yellow);
    background: var(--surface-card);
    flex-shrink: 0;
    line-height: 1.25;
}
body.app-cliente .categoria-lista {
    flex: 1;
    overflow-y: auto;
    padding: 0.85rem 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    min-height: 0;
}
body.app-cliente .categoria-lista::-webkit-scrollbar { width: 4px; }
body.app-cliente .categoria-lista::-webkit-scrollbar-track { background: transparent; }
body.app-cliente .categoria-lista::-webkit-scrollbar-thumb { background: #DDB880; border-radius: 4px; }
body.app-cliente .categoria-lista .pro-card { background: var(--surface-card); border: 1.5px solid var(--border); border-radius: var(--radius-md); padding: 0.75rem 0.7rem; cursor: pointer; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.5rem; position: relative; overflow: hidden; }
body.app-cliente .categoria-lista .pro-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--yellow); color: var(--brown); font-weight: 700; font-size: 0.9rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 2px 6px rgba(255,199,11,0.3); }
body.app-cliente .categoria-lista .pro-info { min-width: 0; width: 100%; }
body.app-cliente .categoria-lista .pro-name { font-size: 0.85rem; font-weight: 700; color: var(--text-900); margin-bottom: 0.15rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.app-cliente .categoria-lista .pro-service { font-size: 0.72rem; color: var(--text-300); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.app-cliente .categoria-lista .pro-dist { font-size: 0.72rem; color: var(--brown-light); font-weight: 500; display: flex; align-items: center; justify-content: center; gap: 0.2rem; }


/* ======================= MAPA.html (cliente) ======================= */

body.app-cliente .mapa-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.75rem 2.5rem 2.5rem;
    gap: 1.25rem;
    overflow: auto;
}
body.app-cliente .mapa-topo {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    flex-wrap: wrap;
}
body.app-cliente .mapa-heading {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-900);
}
body.app-cliente .mapa-vazio {
    text-align: center;
    color: var(--text-300);
    font-size: 0.95rem;
    padding: 3rem 1.5rem;
    border: 1px dashed var(--border);
    border-radius: var(--radius-md);
}
body.app-cliente .distancia-badge {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--surface-card);
    color: var(--text-900);
    border-radius: 50px;
    padding: 0.55rem 1rem;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: var(--shadow);
}
body.app-cliente .distancia-badge svg {
    width: 18px;
    height: 18px;
    color: var(--brown-light);
    flex-shrink: 0;
}
body.app-cliente .mapa-container .info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    align-items: stretch;
}
body.app-cliente .map-wrapper {
    position: relative;
    height: 340px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    isolation: isolate;
    z-index: 0;
}
body.app-cliente #map {
    width: 100%;
    height: 100%;
    background: var(--surface-card);
}
body.app-cliente .rota-card,
body.app-cliente .stats-card {
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}
body.app-cliente .stats-card {
    justify-content: center;
}
body.app-cliente .card-titulo {
    color: var(--text-900);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1.1rem;
}
body.app-cliente .rota-timeline {
    margin-bottom: 1.25rem;
}
body.app-cliente .rota-etapa {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
body.app-cliente .rota-icone {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
body.app-cliente .rota-icone svg {
    width: 18px;
    height: 18px;
}
body.app-cliente .rota-icone-ok {
    background: rgba(52,211,153,0.18);
    color: #1FA37A;
}
body.app-cliente .rota-icone-proximo {
    background: rgba(255,199,11,0.2);
    color: var(--brown-light);
}
body.app-cliente .rota-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
body.app-cliente .rota-nome {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-900);
}
body.app-cliente .rota-sub {
    font-size: 0.8rem;
    color: var(--text-300);
}
body.app-cliente .rota-linha {
    width: 2px;
    height: 22px;
    background: repeating-linear-gradient(to bottom, var(--yellow) 0, var(--yellow) 4px, transparent 4px, transparent 8px);
    margin-left: 17px;
}
body.app-cliente .btn-navegar-proximo {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    background: var(--yellow);
    color: var(--text-900);
    border: none;
    border-radius: 10px;
    padding: 0.8rem;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
body.app-cliente .btn-navegar-proximo svg {
    width: 17px;
    height: 17px;
}
body.app-cliente .btn-navegar-proximo:hover {
    background: #FFDD3D;
    transform: translateY(-1px);
}
body.app-cliente .stat-bloco {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
body.app-cliente .mapa-container .stat-label {
    color: var(--text-300);
    font-size: 0.85rem;
}
body.app-cliente .stat-valor {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--text-900);
}
body.dark-mode .distancia-badge {
    background: #2E2822;
    color: var(--text-900);
}
body.dark-mode .rota-icone-ok {
    background: rgba(52,211,153,0.22);
    color: #4FE3B0;
}
body.dark-mode .rota-icone-proximo {
    background: rgba(255,199,11,0.22);
    color: var(--yellow);
}

@media (max-width: 700px) {
    body.app-cliente .mapa-container {
        padding: 1.25rem 1.25rem 2rem;
    }
    body.app-cliente .mapa-container .info-grid {
        grid-template-columns: 1fr;
    }
}


/* ======================= NOTIFICACOES.html (cliente) ======================= */

/* .sidebar-trigger / .sidebar-toggle / .sidebar:hover-expand eram da
   Notificacoes.html antiga/órfã (sidebar colapsável) e colidiam com a
   sidebar real (sempre expandida, ver bloco "Sidebar nav" mais acima),
   fazendo-a encolher ao passar o mouse — removidos. */
body.app-cliente .unread-banner {
    background: var(--bg-unread);
    border: 1.5px solid var(--border-unread);
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-700);
    margin-bottom: 1.5rem;
}
body.app-cliente .unread-banner.hidden {
    display: none;
}


/* ======================= PAGAMENTOS.html ======================= */


/* ======================= PEDIDOS.html (avaliacao modal) ======================= */

body.app-cliente .avaliacao-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(44, 26, 14, 0.5);
    z-index: 600;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
body.app-cliente .avaliacao-modal-overlay.open {
    display: flex;
}
body.app-cliente .avaliacao-modal-card {
    background: var(--surface-white);
    border-radius: 20px;
    padding: 2rem;
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 70px rgba(44, 26, 14, 0.3);
}
body.app-cliente .avaliacao-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: none;
    border: none;
    font-size: 1.7rem;
    line-height: 1;
    color: var(--text-300);
    cursor: pointer;
    transition: color 0.15s;
}
body.app-cliente .avaliacao-modal-close:hover {
    color: var(--text-900);
}
body.app-cliente .avaliacao-modal-titulo {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-900);
    text-align: center;
    margin-top: 0.5rem;
}
body.app-cliente .avaliacao-modal-nome {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--brown);
    text-align: center;
    margin-top: 0.2rem;
    margin-bottom: 1.5rem;
}
body.app-cliente .avaliacao-modal-estrelas {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
body.app-cliente .avaliacao-estrela {
    border: none;
    background: none;
    font-size: 2.4rem;
    line-height: 1;
    color: #e0d5c5;
    cursor: pointer;
    padding: 0;
    transition: transform 0.1s, color 0.1s;
}
body.app-cliente .avaliacao-estrela:hover {
    transform: scale(1.12);
}
body.app-cliente .avaliacao-estrela.selecionada {
    color: var(--yellow);
}
body.app-cliente .avaliacao-modal-motivos {
    margin-bottom: 1.25rem;
    animation: avaliacaoFadeIn 0.2s ease;
}
body.app-cliente .avaliacao-modal-subtitulo {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-900);
    margin-bottom: 0.7rem;
}
body.app-cliente .avaliacao-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
body.app-cliente .avaliacao-chip {
    border: 1.5px solid var(--border);
    background: var(--surface-cream);
    color: var(--text-700);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.45rem 0.9rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.15s;
}
body.app-cliente .avaliacao-chip:hover {
    border-color: var(--yellow);
}
body.app-cliente .avaliacao-chip.selecionado {
    background: var(--text-900);
    border-color: var(--text-900);
    color: #F0F3FF;
}
body.app-cliente .avaliacao-modal-outros {
    margin-bottom: 1.5rem;
}
body.app-cliente .avaliacao-modal-outros label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-900);
    margin-bottom: 0.5rem;
}
body.app-cliente .avaliacao-modal-outros textarea {
    width: 100%;
    resize: vertical;
    min-height: 70px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    padding: 0.7rem 0.9rem;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--text-900);
    background: var(--surface-cream);
}
body.app-cliente .avaliacao-modal-outros textarea:focus {
    outline: none;
    border-color: var(--yellow);
}
body.app-cliente .avaliacao-modal-btn {
    width: 100%;
    border: none;
    background: var(--text-900);
    color: #F0F3FF;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.9rem;
    border-radius: 14px;
    cursor: pointer;
    transition: filter 0.15s;
}
body.app-cliente .avaliacao-modal-btn:hover:not(:disabled) {
    filter: brightness(1.15);
}
body.app-cliente .avaliacao-modal-btn:disabled {
    background: var(--border);
    color: var(--text-300);
    cursor: not-allowed;
}
body.dark-mode .avaliacao-modal-card {
    background: #2A2118;
}
body.dark-mode .avaliacao-modal-titulo,
body.dark-mode .avaliacao-modal-subtitulo,
body.dark-mode .avaliacao-modal-outros label {
    color: #F5E9D8;
}
body.dark-mode .avaliacao-modal-close {
    color: #C9B79C;
}
body.dark-mode .avaliacao-chip {
    background: #3A322A;
    border-color: #4A3E30;
    color: #E8D9C4;
}
body.dark-mode .avaliacao-chip.selecionado {
    background: var(--yellow);
    border-color: var(--yellow);
    color: #2C1A0E;
}
body.dark-mode .avaliacao-modal-outros textarea {
    background: #3A322A;
    border-color: #4A3E30;
    color: #F5E9D8;
}


/* ======================= LOGIN_PROFISSIONAL.html (pagina morta) ======================= */

body.login-profissional .container {
    width: 100%;
    max-width: 480px;
}
body.login-profissional .logo-container {
    text-align: center;
    margin-bottom: 2.5rem;
}
body.login-profissional .logo-link {
    text-decoration: none;
    display: inline-block;
}
body.login-profissional .logo-sub {
    font-size: 0.55rem;
    font-weight: 600;
    color: #5C3A1E;
    letter-spacing: 0.2em;
    display: block;
    margin-top: 0.1rem;
    opacity: 0.7;
}
body.login-profissional .cadastrar-link {
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-900);
    margin-top: 1.5rem;
}
body.login-profissional .cadastrar-link a {
    color: var(--brown);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s;
}
body.login-profissional .cadastrar-link a:hover {
    opacity: 0.7;
}
body.login-profissional .modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 1.5rem;
}
body.login-profissional .modal.open {
    display: flex;
}
body.login-profissional .modal-content {
    background: var(--surface-white);
    width: 100%;
    max-width: 480px;
    border-radius: 30px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}
body.login-profissional .close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}
body.login-profissional .close-modal:hover {
    color: var(--text-900);
}
body.login-profissional .modal-content h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-900);
    text-align: center;
    margin-bottom: 1.5rem;
}
body.login-profissional .modal-content .form-group {
    margin-bottom: 1rem;
}
body.login-profissional .modal-content .form-group label {
    font-size: 0.8rem;
}
body.login-profissional .modal-content .form-group input {
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
}
body.dark-mode.login-profissional .modal-content {
    background-color: #2a2a2a;
    border: 1px solid rgba(255, 199, 11, 0.2);
}
body.dark-mode.login-profissional .modal-content h2 {
    color: #f0e6d0;
}
body.dark-mode.login-profissional .close-modal {
    color: #aaa;
}
body.dark-mode.login-profissional .close-modal:hover {
    color: #f0e6d0;
}
body.login-profissional .criar-btn {
    width: 100%;
    background: #5C3A1E;
    color: #FFE066;
    border: none;
    padding: 1rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}
body.login-profissional .criar-btn:hover {
    background: var(--brown-dark);
    transform: scale(1.02);
}
body.login-profissional .fazer-login {
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-900);
    margin-top: 1.2rem;
}
body.login-profissional .fazer-login a {
    color: var(--brown);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s;
}
body.login-profissional .fazer-login a:hover {
    opacity: 0.7;
}
body.dark-mode .logo,
body.dark-mode .logo-sub {
    color: #f0e6d0;
}
body.dark-mode .esqueci-senha,
body.dark-mode .cadastrar-link a,
body.dark-mode .fazer-login a {
    color: #ffc70b;
}
body.dark-mode .cadastrar-link,
body.dark-mode .fazer-login {
    color: #f0e6d0;
}


/* ======================= AGENDA.html ======================= */

body.app-profissional .logo-mark {
    width: 30px;
    height: 33px;
    flex-shrink: 0;
}
body.app-profissional .header-title {
    color: var(--text-900);
    font-size: 1.15rem;
    font-weight: 500;
}


/* ======================= NAV-PILL (todas as telas do profissional) ======================= */

body.app-profissional .nav-pills {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    flex: 1;
    margin-left: 2rem;
}
body.app-profissional .nav-pill {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.75rem 1.3rem;
    border-radius: 50px;
    color: #5C4023;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}
body.app-profissional .nav-pill svg { width: 20px; height: 20px; flex-shrink: 0; }
body.app-profissional .nav-pill:hover {
    background: rgba(240, 243, 255, 0.25);
    color: #2C1A0E;
}
body.app-profissional .nav-pill.active {
    background: rgba(240, 243, 255, 0.55);
    color: #2C1A0E;
}

@media (max-width: 980px) {
    body.app-profissional .nav-pills span { display: none; }
}


/* ======================= CARTEIRA.html ======================= */

body.app-profissional .form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 1rem;
    margin-bottom: 0.35rem;
}
body.app-profissional .form-input {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--item-bg);
    color: var(--text-cream);
    font-family: inherit;
    font-size: 0.9rem;
}
body.app-profissional .form-input:focus {
    outline: none;
    border-color: var(--yellow);
}
body.app-profissional .filtro-btn {
    background: var(--item-bg);
    color: var(--text-cream);
    border: none;
    border-radius: 10px;
    padding: 0.5rem 1.1rem;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
body.app-profissional .filtro-btn:hover {
    background: var(--item-bg-hover);
}
body.app-profissional .filtro-btn.active {
    background: var(--yellow);
    color: var(--text-dark, #171717);
}
body.app-profissional .transacoes-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    max-height: 520px;
    overflow-y: auto;
    padding-right: 0.5rem;
}
body.app-profissional .transacoes-list::-webkit-scrollbar {
    width: 6px;
}
body.app-profissional .transacoes-list::-webkit-scrollbar-track {
    background: transparent;
}
body.app-profissional .transacoes-list::-webkit-scrollbar-thumb {
    background: #666;
    border-radius: 4px;
}


/* ======================= DASHBOARD.html (redesign novo) ======================= */

body.app-profissional .header-novo {
    height: var(--header-height);
    background: linear-gradient(90deg, #E8B300 0%, #FFC700 45%, #FFDD3D 100%);
    border-top: 5px solid var(--header-border, #141414);
    border-bottom: 5px solid var(--header-border, #141414);
    position: sticky;
    top: 0;
    z-index: 100;
}
body.app-profissional .header-inner {
    height: 100%;
    max-width: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0;
}
body.app-profissional .header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
    padding-right: 1.5rem;
}
body.app-profissional .icon-action {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: var(--text-muted);
    background: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
body.app-profissional .icon-action:hover {
    background: rgba(255, 199, 0, 0.1);
    color: var(--text-cream);
}
body.app-profissional .icon-action svg {
    width: 22px;
    height: 22px;
}
body.app-profissional .header-novo .config-wrap {
    position: relative;
    width: auto;
    height: auto;
}
body.app-profissional .header-novo .config-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--text-dark, #171717);
    transition: background 0.2s;
}
body.app-profissional .header-novo .config-trigger:hover {
    background: rgba(240, 243, 255, 0.3);
}
body.app-profissional .header-novo .config-trigger img {
    width: 22px;
    height: 22px;
    opacity: 0.75;
}
html.light-mode .header-novo .config-trigger img {
    filter: brightness(0.4);
}
body.app-profissional .logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding-left: 1.5rem;
}
body.app-profissional .avatar-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    transition: background 0.2s;
}
body.app-profissional .avatar-link:hover {
    background: rgba(240, 243, 255, 0.3);
}
body.app-profissional .avatar-icone {
    width: 24px;
    height: 24px;
    object-fit: contain;
}
body.app-profissional .page-novo {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem;
}
body.app-profissional .hero-prof {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 2rem;
    align-items: center;
    padding: 2rem 0 2.5rem;
}
body.app-profissional .hero-prof-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}
body.app-profissional .hero-prof-titulo {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.18;
    color: var(--text-cream);
    margin-bottom: 0.9rem;
}
body.app-profissional .hero-prof-destaque {
    color: var(--yellow);
}
body.app-profissional .hero-prof-sub {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 380px;
    line-height: 1.5;
}
body.app-profissional .hero-prof-foto {
    position: relative;
    height: 230px;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(120deg, #3A2E1F 0%, #6B4A28 55%, #B98A4A 100%);
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
html.light-mode .hero-prof-foto {
    background: linear-gradient(120deg, #F3E3C6 0%, #EAC98A 55%, #D9A85A 100%);
}
body.app-profissional .hero-prof-foto-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
body.app-profissional .hero-prof-foto::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(20, 14, 6, 0) 35%, rgba(20, 14, 6, 0.7) 100%);
    z-index: 1;
}
body.app-profissional .hero-prof-quote {
    position: relative;
    z-index: 2;
    color: #F0F3FF;
    text-align: right;
    padding: 1.5rem 1.8rem;
    max-width: 220px;
}
body.app-profissional .hero-prof-quote p {
    font-style: italic;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 0.6rem;
}
body.app-profissional .hero-prof-tracinho {
    display: inline-block;
    width: 26px;
    height: 3px;
    border-radius: 2px;
    background: var(--yellow);
}
body.app-profissional .cards-row {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
body.app-profissional .resumo-card-novo, body.app-profissional .atendimentos-card-novo {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 1.5rem;
}
body.app-profissional .card-cabecalho {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.4rem;
}
body.app-profissional .card-cabecalho strong {
    font-size: 1rem;
    color: var(--text-cream);
    flex: 1;
}
body.app-profissional .card-icone-circulo {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 199, 0, 0.14);
    color: var(--yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
body.app-profissional .card-icone-circulo svg { width: 18px; height: 18px; }
body.app-profissional .card-menu-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 1px;
}
body.app-profissional .resumo-numeros-novo {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.4rem;
}
body.app-profissional .resumo-num-bloco strong {
    display: block;
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--text-cream);
    margin-bottom: 0.2rem;
}
body.app-profissional .resumo-num-bloco span {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.3;
}
body.app-profissional .resumo-num-divisor {
    width: 1px;
    align-self: stretch;
    background: rgba(240,243,255,0.1);
}
html.light-mode .resumo-num-divisor {
    background: rgba(0,0,0,0.1);
}
body.app-profissional .ver-link, body.app-profissional .ver-link-inline {
    color: var(--yellow);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
}
body.app-profissional .ver-link:hover, body.app-profissional .ver-link-inline:hover { text-decoration: underline; }
body.app-profissional .footer-tagline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0.3rem 2.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}
body.app-profissional .footer-tagline .tracinho {
    display: inline-block;
    width: 16px;
    height: 2px;
    background: var(--yellow);
    margin: 0 0.4rem;
    vertical-align: middle;
}

@media (max-width: 980px) {
    body.app-profissional .hero-prof { grid-template-columns: 1fr; }
    body.app-profissional .hero-prof-foto { height: 160px; }
    body.app-profissional .cards-row { grid-template-columns: 1fr; }
    body.app-profissional .footer-tagline { flex-direction: column; gap: 0.4rem; text-align: center; }
}
body.app-profissional .atendimento-linha {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 0;
    border-top: 1px solid rgba(240,243,255,0.06);
}
html.light-mode .atendimento-linha {
    border-top: 1px solid rgba(0,0,0,0.06);
}
body.app-profissional .atendimento-info {
    flex: 1;
    min-width: 0;
}
body.app-profissional .atendimento-info strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-cream);
    margin-bottom: 0.2rem;
}
body.app-profissional .atendimento-info span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}
body.app-profissional .atendimento-info svg { width: 13px; height: 13px; flex-shrink: 0; }
body.app-profissional .notif-icone-linha {
    width: 34px;
    height: 34px;
}
body.app-profissional .notif-icone-linha svg { width: 15px; height: 15px; }
body.app-profissional .notif-tempo-linha {
    font-size: 0.75rem;
    color: var(--text-muted);
    flex-shrink: 0;
    white-space: nowrap;
}
body.app-profissional .notif-linha.nao-lida .atendimento-info strong::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--yellow);
    margin-left: 0.5rem;
    vertical-align: middle;
}
body.app-profissional .notif-linha:hover {
    background: rgba(255, 199, 0, 0.05);
}
body.app-profissional .notif-linha-vazio {
    color: var(--text-muted);
    font-size: 0.88rem;
    padding: 1rem 0;
}


/* ======================= MAPA.html (profissional) ======================= */

body.app-profissional .atendimento-vazio {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.92rem;
    padding: 3rem 1.5rem;
    border: 1px dashed var(--border);
    border-radius: 14px;
}
body.app-profissional .map-legend {
    position: absolute;
    left: 14px;
    bottom: 14px;
    background: rgba(23,23,23,0.92);
    border-radius: 10px;
    padding: 0.7rem 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-cream);
    z-index: 500;
    box-shadow: 0 4px 14px rgba(0,0,0,0.35);
}
body.app-profissional .legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
body.app-profissional .legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}
body.app-profissional .dot-verde {
    background: var(--green);
}
body.app-profissional .dot-amarelo {
    background: var(--yellow);
}
body.app-profissional .rota-timeline {
    margin-bottom: 1.25rem;
}
body.app-profissional .rota-etapa {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
body.app-profissional .rota-icone {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
body.app-profissional .rota-icone svg {
    width: 18px;
    height: 18px;
}
body.app-profissional .rota-icone-ok {
    background: rgba(52,211,153,0.18);
    color: var(--green);
}
body.app-profissional .rota-icone-proximo {
    background: rgba(255,199,0,0.18);
    color: var(--yellow);
}
body.app-profissional .rota-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
body.app-profissional .rota-nome {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-cream);
}
body.app-profissional .rota-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
}
body.app-profissional .rota-linha {
    width: 2px;
    height: 22px;
    background: repeating-linear-gradient(to bottom, var(--yellow) 0, var(--yellow) 4px, transparent 4px, transparent 8px);
    margin-left: 17px;
}
body.app-profissional .btn-navegar-proximo {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    background: var(--yellow);
    color: var(--text-900);
    border: none;
    border-radius: 10px;
    padding: 0.8rem;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
body.app-profissional .btn-navegar-proximo svg {
    width: 17px;
    height: 17px;
}
body.app-profissional .btn-navegar-proximo:hover {
    background: var(--yellow-light);
    transform: translateY(-1px);
}
body.app-profissional .stat-bloco {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1.1rem;
}
body.app-profissional .stat-bloco:last-child {
    margin-bottom: 0;
}
body.app-profissional .stat-label {
    color: var(--text-muted);
    font-size: 0.85rem;
}
body.app-profissional .stat-valor {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-cream);
}
body.app-profissional .area-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--text-cream);
}
body.app-profissional .area-raio {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    padding-top: 0.9rem;
}


/* ======================= MENSAGENS.html (profissional) ======================= */

body.app-profissional .chat-contato-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.9rem;
    flex-shrink: 0;
}
body.app-profissional .chat-contato-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--yellow);
    color: var(--text-900);
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
body.app-profissional .chat-contato-avatar:empty {
    display: none;
}
body.app-profissional .chat-contato-nome {
    color: var(--yellow);
    font-size: 1.2rem;
    font-weight: 600;
    flex-shrink: 0;
}
body.app-profissional .chat-divider {
    height: 1px;
    background: var(--item-bg);
    flex-shrink: 0;
    margin-bottom: 1.25rem;
}
body.app-profissional .chat-input {
    flex: 1;
    background: var(--item-bg);
    border: none;
    border-radius: 12px;
    padding: 0.9rem 1.1rem;
    color: var(--text-cream);
    font-family: inherit;
    font-size: 0.95rem;
}
body.app-profissional .chat-input::placeholder {
    color: var(--text-muted);
}
body.app-profissional .chat-input:focus {
    outline: 2px solid var(--yellow);
    outline-offset: -2px;
}


/* ======================= NOTIFICACOES.html (profissional) ======================= */

body.app-profissional .notif-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-bottom: 1.75rem;
}
body.app-profissional .notif-list:last-child {
    margin-bottom: 0;
}
body.app-profissional .notif-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.1rem 1.25rem;
    display: flex;
    gap: 1rem;
    transition: opacity 0.2s, transform 0.2s;
}
body.app-profissional .notif-card.is-unread.notif-pagamento {
    background: rgba(255,199,0,0.12);
    box-shadow: inset 4px 0 0 var(--yellow);
}
body.app-profissional .notif-card.is-unread.notif-mensagem {
    background: rgba(96,165,250,0.12);
    box-shadow: inset 4px 0 0 var(--blue);
}
body.app-profissional .notif-card.is-unread.notif-lembrete {
    background: rgba(248,113,113,0.12);
    box-shadow: inset 4px 0 0 var(--red);
}
body.app-profissional .notif-card.is-read-fade {
    opacity: 0.55;
}
body.app-profissional .notif-card.hidden {
    display: none;
}
body.app-profissional .notif-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
body.app-profissional .notif-icon svg {
    width: 19px;
    height: 19px;
}
body.app-profissional .icon-pagamento {
    background: var(--yellow);
    color: var(--text-900);
}
body.app-profissional .icon-mensagem {
    background: var(--blue);
    color: #0B1B33;
}
body.app-profissional .icon-lembrete {
    background: var(--red);
    color: #3A0A0A;
}
body.app-profissional .icon-concluido {
    background: rgba(52,211,153,0.18);
    color: var(--green);
}
body.app-profissional .icon-pagamento-lido {
    background: rgba(255,199,0,0.18);
    color: var(--yellow);
}
body.app-profissional .icon-lembrete-lido {
    background: rgba(255,199,0,0.18);
    color: var(--yellow);
}
body.app-profissional .notif-corpo {
    flex: 1;
    min-width: 0;
}
body.app-profissional .notif-topo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.25rem;
}
body.app-profissional .notif-titulo {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main, #F0F3FF);
}
body.app-profissional .notif-pagamento.is-unread .notif-titulo {
    color: var(--yellow);
}
body.app-profissional .notif-mensagem.is-unread .notif-titulo {
    color: var(--blue);
}
body.app-profissional .notif-lembrete.is-unread .notif-titulo {
    color: var(--red);
}
body.app-profissional .notif-tempo {
    flex-shrink: 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}
body.app-profissional .notif-texto {
    font-size: 0.9rem;
    color: #D4D4D4;
    margin-bottom: 0.5rem;
}
body.app-profissional .notif-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--yellow);
    text-decoration: none;
}
body.app-profissional .notif-link:hover {
    text-decoration: underline;
}
body.app-profissional .resumo-linha {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.95rem;
    color: var(--text-cream);
    margin-bottom: 0.9rem;
}
body.app-profissional .resumo-linha:last-child {
    margin-bottom: 0;
}
body.app-profissional .pref-linha {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.95rem;
    color: var(--text-cream);
    margin-bottom: 1rem;
    cursor: pointer;
}
body.app-profissional .pref-linha:last-child {
    margin-bottom: 0;
}
body.app-profissional .pref-check {
    width: 20px;
    height: 20px;
    accent-color: var(--yellow);
    cursor: pointer;
}
body.app-profissional .filtros-lista {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}


/* ======================= PEPE.html (profissional) ======================= */

body.app-profissional .pedidos-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
body.app-profissional .pedidos-list .pedido-card {
    background: var(--card-bg);
    border: 1px solid var(--border-dark);
    border-radius: 16px;
    padding: 1.5rem 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    transition: border-color 0.2s, transform 0.2s;
}
body.app-profissional .pedidos-list .pedido-card:hover {
    border-color: rgba(255,199,0,0.35);
    transform: translateY(-2px);
}
body.app-profissional .pedido-info {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}
body.app-profissional .pedido-top {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
body.app-profissional .status-andamento { background: rgba(255,199,0,0.12); border-color: rgba(255,199,0,0.4); color: #F2C94C; }
body.app-profissional .status-concluido { background: rgba(52,211,153,0.12); border-color: rgba(52,211,153,0.4); color: #34D399; }
body.app-profissional .pedido-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
body.app-profissional .pedido-btn {
    border: none;
    border-radius: 20px;
    padding: 0.5rem 1.3rem;
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
body.app-profissional .pedidos-list .pedido-valor {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.7rem;
    flex-shrink: 0;
}
@media (max-width: 800px) {
    body.app-profissional .pedidos-list .pedido-card {
        flex-direction: column;
        align-items: flex-start;
    }
    body.app-profissional .pedidos-list .pedido-valor {
        align-items: flex-start;
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
    }
}
body.app-profissional .modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 500;
    padding: 1.5rem;
}
body.app-profissional .modal-overlay.open {
    display: flex;
}
body.app-profissional .modal-card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 2rem;
    max-width: 440px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
}
body.app-profissional .modal-close {
    position: absolute;
    top: 1rem;
    right: 1.1rem;
    background: none;
    border: none;
    font-size: 1.6rem;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s;
}
body.app-profissional .modal-close:hover {
    color: var(--text-cream);
}
body.app-profissional .pedidos-vazio {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    padding: 3rem 1.5rem;
    border: 1px dashed var(--border);
    border-radius: 16px;
}
body.app-profissional .meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-muted);
    font-size: 0.88rem;
}
body.app-profissional .meta-icon {
    font-size: 0.95rem;
}
body.app-profissional .detalhes-pedido-title {
    color: var(--yellow);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    padding-right: 1.5rem;
}
body.app-profissional .detalhes-pedido-servico {
    color: var(--text-cream);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}
body.app-profissional .detalhes-pedido-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
}
body.app-profissional .detalhes-pedido-bloco {
    margin-bottom: 1.25rem;
}
body.app-profissional .detalhes-pedido-bloco:last-child {
    margin-bottom: 0;
}
body.app-profissional .detalhes-pedido-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.35rem;
}
body.app-profissional .detalhes-pedido-valor {
    color: var(--text-cream);
    font-size: 0.98rem;
    line-height: 1.5;
    white-space: pre-line;
}


/* ======================= PERFIL.html (profissional) ======================= */

body.app-profissional .avatar-circle-grande {
    width: 190px;
    height: 190px;
    font-size: 3.4rem;
}
body.app-profissional .trocar-foto-btn {
    background: transparent;
    border: 1.5px solid var(--yellow);
    color: var(--yellow);
    border-radius: 50px;
    padding: 0.6rem 1.3rem;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
body.app-profissional .trocar-foto-btn:hover {
    background: var(--yellow);
    color: var(--text-dark, #171717);
}
body.app-profissional .senha-obs {
    font-size: 0.78rem;
    color: var(--text-muted);
}


/* ======================= SERVICOS (6 paginas) ======================= */

body.app-cliente .info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 2rem;
}
body.app-cliente .info-grid .info-bloco, body.app-cliente .info-grid .info-bloco:last-of-type {
    border-bottom: 1px solid var(--border);
    margin-bottom: 1.1rem;
    padding-bottom: 1.1rem;
}
body.app-cliente .info-bloco-largo {
    grid-column: 1 / -1;
}
body.app-cliente .modal-voltar {
    background: none;
    border: none;
    color: var(--text-900);
    cursor: pointer;
    padding: 0.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
    flex-shrink: 0;
}
body.app-cliente .modal-voltar:hover { background: var(--surface-cream); }
body.app-cliente .modal-voltar svg { width: 22px; height: 22px; }
body.app-cliente .info-servico-card {
    background: var(--surface-card);
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}
body.app-cliente .info-servico-card .modal-header {
    padding-bottom: 1.1rem;
    border-bottom: 1px solid var(--border);
}
body.app-cliente .info-servico-titulo {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-900);
    margin-bottom: 1.1rem;
}
body.app-cliente .info-bloco {
    padding-bottom: 1.1rem;
    margin-bottom: 1.1rem;
    border-bottom: 1px solid var(--border);
}
body.app-cliente .info-bloco:last-of-type {
    border-bottom: none;
    margin-bottom: 1.3rem;
    padding-bottom: 0;
}
body.app-cliente .info-bloco .info-label {
    display: block;
    font-size: 0.85rem;
    color: var(--brown);
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 0.3rem;
}
body.app-cliente .info-bloco .info-valor {
    font-size: 0.95rem;
    color: var(--text-900);
}
body.app-cliente .info-bloco .info-texto {
    font-size: 0.92rem;
    color: var(--text-900);
    line-height: 1.5;
}
body.app-cliente .modal-stars-linha {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
body.app-cliente .pagamento-opcao-texto {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
body.app-cliente .detalhes-servico-linha {
    font-size: 0.82rem;
    color: var(--text-300);
    margin-bottom: 1.4rem;
    margin-top: -0.6rem;
}
body.app-cliente .detalhes-campo {
    margin-bottom: 1.1rem;
}
body.app-cliente .detalhes-campo label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brown);
    margin-bottom: 0.4rem;
}
body.app-cliente .detalhes-campo input, body.app-cliente .detalhes-campo select, body.app-cliente .detalhes-campo textarea {
    width: 100%;
    font-family: inherit;
    font-size: 0.92rem;
    color: var(--text-900);
    background: var(--surface-cream);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    outline: none;
    transition: border-color 0.2s;
}
body.app-cliente .detalhes-campo input::placeholder, body.app-cliente .detalhes-campo textarea::placeholder {
    color: var(--text-300);
}
body.app-cliente .detalhes-campo input:focus, body.app-cliente .detalhes-campo select:focus, body.app-cliente .detalhes-campo textarea:focus {
    border-color: var(--brown-light, var(--brown));
}
body.app-cliente .detalhes-campo textarea {
    resize: vertical;
    min-height: 80px;
}
body.app-cliente .detalhes-campo select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A0826D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 18px;
    cursor: pointer;
}
body.app-cliente .detalhes-botoes {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.6rem;
}
body.app-cliente .detalhes-cancelar-btn, body.app-cliente .detalhes-confirmar-btn {
    flex: 1;
    border: none;
    border-radius: 50px;
    padding: 0.95rem;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s, filter 0.2s;
}
body.app-cliente .detalhes-cancelar-btn {
    background: #EDEDED;
    color: var(--text-900);
}
body.app-cliente .detalhes-cancelar-btn:hover {
    filter: brightness(0.96);
}
body.app-cliente .detalhes-confirmar-btn {
    background: var(--brown);
    color: #F0F3FF;
}
body.app-cliente .detalhes-confirmar-btn:hover {
    filter: brightness(1.08);
    transform: scale(1.02);
}
body.dark-mode .detalhes-campo input,
body.dark-mode .detalhes-campo select,
body.dark-mode .detalhes-campo textarea {
    background: #3A322A;
    border-color: #4A4038;
    color: #F5E9D8;
}
body.dark-mode .detalhes-cancelar-btn {
    background: #3A322A;
    color: #F5E9D8;
}
body.app-cliente .btn-ver-avaliacoes {
    border: none;
    background: none;
    color: var(--brown);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    margin-left: 0.35rem;
}
body.app-cliente .btn-ver-avaliacoes:hover {
    color: var(--brown-dark);
}
body.app-cliente .avaliacoes-lista-card {
    max-width: 460px;
    max-height: 82vh;
    overflow-y: auto;
}
body.app-cliente .avaliacoes-lista-nome {
    font-size: 0.95rem;
    color: var(--text-300);
    margin-top: -0.4rem;
    margin-bottom: 1rem;
}
body.app-cliente .avaliacoes-lista-resumo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(139, 69, 19, 0.12);
}
body.app-cliente .avaliacoes-lista-itens {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
body.app-cliente .avaliacoes-resumo-nota {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-900);
}
body.app-cliente .avaliacoes-resumo-total {
    font-size: 0.85rem;
    color: var(--text-300);
}
body.app-cliente .avaliacoes-carregando,
body.app-cliente .avaliacoes-vazio {
    text-align: center;
    color: var(--text-300);
    padding: 2rem 0.5rem;
    font-size: 0.92rem;
}
body.app-cliente .avaliacao-item {
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(139, 69, 19, 0.1);
}
body.app-cliente .avaliacao-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
body.app-cliente .avaliacao-item-topo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
body.app-cliente .avaliacao-item-topo .modal-stars {
    font-size: 0.95rem;
}
body.app-cliente .avaliacao-item-nota {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-900);
}
body.app-cliente .avaliacao-item-data {
    font-size: 0.78rem;
    color: var(--text-300);
    margin-left: auto;
}
body.app-cliente .avaliacao-item-nome {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brown);
    margin: 0.35rem 0 0;
}
body.app-cliente .avaliacao-item-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.5rem;
}
body.app-cliente .avaliacao-item-chip {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    background: #F5E9D8;
    color: var(--brown-dark);
}
body.app-cliente .avaliacao-item-comentario {
    font-size: 0.85rem;
    color: var(--text-900);
    margin-top: 0.5rem;
    line-height: 1.4;
}
body.dark-mode .btn-ver-avaliacoes { color: #F0C989; }
body.dark-mode .btn-ver-avaliacoes:hover { color: #FFDE9E; }
body.dark-mode .avaliacoes-lista-nome,
body.dark-mode .avaliacoes-resumo-total,
body.dark-mode .avaliacoes-carregando,
body.dark-mode .avaliacoes-vazio,
body.dark-mode .avaliacao-item-data {
    color: #C9A87C;
}
body.dark-mode .avaliacoes-lista-resumo,
body.dark-mode .avaliacao-item {
    border-color: rgba(245, 233, 216, 0.14);
}


/* ======================= INDEX.html (hero/landing) ======================= */

body.landing .hero-content {
    max-width: 560px;
}
body.landing .hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #922800;
    margin-bottom: 1.3rem;
}
body.landing .eyebrow-tracinho {
    width: 22px;
    height: 3px;
    border-radius: 2px;
    background: #FFC700;
    flex-shrink: 0;
}
body.landing .hero-title {
    font-size: 3rem;
    line-height: 1.12;
    font-weight: 800;
    color: #201406;
    margin-bottom: 1.3rem;
    letter-spacing: -0.01em;
}
body.landing .hero-title-accent {
    color: #FFC700;
}
body.landing .hero-subtitle {
    font-size: 1.05rem;
    color: #6B5A48;
    line-height: 1.6;
    margin-bottom: 2rem;
}
body.landing .hero-search {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: #F0F3FF;
    border: 1.5px solid rgba(92, 58, 30, 0.15);
    border-radius: 50px;
    padding: 0.5rem 0.5rem 0.5rem 1.3rem;
    box-shadow: 0 10px 30px rgba(92, 58, 30, 0.08);
    margin-bottom: 1.2rem;
}
body.landing .hero-search svg {
    width: 19px;
    height: 19px;
    color: #A8925F;
    flex-shrink: 0;
}
body.landing .hero-search input {
    flex: 1;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 0.95rem;
    color: #3E2711;
    background: transparent;
    min-width: 0;
}
body.landing .hero-search input::placeholder { color: #A8925F; }
body.landing .hero-search button {
    background: #FFC700;
    color: #3E2711;
    font-weight: 700;
    font-size: 0.9rem;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}
body.landing .hero-search button:hover { background: #E6B300; }
body.landing .hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}
body.landing .hero-chips a {
    font-size: 0.85rem;
    font-weight: 600;
    color: #5C4023;
    background: #F4EED9;
    padding: 0.5rem 1.1rem;
    border-radius: 50px;
    transition: background 0.2s;
}
body.landing .hero-chips a:hover { background: #EBE0C4; }
body.landing .hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 480px;
}
body.landing .hero-hex {
    position: absolute;
    clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0% 50%);
    background: #FFC700;
}
body.landing .hero-hex-1 { width: 90px; height: 90px; top: 4%; right: 8%; opacity: 0.5; }
body.landing .hero-hex-2 { width: 60px; height: 60px; bottom: 10%; left: 2%; opacity: 0.35; }
body.landing .hero-hex-3 { width: 44px; height: 44px; top: 42%; left: 12%; opacity: 0.6; }
body.landing .hero-photo-wrap {
    position: relative;
    width: 340px;
    height: 420px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(62, 39, 17, 0.25);
    z-index: 2;
}
body.landing .hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
body.landing .hero-card {
    position: absolute;
    z-index: 3;
    background: #F0F3FF;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(62, 39, 17, 0.18);
    padding: 0.9rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.82rem;
}
body.landing .hero-card strong {
    display: block;
    font-size: 0.85rem;
    color: #201406;
    margin-bottom: 0.1rem;
}
body.landing .hero-card span { color: #8A7A68; }
body.landing .hero-card-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #FFC700;
    flex-shrink: 0;
}
body.landing .hero-card-verificados {
    top: 6%;
    left: -6%;
    max-width: 190px;
}
body.landing .hero-card-real {
    background: #FFC700;
    color: #201406;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.3;
    clip-path: polygon(15% 0%, 85% 0%, 100% 50%, 85% 100%, 15% 100%, 0% 50%);
    padding: 1.5rem 2.2rem;
    top: 30%;
    right: -10%;
    max-width: 190px;
    box-shadow: none;
}
body.landing .hero-card-confianca {
    bottom: 5%;
    right: -8%;
    max-width: 220px;
}
body.landing .avatar-stack {
    display: flex;
    flex-shrink: 0;
}
body.landing .avatar-stack span {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #FFC700;
    color: #3E2711;
    font-size: 0.68rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #F0F3FF;
    margin-left: -10px;
}
body.landing .avatar-stack span:first-child { margin-left: 0; }
body.landing .feature-row {
    max-width: 1240px;
    margin: 1.5rem auto 0;
    padding: 2.5rem 2rem 4rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    border-top: 1px solid rgba(92, 58, 30, 0.08);
}
body.landing .feature-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}
body.landing .feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: #FDF1CE;
    color: #C97A00;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
body.landing .feature-icon svg { width: 24px; height: 24px; }
body.landing .feature-item strong {
    display: block;
    font-size: 0.92rem;
    color: #201406;
}
body.landing .feature-item span {
    font-size: 0.82rem;
    color: #8A7A68;
}
body.landing .stats-bar {
    background: #1C1712;
}
body.landing .stats-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 2.2rem 2rem;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}
body.landing .stat {
    display: flex;
    flex-direction: column;
}
body.landing .stat strong {
    font-size: 1.5rem;
    font-weight: 800;
    color: #FFC700;
}
body.landing .stat span {
    font-size: 0.78rem;
    color: #C9BBA8;
    margin-top: 0.15rem;
}
body.landing .stats-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #FFC700;
    color: #201406;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.75rem 1.4rem;
    border-radius: 50px;
    transition: background 0.2s;
    margin-left: auto;
}
body.landing .stats-cta:hover { background: #E6B300; }
body.landing .stats-cta svg { width: 16px; height: 16px; }
body.landing .stats-tagline {
    font-size: 0.82rem;
    color: #8A7A68;
    line-height: 1.4;
}

@media (max-width: 980px) {
    body.landing .hero-content { max-width: 100%; }
    body.landing .hero-title { font-size: 2.2rem; }
    body.landing .hero-visual { min-height: 400px; margin-top: 1rem; }
    body.landing .hero-photo-wrap { width: 280px; height: 340px; }
    body.landing .hero-card-verificados { left: 0; }
    body.landing .hero-card-real { right: 0; }
    body.landing .hero-card-confianca { right: 0; }
    body.landing .feature-row { grid-template-columns: 1fr 1fr; }
    body.landing .stats-inner { justify-content: center; text-align: center; }
    body.landing .stats-cta { margin-left: 0; }
}

@media (max-width: 600px) {
    body.landing .feature-row { grid-template-columns: 1fr; }
    body.landing .hero-card { position: static; margin-top: 0.8rem; max-width: 100%; }
    body.landing .hero-visual { flex-direction: column; min-height: auto; }
}

/* ══════════════════════════════════════════════════════════════
   FIX: altura do chat (Chat.html) — sem isso a página crescia
   infinitamente em vez de rolar dentro do card.
   ══════════════════════════════════════════════════════════════ */
body.app-cliente .chat-list {
    height: calc(100vh - 92px);
}
body.app-cliente .chat-window {
    height: calc(100vh - 92px);
    min-height: 0;
}
body.app-cliente .chat-active {
    min-height: 0;
}
@media (max-width: 900px) {
    body.app-cliente .chat-list { height: calc(100vh - 76px); }
    body.app-cliente .chat-window { height: calc(100vh - 76px); }
}
@media (max-width: 700px) {
    body.app-cliente .chat-list { width: 100%; border-right: none; max-height: 40vh; height: auto; }
    body.app-cliente .chat-window { height: 60vh; }
}

/* Card de perfil da barra de cima (empresa) */
body.app-profissional .topbar-profile-card {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    max-width: 260px;
    padding: 0.35rem 0.85rem 0.35rem 0.4rem;
    background: #1B2236;
    border-radius: 999px;
    color: #F0F3FF;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(11, 20, 64, 0.18);
    transition: transform 0.2s, opacity 0.2s;
}
body.app-profissional .topbar-profile-card:hover {
    opacity: 0.9;
}
body.app-profissional .topbar-card-avatar {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 3px solid var(--yellow, #FFC700);
    background: #2C3552;
    color: #F0F3FF;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
body.app-profissional .topbar-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
body.app-profissional .topbar-card-textos {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.2;
}
body.app-profissional .topbar-card-nome {
    font-weight: 700;
    font-size: 0.95rem;
    color: #F0F3FF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
body.app-profissional .topbar-card-papel {
    font-size: 0.78rem;
    color: #A9B0C4;
}
body.app-profissional .topbar-card-seta {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: #A9B0C4;
}
@media (max-width: 680px) {
    body.app-profissional .topbar-card-textos,
    body.app-profissional .topbar-card-seta { display: none; }
    body.app-profissional .topbar-profile-card { padding: 0.3rem; }
}

body.app-profissional .pro-layout {
    display: flex;
    flex: 1;
    align-items: stretch;
}
body.app-profissional .sidebar {
    width: 198px;
    flex-shrink: 0;
    background: var(--shell-panel-bg);
    padding: 2rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    position: sticky;
    top: 92px;
    height: calc(100vh - 92px);
    align-self: flex-start;
    transition: background-color 0.2s ease;
}
body.app-profissional .sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}
body.app-profissional .sidebar-nav-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.85rem 0.7rem;
    border-radius: 14px;
    text-decoration: none;
    color: var(--shell-panel-text);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 1.08rem;
    font-weight: 600;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}
body.app-profissional .sidebar-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    flex-shrink: 0;
    color: var(--shell-panel-text);
}
body.app-profissional .sidebar-nav-icon svg {
    width: 26px;
    height: 26px;
}
body.app-profissional .sidebar-nav-icon img {
    width: 27px;
    height: 27px;
    object-fit: contain;
}
body.app-profissional .config-gear-icon {
    width: 26px;
    height: 26px;
    background-color: currentColor;
    -webkit-mask-image: url("/imagens/engrenagem.png");
    mask-image: url("/imagens/engrenagem.png");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}
body.app-profissional .sidebar-nav-item:hover {
    background: var(--shell-panel-hover);
}
body.app-profissional .sidebar-nav-item.active {
    background: var(--shell-panel-active-bg);
    color: var(--shell-panel-active-text);
}
body.app-profissional .sidebar-nav-item.active .sidebar-nav-icon {
    color: var(--shell-panel-active-text);
}
body.app-profissional .sidebar-bottom {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--shell-panel-divider);
}
body.app-profissional .sidebar .config-wrap {
    position: relative;
    width: 100%;
}
body.app-profissional .sidebar .config-trigger {
    display: flex;
}
body.app-profissional .sidebar-icon {
    display: none;
}
body.app-profissional .notif-badge {
    margin-left: auto;
    min-width: 17px;
    height: 17px;
    padding: 0 5px;
    background: #E53935;
    color: #F0F3FF;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex-shrink: 0;
}
body.app-profissional .sidebar-nav-item.active .notif-badge {
    box-shadow: 0 0 0 2px var(--shell-panel-active-bg);
}
body.app-profissional .config-menu-sidebar {
    bottom: calc(100% + 10px);
    left: 0;
    top: auto;
    right: auto;
}

@media (max-width: 900px) {
    body.app-profissional .sidebar {
        width: 172px;
    }
}

@media (max-width: 680px) {
    body.app-profissional .pro-layout {
        flex-direction: column;
    }
    body.app-profissional .sidebar {
        position: static;
        width: 100%;
        height: auto;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.4rem;
        border-right: none;
        border-bottom: 1px solid var(--shell-panel-divider);
    }
    body.app-profissional .sidebar-nav {
        flex-direction: row;
        flex-wrap: wrap;
        flex: 1;
    }
    body.app-profissional .sidebar-nav-item {
        width: auto;
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }
    body.app-profissional .sidebar-nav-item .sidebar-nav-label {
        display: none;
    }
    body.app-profissional .sidebar-bottom {
        margin-top: 0;
        padding-top: 0;
        border-top: none;
    }
}



/* ======================= PROFISSIONAL: top bar + barra lateral (igual à da empresa) =======================
   Top bar e barra lateral sempre amarelas, com ícones e logo marrons (igual à
   empresa no modo claro), mesmo quando o conteúdo está no modo escuro. */
body.app-profissional .header-shell {
    background-color: var(--yellow);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-height);
}
body.app-profissional .header-shell-left,
body.app-profissional .header-shell-right { display: flex; align-items: center; }
body.app-profissional .brand-mark { display: flex; align-items: center; text-decoration: none; }
body.app-profissional .brand-mark .brand-logo { height: 64px; width: auto; object-fit: contain; }
body.app-profissional .header-shell .icon-claro,
body.app-profissional .sidebar .icon-claro { display: block; }
body.app-profissional .header-shell .icon-escuro,
body.app-profissional .sidebar .icon-escuro { display: none; }
body.app-profissional .pro-conteudo { flex: 1; min-width: 0; }
body.app-profissional .sidebar .config-trigger { color: var(--shell-panel-text); }
body.app-profissional .sidebar .config-trigger:hover { transform: none; }
body.app-profissional .sidebar .topbar-profile-card:hover { transform: none; }

/* ======================= LOGO NA BARRA LATERAL (cliente) =======================
   A logo fica no topo da barra lateral (que ocupa a altura toda da tela) e a
   top bar começa ao lado da barra lateral, sem logo. No celular (<=680px) a
   barra lateral vira uma faixa, então a logo volta para a top bar. */
body.app-cliente { --cliente-sidebar-w: 198px; }
body.app-cliente .header { margin-left: var(--cliente-sidebar-w); justify-content: flex-end; }
body.app-cliente .header-left { display: none; }
body.app-cliente .main-container { padding-left: var(--cliente-sidebar-w); }
body.app-cliente .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: var(--cliente-sidebar-w);
    padding-top: 0;
    z-index: 120;
}
body.app-cliente .sidebar-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    height: 92px;
    margin-bottom: 1.1rem;
    text-decoration: none;
}
body.app-cliente .sidebar-brand-logo {
    height: 58px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}
@media (max-width: 900px) {
    body.app-cliente { --cliente-sidebar-w: 172px; }
}
@media (max-width: 680px) {
    body.app-cliente .header { margin-left: 0; justify-content: space-between; }
    body.app-cliente .header-left { display: flex; }
    body.app-cliente .main-container { padding-left: 0; }
    body.app-cliente .sidebar {
        position: static;
        width: 100%;
        height: auto;
        padding-top: 2rem;
        z-index: auto;
    }
    body.app-cliente .sidebar-brand { display: none; }
}

/* ======================= PROFISSIONAL: pílula "Notificações" na top bar ======================= */
body.app-profissional .nav-pill { position: relative; }
body.app-profissional .header-notif-badge {
    position: absolute;
    top: 3px;
    right: 4px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 999px;
    background: #E53935;
    color: #F0F3FF;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

/* Cartão de perfil (empresa): fica escondido até o JS preencher foto e nome,
   para não piscar "?" / "Minha conta" quando a página carrega. Se o JS falhar,
   o cartão aparece sozinho depois de 1,2 segundo. */
body.app-cliente .topbar-profile-card:not(.pronto) > * {
    visibility: hidden;
    animation: card-perfil-revelar 0s linear 1.2s forwards;
}
@keyframes card-perfil-revelar { to { visibility: visible; } }

/* Cartão de perfil no MODO ESCURO (empresa): amarelo, combinando com os ícones amarelos */
body.app-cliente.dark-mode .topbar-profile-card {
    background: #FFC700;
    color: #2A1A0A;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
body.app-cliente.dark-mode .topbar-card-nome { color: #2A1A0A; }
body.app-cliente.dark-mode .topbar-card-papel { color: #6B4A1F; }
body.app-cliente.dark-mode .topbar-card-seta { color: #4A2E16; }
body.app-cliente.dark-mode .topbar-card-avatar { background: #4A2E16; color: #FFC700; }

/* Top bar da empresa no MODO ESCURO: marrom mais claro que a barra lateral,
   para separar as duas (antes as duas tinham o mesmo marrom e pareciam coladas). */
body.app-cliente.dark-mode .header { background-color: #6E4626; }



/* ── Transição "Abrindo o Mercado Pago" ── */
.mp-transicao { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 1.5rem; background: rgba(255, 248, 220, 0.92); backdrop-filter: blur(4px); opacity: 0; transition: opacity 0.25s ease; }
.mp-transicao.visivel { opacity: 1; }
.mp-transicao-card { background: #F0F3FF; border-radius: 24px; padding: 2.2rem 2rem; max-width: 380px; width: 100%; text-align: center; box-shadow: 0 25px 60px rgba(92, 58, 30, 0.18); font-family: var(--font); transform: translateY(8px); transition: transform 0.25s ease; }
.mp-transicao.visivel .mp-transicao-card { transform: translateY(0); }
.mp-transicao-spinner { width: 38px; height: 38px; margin: 0 auto 1.2rem; border: 4px solid rgba(92, 58, 30, 0.15); border-top-color: #F5B400; border-radius: 50%; animation: mpGirar 0.8s linear infinite; }
.mp-transicao-card h2 { font-size: 1.2rem; font-weight: 800; color: #3E2711; margin-bottom: 0.5rem; }
.mp-transicao-card p { font-size: 0.9rem; color: #7A6A5A; line-height: 1.5; margin-bottom: 1.2rem; }
.mp-transicao-selo { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; font-weight: 700; color: #8B4513; background: #FFF3D2; border-radius: 50px; padding: 0.4rem 0.9rem; }
.mp-transicao-selo svg { width: 15px; height: 15px; }
@keyframes mpGirar { to { transform: rotate(360deg); } }
body.dark-mode .mp-transicao { background: rgba(18, 18, 18, 0.92); }
body.dark-mode .mp-transicao-card { background: #2a2a2a; }
body.dark-mode .mp-transicao-card h2 { color: #F5E6D3; }
body.dark-mode .mp-transicao-card p { color: #C9B8A0; }


/* ── Quadradinho de resultado do pagamento (tela inicial da empresa) ── */
.retorno-pg { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 1.5rem; background: rgba(62, 39, 17, 0.45); backdrop-filter: blur(3px); opacity: 0; transition: opacity 0.25s ease; }
.retorno-pg.visivel { opacity: 1; }
.retorno-pg-card { background: #F0F3FF; border-radius: 24px; padding: 2.2rem 2rem 1.6rem; max-width: 420px; width: 100%; text-align: center; box-shadow: 0 25px 60px rgba(92, 58, 30, 0.25); font-family: var(--font); transform: translateY(8px); transition: transform 0.25s ease; }
.retorno-pg.visivel .retorno-pg-card { transform: translateY(0); }
.retorno-pg-spinner { width: 40px; height: 40px; margin: 0 auto 1.2rem; border: 4px solid rgba(92, 58, 30, 0.15); border-top-color: #F5B400; border-radius: 50%; animation: mpGirar 0.8s linear infinite; }
.retorno-pg-icone { width: 72px; height: 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.1rem; }
.retorno-pg-icone svg { width: 36px; height: 36px; }
.retorno-pg-icone.ok { background: #DDF5E6; color: #16A34A; animation: retornoPulo 0.5s cubic-bezier(.22,.68,0,1.4) both; }
.retorno-pg-icone.ok path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: retornoTracar 0.45s 0.25s ease forwards; }
.retorno-pg-icone.espera { background: #FFF3D2; color: #C98A00; }
.retorno-pg-icone.erro { background: #FDE3E3; color: #DC2626; }
@keyframes retornoPulo { from { transform: scale(0.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes retornoTracar { to { stroke-dashoffset: 0; } }
.retorno-pg-titulo { font-size: 1.3rem; font-weight: 800; color: #3E2711; margin-bottom: 0.5rem; }
.retorno-pg-desc { font-size: 0.92rem; color: #7A6A5A; line-height: 1.5; margin-bottom: 1.3rem; }
.retorno-pg-resumo { background: #FFF8E7; border: 1px solid #F0E0C0; border-radius: 16px; padding: 0.35rem 1.1rem; margin-bottom: 1.3rem; text-align: left; }
.retorno-pg-linha { display: flex; justify-content: space-between; gap: 1rem; padding: 0.65rem 0; font-size: 0.88rem; border-bottom: 1px solid #F0E0C0; }
.retorno-pg-linha:last-child { border-bottom: none; }
.retorno-pg-linha span:first-child { color: #8B4513; font-weight: 700; }
.retorno-pg-linha span:last-child { color: #3E2711; font-weight: 600; text-align: right; }
.retorno-pg-btn { display: block; width: 100%; background: linear-gradient(135deg, #FFCF3D 0%, #F5B400 100%); color: #2C1A0E; border: none; border-radius: 50px; padding: 0.85rem 1.8rem; font-family: inherit; font-size: 0.95rem; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.retorno-pg-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(245, 180, 0, 0.35); }
.retorno-pg-link { display: inline-block; margin: 0.8rem 0.6rem 0; background: none; border: none; color: #7A6A5A; font-family: inherit; font-size: 0.85rem; font-weight: 600; text-decoration: underline; cursor: pointer; }
body.dark-mode .retorno-pg-card { background: #2a2a2a; }
body.dark-mode .retorno-pg-titulo { color: #F5E6D3; }
body.dark-mode .retorno-pg-desc, body.dark-mode .retorno-pg-link { color: #C9B8A0; }
body.dark-mode .retorno-pg-resumo { background: #1E1E1E; border-color: var(--brown-mid); }
body.dark-mode .retorno-pg-linha { border-bottom-color: var(--brown-mid); }
body.dark-mode .retorno-pg-linha span:first-child { color: var(--yellow); }
body.dark-mode .retorno-pg-linha span:last-child { color: #F5E6D3; }
