/* ===================================
   Bailatica - Profile View (pv- prefix)
   Editorial / Magazine aesthetic
   =================================== */

/* ========== Page Layout ========== */
.pv-page {
    max-width: 1400px;
    margin: 0 auto;
    /* Respiration sous l'en-tête, autour du fil d'Ariane */
    padding: 2rem 1.5rem 3rem;
}

.pv-page .breadcrumb-container {
    margin-bottom: 1.75rem;
}

/* ========== Hero Section ========== */
.pv-hero {
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
    padding: 2rem 2.5rem;
    background: white;
    border-radius: 24px;
    box-shadow: 0 4px 24px rgba(91, 23, 54, 0.06);
    margin-bottom: 2rem;
    animation: pvFadeUp 0.5s ease both;
}

.pv-hero-photo {
    position: relative;
    flex-shrink: 0;
}

.pv-hero-img {
    width: 200px;
    height: 200px;
    border-radius: 24px;
    object-fit: cover;
    display: block;
    box-shadow: 0 8px 30px rgba(216, 27, 106, 0.18);
}

.pv-hero-placeholder {
    width: 200px;
    height: 200px;
    border-radius: 24px;
    background: linear-gradient(135deg, #F8EEF1 0%, #e8e8e8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pv-hero-placeholder i {
    font-size: 5rem;
    color: #7A5F6E;
}

.pv-online-dot {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 18px;
    height: 18px;
    background: #1E7A4C;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.4);
    animation: pvPulse 2s ease-in-out infinite;
}

.pv-hero-info {
    flex: 1;
    min-width: 0;
    padding-top: 0.25rem;
}

/* Name & Teacher Badge */
.pv-name {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 0.4rem;
    line-height: 1.2;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.pv-teacher-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--gradient-primary);
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

.pv-teacher-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(216, 27, 106, 0.35);
    color: white;
}

.pv-teacher-badge i {
    font-size: 0.8rem;
}

/* Location */
.pv-location {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0 0 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.pv-location i {
    color: var(--primary-pink);
    font-size: 0.85rem;
}

/* Stats Row */
.pv-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.pv-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.6rem 1rem;
    background: var(--bg-light);
    border-radius: 14px;
    min-width: 70px;
    border: none;
    transition: background 0.2s;
}

.pv-stat-clickable {
    cursor: pointer;
}

.pv-stat-clickable:hover {
    background: #f0e8f0;
}

.pv-stat-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

.pv-stat-label {
    font-size: 0.68rem;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.15rem;
}

/* Action Buttons */
.pv-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
}

.pv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.pv-btn:hover {
    transform: translateY(-2px);
}

.pv-btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(216, 27, 106, 0.3);
}

.pv-btn-primary:hover {
    box-shadow: 0 6px 20px rgba(216, 27, 106, 0.45);
    color: white;
}

.pv-btn-outline {
    background: white;
    color: var(--primary-pink);
    border: 2px solid var(--primary-pink);
}

.pv-btn-outline:hover {
    background: rgba(216, 27, 106, 0.06);
    color: var(--primary-pink);
}

.pv-btn-instagram {
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 50%;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
    font-size: 1.1rem;
}

.pv-btn-instagram:hover {
    box-shadow: 0 4px 15px rgba(225, 48, 108, 0.4);
    color: white;
}

/* ========== Content Rows ========== */
.pv-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pv-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

.pv-row-full {
    display: block;
}

/* ========== Cards ========== */
.pv-card {
    background: white;
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: 0 2px 16px rgba(91, 23, 54, 0.05);
    animation: pvFadeUp 0.5s ease both;
}

.pv-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pv-card-title i {
    color: var(--primary-pink);
    font-size: 1rem;
}

/* ========== Bio ========== */
.pv-card-bio {
    border-left: 4px solid var(--primary-pink);
}

.pv-bio-text {
    color: var(--text-dark);
    line-height: 1.75;
    margin: 0;
    white-space: pre-line;
    font-size: 0.95rem;
}

/* ========== Dances ========== */
.pv-dances {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pv-dance-tag {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 1rem;
    background: #FFF8F5;
    border-radius: 12px;
    border: 1px solid #F8EEF1;
    transition: border-color 0.2s, background 0.2s;
}

.pv-dance-tag:hover {
    border-color: rgba(216, 27, 106, 0.2);
    background: #F8EEF1;
}

.pv-dance-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.pv-dance-level {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--on-primary-soft);
    background: rgba(216, 27, 106, 0.08);
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
}

/* ========== Photo Grid ========== */
.pv-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.pv-photo-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 14px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.pv-photo-item:hover {
    transform: scale(1.04);
}

.pv-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.pv-photo-item:hover img {
    transform: scale(1.08);
}

.pv-photo-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: var(--gradient-primary);
    color: white;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    box-shadow: 0 2px 8px rgba(216, 27, 106, 0.4);
}

/* ========== Teacher Rate ========== */
.pv-card-rate {
    background: var(--gradient-primary);
    text-align: center;
    padding: 2rem;
}

.pv-rate-display {
    color: white;
}

.pv-rate-amount {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.pv-rate-label {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-top: 0.3rem;
    font-weight: 600;
}

/* ========== Teacher Dances ========== */
.pv-teacher-dances {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pv-teacher-dance-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.55rem 1rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pv-teacher-dance-level {
    font-size: 0.72rem;
    opacity: 0.85;
}

/* ========== Teaching Location ========== */
.pv-teaching-location {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: #F8EEF1;
    border-radius: 14px;
    border: 1px solid rgba(216, 27, 106, 0.15);
    font-weight: 600;
    color: var(--text-dark);
}

.pv-teaching-location i {
    color: var(--primary-pink);
    font-size: 1.1rem;
}

/* ========== Availability ========== */
.pv-availability-text {
    color: var(--text-dark);
    line-height: 1.8;
    margin: 0;
    font-size: 0.92rem;
}

.pv-availability-grid {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.pv-avail-day {
    padding: 0.85rem 1rem;
    background: #FFF8F5;
    border-radius: 12px;
    border: 1px solid #F8EEF1;
}

.pv-avail-day--active {
    background: #F8EEF1;
    border-color: rgba(216, 27, 106, 0.15);
}

.pv-avail-day-name {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pv-avail-day--active .pv-avail-day-name i {
    color: #1E7A4C;
}

.pv-avail-day:not(.pv-avail-day--active) .pv-avail-day-name i {
    color: var(--text-light);
    opacity: 0.5;
}

.pv-avail-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.6rem;
}

.pv-avail-slot {
    background: white;
    color: var(--primary-pink);
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border: 1px solid rgba(216, 27, 106, 0.12);
}

/* ========== Mobility Map ========== */
.pv-mobility-hint {
    color: var(--text-light);
    font-size: 0.85rem;
    margin: 0 0 1rem;
}

.pv-map {
    width: 100%;
    height: 350px;
    border-radius: 16px;
    overflow: hidden;
}

/* ========== Places ========== */
.pv-places {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pv-place {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.7rem 1rem;
    background: #FFF8F5;
    border-radius: 12px;
    border: 1px solid #F8EEF1;
    transition: border-color 0.2s;
}

.pv-place:hover {
    border-color: rgba(216, 27, 106, 0.2);
}

.pv-place > i {
    color: var(--primary-pink);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.pv-place-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.88rem;
    display: block;
}

.pv-place-address {
    color: var(--text-light);
    font-size: 0.8rem;
    display: block;
    margin-top: 0.15rem;
}

/* ========== Empty States ========== */
.pv-empty {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--text-light);
}

.pv-empty i {
    font-size: 2.2rem;
    color: var(--light-pink);
    display: block;
    margin-bottom: 0.5rem;
}

.pv-empty p {
    font-size: 0.88rem;
    margin: 0;
}

/* ========== Secondary Actions (Block/Report) ========== */
.pv-secondary-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 0.5rem 0;
}

.pv-action-link {
    background: none;
    border: none;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.pv-action-link:hover {
    opacity: 0.7;
}

.pv-action-block { color: #C42B3B; }
.pv-action-unblock { color: #1E7A4C; }
.pv-action-report { color: #7A4A00; }

/* ========== Admin Section ========== */
.pv-card-admin {
    border: 2px solid #fee2e2;
    background: #fffbfb;
}

.pv-admin-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.pv-admin-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    width: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}

.pv-admin-btn:hover {
    transform: translateY(-1px);
}

.pv-admin-warn {
    background: #ffc107;
    color: #000;
}

.pv-admin-warn:hover {
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
}

.pv-admin-danger {
    background: #C42B3B;
    color: white;
}

.pv-admin-danger:hover {
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

/* ========== Similar Profiles ========== */
/* Bandeau pleine largeur : fond sur toute la largeur, contenu aligné sur la fiche */
.pv-similar-band {
    background: var(--sunken);
    padding: 2.5rem 0 3rem;
    margin-top: 1rem;
}

.pv-similar {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    animation: pvFadeUp 0.6s ease both;
    animation-delay: 0.5s;
}

.pv-similar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.pv-similar-head .pv-similar-title {
    margin: 0;
}

.pv-similar-foot {
    display: none;
    justify-content: center;
    margin-top: 1.5rem;
}

@media (max-width: 767px) {
    .pv-similar-band { padding: 2rem 0 2.5rem; }
    .pv-similar { padding: 0 0.75rem; }
    .pv-similar-more { display: none; }
    .pv-similar-foot { display: flex; }
}

.pv-similar-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pv-similar-title i {
    color: var(--primary-pink);
}

/* ========== Lightbox ========== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 12px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    color: var(--text-dark);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1;
}

.lightbox-close:hover {
    background: var(--primary-pink);
    color: white;
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    color: var(--text-dark);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-nav:hover {
    background: var(--primary-pink);
    color: white;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ========== Modal ========== */
.modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-header {
    border-bottom: 1px solid #EADFE3;
    padding: 1.5rem 2rem;
}

.modal-title {
    font-weight: 700;
    color: var(--text-dark);
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    border-top: 1px solid #EADFE3;
    padding: 1.5rem 2rem;
}

/* Followers Modal Items */
.participant-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease;
    margin-bottom: 0.5rem;
}

.participant-item:hover {
    background: #F8EEF1;
}

.participant-item img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

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

.participant-name {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.participant-details {
    color: var(--text-light);
    font-size: 0.85rem;
}

.pagination-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #EADFE3;
}

.btn-pagination {
    background: white;
    border: 2px solid #EADFE3;
    border-radius: 10px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-pagination:hover:not(:disabled) {
    border-color: var(--primary-pink);
    background: var(--gradient-primary);
    color: white;
}

.btn-pagination:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-info {
    font-weight: 600;
    color: var(--text-dark);
}

/* ========== Animations ========== */
@keyframes pvFadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pvPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4); }
    50% { box-shadow: 0 0 0 6px rgba(76, 175, 80, 0); }
}

/* ========== Responsive ========== */
@media (max-width: 991px) {
    .pv-hero {
        padding: 1.75rem;
        gap: 1.75rem;
    }

    .pv-hero-img,
    .pv-hero-placeholder {
        width: 160px;
        height: 160px;
    }

    .pv-name {
        font-size: 1.6rem;
    }

    .pv-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .pv-page {
        padding: 1.25rem 0.75rem 2rem;
    }

    .pv-hero {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem;
        gap: 1.25rem;
    }

    .pv-hero-img,
    .pv-hero-placeholder {
        width: 140px;
        height: 140px;
        border-radius: 20px;
    }

    .pv-name {
        font-size: 1.5rem;
        justify-content: center;
    }

    .pv-location {
        justify-content: center;
    }

    .pv-stats {
        justify-content: center;
    }

    .pv-actions {
        justify-content: center;
    }

    .pv-card {
        padding: 1.25rem;
        border-radius: 16px;
    }

    .pv-photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pv-secondary-actions {
        gap: 1rem;
    }

    .pv-map {
        height: 280px;
    }
}

/* ========== Styles shared with other profile pages ========== */

.profile-container {
    max-width: 1200px;
    margin: 1rem auto;
    padding: 0 1rem;
}

.profile-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #EADFE3;
}

.profile-tab {
    padding: 1rem 2rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.profile-tab:hover { color: var(--primary-pink); }
.profile-tab.active { color: var(--primary-pink); border-bottom-color: var(--primary-pink); }

/* Mobile : les onglets défilent dans leur barre au lieu d'élargir la page. */
@media (max-width: 767px) {
    .profile-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .profile-tabs::-webkit-scrollbar { display: none; }
    .profile-tab {
        padding: .75rem 1rem;
        white-space: nowrap;
        flex-shrink: 0;
        font-size: .95rem;
    }
}

.profile-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(91, 23, 54, 0.05);
    margin-bottom: 1.5rem;
}

.profile-card.border-danger { border: 2px solid #C42B3B; }

.profile-card h3, .profile-card h4 {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-card h3 i, .profile-card h4 i {
    color: var(--primary-pink);
    font-size: 0.9rem;
}

.photo-warning {
    background: #FFF0D1;
    color: #7A4A00;
    border: 0;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 2rem;
    font-size: 0.85rem;
    color: #7A4A00;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.photo-warning i {
    color: #B26B00;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.section-header {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.photo-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(91, 23, 54, 0.1);
    transition: transform 0.2s;
}

.photo-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(91, 23, 54, 0.15);
}

.photo-card img { width: 100%; height: 200px; object-fit: cover; }

.photo-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--gradient-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.photo-actions {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.2s;
}

.photo-card:hover .photo-actions { opacity: 1; }

.photo-actions .btn-outline-light {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.9);
    color: #2B1622;
    backdrop-filter: blur(5px);
}

.photo-actions .btn-outline-light:hover {
    background: white;
    border-color: white;
    color: var(--primary-pink);
    transform: scale(1.1);
}

/* Notification Settings */
.notification-settings { display: flex; flex-direction: column; gap: 0; }

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.25rem 0;
    border-bottom: 1px solid #EADFE3;
}

.setting-item:last-child { border-bottom: none; }
.setting-info { flex: 1; padding-right: 2rem; }
.setting-label { font-weight: 600; color: var(--text-dark); margin-bottom: 0.25rem; }
.setting-description { font-size: 0.9rem; color: var(--text-light); line-height: 1.5; }
.setting-item .form-check { padding-top: 0.15rem; }

/* Profile Section (shared) */
.profile-section {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(91, 23, 54, 0.08);
    margin-bottom: 2rem;
    position: relative;
}

.profile-section .section-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-align: left;
}

.profile-section .section-title i { color: var(--primary-pink); }

.profile-section .section-subtitle {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-align: left;
}

.profile-section .section-subtitle i { color: var(--primary-pink); }

/* Photo Gallery (Edit page) */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.photo-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(216, 27, 106, 0.2);
}

.photo-item img { width: 100%; height: 100%; object-fit: cover; }

.photo-main-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.photo-item .photo-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    padding: 0.5rem;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.photo-item:hover .photo-actions { opacity: 1; }

.photo-action-btn {
    background: white;
    border: none;
    color: var(--text-dark);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.photo-action-btn:hover { background: var(--gradient-primary); color: white; transform: scale(1.1); }
.photo-action-btn.delete-btn:hover { background: #C42B3B; color: white; }

/* Info Table */
.info-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.info-table td { padding: 0.75rem 0; border-bottom: 1px solid #F8EEF1; }
.info-table tr:last-child td { border-bottom: none; }
.info-table td:first-child { color: var(--text-light); font-weight: 600; width: 40%; }
.info-table td:last-child { color: var(--text-dark); font-weight: 600; }

/* Dance Cards (Edit) */
.profile-section .dance-card {
    background: white;
    border: 1px solid #EADFE3;
    border-radius: 12px;
    padding: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    height: auto;
    box-shadow: none;
    cursor: default;
    overflow: visible;
}

.profile-section .dance-card:hover {
    border-color: var(--primary-pink);
    box-shadow: 0 3px 10px rgba(216, 27, 106, 0.1);
    transform: none;
}

.dance-info { flex: 1; min-width: 0; }
.dance-name { font-size: 0.95rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.25rem; }
.dance-level { background: var(--gradient-primary); color: white; padding: 0.2rem 0.6rem; border-radius: 12px; font-size: 0.75rem; font-weight: 600; display: inline-block; }

.dance-delete-btn {
    background: transparent;
    border: none;
    color: var(--text-light);
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.dance-delete-btn:hover { color: #C42B3B; transform: scale(1.1); }

/* Place Cards (Edit) */
.place-card {
    background: white;
    border: 2px solid #EADFE3;
    border-radius: 15px;
    padding: 1.25rem;
    transition: all 0.3s ease;
    position: relative;
}

.place-card:hover {
    border-color: var(--primary-pink);
    box-shadow: 0 5px 15px rgba(216, 27, 106, 0.15);
}

.place-name { font-size: 1.05rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.5rem; }
.place-address { color: var(--text-light); font-size: 0.9rem; display: flex; align-items: start; gap: 0.5rem; }

/* Action Buttons (shared) */
.action-buttons { display: flex; flex-wrap: wrap; gap: 1rem; }
.button-group { display: flex; flex-direction: column; gap: 1rem; }

.button-group .btn-primary-custom,
.button-group .btn-outline-custom {
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.profile-divider { border: 0; height: 1px; background: #EADFE3; margin: 1.5rem 0; }

/* Empty State (shared) */
.empty-state { text-align: center; padding: 2rem 1rem; color: var(--text-light); }
.empty-state i { font-size: 2.5rem; color: var(--light-purple); margin-bottom: 1rem; }

/* Admin Buttons (shared) */
.admin-danger-btn {
    background: #C42B3B;
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.admin-danger-btn:hover { background: #c82333; transform: translateY(-2px); }

.admin-warning-btn {
    background: #ffc107;
    color: #000;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.admin-warning-btn:hover { background: #e0a800; transform: translateY(-2px); }

/* Responsive (shared) */
@media (max-width: 991px) {
    .profile-section { padding: 1.5rem; }
    .photo-gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .photo-gallery { grid-template-columns: repeat(2, 1fr); }
    .action-buttons { flex-direction: column; }
    .action-buttons .btn-primary-custom, .action-buttons .btn-outline-custom { width: 100%; }
}

/* ==================== Fiche « Le carnet » (V2, choisie par Thomas le 26/10/2026) ====================
   Les photos d'abord (mosaïque, plein écran au clic), le carnet de bal en ticket perforé posé dessus,
   un grand prénom ponctué d'un point dégradé (le seul usage du dégradé), puis l'utile. */
.pv2-mosaic {
    position: relative;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    grid-template-rows: 300px 300px;
    gap: 12px;
}
.pv2-mosaic--1 { grid-template-columns: 1fr; grid-template-rows: 560px; }
.pv2-mosaic--2 { grid-template-columns: 1.5fr 1fr; grid-template-rows: 560px; }
.pv2-mosaic--3 { grid-template-columns: 1.5fr 1fr; }
.pv2-mosaic--4 .pv2-tile:nth-child(4) { grid-column: span 2; }

.pv2-tile {
    position: relative;
    padding: 0;
    border: 0;
    border-radius: 20px;
    overflow: hidden;
    background: var(--sunken);
    cursor: zoom-in;
}
.pv2-tile:first-child { grid-row: span 2; border-radius: 28px; }
.pv2-mosaic--1 .pv2-tile:first-child, .pv2-mosaic--2 .pv2-tile:first-child { grid-row: auto; }
.pv2-tile { min-height: 0; min-width: 0; }
/* Les tuiles portent .pv-photo-item (lightbox) : sans son carré ni son zoom */
.pv2-mosaic .pv-photo-item { aspect-ratio: auto; transform: none; }
.pv2-mosaic .pv-photo-item:hover { transform: none; }
.pv2-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.pv2-mosaic .pv2-tile:hover img { transform: scale(1.03); }
.pv2-tile:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.pv2-tile--more { display: none; }
.pv2-tile--empty {
    display: flex; align-items: center; justify-content: center; cursor: default;
    font: 800 8rem var(--f-display); color: var(--on-primary-soft); background: var(--primary-soft);
}

/* Mosaïque (5 photos et plus) : recadrer sur le haut, là où sont les visages */
.pv2-mosaic .pv2-tile img { object-position: 50% 22%; }

/* Scène (0 à 4 photos) : la photo en 4:5, posée sur elle-même floutée + voile Nuit → Framboise + grain */
.pv2-stage {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border-radius: 28px;
    padding: 40px 48px;
    background: var(--night);
}
.pv2-stage::before {
    content: "";
    position: absolute;
    inset: -60px;
    z-index: -2;
    background: var(--pv2-bg, none) center / cover no-repeat;
    filter: blur(42px) saturate(1.25);
    transform: scale(1.1);
    opacity: .85;
}
.pv2-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E"),
        linear-gradient(120deg, rgba(31, 15, 25, .88) 0%, rgba(31, 15, 25, .55) 48%, rgba(216, 27, 106, .62) 100%);
}
.pv2-stage-row { display: flex; align-items: flex-end; gap: 16px; }
.pv2-card {
    position: relative;
    flex: none;
    width: 380px;
    aspect-ratio: 4 / 5;
    padding: 0;
    border: 0;
    border-radius: 22px;
    overflow: hidden;
    background: var(--sunken);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
    cursor: zoom-in;
}
.pv2-card img, .pv2-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.pv2-card--empty { display: flex; align-items: center; justify-content: center; cursor: default; font: 800 7rem var(--f-display); color: var(--on-primary-soft); background: var(--primary-soft); }
.pv2-thumbs { display: grid; grid-template-columns: repeat(2, 168px); gap: 12px; }
.pv2-thumb {
    position: relative;
    aspect-ratio: 4 / 5;
    padding: 0;
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, .08);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
    cursor: zoom-in;
}
.pv2-stage .pv-photo-item { aspect-ratio: 4 / 5; transform: none; }
.pv2-stage .pv-photo-item:hover { transform: none; }
.pv2-card:focus-visible, .pv2-thumb:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
/* Sa propre fiche, peu de photos : incitation douce */
.pv2-add {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: 1rem;
    text-align: center;
    color: #fff;
    font-weight: 700;
    font-size: .9375rem;
    line-height: 1.3;
    text-decoration: none;
    background: rgba(255, 255, 255, .1);
    border: 1.5px dashed rgba(255, 255, 255, .55);
    box-shadow: none;
    cursor: pointer;
}
.pv2-add i { font-size: 1.5rem; }
.pv2-add:hover { background: rgba(255, 255, 255, .18); color: #fff; }

.pv2-all {
    position: absolute; left: 16px; top: 16px; z-index: 2;
    border: 0; border-radius: var(--r-pill); padding: .55rem 1rem;
    background: var(--surface); color: var(--ink); font-weight: 700; font-size: .875rem;
    box-shadow: var(--shadow-1);
}
.pv2-mosaic .pv2-all { left: auto; right: 16px; top: 16px; }

.pv2-under {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 520px;
    gap: 2rem;
    align-items: start;
}
.pv2-id { padding-top: 1.25rem; }
.pv2-name {
    /* Assez grand pour signer la fiche, sans écraser un pseudo long (retour de Thomas du 26/10) */
    font: 800 clamp(2.5rem, 4.6vw, 4.25rem)/.95 var(--f-display);
    letter-spacing: -.035em;
    color: var(--night);
    margin: 0;
    overflow-wrap: anywhere;
}
.pv2-name span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pv2-meta { font-size: 1.25rem; color: var(--ink-2); margin: .9rem 0 .25rem; }
.pv2-online { margin-left: .6rem; color: var(--success); font-weight: 700; font-size: 1rem; }
.pv2-online::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--online); margin-right: 6px; vertical-align: middle; }
.pv2-sub { color: var(--ink-3); display: flex; gap: 1rem; flex-wrap: wrap; margin: 0; }
.pv2-linkish { background: none; border: 0; padding: 0; color: var(--ink-2); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.pv2-linkish:hover { color: var(--primary); }

.pv2-ticket {
    position: relative;
    z-index: 3;
    margin-top: -170px;
    background: var(--surface);
    border-radius: 26px;
    box-shadow: 0 30px 80px rgba(91, 23, 54, .22);
    transform: rotate(-1.4deg);
    overflow: hidden;
}
.pv2-stub { background: var(--night); color: #fff; padding: 1.35rem 1.75rem 1.4rem; }
.pv2-stub p { font-size: .875rem; color: rgba(255, 255, 255, .7); margin: 0; }
.pv2-stub h2 { font: 800 1.375rem var(--f-display); margin: .1rem 0 0; color: #fff; }
.pv2-perf {
    height: 22px;
    background:
        radial-gradient(circle at 0 50%, var(--bg) 11px, transparent 11.5px),
        radial-gradient(circle at 100% 50%, var(--bg) 11px, transparent 11.5px),
        repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px) 0 50% / 100% 2px no-repeat,
        var(--surface);
}
.pv2-lines { list-style: none; margin: 0; padding: .25rem 1.75rem 1.5rem; }
.pv2-lines li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .85rem 0; border-bottom: 1.5px dashed var(--line); }
.pv2-lines li:last-child { border-bottom: 0; }
.pv2-lines b { font: 700 1.375rem var(--f-display); color: var(--ink); }
.pv2-lines span { color: var(--ink-3); white-space: nowrap; }
.pv2-lines i { font-style: normal; color: var(--primary); letter-spacing: 3px; }

.pv2-lead { margin-top: 1.75rem; }
.pv2-band { margin-top: 3rem; }
.pv2-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; align-items: start; }
.pv2-quote { margin: 0 0 1.75rem; }
.pv2-quote::before { content: ""; display: block; width: 64px; height: 6px; border-radius: 3px; background: var(--primary); margin-bottom: 1.3rem; }
.pv2-quote blockquote { font: 500 2.5rem/1.15 var(--f-display); letter-spacing: -.02em; color: var(--ink); margin: 0; max-width: 40rem; }
.pv2-quote figcaption { margin-top: .85rem; color: var(--ink-3); }
.pv2-cta { display: flex; gap: .75rem; flex-wrap: wrap; }
.pv2-cta form { margin: 0; }
.pv2-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    height: 52px; padding: 0 1.75rem; border-radius: var(--r-pill);
    background: var(--primary); color: var(--on-primary); border: 1.5px solid var(--primary);
    font-weight: 700; text-decoration: none;
}
.pv2-btn:hover { background: var(--primary-press); border-color: var(--primary-press); color: var(--on-primary); }
.pv2-btn--ghost { background: transparent; color: var(--primary); }
.pv2-btn--ghost:hover { background: var(--primary-soft); color: var(--on-primary-soft); border-color: var(--primary); }
.pv2-btn--icon { width: 52px; padding: 0; }

.pv2-shared { background: var(--primary-soft); color: var(--on-primary-soft); border-radius: 26px; padding: 1.6rem 1.75rem; }
.pv2-shared h2 { font: 800 1.5rem var(--f-display); margin: 0 0 1rem; color: inherit; }
.pv2-shared ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; }
.pv2-shared li { background: var(--surface); border-radius: var(--r-pill); padding: .5rem .9rem; font-weight: 700; }

.pv2-h { font: 800 1.5rem var(--f-display); color: var(--ink); margin: 0 0 1rem; }
.pv2-week { list-style: none; display: grid; grid-template-columns: repeat(7, 1fr); gap: .5rem; margin: 0; padding: 0; }
.pv2-week li { text-align: center; padding: .75rem 0; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; color: var(--ink); }
.pv2-week abbr { text-decoration: none; }
.pv2-week small { display: block; font-weight: 500; font-size: .75rem; color: var(--ink-3); margin-top: 2px; }
.pv2-week .is-evening { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.pv2-week .is-evening small { color: rgba(255, 255, 255, .85); }
.pv2-week .is-day { background: var(--primary-soft); border-color: var(--primary-soft); color: var(--on-primary-soft); }
.pv2-week .is-day small { color: var(--on-primary-soft); }

.pv2-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; margin: 3.5rem 0 1rem; }
.pv2-list { list-style: none; margin: 0; padding: 0; }
.pv2-list li { padding: .7rem 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.pv2-list b { color: var(--ink); }
.pv2-list span { display: block; font-size: .875rem; color: var(--ink-3); }
.pv2-list a { color: inherit; text-decoration: none; }
.pv2-list a:hover b { color: var(--primary); }
.pv2-bio {
    margin: 1.75rem 0 0;
    max-width: 38rem;
    font: 400 1.25rem/1.6 var(--f-display);
    color: var(--ink);
    white-space: pre-line;
    overflow-wrap: anywhere;
}
.pv2-more summary {
    list-style: none;
    cursor: pointer;
    padding: .75rem 1.75rem 1.25rem;
    color: var(--primary);
    font-weight: 700;
}
.pv2-more summary::-webkit-details-marker { display: none; }
.pv2-more[open] summary { display: none; }
.pv2-more .pv2-lines { padding-top: 0; }
.pv2-ticket > .pv2-lines:has(+ .pv2-more) { padding-bottom: 0; }
.pv2-more summary { padding-top: .5rem; }
.pv2-empty { color: var(--ink-3); margin: 0; }

.pv2-similar { background: var(--sunken); margin-top: 3.5rem; padding: 3.5rem max(1.5rem, calc((100% - 1400px) / 2 + 1.5rem)) 4rem; }
.pv2-similar header { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.4rem; }
.pv2-similar h2 { font: 800 2.125rem/1 var(--f-display); letter-spacing: -.01em; color: var(--ink); margin: 0; }
.pv2-reel { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
/* Moins de 6 profils : les cartes gardent leur largeur, sans étirement */
.pv2-reel a { display: block; color: var(--ink); text-decoration: none; }
.pv2-reel img, .pv2-reel-empty { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; background: var(--primary-soft); color: var(--on-primary-soft); font: 800 3rem var(--f-display); }
.pv2-reel b { display: block; margin-top: .6rem; }
.pv2-reel small { display: block; color: var(--ink-3); font-size: .8125rem; }
.pv2-reel a:hover img { filter: brightness(1.05); }

@media (prefers-reduced-motion: reduce) {
    .pv2-tile img { transition: none; }
    .pv2-tile:hover img { transform: none; }
}

@media (max-width: 991px) {
    .pv2-under { grid-template-columns: 1fr; }
    .pv2-ticket { margin-top: 1.5rem; transform: rotate(-1deg); }
    .pv2-side { grid-template-columns: 1fr; gap: 2rem; }
    .pv2-cols { grid-template-columns: 1fr; gap: 2rem; }
    .pv2-reel { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .pv2-mosaic, .pv2-mosaic--3, .pv2-mosaic--4, .pv2-mosaic--5 { grid-template-columns: 1fr 1fr; grid-template-rows: 380px 140px; }
    .pv2-mosaic--1, .pv2-mosaic--2 { grid-template-columns: 1fr; grid-template-rows: 440px; }
    .pv2-mosaic--2 .pv2-tile:nth-child(2) { display: none; }
    .pv2-tile:first-child { grid-row: auto; grid-column: 1 / -1; }
    .pv2-mosaic .pv2-tile:nth-child(n+4) { display: none; }
    .pv2-mosaic--4 .pv2-tile:nth-child(4) { grid-column: auto; }
    .pv2-mosaic .pv2-all { right: 12px; top: 12px; }
    .pv2-stage { padding: 20px 16px; border-radius: 22px; }
    .pv2-stage-row { flex-direction: column; align-items: center; }
    .pv2-card { width: 100%; max-width: 340px; }
    .pv2-thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; max-width: 340px; }
    .pv2-add { grid-column: 1 / -1; aspect-ratio: auto; flex-direction: row; padding: .9rem 1rem; }
    .pv2-name { font-size: 2.75rem; }
    .pv2-bio { font-size: 1.125rem; }
    .pv2-meta { font-size: 1rem; }
    .pv2-quote blockquote { font-size: 1.75rem; }
    .pv2-cta .pv2-btn:first-child { flex: 1; }
    .pv2-week { gap: .25rem; }
    .pv2-week li { padding: .6rem 0; border-radius: 12px; font-size: .875rem; }
    .pv2-similar { padding: 2.25rem 1rem 2.75rem; }
    .pv2-similar header { flex-direction: column; align-items: flex-start; }
    .pv2-similar h2 { font-size: 1.625rem; }
    .pv2-reel { grid-template-columns: repeat(6, 150px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; }
    .pv2-reel li { scroll-snap-align: start; }
}

/* ==================== Fiche prof (templates/teachers/_fiche.html.twig) ==================== */
/* Photos de téléphone très hautes, souvent avec des bandes noires : on vise le milieu de l'image. */
.pv2-stage--teacher .pv2-card img { object-position: 50% 40%; }
.pv2-card--static { cursor: default; }
.pv2-rate { font: 800 2rem/1 var(--f-display); color: var(--ink); margin: 0 0 1rem; }
.pv2-rate small { font: 500 1rem var(--f-text); color: var(--ink-3); margin-left: .35rem; }
.pv2-bio--text { font: 400 1.125rem/1.7 var(--f-text); }
.pv2-lines a { text-decoration: none; }
.pv2-lines a:hover b { color: var(--primary); }
.pv2-shared li .bi { margin-right: .25rem; }
.pv2-slot b { display: inline-block; min-width: 6rem; }
.pv2-reassure { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem 2rem; margin: 3rem 0 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--ink-3); font-size: .9375rem; }
.pv2-reassure p { margin: 0; display: flex; align-items: center; gap: .5rem; }
.pv2-reassure .bi { color: var(--primary); }
.pv2-reassure .pd-link { color: var(--ink-2); }
.pv2-teacher-similar { margin-top: 3rem; }
@media (max-width: 575.98px) {
    /* Nom de la danse sur une ligne : le niveau passe dessous s'il manque de place. */
    .pv2-lines li { flex-wrap: wrap; gap: 0 1rem; }
    .pv2-lines b { white-space: nowrap; }
    .pv2-rate { font-size: 1.75rem; }
    .pv2-reassure { justify-content: flex-start; }
}
