/* =====================================================
   Bels Estética — Sistema de Gestão
   Folha de estilo principal
   ===================================================== */

:root {
    /* Paleta principal — tons sofisticados de clínica */
    --bg: #f6f3f1;
    --bg-soft: #fbf9f8;
    --card: #ffffff;

    --primary: #2c2724;          /* grafite quente */
    --primary-dark: #1a1714;
    --accent: #b98a6d;           /* champagne / rosé dourado */
    --accent-dark: #9c6f54;
    --accent-soft: #f3e7df;
    --gold: #c9a675;

    --text: #2b2522;
    --muted: #8c817a;
    --border: #e8e1dc;
    --border-soft: #f0eae6;

    --danger: #c0584b;
    --danger-soft: #f8e9e7;
    --success: #5b8c6e;
    --success-soft: #e8f1ec;
    --warning: #c79a4d;
    --warning-soft: #faf1de;

    --shadow-sm: 0 2px 8px rgba(44, 39, 36, 0.05);
    --shadow: 0 14px 40px rgba(44, 39, 36, 0.08);
    --shadow-lg: 0 28px 70px rgba(44, 39, 36, 0.14);

    --radius: 18px;
    --radius-lg: 26px;
    --radius-sm: 12px;

    --font-head: 'Cormorant Garamond', 'Times New Roman', serif;
    --font-body: 'Jost', 'Segoe UI', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    line-height: 1.55;
}

h1, h2, h3, h4 {
    font-family: var(--font-head);
    font-weight: 600;
    letter-spacing: 0.005em;
    color: var(--primary-dark);
}

a { color: inherit; }

::selection { background: var(--accent-soft); color: var(--accent-dark); }

/* ===================================================
   TOPBAR
   =================================================== */
.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-soft);
    box-shadow: 0 6px 26px rgba(44, 39, 36, 0.04);
}

.topbar-inner {
    max-width: 1560px;
    margin: 0 auto;
    padding: 14px 30px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 26px;
}

.topbar-brand {
    display: inline-flex;
    gap: 13px;
    align-items: center;
    text-decoration: none;
    color: var(--text);
}

.topbar-brand .logo-img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-soft);
    box-shadow: var(--shadow-sm);
}

.topbar-brand strong {
    display: block;
    font-family: var(--font-head);
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
    color: var(--primary-dark);
}

.topbar-brand span {
    display: block;
    color: var(--accent-dark);
    font-size: 11px;
    margin-top: 3px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 500;
}

.topnav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
    justify-content: center;
}

.topnav a {
    text-decoration: none;
    color: var(--muted);
    padding: 10px 15px;
    border-radius: 999px;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 14.5px;
    line-height: 1;
}

.topnav a:hover {
    background: var(--bg-soft);
    color: var(--primary-dark);
}

.topnav a.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 8px 20px rgba(44, 39, 36, 0.22);
}

.topbar-user {
    display: flex;
    align-items: center;
    gap: 14px;
}

.topbar-user .user-chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 8px 8px 14px;
    border-radius: 999px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    font-weight: 500;
    font-size: 14px;
    color: var(--text);
}

.topbar-user .user-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 13px;
    font-family: var(--font-head);
}

.logout-link {
    text-decoration: none;
    color: var(--muted);
    font-size: 13.5px;
    font-weight: 500;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}

.logout-link:hover {
    color: var(--danger);
    border-color: var(--danger-soft);
    background: var(--danger-soft);
}

/* ===================================================
   LAYOUT
   =================================================== */
.page-shell {
    max-width: 1560px;
    margin: 0 auto;
    padding: 30px;
}

.content { padding: 0; }

.page-title {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 18px;
    margin-bottom: 26px;
}

.page-title h2 {
    margin: 0;
    font-size: 36px;
    line-height: 1.1;
}

.page-title p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 15px;
}

/* ===================================================
   CARDS
   =================================================== */
.card {
    background: var(--card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 26px;
    box-shadow: var(--shadow);
    margin-bottom: 22px;
}

.card h3 {
    font-size: 22px;
    margin: 0 0 18px;
}

.section-header-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.section-header-inline h3 { margin: 0; }

.grid-2 {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 24px;
}

/* ===================================================
   TABELAS
   =================================================== */
.table-wrap { overflow-x: auto; }

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    text-align: left;
    padding: 14px 12px;
    border-bottom: 1px solid var(--border-soft);
}

th {
    color: var(--muted);
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

tbody tr {
    transition: background 0.15s ease;
}

tr:hover td { background: var(--bg-soft); }

td .small { font-size: 12.5px; color: var(--muted); }

/* ===================================================
   FORMULÁRIOS
   =================================================== */
form.grid-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

form.grid-form .full { grid-column: 1 / -1; }

label {
    display: block;
    font-size: 12.5px;
    margin-bottom: 7px;
    color: var(--muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

input, select, textarea {
    width: 100%;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    font-size: 14.5px;
    font-family: var(--font-body);
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft);
}

textarea {
    min-height: 110px;
    resize: vertical;
}

/* ===================================================
   BOTÕES
   =================================================== */
button, .btn {
    background: var(--primary);
    color: #fff;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
    font-family: var(--font-body);
    font-size: 14.5px;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

button:hover, .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(44, 39, 36, 0.2);
}

button:active, .btn:active { transform: translateY(0); }

.btn-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

.btn-accent:hover {
    box-shadow: 0 12px 28px rgba(185, 138, 109, 0.4);
}

.btn-secondary {
    background: #fff;
    color: var(--primary-dark);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-soft);
    box-shadow: var(--shadow-sm);
}

.btn-whatsapp {
    background: #25d366;
}

.btn-warning-soft {
    background: var(--danger-soft);
    color: var(--danger);
}

.btn-warning-soft:hover {
    background: var(--danger);
    color: #fff;
}

.btn-icon {
    padding: 9px;
    width: 38px;
    height: 38px;
    border-radius: 10px;
}

.btn-icon svg { fill: currentColor; }

.actions, .icon-actions {
    display: flex;
    gap: 7px;
}

.btn-link-clean {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    color: var(--accent-dark);
    font-weight: 500;
    font-size: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    transition: all 0.18s ease;
}

.btn-link-clean:hover {
    background: var(--accent-soft);
    border-color: var(--accent-soft);
}

/* ===================================================
   TAGS / BADGES / ALERTAS
   =================================================== */
.tag {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tag.success { background: var(--success-soft); color: var(--success); }
.tag.warning { background: var(--warning-soft); color: var(--warning); }
.tag.danger  { background: var(--danger-soft);  color: var(--danger); }

.alert {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    border: 1px solid var(--border);
    background: #fff;
    font-size: 14px;
    font-weight: 500;
}

.alert-success { background: var(--success-soft); border-color: #cfe5d8; color: #3f6b51; }
.alert-warning { background: var(--warning-soft); border-color: #ecdcb8; color: #8a6a2c; }
.alert-danger  { background: var(--danger-soft);  border-color: #eccdc9; color: #97473c; }

.small { font-size: 13px; color: var(--muted); }

/* ===================================================
   KPIs
   =================================================== */
.kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-card {
    padding: 24px;
    border-radius: var(--radius-lg);
    background: var(--card);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-sm);
}

.stat-card h3 {
    margin: 0 0 10px;
    color: var(--muted);
    font-family: var(--font-body);
    font-size: 12.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.stat-card strong {
    font-size: 32px;
    display: block;
    font-family: var(--font-head);
    color: var(--primary-dark);
}

/* ===================================================
   LOGIN
   =================================================== */
.login-body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(ellipse at 18% 12%, rgba(185, 138, 109, 0.16), transparent 46%),
        radial-gradient(ellipse at 88% 88%, rgba(201, 166, 117, 0.16), transparent 46%),
        linear-gradient(160deg, #efe7e1 0%, #f6f3f1 55%, #ece2db 100%);
    padding: 30px;
}

.login-shell {
    width: 100%;
    max-width: 430px;
}

.login-card {
    position: relative;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 44px 40px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.login-card-glow {
    position: absolute;
    top: -120px;
    right: -120px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(185, 138, 109, 0.22), transparent 70%);
    pointer-events: none;
}

.login-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-bottom: 26px;
    position: relative;
}

.login-brand .logo-img {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 12px 30px rgba(44, 39, 36, 0.16);
}

.login-brand .brand-title {
    font-family: var(--font-head);
    font-size: 32px;
    font-weight: 600;
    color: var(--primary-dark);
    line-height: 1;
}

.login-brand .brand-sub {
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: var(--accent-dark);
    font-weight: 500;
    margin-top: -6px;
}

.login-copy {
    text-align: center;
    margin-bottom: 26px;
    position: relative;
}

.login-copy h1 {
    margin: 0 0 8px;
    font-size: 26px;
}

.login-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}

.login-form label {
    margin-bottom: 6px;
}

.login-form input {
    padding: 13px 15px;
}

.login-btn {
    margin-top: 6px;
    padding: 14px;
    font-size: 15px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: var(--radius-sm);
}

.login-back {
    display: block;
    text-align: center;
    margin-top: 22px;
    color: var(--muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.18s ease;
}

.login-back:hover { color: var(--accent-dark); }

/* ===================================================
   LANDING PAGE — Bels Estética
   =================================================== */
.lp-body {
    margin: 0;
    background: var(--bg-soft);
    color: var(--text);
    font-family: var(--font-body);
}

.lp-shell {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 6vw;
}

/* ----- NAV ----- */
.lp-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
}

.lp-nav-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 26px 6vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lp-nav-brand {
    display: flex;
    align-items: center;
    gap: 13px;
    text-decoration: none;
}

.lp-nav-brand img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.lp-nav-brand .lp-brand-name {
    font-family: var(--font-head);
    font-size: 23px;
    font-weight: 600;
    color: #fff;
    line-height: 1;
}

.lp-nav-brand .lp-brand-sub {
    display: block;
    font-size: 9px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 4px;
}

.lp-nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.lp-nav-menu a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13.5px;
    letter-spacing: 0.03em;
    transition: color 0.18s ease;
}

.lp-nav-menu a:hover { color: #fff; }

.lp-nav-cta {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    color: var(--primary-dark) !important;
    background: var(--gold);
    font-weight: 500;
    padding: 11px 22px;
    border-radius: 999px;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.lp-nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(201, 166, 117, 0.4);
}

/* ----- HERO ----- */
.lp-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 78% 36%, rgba(201, 166, 117, 0.22), transparent 52%),
        radial-gradient(ellipse at 12% 88%, rgba(185, 138, 109, 0.16), transparent 50%),
        linear-gradient(155deg, #221e1b 0%, #2c2724 48%, #1b1815 100%);
}

.lp-hero-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(201, 166, 117, 0.16);
    pointer-events: none;
}

.lp-hero-ring.r1 { width: 620px; height: 620px; top: -180px; right: -120px; }
.lp-hero-ring.r2 { width: 420px; height: 420px; top: -80px; right: -20px; border-color: rgba(201, 166, 117, 0.1); }

.lp-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1240px;
    margin: 0 auto;
    padding: 150px 6vw 110px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
    align-items: center;
    width: 100%;
}

.lp-hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 13px;
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
    margin: 0 0 30px;
}

.lp-hero-eyebrow::before {
    content: "";
    width: 36px;
    height: 1px;
    background: var(--gold);
}

.lp-hero h1 {
    font-size: clamp(44px, 5.6vw, 78px);
    line-height: 1.04;
    font-weight: 500;
    letter-spacing: -0.014em;
    margin: 0 0 26px;
    color: #fff;
}

.lp-hero h1 em {
    font-style: italic;
    color: var(--gold);
}

.lp-hero-lead {
    font-size: 16.5px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.72);
    max-width: 44ch;
    margin: 0 0 38px;
}

.lp-hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.lp-btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    background: linear-gradient(135deg, #d8b27e, var(--accent-dark));
    color: #fff;
    font-size: 14.5px;
    letter-spacing: 0.02em;
    padding: 17px 32px;
    border-radius: 999px;
    box-shadow: 0 16px 36px rgba(201, 166, 117, 0.3);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.lp-btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 44px rgba(201, 166, 117, 0.42);
}

.lp-btn-gold svg { transition: transform 0.2s ease; }
.lp-btn-gold:hover svg { transform: translateX(4px); }

.lp-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    color: #fff;
    font-size: 14.5px;
    padding: 16px 26px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background 0.18s ease, border-color 0.18s ease;
}

.lp-btn-outline:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Hero — vitrine da logo */
.lp-hero-emblem {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lp-emblem-card {
    position: relative;
    width: min(420px, 88%);
    padding: 56px 44px 44px;
    border-radius: 28px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(201, 166, 117, 0.28);
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45);
    text-align: center;
    backdrop-filter: blur(4px);
}

.lp-emblem-card::before,
.lp-emblem-card::after {
    content: "";
    position: absolute;
    width: 26px;
    height: 26px;
    border: 1px solid var(--gold);
}

.lp-emblem-card::before { top: 16px; left: 16px; border-right: 0; border-bottom: 0; }
.lp-emblem-card::after { bottom: 16px; right: 16px; border-left: 0; border-top: 0; }

.lp-emblem-logo {
    width: 190px;
    height: 190px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 26px;
    display: block;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(201, 166, 117, 0.5);
}

.lp-emblem-card .lp-emblem-name {
    font-family: var(--font-head);
    font-size: 30px;
    font-weight: 600;
    color: #fff;
    line-height: 1;
}

.lp-emblem-rule {
    width: 40px;
    height: 1px;
    background: var(--gold);
    margin: 14px auto;
}

.lp-emblem-card .lp-emblem-tag {
    font-size: 10px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold);
}

/* ----- FAIXA DE VALORES ----- */
.lp-strip {
    background: var(--primary-dark);
    border-top: 1px solid rgba(201, 166, 117, 0.18);
}

.lp-strip-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 26px 6vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    flex-wrap: wrap;
}

.lp-strip-item {
    display: flex;
    align-items: center;
    gap: 11px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
}

.lp-strip-item svg { color: var(--gold); flex-shrink: 0; }

/* ----- SEÇÃO GENÉRICA ----- */
.lp-section { padding: clamp(80px, 10vw, 130px) 0; }

.lp-section-head {
    text-align: center;
    max-width: 600px;
    margin: 0 auto clamp(48px, 6vw, 72px);
}

.lp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-size: 11px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--accent-dark);
    font-weight: 600;
    margin: 0 0 16px;
}

.lp-eyebrow::before,
.lp-eyebrow.center::after {
    content: "";
    width: 26px;
    height: 1px;
    background: var(--accent);
}

.lp-section-head h2 {
    font-size: clamp(32px, 4.2vw, 52px);
    line-height: 1.1;
    font-weight: 500;
    letter-spacing: -0.012em;
    margin: 0;
    color: var(--primary-dark);
}

.lp-section-head h2 em { font-style: italic; color: var(--accent-dark); }

.lp-section-head p {
    margin: 16px auto 0;
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.7;
    max-width: 46ch;
}

/* ----- TRATAMENTOS ----- */
.lp-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.lp-service-card {
    position: relative;
    background: var(--card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.lp-service-card::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    transform: scaleX(0);
    transform-origin: left;
    background: linear-gradient(90deg, var(--gold), var(--accent-dark));
    transition: transform 0.3s ease;
}

.lp-service-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
}

.lp-service-card:hover::after { transform: scaleX(1); }

.lp-service-num {
    font-family: var(--font-head);
    font-size: 17px;
    color: var(--accent);
    letter-spacing: 0.1em;
}

.lp-service-card h3 {
    font-size: 25px;
    font-weight: 600;
    margin: 16px 0 10px;
    color: var(--primary-dark);
}

.lp-service-card p {
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.68;
}

.lp-service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--accent-dark);
}

.lp-service-link svg { transition: transform 0.2s ease; }
.lp-service-card:hover .lp-service-link svg { transform: translateX(4px); }

/* ----- A CLÍNICA ----- */
.lp-about {
    background:
        radial-gradient(ellipse at 85% 20%, rgba(201, 166, 117, 0.16), transparent 55%),
        linear-gradient(155deg, #2c2724, #1d1a17);
    color: #e8e1db;
}

.lp-about-grid {
    max-width: 1240px;
    margin: 0 auto;
    padding: clamp(80px, 10vw, 130px) 6vw;
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: clamp(48px, 6vw, 96px);
    align-items: center;
}

/* moldura da logo na seção sobre */
.lp-about-frame {
    position: relative;
    aspect-ratio: 1;
    border-radius: 24px;
    background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.01));
    border: 1px solid rgba(201, 166, 117, 0.26);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 36px 80px rgba(0, 0, 0, 0.4);
}

.lp-about-frame img {
    width: 62%;
    border-radius: 50%;
    aspect-ratio: 1;
    object-fit: cover;
    border: 2px solid rgba(201, 166, 117, 0.5);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
}

.lp-about-frame .lp-frame-tag {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    white-space: nowrap;
}

.lp-about-text .lp-eyebrow { color: var(--gold); }
.lp-about-text .lp-eyebrow::before { background: var(--gold); }

.lp-about-text h2 {
    font-size: clamp(30px, 3.8vw, 48px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.012em;
    margin: 0 0 22px;
    color: #fff;
}

.lp-about-text h2 em { font-style: italic; color: var(--gold); }

.lp-about-text > p {
    font-size: 15.5px;
    line-height: 1.8;
    color: #c2b8b0;
    margin: 0 0 30px;
    max-width: 48ch;
}

.lp-about-points {
    display: grid;
    gap: 0;
}

.lp-point {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 18px;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.lp-point:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }

.lp-point-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(201, 166, 117, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
}

.lp-point h4 {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 2px 0 5px;
}

.lp-point p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.6;
    color: #ab9f96;
}

/* ----- CTA ----- */
.lp-cta-section {
    padding: clamp(70px, 9vw, 120px) 6vw;
}

.lp-cta-card {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    padding: clamp(54px, 7vw, 88px) 6vw;
    border-radius: 32px;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(201, 166, 117, 0.16), transparent 60%),
        var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.lp-cta-card .lp-cta-logo {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 24px;
    display: block;
    border: 2px solid var(--accent-soft);
    box-shadow: var(--shadow-sm);
}

.lp-cta-card h2 {
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.014em;
    margin: 0 0 14px;
    color: var(--primary-dark);
}

.lp-cta-card h2 em { font-style: italic; color: var(--accent-dark); }

.lp-cta-card p {
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.7;
    max-width: 44ch;
    margin: 0 auto 34px;
}

/* ----- FOOTER ----- */
.lp-footer {
    background: var(--primary-dark);
    color: #aaa099;
}

.lp-footer-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 64px 6vw 32px;
}

.lp-footer-top {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    flex-wrap: wrap;
    padding-bottom: 44px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lp-footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    max-width: 360px;
}

.lp-footer-brand img {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(201, 166, 117, 0.4);
}

.lp-footer-brand strong {
    font-family: var(--font-head);
    font-size: 24px;
    color: #fff;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.lp-footer-brand p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
}

.lp-footer-cols {
    display: flex;
    gap: 64px;
    flex-wrap: wrap;
}

.lp-footer-col h5 {
    font-family: var(--font-body);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 16px;
    font-weight: 600;
}

.lp-footer-col a, .lp-footer-col p {
    display: block;
    text-decoration: none;
    color: #aaa099;
    font-size: 14px;
    margin: 0 0 11px;
    transition: color 0.16s ease;
}

.lp-footer-col a:hover { color: var(--gold); }

.lp-footer-bottom {
    padding-top: 26px;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: #6f665f;
}

/* ----- RESPONSIVO ----- */
@media (max-width: 960px) {
    .lp-hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
        padding-top: 130px;
    }
    .lp-hero-emblem { order: -1; }
    .lp-services { grid-template-columns: 1fr; }
    .lp-about-grid { grid-template-columns: 1fr; }
    .lp-about-frame { max-width: 380px; margin: 0 auto; width: 100%; }
}

@media (max-width: 680px) {
    .lp-nav-menu .lp-nav-hide { display: none; }
    .lp-strip-inner { justify-content: flex-start; }
    .lp-footer-cols { gap: 40px; }
}

/* ===================================================
   DASHBOARD
   =================================================== */
.premium-dashboard {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.dashboard-hero {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 26px;
    align-items: center;
    padding: 36px;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 90% 10%, rgba(185,138,109,0.16), transparent 45%),
        linear-gradient(135deg, #ffffff 0%, #f7f0ea 100%);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-sm);
}

.dashboard-kicker {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent-dark);
    font-weight: 600;
    margin-bottom: 10px;
}

.dashboard-hero-copy h1 {
    margin: 0 0 10px;
    font-size: 38px;
    line-height: 1.1;
}

.dashboard-hero-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    max-width: 540px;
}

.hero-aside-card {
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 18px 40px rgba(44, 39, 36, 0.22);
}

.hero-aside-card span {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #cbbfb6;
    margin-bottom: 10px;
}

.hero-aside-card strong {
    display: block;
    font-family: var(--font-head);
    font-size: 36px;
    line-height: 1;
    margin-bottom: 8px;
}

.hero-aside-card small {
    font-size: 12.5px;
    color: #b6aaa0;
}

.dashboard-metric-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.metric-card {
    background: var(--card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.metric-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.metric-card span {
    display: block;
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    margin-bottom: 10px;
}

.metric-card strong {
    display: block;
    font-family: var(--font-head);
    font-size: 30px;
    line-height: 1.05;
    color: var(--primary-dark);
    margin-bottom: 6px;
}

.metric-card small {
    font-size: 12.5px;
    color: var(--muted);
}

.metric-card.premium-accent {
    background: linear-gradient(140deg, var(--accent), var(--accent-dark));
    border-color: transparent;
}

.metric-card.premium-accent span,
.metric-card.premium-accent small { color: rgba(255,255,255,0.82); }

.metric-card.premium-accent strong { color: #fff; }

.dashboard-visual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.dashboard-bottom-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.premium-panel { margin-bottom: 0; }

.panel-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}

.panel-head h3 { margin: 0 0 4px; font-size: 21px; }
.panel-head p { margin: 0; font-size: 13px; color: var(--muted); }

/* Barras comparativas */
.bars-comparison {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bars-row {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 14px;
    align-items: center;
}

.bars-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
}

.bars-track-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.bars-track {
    position: relative;
    background: var(--bg-soft);
    border-radius: 999px;
    height: 26px;
    display: flex;
    align-items: center;
}

.bars-fill {
    height: 100%;
    border-radius: 999px;
    transition: width 0.5s ease;
}

.bars-fill.positive { background: linear-gradient(90deg, var(--success), #6fa384); }
.bars-fill.negative { background: linear-gradient(90deg, var(--danger), #d27a6d); }

.bars-track span {
    position: absolute;
    right: 12px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--text);
}

/* Barras verticais */
.vertical-bars {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    align-items: end;
    min-height: 200px;
}

.vertical-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.vertical-track {
    width: 100%;
    height: 150px;
    background: var(--bg-soft);
    border-radius: 14px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.vertical-fill {
    width: 100%;
    background: linear-gradient(180deg, var(--accent), var(--accent-dark));
    border-radius: 14px 14px 0 0;
    transition: height 0.5s ease;
}

.vertical-col strong {
    font-family: var(--font-head);
    font-size: 18px;
    color: var(--primary-dark);
}

.vertical-col span {
    font-size: 11.5px;
    color: var(--muted);
}

/* Listas do dashboard */
.dashboard-stack-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stack-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    background: var(--bg-soft);
    text-decoration: none;
    color: var(--text);
    transition: all 0.16s ease;
}

a.stack-item:hover {
    background: #fff;
    border-color: var(--accent-soft);
    box-shadow: var(--shadow-sm);
}

.stack-main strong {
    display: block;
    font-family: var(--font-body);
    font-size: 14.5px;
    font-weight: 600;
    color: var(--primary-dark);
}

.stack-main span {
    font-size: 12.5px;
    color: var(--muted);
}

.stack-side {
    text-align: right;
}

.stack-side b {
    display: block;
    font-size: 14px;
    color: var(--primary-dark);
}

.stack-side span {
    font-size: 12px;
    color: var(--muted);
}

.stack-chip {
    background: var(--success-soft);
    color: var(--success);
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
}

.stack-chip.warm {
    background: var(--warning-soft);
    color: var(--warning);
}

.stack-chip.danger {
    background: var(--danger-soft);
    color: var(--danger);
}

.empty-dashboard-note {
    padding: 22px;
    text-align: center;
    color: var(--muted);
    font-size: 13.5px;
    border: 1px dashed var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-soft);
}

.empty-dashboard-note code {
    background: var(--accent-soft);
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 12px;
}

.btn-link-icon { font-size: 13px; }

/* ===================================================
   AGENDA SEMANAL
   =================================================== */

/* ----- Barra de controle ----- */
.be-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.be-week-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.be-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--primary-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.be-nav-btn:hover {
    background: var(--accent-soft);
    border-color: var(--accent-soft);
    transform: translateY(-1px);
}

.be-week-label {
    text-align: center;
    min-width: 130px;
}

.be-week-label strong {
    display: block;
    font-family: var(--font-head);
    font-size: 21px;
    color: var(--primary-dark);
    line-height: 1.1;
}

.be-week-label span {
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 0.06em;
}

.be-today-btn {
    margin-left: 4px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent-dark);
    border: 1px solid var(--border);
    background: var(--card);
    padding: 10px 16px;
    border-radius: 999px;
    transition: background 0.16s ease;
}

.be-today-btn:hover { background: var(--accent-soft); }

.be-filters {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
}

.be-search-field {
    position: relative;
    display: flex;
    align-items: center;
}

.be-search-field svg {
    position: absolute;
    left: 13px;
    color: var(--muted);
    pointer-events: none;
}

.be-search-field input {
    width: 210px;
    padding: 11px 14px 11px 36px;
    font-size: 13.5px;
}

.be-filters select {
    width: auto;
    min-width: 150px;
    padding: 11px 14px;
    font-size: 13.5px;
}

.be-clear-filter {
    font-size: 13px;
    color: var(--muted);
    text-decoration: none;
    padding: 6px 8px;
}

.be-clear-filter:hover { color: var(--danger); }

/* ----- Resumo da semana ----- */
.be-week-summary {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin-bottom: 22px;
}

.be-summary-item {
    background: var(--card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 16px 18px;
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    box-shadow: var(--shadow-sm);
}

.be-summary-item strong {
    font-family: var(--font-head);
    font-size: 26px;
    color: var(--primary-dark);
    line-height: 1;
}

.be-summary-item span:not(.be-dot) {
    font-size: 12.5px;
    color: var(--muted);
    width: 100%;
}

.be-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
    align-self: center;
}

.be-dot-confirmado { background: var(--success); }
.be-dot-agendado   { background: var(--warning); }
.be-dot-concluido  { background: var(--accent); }
.be-dot-cancelado  { background: var(--danger); }

/* ----- Layout ----- */
.be-schedule-layout {
    display: grid;
    grid-template-columns: 310px 1fr;
    gap: 22px;
    align-items: start;
}

.be-today-card, .be-calendar-card {
    background: var(--card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.be-today-card { padding: 22px; }

.be-today-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.be-today-head h3 {
    margin: 0;
    font-size: 20px;
}

.be-today-count {
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-size: 13px;
    font-weight: 600;
    padding: 4px 11px;
    border-radius: 999px;
}

.be-today-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.be-today-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 13px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-soft);
    background: var(--bg-soft);
    text-decoration: none;
    color: var(--text);
    transition: all 0.16s ease;
}

.be-today-link:hover {
    background: #fff;
    border-color: var(--accent-soft);
    box-shadow: var(--shadow-sm);
    transform: translateX(2px);
}

.be-today-time {
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-dark);
    min-width: 42px;
}

.be-today-info { flex: 1; min-width: 0; }

.be-today-info strong {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--primary-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.be-today-info span {
    font-size: 12px;
    color: var(--muted);
}

.be-today-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.be-today-dot.is-success { background: var(--success); }
.be-today-dot.is-warning { background: var(--warning); }
.be-today-dot.is-pending { background: var(--muted); }

.be-empty-panel {
    padding: 30px 18px;
    text-align: center;
    color: var(--muted);
    font-size: 13.5px;
    border: 1px dashed var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-soft);
}

.be-legend {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--border-soft);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.be-legend-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    font-weight: 600;
    width: 100%;
}

.be-legend-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    color: var(--text);
}

/* ----- Calendário ----- */
.be-calendar-card { padding: 18px; }

.be-calendar-scroll { overflow-x: auto; }

.be-calendar-grid {
    display: grid;
    grid-template-columns: 60px repeat(7, minmax(132px, 1fr));
    min-width: 920px;
}

.be-time-col, .be-day-col {
    display: flex;
    flex-direction: column;
}

.be-time-head, .be-day-head {
    height: 58px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.be-day-head {
    border-bottom: 2px solid var(--border-soft);
    gap: 2px;
}

.be-day-head strong {
    font-family: var(--font-body);
    font-size: 12.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
}

.be-day-head span {
    font-size: 12px;
    color: var(--muted);
}

.be-day-head.is-today {
    border-bottom-color: var(--accent);
}

.be-day-head.is-today strong,
.be-day-head.is-today span {
    color: var(--accent-dark);
    font-weight: 700;
}

.be-time-slot {
    height: var(--be-slot-height);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 3px 8px 0 0;
    font-size: 11px;
    color: var(--muted);
    font-weight: 500;
}

.be-day-body {
    position: relative;
    height: var(--be-grid-height);
    border-left: 1px solid var(--border-soft);
}

.be-day-col:last-child .be-day-body {
    border-right: 1px solid var(--border-soft);
}

.be-grid-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-soft);
}

/* zona clicável para novo agendamento */
.be-slot-add {
    position: absolute;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.14s ease;
}

.be-slot-add-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.16s ease, transform 0.16s ease;
}

.be-slot-add:hover {
    background: rgba(185, 138, 109, 0.09);
}

.be-slot-add:hover .be-slot-add-icon {
    opacity: 1;
    transform: scale(1);
}

/* eventos */
.be-event {
    position: absolute;
    left: 5px;
    right: 5px;
    border-radius: 10px;
    padding: 7px 9px;
    text-decoration: none;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border-left: 3px solid;
    z-index: 2;
    transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.be-event:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow);
    z-index: 5;
}

.be-event small {
    display: block;
    font-size: 10px;
    opacity: 0.85;
    font-weight: 500;
}

.be-event strong {
    display: block;
    font-family: var(--font-body);
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.be-event em {
    display: block;
    font-style: normal;
    font-size: 11px;
    opacity: 0.8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.be-event-confirmado { background: var(--success-soft); border-color: var(--success); color: #3f6b51; }
.be-event-agendado   { background: var(--warning-soft); border-color: var(--warning); color: #8a6a2c; }
.be-event-concluido  { background: var(--accent-soft);  border-color: var(--accent);  color: var(--accent-dark); }
.be-event-cancelado  { background: var(--danger-soft);  border-color: var(--danger);  color: #97473c; }
.be-event-cancelado strong { text-decoration: line-through; }
.be-event-default    { background: var(--bg-soft);      border-color: var(--muted);   color: var(--text); }

.be-calendar-empty {
    margin-top: 14px;
    padding: 26px 20px;
    text-align: center;
    color: var(--muted);
    font-size: 13.5px;
    border: 1px dashed var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-soft);
}


/* ===================================================
   AGENDAMENTOS (lista de cards)
   =================================================== */
.appointments-card { display: flex; flex-direction: column; }

.appointments-head { margin-bottom: 16px; }

.appointments-filter {
    display: flex;
    gap: 8px;
}

.appointments-filter select { width: auto; min-width: 130px; }

.appointments-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.appointment-card-row {
    display: flex;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    background: var(--bg-soft);
}

.appointment-card-main { flex: 1; }

.appointment-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.appointment-date-block strong {
    display: block;
    font-family: var(--font-head);
    font-size: 19px;
    color: var(--primary-dark);
}

.appointment-date-block span {
    font-size: 12.5px;
    color: var(--muted);
}

.appointment-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.meta-label {
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 4px;
}

.meta-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-dark);
}

.appointment-card-actions {
    display: flex;
    flex-direction: column;
    gap: 7px;
    justify-content: center;
}

.empty-appointments {
    padding: 36px 20px;
    text-align: center;
    color: var(--muted);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    background: var(--bg-soft);
}

/* ===================================================
   COMPONENTES — estados vazios, mini-stats, refinos
   =================================================== */

/* Estado vazio elegante */
.empty-state {
    padding: 46px 24px;
    text-align: center;
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    background: var(--bg-soft);
}

.empty-state-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-state strong {
    display: block;
    font-family: var(--font-head);
    font-size: 21px;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.empty-state span {
    display: block;
    color: var(--muted);
    font-size: 13.5px;
    max-width: 38ch;
    margin: 0 auto;
}

/* Linha de mini-indicadores */
.be-summary-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 22px;
}

.be-mini-stat {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 18px 20px;
    box-shadow: var(--shadow-sm);
}

.be-mini-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.be-mini-icon.ok {
    background: var(--success-soft);
    color: var(--success);
}

.be-mini-stat strong {
    display: block;
    font-family: var(--font-head);
    font-size: 24px;
    color: var(--primary-dark);
    line-height: 1.1;
}

.be-mini-stat span {
    font-size: 12.5px;
    color: var(--muted);
}

/* Realce sutil em código inline dentro de avisos */
.alert code {
    background: rgba(0, 0, 0, 0.06);
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 12.5px;
    font-family: ui-monospace, monospace;
}

/* ===================================================
   RESPONSIVO
   =================================================== */
@media (max-width: 1180px) {
    .dashboard-metric-grid { grid-template-columns: repeat(2, 1fr); }
    .dashboard-visual-grid { grid-template-columns: 1fr; }
    .dashboard-bottom-grid { grid-template-columns: 1fr; }
    .be-schedule-layout { grid-template-columns: 1fr; }
    .be-week-summary { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
    .topbar-inner { grid-template-columns: 1fr; gap: 14px; }
    .topnav { justify-content: flex-start; overflow-x: auto; }
    .grid-2, .kpis, form.grid-form { grid-template-columns: 1fr; }
    .dashboard-hero { grid-template-columns: 1fr; }
    .appointment-card-grid { grid-template-columns: 1fr; }
    .appointment-card-row { flex-direction: column; }
    .appointment-card-actions { flex-direction: row; }
    .page-shell { padding: 18px; }
    .be-toolbar { flex-direction: column; align-items: stretch; }
    .be-week-nav { justify-content: center; }
    .be-filters { justify-content: center; }
}

@media (max-width: 640px) {
    .dashboard-metric-grid { grid-template-columns: 1fr; }
    .page-title h2, .be-dashboard-head h1 { font-size: 28px; }
    .be-week-summary { grid-template-columns: repeat(2, 1fr); }
    .be-search-field input { width: 100%; }
    .be-filters { width: 100%; }
    .be-filters select { flex: 1; }
}
