﻿:root {
    --branco: #fff;
    --primary-color: #7323a9;
    /* --primary-color: #7c3aed; */
    --dark-color: #121212;
    --text-color: #e0e0e0;
    --secondary-color: #333333;
    --accent-color: #fd18f0;
    /* --accent-color: #d946ef; */
    --primary-font: 'Hankr-Rounded',  Roboto, Oxygen, Ubuntu, sans-serif;
    --secondary-font: 'Montserrat',  Roboto, Oxygen, Ubuntu, sans-serif;
    --card-shadow: 0 2px 12px rgba(123, 45, 142, 0.1);
    --card-shadow-hover: 0 4px 20px rgba(123, 45, 142, 0.18);
    --gradient-purple: linear-gradient(135deg, #7323a9 0%, #fd18f0 100%);
    /* --gradient-purple: linear-gradient(135deg, #7c3aed 0%, #d946ef 100%); */
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* INSTALAÇÃO DA FONTE */
@font-face {
    font-family: 'Hankr-Rounded';
    src: url(/assets/fontes/HankRnd-Black.otf), url(/assets/fontes/HankRnd-Bold.otf), url(/assets/fontes/HankRnd-Light.otf), url(/assets/fontes/HankRnd-Regular.otf);
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url(/assets/fontes/Montserrat-Regular.ttf), url(/assets/fontes/Montserrat-Black.ttf), url(/assets/fontes/Montserrat-Bold.ttf), url(/assets/fontes/Montserrat-ExtraBold.ttf), url(/assets/fontes/Montserrat-ExtraLight.ttf), url(/assets/fontes/Montserrat-Light.ttf), url(/assets/fontes/Montserrat-Medium.ttf), url(/assets/fontes/Montserrat-SemiBold.ttf), url(/assets/fontes/Montserrat-Thin.ttf);
    font-weight: normal;
    font-style: normal;
}

.bg-branco{
    background-color: var(--branco);
}

/* COMPONENTES PADRÃO */

.roxo{
    color: var(--primary-color);
}

.inputForm {
    border: 1.5px solid #ecedec;
    border-radius: 10px;
    height: 50px;
    display: flex;
    align-items: center;
    padding-left: 10px;
    padding-right: 10px;
    transition: 0.2s ease-in-out;
    gap: .2rem;
    margin-bottom: 1rem;
}

.inputForm i {
    color: var(--primary-color);
}

.input {
    border-radius: 10px;
    border: none;
    width: 85%;
    height: 100%;
}

.input:focus {
    outline: none;
}

.inputForm:focus-within {
    border: 1.5px solid var(--primary-color);
}

.btn-gradient {
    background: var(--gradient-purple);
    border: none;
    color: var(--branco);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    gap: 8px;
}

.btn-gradient:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-gradient:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-gradient .spinner-border {
    width: 16px;
    height: 16px;
    border-width: 2px;
}

.btn-outline-secondary-custom {
    background: #fff;
    border: 2px solid #E5E7EB;
    color: #6b7280;
    font-weight: 600;
    border-radius: 8px;
    padding: 10px 24px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.btn-outline-secondary-custom:hover {
    border-color: #6b7280;
    color: var(--dark-color);
}

.heart-container {
  position: relative;
  width: 20px;
  height: 20px;
  transition: .3s;
}

.heart-container .checkbox {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 20;
  cursor: pointer;
}

.heart-container .svg-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.heart-container .svg-outline,
        .heart-container .svg-filled {
  fill: var(--primary-color);
  position: absolute;
}

.heart-container .svg-filled {
  animation: keyframes-svg-filled 1s;
  display: none;
}

.heart-container .svg-celebrate {
  position: absolute;
  animation: keyframes-svg-celebrate .5s;
  animation-fill-mode: forwards;
  display: none;
  stroke: var(--primary-color);
  fill: var(--primary-color);
  stroke-width: 1px;
}

.heart-container .checkbox:checked~.svg-container .svg-filled {
  display: block
}

.heart-container .checkbox:checked~.svg-container .svg-celebrate {
  display: block
}

@keyframes keyframes-svg-filled {
  0% {
    transform: scale(0);
  }

  25% {
    transform: scale(1.2);
  }

  50% {
    transform: scale(1);
    filter: brightness(1.5);
  }
}

@keyframes keyframes-svg-celebrate {
  0% {
    transform: scale(0);
  }

  50% {
    opacity: 1;
    filter: brightness(1.5);
  }

  100% {
    transform: scale(1.4);
    opacity: 0;
    display: none;
  }
}

/* INICIO ESTILOS PÁGINAS */

body {
    font-family: var(--secondary-font);
    background-color: var(--branco);
    min-height: 100vh;
    padding-bottom: 100px;
}

/* LOADING */
.spinner {
 position: relative;
 width: 40px;
 height: 40px;
 border-radius: 50%;
}

.spinner::before,
.spinner:after {
 content: "";
 position: absolute;
 border-radius: inherit;
}

.spinner:before {
 width: 100%;
 height: 100%;
 background-image: linear-gradient(0deg, var(--accent-color) 0%, var(--primary-color) 100%);
 animation: spin8932 .5s infinite linear;
}

.spinner:after {
 width: 85%;
 height: 85%;
 background-color: var(--branco);
 top: 50%;
 left: 50%;
 transform: translate(-50%, -50%);
}

@keyframes spin8932 {
 to {
  transform: rotate(360deg);
 }
}

/* Navbar Container */
.navbar-mobile {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    padding: 12px 8px 20px 8px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
}

/* Nav Item */
.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    cursor: pointer;
    padding: 8px 4px;
    min-width: 0;
    position: relative;
    transition: all 0.3s ease;
    text-decoration: none;
}

/* Icon Container */
.nav-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-icon i {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

/* Inactive state - gray outline icons */
.nav-item i {
    color: #9ca3af;
}

/* Label */
.nav-label {
    font-size: 11px;
    font-weight: 500;
    color: #9ca3af;
    white-space: nowrap;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Active State - navActive class */
.nav-item.navActive .nav-label {
    color: var(--primary-color);
    opacity: 1;
    max-height: 20px;
}

.nav-item.navActive i {
    color: var(--primary-color);
}

/* Filled icon styles for active state */
.nav-item.navActive .icon-outline {
    display: none;
}

.nav-item.navActive .icon-filled {
    display: block;
}

.nav-item .icon-filled {
    display: none;
}

.nav-item .icon-outline {
    display: block;
}

/* Safe area for notched phones */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .navbar-mobile {
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
    }
}

/*SIDEBAR*/
.nav-link{
    width: 100%;
    color: var(--dark-color);
    font-weight: 600;
    transition: .5s;
    padding: .5rem 0;
    border-radius: 5px;
}

.nav-link i{
    color: var(--dark-color);
}

.nav-link:hover{
    background-color: #7323a921;
    color: var(--dark-color);
}

.nav-link.activeNav{
    background-color: #7323a921;
    color: var(--primary-color);
}

.nav-link.activeNav i{
    color: var(--primary-color);
}

/* ACTION MENU */
.action-menu-logo img{
    width: 120px;
}

/* PÁGINA EXPLORAR */

.saudacao-cliente{
    font-size: 1.5rem;
    font-weight: bold;
    font-family: var(--primary-font)
}

.titulo-sessao{
    font-size: 1.2rem;
    font-weight: 500;
    font-family: var(--primary-font);
}

.last-booking-card,
.container-item-empresa {
    background: var(--branco);
    border-radius: 16px;
    padding: 16px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: block;
    text-decoration: none;
}

.last-booking-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-purple);
}

.last-booking-card:active {
    transform: scale(0.98);
    box-shadow: var(--card-shadow-hover);
}

.booking-content {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.business-logo {
    width: 72px;
    height: 72px;
    min-width: 72px;
    border-radius: 14px;
    object-fit: cover;
    border: 2px solid #f0f0f0;
    background: #f5f5f5;
}

.booking-info {
    flex: 1;
    min-width: 0;
    padding-right: 2rem;
}

.business-name {
    font-size: 1rem;
    font-weight: 800;
    color: var(--dark-color);
    margin: 0 0 .5rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.service-name {
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.endereco {
    font-size: .7rem;
    font-weight: 500;
    margin: 0 0 10px 0;
}

.service-name i {
    font-size: 12px;
    color: var(--accent-color);
}

.booking-details {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.detail-item,
.nota-estabelecimento {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .7rem;
}

.detail-item i {
    font-size: 13px;
    color: var(--accent-color);
}

.nota-estabelecimento i{
    color: var(--primary-color);
    font-size: 13px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.status-concluido {
  background: rgba(40, 167, 69, 0.12);
  color: #28a745;
}

.status-pendente {
  background: rgba(255, 193, 7, 0.15);
  color: #B78600;
}

.status-cancelado {
  background: rgba(220, 53, 69, 0.12);
  color: #dc3545;
}

.data-hora-agendamento{
    font-size: .8rem;
    font-weight: 600;
}

.card-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e9ecef, transparent);
    margin: 14px 0;
}

.container-categorias{
    width: 100%;
    padding: 1rem;
    display: flex;
    flex-direction: row;
    gap: 1.3rem;
    overflow-y: auto;
}

.container-img-categoria{
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    text-align: center;
    gap: .5rem;
    padding: .5rem .5rem 0 .5rem;
}

.container-img-categoria.categoria-ativa {
    outline: 1px solid var(--primary-color);
    border-radius: 10px;
    background-color: #faeff7;
}

.container-img-categoria>span{
    font-size: .5rem;
    font-weight: 600;
}

.limpa-filtro{
    color: var(--primary-color);
    font-weight: 600;
    font-size: .8rem;
}

.img-categoria{
    width: 70px;
    border-radius: 999px;
}

.container-like{

    position: absolute;
    right: 1rem;
    top: 1rem;

}

/* ── BOTTOM SHEET (genérico) ─────────────────────────────────────────────── */
.bs-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1040;
    opacity: 0;
    transition: opacity .3s ease;
}

.bs-overlay.bs-active {
    display: block;
    opacity: 1;
}

.bottom-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--branco);
    border-radius: 20px 20px 0 0;
    z-index: 1050;
    max-height: 80dvh;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform .38s cubic-bezier(.32, .72, 0, 1);
    box-shadow: 0 -6px 32px rgba(0, 0, 0, .1);
}

.bottom-sheet.bs-active {
    transform: translateY(0);
}

.bs-handle {
    width: 40px;
    height: 4px;
    background: #ddd;
    border-radius: 99px;
    margin: 12px auto 0;
    flex-shrink: 0;
}

.bs-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .8rem 1.2rem .4rem;
    flex-shrink: 0;
}

.bs-title {
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--primary-font);
}

.bs-close {
    background: none;
    border: none;
    font-size: 1.1rem;
    color: #888;
    cursor: pointer;
    padding: .2rem .4rem;
    line-height: 1;
    transition: color .2s;
}

.bs-close:hover { color: var(--dark-color); }

.bs-content {
    overflow-y: auto;
    padding: .6rem 1.2rem 2rem;
    flex: 1;
}

/* ── CARD RESULTADO PESQUISA ─────────────────────────────────────────────── */
.bs-resultado-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: .75rem 0;
    border-bottom: 1px solid #f3f3f3;
    text-decoration: none;
    color: inherit;
    transition: background .15s;
}

.bs-resultado-item:last-child { border-bottom: none; }

.bs-resultado-item:active { background: #faf5ff; border-radius: 10px; }

.bs-resultado-logo {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid #f0f0f0;
    background: #f5f5f5;
}

.bs-resultado-info { flex: 1; min-width: 0; }

.bs-resultado-nome {
    font-size: .95rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.bs-resultado-endereco {
    font-size: .72rem;
    color: #888;
}

.bs-resultado-nota {
    font-size: .72rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}

.bs-empty {
    text-align: center;
    padding: 2.5rem 0;
    color: #aaa;
    font-size: .9rem;
}

.bs-loading {
    display: flex;
    justify-content: center;
    padding: 2.5rem 0;
}

/* EMPTY STATE AGENDAMENTOS */
.empty-state-agendamentos {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3rem 0rem;
    gap: 1.3rem;
}

.empty-state-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f3e8ff, #fce7fb);
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-state-icon i {
    font-size: 2rem;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.empty-state-titulo {
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--primary-font);
    color: var(--dark-color);
    margin: 0;
}

.empty-state-descricao {
    font-size: .85rem;
    color: #888;
    max-width: 280px;
    line-height: 1.5;
    margin: 0;
}

.perfil-foto-wrapper {
    position: relative;
    display: inline-block;
}

.perfil-foto-overlay {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 34px;
    height: 34px;
    background: var(--gradient-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .85rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,.25);
    transition: transform .2s;
}

.perfil-foto-overlay:hover {
    transform: scale(1.1);
}

.img-perfil-usuario {
    width: 120px;
    height: 120px;
    border-radius: 999px;
}

.labelForm{
    font-weight: bold;
    font-size: .8rem;
}

.status-aberta {
    background-color: #e8f5e9;
    color: #2e7d32;
    font-size: .7rem;
    padding: .3rem .6rem;
    border-radius: 20px;
    font-weight: 600;
}

.status-fechada {
    background-color: #f3e5f5;
    color: #6a1b9a;
    font-size: .7rem;
    padding: .3rem .6rem;
    border-radius: 20px;
    font-weight: 600;
}

/* ── BOTTOM SHEET COMANDA — DETALHES ─────────────────────────────────────── */
.sheet-header-barbearia {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: 1rem 0 .8rem;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 1rem;
}

.sheet-header-barbearia img {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    object-fit: cover;
}

.sheet-nome-barbearia {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
}

.sheet-codigo {
    font-size: .75rem;
    color: #888;
}

.sheet-badge-status {
    margin-left: auto;
    flex-shrink: 0;
}

.sheet-profissional {
    display: flex;
    align-items: center;
    gap: .7rem;
    background: #fafafa;
    border-radius: 10px;
    padding: .7rem;
    margin-bottom: 1rem;
    box-shadow: rgba(0,0,0,.04) 0 0 0 1px;
}

.sheet-profissional img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.sheet-profissional-nome {
    font-weight: 600;
    font-size: .9rem;
    margin: 0;
}

.sheet-profissional-cargo {
    font-size: .75rem;
    color: #888;
    margin: 0;
}

.sheet-section-title {
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #aaa;
    margin-bottom: .5rem;
}

.sheet-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .6rem 0;
    border-bottom: 1px solid #f5f5f5;
    gap: .5rem;
}

.sheet-item:last-child { border-bottom: none; }

.sheet-item-badge {
    font-size: .65rem;
    padding: .2rem .5rem;
    border-radius: 20px;
    font-weight: 600;
    flex-shrink: 0;
}

.sheet-item-badge.servico { background: #ede7f6; color: #6a1b9a; }
.sheet-item-badge.produto  { background: #e3f2fd; color: #1565c0; }

.sheet-item-desc  { flex: 1; font-size: .88rem; font-weight: 500; }
.sheet-item-qty   { font-size: .78rem; color: #999; flex-shrink: 0; }
.sheet-item-valor { font-size: .88rem; font-weight: 600; color: #4CAF50; flex-shrink: 0; }

.sheet-totais {
    background: #fafafa;
    border-radius: 10px;
    padding: .8rem 1rem;
    margin-top: 1rem;
    box-shadow: rgba(0,0,0,.04) 0 0 0 1px;
}

.sheet-totais-row {
    display: flex;
    justify-content: space-between;
    font-size: .88rem;
    padding: .25rem 0;
}

.sheet-totais-row.total {
    border-top: 1px solid #eee;
    margin-top: .4rem;
    padding-top: .6rem;
    font-weight: 700;
    font-size: 1rem;
}

.sheet-totais-row.total span:last-child { color: #4CAF50; }

.sheet-info-row {
    display: flex;
    justify-content: space-between;
    font-size: .82rem;
    color: #666;
    padding: .2rem 0;
}

.sheet-info-row span:last-child { font-weight: 600; color: #333; }

/* STATUS COMANDA */
.status-aberta  { background: #e8f5e9; color: #2e7d32; font-size: .7rem; padding: .3rem .6rem; border-radius: 20px; font-weight: 600; }
.status-fechada { background: #f3e5f5; color: #6a1b9a; font-size: .7rem; padding: .3rem .6rem; border-radius: 20px; font-weight: 600; }

/* login */

.logo-login{
    width: 130px;
}

.container-login {
    width: 100dvw;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: #ffffff;
    padding: 30px;
    width: 100%;
    max-width: 450px;
    border-radius: 20px;
}

.flex-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
}

.flex-row>div>label {
    font-size: 14px;
    color: black;
    font-weight: 400;
}

.span {
    font-size: .8rem;
    margin-left: 5px;
    color: #2d79f3;
    font-weight: 500;
    cursor: pointer;
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.esqueceu-senha {
    text-align: center;
    color: var(--dark-color);
    font-size: 14px;
    margin: 5px 0;
}

/* ── CADASTRO STEP ───────────────────────────────────────────────────────── */
.step-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.step-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e0e0e0;
    transition: background .3s, transform .3s;
    flex-shrink: 0;
}

.step-dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
}

.step-dot.done {
    background: var(--primary-color);
    transform: scale(1);
}

.step-line {
    width: 48px;
    height: 2px;
    background: #e0e0e0;
    transition: background .3s;
    flex-shrink: 0;
}

.step-line.done {
    background: var(--primary-color);
}

.step-label {
    font-size: .78rem;
    color: #888;
    font-weight: 500;
    margin: 0;
}

/* transição entre steps */
#step1, #step2 {
    animation: stepIn .25s ease;
}

@keyframes stepIn {
    from { opacity: 0; transform: translateX(18px); }
    to   { opacity: 1; transform: translateX(0); }
}

.btn-gradient:disabled,
.btn-gradient[disabled] {
    opacity: .4;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-avaliar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px;
    background: transparent;
    border: 1.5px solid #22c55e;
    border-radius: 12px;
    color: #22c55e;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.btn-avaliar:hover {
    background: #22c55e;
    color: #fff;
}

/* ── RESERVA ─────────────────────────────────────────────────────────────── */
.rsv-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 1rem 1.2rem 6rem;
}

.rsv-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .8rem 0 1rem;
    margin-bottom: .5rem;
}

.rsv-titulo {
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--primary-font);
}

.rsv-back-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f3f4f6;
    color: var(--dark-color);
    text-decoration: none;
    font-size: 1rem;
    transition: background .2s;
}

.rsv-back-btn:hover { background: #e5e7eb; color: var(--dark-color); }

/* Steps indicator */
.rsv-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 1.5rem;
}

.rsv-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.rsv-step span {
    font-size: .6rem;
    color: #bbb;
    font-weight: 500;
    white-space: nowrap;
    transition: color .3s;
}

.rsv-step.active span  { color: var(--primary-color); }
.rsv-step.done span    { color: var(--primary-color); }

.rsv-step-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e0e0e0;
    transition: background .3s, transform .3s;
}

.rsv-step.active .rsv-step-dot {
    background: var(--primary-color);
    transform: scale(1.4);
}

.rsv-step.done .rsv-step-dot { background: var(--primary-color); }

.rsv-step-line {
    width: 36px;
    height: 2px;
    background: #e0e0e0;
    margin-bottom: 14px;
    transition: background .3s;
    flex-shrink: 0;
}

.rsv-step-line.done { background: var(--primary-color); }

/* Step content */
.rsv-step-content { animation: rsvStepIn .25s ease; }

@keyframes rsvStepIn {
    from { opacity: 0; transform: translateX(16px); }
    to   { opacity: 1; transform: translateX(0); }
}

.rsv-nav {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    margin-top: 1.2rem;
}

/* Títulos de seção */
.section-title {
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--primary-font);
    margin-bottom: 1rem;
}

/* Calendário */
.calendar-container { margin-bottom: 1.2rem; }

.month-selector {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.month-name { font-size: 1rem; font-weight: 600; }

.month-nav {
    color: var(--primary-color);
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
}

.calendar {
    width: 100%;
    border-collapse: separate;
    border-spacing: 6px;
}

.calendar th {
    font-weight: normal;
    color: #999;
    text-align: center;
    padding: 6px 0;
    font-size: 13px;
}

.calendar td { text-align: center; padding: 0; }

.calendar .day {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    margin: 0 auto;
    cursor: pointer;
    transition: all .2s ease;
    font-size: 13px;
    font-weight: 600;
}

.calendar .day:hover:not(.disabled):not(.selected) {
    border: 1px solid var(--primary-color);
}

.calendar .selected { background: var(--primary-color); color: #fff; }
.calendar .disabled { color: #ffaaaa; cursor: not-allowed; }
.calendar .today:not(.selected) { border: 1px solid var(--primary-color); }

/* Horários por período */
.rsv-periodo-titulo {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #aaa;
    margin: .8rem 0 .4rem;
}

.time-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: .8rem;
    padding: .2rem 0;
}

.time-slot {
    background: #fafafa;
    border: none;
    color: var(--dark-color);
    box-shadow: rgba(0,0,0,.05) 0 0 0 1px;
    padding: 8px 14px;
    border-radius: 25px;
    cursor: pointer;
    transition: all .2s ease;
    font-size: 13px;
}

.time-slot:hover:not(.disabled) { box-shadow: rgba(115,35,169,.3) 0 0 0 1px; }
.time-slot.selected { background: var(--primary-color); color: #fff; }
.time-slot.disabled { background: #ffaaaa; color: #fff; cursor: not-allowed; }

/* Barbeiro */
.barber-card {
    background: #fafafa;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all .2s ease;
    display: flex;
    align-items: center;
    box-shadow: rgba(0,0,0,.05) 0 0 0 1px;
}

.barber-card:hover  { box-shadow: rgba(115,35,169,.25) 0 0 0 1px; }
.barber-card.selected { box-shadow: var(--primary-color) 0 0 0 1px; }

.barber-image {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    margin-right: 14px;
    object-fit: cover;
}

.barber-info { flex: 1; }
.barber-name { font-weight: 600; font-size: 1rem; margin-bottom: 3px; }
.barber-specialty { font-size: .78rem; color: #888; }

/* Serviço */
.service-card {
    background: #fafafa;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 12px;
    cursor: pointer;
    box-shadow: rgba(0,0,0,.05) 0 0 0 1px;
    transition: all .2s ease;
}

.service-card:hover   { box-shadow: rgba(115,35,169,.25) 0 0 0 1px; }
.service-card.selected { box-shadow: var(--primary-color) 0 0 0 1px; }

.service-name-reserva        { font-weight: 600; font-size: 1rem; margin-bottom: 3px; }
.service-description { font-size: .78rem; color: #888; margin-bottom: 6px; }
.service-price       { font-weight: 700; color: #08d101; }
.service-duration    { font-size: 13px; color: #aaa; text-align: right; }

/* Resumo */
.reservation-summary {
    background: #fafafa;
    box-shadow: rgba(0,0,0,.05) 0 0 0 1px;
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 1rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: .9rem;
}

.summary-label { color: #666; }
.summary-value { font-weight: 600; }

.summary-total {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eee;
    font-weight: 700;
    font-size: 1rem;
}

.summary-price { color: #08d101; }

/* ── PERFIL ESTABELECIMENTO ──────────────────────────────────────────────── */
.perfil-banner-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.perfil-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.perfil-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,.55) 100%);
}

.perfil-identidade {
    margin-top: -28px;
    position: relative;
    z-index: 2;
    margin-bottom: 1.5rem;
}

.perfil-identidade-inner {
    display: flex;
    align-items: flex-end;
    gap: .8rem;
}

.perfil-logo {
    width: 68px;
    height: 68px;
    border-radius: 14px;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,.15);
    flex-shrink: 0;
    background: #f5f5f5;
}

/* nome fica abaixo da logo, fora da sobreposição */
.perfil-identidade-info {
    padding-top: 40px;
}

.perfil-nome {
    font-size: 1.1rem;
    font-weight: 800;
    font-family: var(--primary-font);
    margin: 0 0 2px;
    color: var(--dark-color);
}

/* Botões de contato / redes sociais */
.container-btn-contato {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f3e8ff;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    text-decoration: none;
    transition: background .2s, transform .2s;
    flex-shrink: 0;
}

.container-btn-contato:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}
.perfil-nota {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .78rem;
    color: #666;
}

.perfil-nota i { color: #f5a623; font-size: .75rem; }

.perfil-contatos {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.perfil-sobre {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

/* Abas */
.perfil-abas-wrapper {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--branco);
    padding-top: .5rem;
    margin-bottom: 1rem;
}

.perfil-abas {
    display: flex;
    gap: 0;
    overflow-x: auto;
    border-bottom: 2px solid #f0f0f0;
    scrollbar-width: none;
}

.perfil-abas::-webkit-scrollbar { display: none; }

.perfil-aba {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    padding: .55rem .9rem;
    font-size: .8rem;
    font-weight: 600;
    color: #999;
    white-space: nowrap;
    cursor: pointer;
    transition: color .2s, border-color .2s;
    font-family: var(--secondary-font);
}

.perfil-aba:hover  { color: var(--primary-color); }
.perfil-aba.active { color: var(--primary-color); border-bottom-color: var(--primary-color); }

/* Painéis */
.perfil-aba-panel { display: none; }
.perfil-aba-panel.active { display: block; animation: rsvStepIn .2s ease; }

/* Botão agendar fixo */
.perfil-agendar-fixo {
    position: fixed;
    bottom: 72px;
    left: 0;
    right: 0;
    z-index: 200;
    padding: .6rem 0;
    background: linear-gradient(to top, rgba(255,255,255,1) 60%, transparent);
    pointer-events: none;
}

.perfil-agendar-fixo .container { pointer-events: all; }

/* Tabela horários */
.tabela-horarios {
    width: 100%;
    border-collapse: collapse;
}

.tabela-horarios th,
.tabela-horarios td {
    padding: 10px 8px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
    font-size: .88rem;
}

.tabela-horarios th { font-weight: 700; color: #444; }

/* Foto funcionário */
.foto-funcionario {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Card serviço / produto */
.card-servico {
    background: #fafafa;
    border-radius: 12px;
    padding: 14px;
    box-shadow: rgba(0,0,0,.05) 0 0 0 1px;
}

.card-servico h3 {
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.service-price {
    font-weight: 700;
    color: #08d101;
    font-size: .9rem;
}

/* Rating */
.rating i { color: #f5a623; font-size: .8rem; }

.btn-sm-perfil {
    padding: 6px 14px;
    font-size: .78rem;
    border-radius: 6px;
}

/* Horário de hoje */
.horario-hoje td {
    background: #f3e8ff;
    color: var(--primary-color);
}

.badge-hoje {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    font-size: .6rem;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 20px;
    margin-left: 6px;
    vertical-align: middle;
}

.estrelas .estrela {
    font-size: 2.2rem;
    color: #ccc;
    cursor: pointer;
    transition: color 0.2s;
    margin: 0 2px;
}

.estrelas .estrela.selected,
.estrelas .estrela.hovered {
    color: #FFD700;
    text-shadow: 0 2px 8px rgba(255, 215, 0, 0.15);
}