/* MarcaAqui — CSS Principal */
/* Paleta: Azul principal + acentos, mobile-first */

/* =====================
   Variáveis
===================== */
:root {
    --primary:       #1a6ef7;
    --primary-dark:  #0d55d4;
    --primary-light: #e8f0fe;
    --primary-50:    #f0f5ff;
    --secondary:     #6c757d;
    --accent:        #00c8a0;
    --accent-light:  #e6faf6;
    --warning:       #f59e0b;
    --danger:        #ef4444;
    --success:       #10b981;
    --dark:          #0f172a;
    --gray-100:      #f8fafc;
    --gray-200:      #f1f5f9;
    --gray-300:      #e2e8f0;
    --gray-500:      #94a3b8;
    --gray-700:      #334155;
    --radius-sm:     6px;
    --radius:        12px;
    --radius-lg:     18px;
    --radius-xl:     24px;
    --shadow-sm:     0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    --shadow:        0 4px 16px rgba(0,0,0,.08);
    --shadow-lg:     0 12px 40px rgba(0,0,0,.12);
    --transition:    0.18s ease;
    --font-main:     'Plus Jakarta Sans', sans-serif;
    --font-body:     'DM Sans', sans-serif;
}

/* =====================
   Reset & Base
===================== */
*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.65;
    color: var(--dark);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5,h6,
.navbar-brand,
.btn {
    font-family: var(--font-main);
}

.fw-600 { font-weight: 600 !important; }
.fw-700 { font-weight: 700 !important; }
.fw-800 { font-weight: 800 !important; }

img { max-width: 100%; height: auto; }
a { transition: color var(--transition); }

/* =====================
   Navbar
===================== */
#mainNav {
    border-bottom: 1px solid var(--gray-200);
    padding: 0.75rem 0;
}

#mainNav .navbar-brand {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--dark) !important;
    letter-spacing: -0.5px;
    text-decoration: none;
}

.logo-mark {
    width: 34px;
    height: 34px;
    background: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}

.logo-mark-white { background: rgba(255,255,255,.15); }

#mainNav .nav-link {
    font-weight: 500;
    color: var(--gray-700);
    font-size: 0.9rem;
    transition: all var(--transition);
}

#mainNav .nav-link:hover,
#mainNav .nav-link.active {
    color: var(--primary);
    background: var(--primary-50);
}

/* Botão ghost icon */
.btn-ghost-icon {
    background: none;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-700);
    padding: 0;
    transition: all var(--transition);
}
.btn-ghost-icon:hover { background: var(--gray-200); color: var(--dark); }

/* Badge de notificações */
.notif-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 8px;
    height: 8px;
    background: var(--danger);
    border-radius: 50%;
    border: 2px solid white;
}

/* Avatar */
.avatar-sm {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.avatar-initials {
    font-size: 10px;
    font-weight: 700;
    color: white;
    line-height: 1;
    font-family: var(--font-main);
}

.avatar-md {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: white;
    font-family: var(--font-main);
    flex-shrink: 0;
}

.avatar-lg {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    color: white;
    font-family: var(--font-main);
    flex-shrink: 0;
}

/* =====================
   Botões
===================== */
.btn {
    font-weight: 600;
    letter-spacing: -0.1px;
    transition: all var(--transition);
    border-width: 1.5px;
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}
.btn-primary:hover, .btn-primary:focus {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(26,110,247,.35);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.btn-accent {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}
.btn-accent:hover {
    background: #00a884;
    border-color: #00a884;
    color: white;
    transform: translateY(-1px);
}

.btn-lg { padding: 0.8rem 2rem; font-size: 1rem; }

/* =====================
   Hero
===================== */
.hero {
    background: linear-gradient(135deg, #0d3b8c 0%, #1a6ef7 50%, #4a9eff 100%);
    min-height: 580px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 5rem 0 4rem;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: white;
    clip-path: ellipse(60% 100% at 50% 100%);
}

.hero-content { position: relative; z-index: 1; }

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: white;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 1.25rem;
}

.hero h1 span {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Search Bar */
.search-bar {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 40px rgba(0,0,0,.2);
    padding: 0.5rem;
    display: flex;
    gap: 0.5rem;
    max-width: 680px;
}

@media (max-width: 767px) {
    .search-bar { flex-direction: column; border-radius: var(--radius-lg); }
    .search-bar .search-divider { display: none; }
}

.search-field {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex: 1;
    padding: 0.6rem 0.75rem;
}

.search-field i { color: var(--primary); font-size: 1.1rem; flex-shrink: 0; }

.search-field input {
    border: none;
    outline: none;
    font-size: 0.95rem;
    font-family: var(--font-body);
    color: var(--dark);
    width: 100%;
    background: transparent;
}

.search-field input::placeholder { color: var(--gray-500); }

.search-divider {
    width: 1px;
    background: var(--gray-300);
    margin: 0.4rem 0;
    flex-shrink: 0;
}

.search-bar .btn-primary {
    border-radius: var(--radius-lg) !important;
    padding: 0.7rem 1.5rem;
    white-space: nowrap;
    font-size: 0.95rem;
}

/* Sugestões de pesquisa rápida */
.search-hints {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.search-hint-tag {
    background: rgba(255,255,255,0.15);
    color: white;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 20px;
    padding: 0.3rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.search-hint-tag:hover {
    background: rgba(255,255,255,0.25);
    color: white;
    border-color: rgba(255,255,255,0.4);
}

/* Estatísticas do hero */
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.hero-stat .num {
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    font-family: var(--font-main);
    line-height: 1;
}

.hero-stat .label {
    font-size: 0.8rem;
    color: rgba(255,255,255,.65);
    margin-top: 2px;
}

/* =====================
   Secções
===================== */
.section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--dark);
}

.section-subtitle {
    color: var(--secondary);
    font-size: 1rem;
    max-width: 520px;
    margin: 0 auto;
}

/* =====================
   Categorias
===================== */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

@media (max-width: 991px) { .category-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) { .category-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .category-grid { grid-template-columns: repeat(2, 1fr); } }

.category-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    background: white;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--dark);
    transition: all var(--transition);
    cursor: pointer;
}

.category-card:hover {
    border-color: var(--primary);
    background: var(--primary-50);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.category-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary);
    flex-shrink: 0;
    transition: all var(--transition);
}

.category-card:hover .category-icon {
    background: var(--primary);
    color: white;
}

.category-name {
    font-weight: 600;
    font-size: 0.87rem;
    line-height: 1.3;
    font-family: var(--font-main);
}

/* =====================
   Cards de Prestadores
===================== */
.provider-card {
    background: white;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    text-decoration: none;
    color: var(--dark);
    display: block;
    height: 100%;
}

.provider-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
    color: var(--dark);
}

.provider-card-img {
    height: 160px;
    background: var(--gray-200);
    position: relative;
    overflow: hidden;
}

.provider-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.provider-card:hover .provider-card-img img { transform: scale(1.05); }

.provider-card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-50));
    font-size: 2.5rem;
    color: var(--primary);
}

.provider-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 5px;
}

.badge-pro {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    font-family: var(--font-main);
    letter-spacing: 0.3px;
}

.badge-business {
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    font-family: var(--font-main);
}

.badge-verified {
    background: var(--accent);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    font-family: var(--font-main);
}

.provider-card-body { padding: 1rem; }

.provider-rating {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    color: var(--gray-700);
}

.provider-rating .rating-num {
    font-weight: 700;
    color: var(--dark);
    font-family: var(--font-main);
}

.provider-price {
    font-size: 0.88rem;
    color: var(--gray-700);
}

.provider-price strong {
    font-size: 1rem;
    color: var(--primary);
    font-family: var(--font-main);
}

/* =====================
   Como Funciona
===================== */
.how-step {
    text-align: center;
    padding: 1.5rem;
}

.how-step-num {
    width: 64px;
    height: 64px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin: 0 auto 1.25rem;
    position: relative;
}

.how-step-num::before {
    content: '';
    position: absolute;
    inset: -6px;
    border: 2px dashed var(--primary-light);
    border-radius: 50%;
}

/* =====================
   Testemunhos
===================== */
.testimonial-card {
    background: white;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    height: 100%;
}

.testimonial-card .quote {
    font-size: 2.5rem;
    line-height: 1;
    color: var(--primary-light);
    font-family: Georgia, serif;
    margin-bottom: 0.5rem;
}

/* =====================
   CTA para Prestadores
===================== */
.cta-provider {
    background: linear-gradient(135deg, var(--dark) 0%, #1e3a6e 100%);
    border-radius: var(--radius-xl);
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.cta-provider::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(26,110,247,.2) 0%, transparent 70%);
    pointer-events: none;
}

/* =====================
   Cards de Preços
===================== */
.pricing-card {
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2rem;
    height: 100%;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(26,110,247,.1);
}

.pricing-card.popular::before {
    content: 'Mais popular';
    position: absolute;
    top: 14px;
    right: -28px;
    background: var(--primary);
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 40px;
    transform: rotate(35deg);
    font-family: var(--font-main);
    letter-spacing: 0.5px;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    font-family: var(--font-main);
    letter-spacing: -1px;
}

.price-period { font-size: 0.9rem; color: var(--secondary); }

.feature-list { list-style: none; padding: 0; margin: 0; }

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.45rem 0;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--gray-100);
}

.feature-list li:last-child { border-bottom: none; }

.feature-list li i.bi-check-lg { color: var(--success); flex-shrink: 0; margin-top: 2px; }
.feature-list li i.bi-x-lg { color: var(--gray-500); flex-shrink: 0; margin-top: 2px; }

/* =====================
   Painel (dashboard)
===================== */
.sidebar {
    background: white;
    border-right: 1.5px solid var(--gray-200);
    min-height: calc(100vh - 70px);
    padding: 1.5rem 0;
    position: sticky;
    top: 70px;
}

.sidebar .nav-link {
    color: var(--gray-700);
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-sm);
    margin: 0 0.5rem 2px;
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    transition: all var(--transition);
}

.sidebar .nav-link:hover { background: var(--gray-100); color: var(--dark); }
.sidebar .nav-link.active { background: var(--primary-light); color: var(--primary); font-weight: 600; }
.sidebar .nav-link i { width: 18px; text-align: center; font-size: 1rem; }

/* Stat Card */
.stat-card {
    background: white;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    height: 100%;
}

.stat-card .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.stat-card .stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--dark);
    font-family: var(--font-main);
    letter-spacing: -0.5px;
    line-height: 1;
}

.stat-card .stat-label {
    font-size: 0.82rem;
    color: var(--secondary);
    margin-top: 3px;
}

.stat-card .stat-change {
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-main);
}

.stat-change.up { color: var(--success); }
.stat-change.down { color: var(--danger); }

/* =====================
   Tabelas
===================== */
.table-clean {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1.5px solid var(--gray-200);
}

.table-clean thead th {
    background: var(--gray-100);
    border: none;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--secondary);
    padding: 0.85rem 1rem;
    font-family: var(--font-main);
}

.table-clean td {
    padding: 0.85rem 1rem;
    border-color: var(--gray-200);
    vertical-align: middle;
    font-size: 0.9rem;
}

.table-clean tr:last-child td { border-bottom: none; }

/* =====================
   Formulários
===================== */
.form-control, .form-select {
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-sm);
    padding: 0.6rem 0.85rem;
    font-size: 0.93rem;
    font-family: var(--font-body);
    transition: all var(--transition);
    color: var(--dark);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,110,247,.12);
    outline: none;
}

.form-control.is-invalid { border-color: var(--danger); }
.form-control.is-valid { border-color: var(--success); }

.form-label {
    font-weight: 600;
    font-size: 0.87rem;
    margin-bottom: 0.4rem;
    color: var(--gray-700);
    font-family: var(--font-main);
}

.input-group-icon {
    position: relative;
}

.input-group-icon i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-500);
    z-index: 1;
    font-size: 1rem;
}

.input-group-icon .form-control { padding-left: 2.5rem; }

/* =====================
   Badges & Tags
===================== */
.badge {
    font-family: var(--font-main);
    font-weight: 600;
    letter-spacing: 0.2px;
    border-radius: 20px;
    padding: 0.3em 0.75em;
}

.tag {
    display: inline-block;
    background: var(--gray-100);
    border: 1px solid var(--gray-300);
    border-radius: 20px;
    padding: 0.25rem 0.75rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--gray-700);
    text-decoration: none;
    transition: all var(--transition);
}

.tag:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
}

/* =====================
   Cards genéricos
===================== */
.card {
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: none;
}

.card-header {
    background: var(--gray-100);
    border-bottom: 1.5px solid var(--gray-200);
    font-weight: 700;
    font-family: var(--font-main);
    padding: 0.9rem 1.25rem;
}

/* =====================
   Rating Stars
===================== */
.stars-input .star-btn {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--gray-300);
    cursor: pointer;
    padding: 0 2px;
    transition: all 0.1s;
    line-height: 1;
}

.stars-input .star-btn.active,
.stars-input .star-btn:hover { color: var(--warning); }

/* =====================
   Alertas
===================== */
.alert {
    border: none;
    border-radius: var(--radius);
    font-size: 0.9rem;
    border-left: 4px solid transparent;
}

.alert-success { background: #f0fdf4; color: #15803d; border-left-color: var(--success); }
.alert-danger   { background: #fef2f2; color: #b91c1c; border-left-color: var(--danger); }
.alert-warning  { background: #fffbeb; color: #92400e; border-left-color: var(--warning); }
.alert-info     { background: #eff6ff; color: #1e40af; border-left-color: var(--primary); }

/* =====================
   Utilitários
===================== */
.bg-primary-light { background: var(--primary-light) !important; }
.text-primary { color: var(--primary) !important; }
.border-primary { border-color: var(--primary) !important; }

.hover-white:hover { color: white !important; }

.shadow-card { box-shadow: var(--shadow) !important; }

.rounded-pill-sm { border-radius: 20px !important; }

/* Secção com fundo gradiente suave */
.bg-gradient-soft {
    background: linear-gradient(180deg, var(--gray-100) 0%, white 100%);
}

/* Separador decorativo */
.section-divider {
    width: 48px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
    margin: 0.75rem auto 0;
}

/* =====================
   Footer
===================== */
.footer { background: var(--dark); }

/* =====================
   Animações
===================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.animate-in {
    animation: fadeInUp 0.5s ease forwards;
}

/* =====================
   Responsivo
===================== */
@media (max-width: 767px) {
    .hero { min-height: auto; padding: 3rem 0 3rem; }
    .hero h1 { font-size: 1.8rem; }
    .hero-stats { gap: 1rem; }
    .search-bar { flex-direction: column; }
}

@media (max-width: 991px) {
    .sidebar {
        position: static;
        min-height: auto;
        border-right: none;
        border-bottom: 1.5px solid var(--gray-200);
    }
}

/* =====================
   Loader / Spinner
===================== */
.spinner-primary {
    width: 2rem;
    height: 2rem;
    border: 3px solid var(--primary-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

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

/* =====================
   Calendário de agendamento
===================== */
.booking-calendar {
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.cal-header {
    background: var(--primary);
    color: white;
    padding: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-main);
    font-weight: 600;
}

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: var(--gray-200);
}

.cal-day {
    background: white;
    text-align: center;
    padding: 0.5rem 0.25rem;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all var(--transition);
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cal-day:hover:not(.disabled):not(.header) { background: var(--primary-light); color: var(--primary); }
.cal-day.header { font-weight: 700; color: var(--secondary); background: var(--gray-100); cursor: default; font-size: 0.75rem; }
.cal-day.today { font-weight: 700; color: var(--primary); }
.cal-day.selected { background: var(--primary); color: white !important; }
.cal-day.disabled { color: var(--gray-300); cursor: not-allowed; }
.cal-day.other-month { color: var(--gray-300); }

/* Time slots */
.time-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

@media (max-width: 400px) { .time-slots { grid-template-columns: repeat(2, 1fr); } }

.time-slot {
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 0.5rem;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font-main);
    color: var(--dark);
    background: white;
}

.time-slot:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-50); }
.time-slot.selected { background: var(--primary); color: white; border-color: var(--primary); }
.time-slot.occupied { background: var(--gray-100); color: var(--gray-300); cursor: not-allowed; border-color: var(--gray-200); }

/* =====================
   Página de erro
===================== */
.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.error-code {
    font-size: 6rem;
    font-weight: 800;
    color: var(--primary-light);
    font-family: var(--font-main);
    line-height: 1;
}

/* =====================
   Fase 3 — Pesquisa & Perfil
===================== */

/* Barra de pesquisa na página de resultados */
.page-search .search-bar { max-width: 100%; }
.page-search .search-bar .btn-white { background: white; color: var(--primary); border: none; }
.page-search .search-bar .btn-white:hover { background: var(--primary-50); }

/* Service item hover */
.service-item:hover {
    border-color: var(--primary) !important;
    background: var(--primary-50) !important;
}

/* Provider hero */
.provider-hero { position: relative; }
.text-white-75 { color: rgba(255,255,255,.75); }

/* Leaflet custom */
.leaflet-container { font-family: var(--font-body); }
.leaflet-popup-content-wrapper { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.leaflet-popup-content { font-size: .88rem; }
