/* ========================================
   Site Cliente - estilos compartilhados
   Home, Meus Agendamentos, Sobre
   ======================================== */

body.site-client-app {
    font-family: "Spline Sans", "Figtree", ui-sans-serif, system-ui, sans-serif;
    background: #0a0a0a;
}

body.site-client-app main {
    padding: 0 !important;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    background: #0a0a0a;
    width: 100%;
}

.site-home-shell {
    width: 100%;
    max-width: 28rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #0a0a0a;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    position: relative;
}

.site-home-scroll {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 7rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.site-home-scroll::-webkit-scrollbar {
    display: none;
}

.site-home-brand {
    font-family: "Playfair Display", ui-serif, Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin: 0;
    padding: 1rem 1.5rem 0.75rem;
    line-height: 1.2;
    background: linear-gradient(to bottom, color-mix(in srgb, var(--primary-color) 75%, #fff 25%), color-mix(in srgb, var(--primary-color) 55%, #000 45%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.site-home-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.2rem;
}

.site-home-header .site-home-brand {
    padding: 0;
    font-size: 1.4rem;
}

.site-home-back {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #161616;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: border-color 0.2s;
}

.site-home-back:hover {
    border-color: color-mix(in srgb, var(--primary-color) 50%, transparent);
    color: #fff;
}

.site-home-title-wrap {
    padding: 0.3rem 1.5rem 1rem;
}

.site-home-title-wrap h2 {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 700;
    color: #fff;
}

.site-home-title-wrap p {
    margin: 0.25rem 0 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85rem;
}

.site-home-search-wrap {
    position: relative;
    padding: 0 1.5rem 0.75rem;
}

.site-home-search-wrap .material-symbols-outlined {
    position: absolute;
    left: 2.25rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.35);
    pointer-events: none;
}

.site-home-search {
    width: 100%;
    height: 3rem;
    padding-left: 3rem;
    padding-right: 1rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #161616;
    color: #fff;
    font-size: 0.9375rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.site-home-search::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.site-home-search:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--primary-color) 40%, transparent);
}

.site-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 28rem;
    z-index: 50;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1.5rem 1.5rem;
}

.site-bottom-nav-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    position: relative;
}

.site-bnav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    width: 4rem;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.625rem;
    font-weight: 500;
    padding: 0;
    font-family: inherit;
}

.site-bnav-item:hover {
    color: #fff;
}

.site-bnav-item.is-active {
    color: var(--primary-color);
}

.site-bnav-item .material-symbols-outlined {
    font-size: 1.35rem;
}

.material-symbols-outlined {
    font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

/* Tema claro */
body.light.site-client-app {
    background: #f3f4f6;
    color: #111827;
}

body.light.site-client-app main {
    background: #f3f4f6;
}

body.light.site-client-app .site-home-shell {
    background: #ffffff;
    box-shadow: 0 25px 50px -12px rgba(17, 24, 39, 0.18);
}

body.light.site-client-app .site-home-title-wrap h2 {
    color: #111827;
}

body.light.site-client-app .site-home-title-wrap p {
    color: rgba(17, 24, 39, 0.62);
}

body.light.site-client-app .site-home-back {
    background: #f8fafc;
    border-color: rgba(17, 24, 39, 0.12);
    color: #111827;
}

body.light.site-client-app .site-home-back:hover {
    color: #111827;
}

body.light.site-client-app .site-home-search {
    background: #f8fafc;
    border-color: rgba(17, 24, 39, 0.12);
    color: #111827;
}

body.light.site-client-app .site-home-search::placeholder {
    color: rgba(17, 24, 39, 0.45);
}

body.light.site-client-app .site-home-search-wrap .material-symbols-outlined {
    color: rgba(17, 24, 39, 0.45);
}

body.light.site-client-app .site-bottom-nav {
    background: rgba(255, 255, 255, 0.95);
    border-top-color: rgba(17, 24, 39, 0.12);
}

body.light.site-client-app .site-bnav-item {
    color: rgba(17, 24, 39, 0.55);
}

body.light.site-client-app .site-bnav-item:hover {
    color: #111827;
}

body.light.site-client-app .site-bnav-item.is-active {
    color: var(--primary-color);
}
