/* GoRDV - Design moderne */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* Palette GoRDV : Noir #111111 | Orange #FF7A00 | Blanc #FFFFFF */
:root {
    --bs-primary: #FF7A00;
    --bs-primary-rgb: 255, 122, 0;
    --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
    --primary: #FF7A00;
    --primary-hover: #e66d00;
    --primary-light: #fff4eb;
    --accent: #FF7A00;
    --accent-hover: #e66d00;
    --surface: #FFFFFF;
    --surface-alt: #f9f9f9;
    --text: #111111;
    --text-muted: #666666;
    --border: #e5e5e5;
    --radius: 12px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    --transition: 0.2s ease;
}

* {
    font-family: var(--font-sans);
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--surface-alt);
    color: var(--text);
    font-size: 1rem;
    line-height: 1.6;
}

main {
    flex: 1;
}

/* Container plus large pour les écrans grands */
.container {
    max-width: 1200px;
}

/* ========== NAVBAR ========== */
.navbar {
    background: var(--surface) !important;
    box-shadow: var(--shadow-sm);
    padding: 0.75rem 0;
}

.navbar-dark .navbar-brand,
.navbar-dark .nav-link {
    color: var(--text) !important;
}

.navbar-dark .navbar-brand {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.navbar-dark .navbar-brand:hover {
    color: var(--primary) !important;
}

.navbar-dark .nav-link {
    font-weight: 500;
    color: var(--text-muted) !important;
    padding: 0.5rem 0.75rem !important;
    border-radius: var(--radius);
    transition: color var(--transition), background var(--transition);
}

.navbar-dark .nav-link:hover {
    color: var(--primary) !important;
    background: var(--primary-light);
}

.navbar-dark .dropdown-toggle::after {
    margin-left: 0.35em;
}

.navbar-dark .dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius);
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.navbar-dark .dropdown-item {
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
}

.navbar-dark .dropdown-item:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.navbar-toggler {
    border: 1px solid var(--border);
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Icône hamburger visible sur fond clair (navbar-dark + surface blanche) */
.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23111111' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Bouton S'inscrire dans la navbar */
.navbar .btn-light {
    background: var(--primary) !important;
    color: white !important;
    border: none !important;
    font-weight: 600;
    padding: 0.5rem 1.25rem !important;
    border-radius: var(--radius);
    transition: background var(--transition);
}

.navbar .btn-light:hover {
    background: var(--primary-hover) !important;
    color: white !important;
}

/* ========== HERO FRESHA - Recherche centrée, fond épuré ========== */
.hero-fresha {
    background: linear-gradient(180deg, #fff8f0 0%, #ffffff 100%);
    padding: 4rem 1.5rem 5rem;
    position: relative;
}

.hero-fresha::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    opacity: 0.5;
}

.hero-content {
    max-width: 720px;
    margin: 0 auto;
}

.hero-title {
    font-weight: 600;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    letter-spacing: -0.04em;
    line-height: 1.15;
    color: var(--text);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

/* Barre de recherche hero - style Fresha */
.hero-search {
    margin-bottom: 1.5rem;
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 999px;
    padding: 0.5rem 0.5rem 0.5rem 1.25rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.search-box:focus-within {
    border-color: var(--primary);
    box-shadow: 0 4px 24px rgba(255, 122, 0, 0.2);
}

.search-icon {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-right: 0.75rem;
}

.search-input {
    flex: 1;
    min-width: 0;
    border: none !important;
    background: transparent !important;
    font-size: 1rem;
    padding: 0.5rem 0 !important;
}

.search-input:focus {
    outline: none !important;
    box-shadow: none !important;
}

.search-select {
    border: none;
    background: transparent;
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-left: 1px solid var(--border);
}

.search-btn {
    background: var(--primary);
    color: white !important;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 999px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: background var(--transition);
}

.search-btn:hover {
    background: var(--primary-hover);
    color: white !important;
}

.hero-stats {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-stats .stat-value {
    font-weight: 600;
    color: var(--primary);
}

.hero-stats .stat-sep {
    margin: 0 0.5rem;
    opacity: 0.5;
}

/* Quick links */
.quick-links {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.quick-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.4rem 0.9rem;
    background: var(--surface-alt);
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    transition: all var(--transition);
}

.quick-link:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.quick-link-more {
    color: var(--primary);
}

/* ========== SECTIONS ========== */
.section-heading {
    font-weight: 600;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    color: var(--text);
}

/* Catégories grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--text);
    transition: all var(--transition);
}

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

.category-icon {
    font-size: 2rem;
    color: var(--primary);
}

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

.category-name {
    font-weight: 500;
    font-size: 0.9rem;
    text-align: center;
}

/* Professionnels grid - cartes style Fresha (4 par ligne sur grand écran) */
.pros-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

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

.pro-card-link {
    text-decoration: none;
    color: inherit;
}

.pro-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all var(--transition);
    height: 100%;
}

.pro-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.pro-card-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.pro-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pro-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pro-card-placeholder i {
    font-size: 3rem;
    color: rgba(255,255,255,0.8);
}

.pro-rating {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 500;
}

.pro-rating i {
    color: var(--accent);
}

.pro-card-body {
    padding: 1.25rem;
}

.pro-name {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--text);
}

.pro-location {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

.pro-location i {
    font-size: 0.8rem;
}

/* Mise en avant professionnels */
.pro-card-image .pro-badge-featured {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 1;
}
.pro-badge-featured {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    font-size: 0.7rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.pro-card-featured {
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
}
.pro-card-featured:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.section-featured {
    background: linear-gradient(180deg, #fffbeb 0%, var(--surface) 100%);
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

/* Témoignages */
.section-testimonials {
    background: var(--surface-alt);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--surface);
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.testimonial-stars {
    color: var(--accent);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.testimonial-stars i {
    margin-right: 0.1rem;
}

.testimonial-text {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 1.25rem;
}

.testimonial-author strong {
    display: block;
    color: var(--text);
    font-weight: 600;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* CTA Business */
.section-cta {
    background: var(--surface);
}

.cta-business {
    background: linear-gradient(135deg, var(--primary-light) 0%, #fff8f0 100%);
    border-radius: var(--radius-lg);
    padding: 3rem;
    border: 1px solid rgba(255, 122, 0, 0.2);
}

.cta-title {
    font-weight: 600;
    font-size: 1.75rem;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: 1rem;
}

.cta-text {
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.cta-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.cta-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text);
    font-weight: 400;
}

.cta-features li i {
    color: var(--primary);
    font-size: 1rem;
}

.cta-visual {
    font-size: 8rem;
    color: var(--primary);
    opacity: 0.3;
}

/* Page d'accueil : boutons un peu moins gras (surcharge .btn global) */
.home-page .btn {
    font-weight: 500;
}

/* Legacy hero (pour pages qui l'utilisent encore) */
.hero {
    background: linear-gradient(135deg, #111111 0%, #333333 50%, #555555 100%);
    color: white;
    border-radius: var(--radius-lg);
    padding: 4rem 3rem;
}

.hero .btn-light {
    background: white !important;
    color: var(--primary) !important;
}

/* ========== CARDS ========== */
.card {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-lg);
}

.pro-card {
    background: var(--surface);
}

.pro-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.12);
}

.pro-card .card-img-top {
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
}

.pro-card .card-body {
    padding: 1.25rem;
}

.pro-card .card-title {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text);
}

.pro-card .card-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--border);
}

/* Cartes catégories */
.pro-card.text-center .card-body {
    padding: 1.5rem 1rem;
}

.pro-card.text-center .bi {
    color: var(--primary);
    transition: color var(--transition), transform var(--transition);
}

.pro-card.text-center:hover .bi {
    color: var(--primary-hover);
    transform: scale(1.1);
}

/* Badge note */
.rating-badge {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: white;
    padding: 0.35rem 0.65rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ========== SECTIONS ========== */
.section-title {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 1.5rem;
}

/* Barre de recherche / formulaire */
.search-card,
.form-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: none;
}

.search-card .card-body,
.form-card .card-body {
    padding: 1.5rem;
}

/* Formulaires */
.form-control, .form-select {
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 0.6rem 0.875rem;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.2);
}

.form-label {
    font-weight: 500;
    color: var(--text);
}

/* Boutons */
.btn {
    font-weight: 600;
    border-radius: var(--radius);
    font-size: 0.9rem;
    padding: 0.42rem 1rem;
    transition: all var(--transition);
}

.btn-sm {
    font-size: 0.8rem;
    padding: 0.32rem 0.75rem;
    border-radius: calc(var(--radius) - 2px);
}

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

.btn-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-1px);
}

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

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

/* CTA Professionnels */
.cta-card {
    background: linear-gradient(135deg, var(--surface) 0%, var(--surface-alt) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

/* ========== FOOTER ========== */
footer {
    background: var(--text) !important;
    color: #999999 !important;
    padding: 4rem 0 2rem !important;
    margin-top: 4rem !important;
}

footer h5, footer h6 {
    color: white !important;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

footer a {
    color: #999999 !important;
    text-decoration: none !important;
    transition: color var(--transition);
}

footer a:hover {
    color: white !important;
}

footer .text-secondary {
    color: #999999 !important;
}

footer hr {
    border-color: #333333;
    margin: 2rem 0;
}

/* ========== ALERTES ========== */
.alert {
    border-radius: var(--radius);
    border: none;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
}

.alert-danger {
    background: #fee2e2;
    color: #991b1b;
}

.alert-info {
    background: #fff4eb;
    color: #0369a1;
}

/* ========== PAGE LOGIN / REGISTER ========== */
.auth-page {
    min-height: calc(100vh - 180px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0 3rem;
}

.auth-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.04);
    border: none;
    overflow: hidden;
}

.auth-card .card-body {
    padding: 2.5rem 2rem;
}

@media (min-width: 576px) {
    .auth-card .card-body {
        padding: 3rem 2.5rem;
    }
}

.auth-card .auth-title {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: 0.35rem;
}

.auth-card .auth-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.75rem;
}

.auth-card .form-floating .form-control,
.auth-card .form-control {
    height: calc(3rem + 2px);
    padding: 1rem 1rem 0.5rem;
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    font-size: 1rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.auth-card .form-floating label {
    padding: 1rem 1rem 0.5rem;
    color: var(--text-muted);
}

.auth-card .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.15);
}

.auth-card .form-control::placeholder {
    color: var(--text-muted);
    opacity: 0.8;
}

.auth-card .input-group-text {
    background: var(--surface-alt);
    border: 1.5px solid var(--border);
    border-right: none;
    border-radius: var(--radius) 0 0 var(--radius);
    color: var(--text-muted);
}

.auth-card .input-group .form-control {
    border-left: none;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.auth-card .input-group:focus-within .input-group-text,
.auth-card .input-group:focus-within .form-control {
    border-color: var(--primary);
}

.auth-card .input-group:focus-within .input-group-text {
    color: var(--primary);
}

.auth-card .btn-submit {
    height: 3rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius);
    padding: 0.75rem 1.5rem;
    transition: all var(--transition);
}

.auth-card .auth-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    margin: 1.75rem 0;
}

.auth-card .auth-links {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.auth-card .auth-links a {
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
}

.auth-card .auth-links a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* ========== FORMULAIRES MODERNES (PROFIL, DASHBOARD, ETC.) ========== */
.form-modern .card {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.form-modern .card-body {
    padding: 1.75rem 1.5rem;
}

@media (min-width: 768px) {
    .form-modern .card-body {
        padding: 2rem 2rem;
    }
}

.form-modern .card-title-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.form-modern .card-title-section .bi {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius);
    font-size: 1.1rem;
}

.form-modern .form-label {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text);
    margin-bottom: 0.4rem;
}

.form-modern .form-control,
.form-modern .form-select {
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    padding: 0.65rem 1rem;
    font-size: 0.95rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-modern .form-control:focus,
.form-modern .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.15);
}

.form-modern textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

.form-modern .form-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.35rem;
}

.form-modern .form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

.form-modern .form-actions .btn {
    min-height: 2.75rem;
    padding: 0.5rem 1.25rem;
    font-weight: 600;
}

.form-modern .form-section-divider {
    margin: 2rem 0;
}

.form-modern .file-upload-wrap {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    text-align: center;
    background: var(--surface-alt);
    transition: border-color var(--transition), background var(--transition);
}

.form-modern .file-upload-wrap:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.form-modern .file-upload-wrap input[type="file"] {
    font-size: 0.9rem;
}

.form-modern .input-group-text {
    background: var(--surface-alt);
    border: 1.5px solid var(--border);
    border-right: none;
    border-radius: var(--radius) 0 0 var(--radius);
    color: var(--text-muted);
}

.form-modern .input-group .form-control {
    border-left: none;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.form-modern .input-group:focus-within .input-group-text,
.form-modern .input-group:focus-within .form-control {
    border-color: var(--primary);
}

.form-modern .input-group:focus-within .input-group-text {
    color: var(--primary);
}

/* ========== PAGE PROFESSIONNEL ========== */
.list-group-item {
    border-radius: var(--radius) !important;
    margin-bottom: 0.5rem;
    border: 1px solid var(--border) !important;
}

.table {
    --bs-table-bg: transparent;
}

.table thead th {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border);
}

/* ========== DASHBOARD ========== */
.dashboard-body {
    background: var(--surface-alt);
}

.dashboard-navbar {
    background: var(--surface) !important;
    box-shadow: var(--shadow-sm);
}

.dashboard-wrapper {
    display: flex;
    min-height: calc(100vh - 56px);
}

.dashboard-sidebar {
    width: 260px;
    min-width: 260px;
    background: var(--surface);
    border-right: 1px solid var(--border);
    padding: 1.5rem 0;
    position: sticky;
    top: 56px;
    height: calc(100vh - 56px);
    overflow-y: auto;
}

.sidebar-header {
    padding: 0 1.25rem 1rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 1rem;
}

.sidebar-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin: 0;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1.25rem;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all var(--transition);
}

.sidebar-link:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.sidebar-link.active {
    background: var(--primary-light);
    color: var(--primary);
    border-right: 3px solid var(--primary);
}

.sidebar-link i {
    font-size: 1.1rem;
    width: 1.25rem;
    text-align: center;
}

.dashboard-main {
    flex: 1;
    min-width: 0;
}

.dashboard-content {
    padding: 2rem;
    max-width: 1400px;
}

/* Page header dashboard */
.dashboard-page-header {
    margin-bottom: 2rem;
}

.dashboard-page-header h1 {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.dashboard-page-header .subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Stat cards dashboard */
.stat-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.stat-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

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

.stat-card-icon.primary { background: var(--primary-light); color: var(--primary); }
.stat-card-icon.success { background: #d1fae5; color: #059669; }
.stat-card-icon.warning { background: #fef3c7; color: #d97706; }
.stat-card-icon.info { background: #e0f2fe; color: #0284c7; }

.stat-card-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.25rem;
}

.stat-card-value {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text);
}

/* Dashboard cards */
.dashboard-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.dashboard-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    background: var(--surface-alt);
}

.dashboard-card-header h3 {
    font-weight: 600;
    font-size: 1rem;
    margin: 0;
    color: var(--text);
}

.dashboard-card-body {
    padding: 1.5rem;
}

/* Description des offres de souscription : bonne lisibilité */
.offer-description {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--text-muted, #6c757d);
    max-width: 100%;
    word-wrap: break-word;
}

/* Dashboard tables */
.dashboard-card .table {
    margin: 0;
}

.dashboard-card .table th {
    padding: 1rem 1.5rem;
}

.dashboard-card .table td {
    padding: 1rem 1.5rem;
    vertical-align: middle;
}

.dashboard-card .table tbody tr {
    transition: background var(--transition);
}

.dashboard-card .table tbody tr:hover {
    background: var(--surface-alt);
}

/* Quick actions list */
.quick-actions-list .list-group-item {
    border: none;
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.quick-actions-list .list-group-item:last-child {
    border-bottom: none;
}

.quick-actions-list .list-group-item i {
    font-size: 1.1rem;
    color: var(--primary);
}

.quick-actions-list .list-group-item:hover {
    background: var(--primary-light);
}

/* Dashboard empty state */
.dashboard-empty {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-muted);
}

.dashboard-empty i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Dashboard mobile */
@media (max-width: 991px) {
    .dashboard-sidebar {
        position: fixed;
        left: -260px;
        top: 56px;
        z-index: 1000;
        transition: left 0.3s ease;
        box-shadow: 4px 0 20px rgba(0,0,0,0.1);
    }
    
    .dashboard-sidebar.show {
        left: 0;
    }
    
    .dashboard-sidebar-overlay {
        display: none;
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.3);
        z-index: 999;
    }
    
    .dashboard-sidebar-overlay.show {
        display: block;
    }
    
    .dashboard-content {
        padding: 1.5rem 1rem;
    }
}

@media (min-width: 992px) {
    .dashboard-sidebar-overlay {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .stat-cards {
        grid-template-columns: 1fr;
    }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .hero-fresha {
        padding: 3rem 1rem 4rem;
    }
    
    .hero-search .search-box {
        flex-direction: column;
        align-items: stretch;
        flex-wrap: nowrap;
        border-radius: var(--radius-lg);
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .hero-search .search-input {
        order: 1;
        width: 100%;
        min-width: 0;
        margin-bottom: 0;
        padding: 0.75rem 1rem !important;
        border: 1px solid var(--border) !important;
        border-radius: var(--radius);
        background: var(--surface-alt) !important;
    }
    
    .hero-search .search-icon {
        display: none;
    }
    
    .hero-search .search-select {
        order: 2;
        width: 100%;
        flex: none;
        min-width: 0;
        border-left: none;
        border-top: 1px solid var(--border);
        margin: 0;
        padding: 0.75rem 1rem;
        border-radius: var(--radius);
        background: var(--surface-alt);
    }
    
    .hero-search .search-btn {
        order: 3;
        width: 100%;
        flex: none;
        min-width: 0;
        margin-top: 0;
        padding: 0.75rem 1.25rem;
        border-radius: var(--radius);
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pros-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-business {
        padding: 2rem;
    }
    
    .cta-visual {
        font-size: 4rem;
    }
    
    .hero {
        padding: 2.5rem 1.5rem;
    }
    
    main.container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* ========== PAGE PROFIL CLIENT ========== */
.profile-header {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--surface) 100%);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border);
}
.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    flex-shrink: 0;
}
.profile-info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}
.profile-info-item:last-child {
    border-bottom: none;
}
.profile-info-item .bi {
    width: 1.25rem;
    color: var(--primary);
    font-size: 1.1rem;
}
.profile-info-label {
    color: var(--text-muted);
    min-width: 100px;
}
.profile-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: none;
    overflow: hidden;
}
.profile-card .card-header {
    background: transparent;
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.25rem;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.profile-card .card-header .bi {
    color: var(--primary);
}
.profile-card .card-body {
    padding: 1.25rem;
}

/* ========== PAGE MES RENDEZ-VOUS ========== */
.bookings-page-title {
    font-weight: 700;
    font-size: 1.75rem;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 0.25rem;
}
.bookings-page-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}
.bookings-empty {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px dashed var(--border);
}
.bookings-empty .bi {
    font-size: 4rem;
    color: var(--border);
    margin-bottom: 1rem;
}
.bookings-empty p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}
.booking-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    transition: box-shadow var(--transition), border-color var(--transition);
}
.booking-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 122, 0, 0.2);
}
.booking-date-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.1;
    flex-shrink: 0;
}
.booking-date-badge span {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    opacity: 0.9;
}
.booking-card .booking-status {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
}
.booking-actions .btn {
    font-size: 0.85rem;
}

@media (max-width: 767px) {
    .profile-header {
        padding: 1.5rem;
    }
    .profile-avatar {
        width: 64px;
        height: 64px;
        font-size: 1.5rem;
    }
    .booking-card {
        padding: 1rem;
    }
    .booking-card .d-flex.flex-md-row {
        align-items: flex-start;
    }
    .booking-actions {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

/* ========== PAGE PROFIL PROFESSIONNEL ========== */
.pro-profile-hero {
    position: relative;
    min-height: 280px;
    background-size: cover;
    background-position: center;
    background-color: var(--primary);
    display: flex;
    align-items: flex-end;
    padding-bottom: 2rem;
    margin-bottom: -2rem;
}

.pro-profile-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(17, 17, 17, 0.85) 0%, rgba(17, 17, 17, 0.4) 50%, transparent 100%);
    pointer-events: none;
}

.pro-profile-hero .container {
    position: relative;
    z-index: 1;
}

.pro-profile-hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    color: #fff;
}

.pro-profile-logo-wrap {
    background: var(--surface);
    padding: 0.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin-bottom: 0.5rem;
}

.pro-profile-logo {
    display: block;
    height: 72px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}

.pro-profile-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.02em;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.pro-profile-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    font-size: 1rem;
}

.pro-profile-rating i {
    color: #ffc107;
}

.pro-profile-rating .text-opacity {
    opacity: 0.9;
    font-weight: 500;
    font-size: 0.9rem;
}

.pro-profile-location,
.pro-profile-phone {
    font-size: 0.95rem;
    opacity: 0.95;
    margin: 0;
}

.pro-profile-location i,
.pro-profile-phone i {
    margin-right: 0.35rem;
}

.pro-profile-phone a {
    color: #fff;
    text-decoration: none;
}

.pro-profile-phone a:hover {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 767px) {
    .pro-profile-hero {
        min-height: 220px;
        padding-bottom: 1.5rem;
        margin-bottom: -1.5rem;
    }
    .pro-profile-logo {
        height: 56px;
        max-width: 120px;
    }
    .pro-profile-title {
        font-size: 1.4rem;
    }
}

/* ========== BANNIÈRE COOKIES ========== */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: var(--surface);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border);
}

.cookie-consent-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-consent-text {
    flex: 1;
    min-width: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.cookie-consent-link {
    color: var(--primary);
    font-weight: 500;
    text-decoration: underline;
    white-space: nowrap;
}

.cookie-consent-link:hover {
    color: var(--primary-hover);
}

.cookie-consent-btn {
    flex-shrink: 0;
}

@media (max-width: 576px) {
    .cookie-consent-banner {
        padding: 1rem;
    }
    .cookie-consent-inner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .cookie-consent-btn {
        width: 100%;
    }
}

/* Styles page tarification : assets/css/pricing-page.css (chargé depuis pages/pricing.php) */
