/* Page réalisation visiteur */

.sr-page .studio-main {
    padding-top: 0;
}

.sr-admin-preview-banner {
    margin: 0 auto;
    padding: 0.65rem 1rem;
    border-bottom: 1px solid #e8dcc0;
    background: #fff8e6;
    color: #6b4f1d;
    font-size: 0.875rem;
    text-align: center;
}

.sr-hero {
    position: relative;
    min-height: clamp(22rem, 52vh, 34rem);
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
    max-width: 100vw;
    background-color: #1a1a1a;
    background-image: var(--sr-hero, linear-gradient(135deg, #2a2a2e 0%, #111 100%));
    background-repeat: no-repeat;
    background-size: cover;
    background-position: var(--sr-hero-position, 50% 50%);
    color: #fff;
    display: flex;
    align-items: flex-end;
}

.sr-hero__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.55) 72%, rgba(0, 0, 0, 0.72) 100%);
}

.sr-hero__inner {
    position: relative;
    z-index: 1;
    padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(2.25rem, 5vw, 3.25rem);
}

.sr-back {
    display: inline-block;
    margin-bottom: 1.25rem;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    font-size: 0.9rem;
}

.sr-back:hover {
    color: #fff;
}

.sr-hero__kicker {
    margin: 0 0 0.65rem;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
}

.sr-hero__title {
    margin: 0 0 0.5rem;
    max-width: 14ch;
    font-family: var(--font-heading, Georgia, 'Times New Roman', serif);
    font-size: clamp(2.1rem, 5vw + 0.5rem, 3.75rem);
    font-weight: 500;
    line-height: 1.06;
    letter-spacing: -0.02em;
}

.sr-hero__date {
    margin: 0 0 0.85rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.sr-hero__tagline {
    margin: 0;
    max-width: 36rem;
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
}

.sr-about {
    padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.sr-about__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.85fr);
    gap: clamp(2rem, 5vw, 3.5rem);
    align-items: start;
}

.sr-section-title {
    margin: 0 0 1.15rem;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.sr-about__main p {
    margin: 0 0 1rem;
    color: #3a3a3e;
    line-height: 1.65;
    font-size: 0.98rem;
}

.sr-muted {
    color: #8a8a90;
}

.sr-about__meta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sr-meta-row {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

.sr-meta-row__icon {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #f3f3f5;
    color: #555;
    font-size: 0.75rem;
}

.sr-meta-row__label {
    display: block;
    font-size: 0.78rem;
    color: #8a8a90;
    margin-bottom: 0.15rem;
}

.sr-meta-row strong {
    font-size: 0.95rem;
    font-weight: 600;
    color: #111;
}

.sr-meta-cta {
    margin-top: 0.5rem;
    align-self: flex-start;
}

.sr-gallery {
    padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.sr-gallery__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    margin-bottom: 1.5rem;
}

.sr-gallery__head .studio-filters {
    margin: 0;
}

.sr-gallery__head .studio-filter {
    background: #fff;
    color: #0a0a0a;
    border: 1px solid var(--studio-line, #ececec);
}

.sr-gallery__head .studio-filter.is-active {
    background: #0a0a0a;
    color: #fff;
    border-color: #0a0a0a;
}

/* Masonry : colonnes, hauteur naturelle des images (portraits non recadrés) */
.sr-gallery__grid {
    column-count: 3;
    column-gap: clamp(0.5rem, 1.5vw, 1.15rem);
}

.sr-gallery__item {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    margin: 0 0 clamp(0.85rem, 2vw, 1.15rem);
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    background: #ececee;
    display: inline-block;
    vertical-align: top;
}

.sr-gallery__item[hidden] {
    display: none !important;
}

.sr-gallery__hit {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    position: relative;
    line-height: 0;
}

.sr-gallery__hit img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    vertical-align: middle;
}

.sr-gallery__item--video .sr-gallery__hit {
    aspect-ratio: 16 / 9;
    line-height: normal;
}

.sr-gallery__item--video .sr-gallery__hit img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sr-gallery__ph {
    display: block;
    width: 100%;
    min-height: 140px;
    aspect-ratio: 3 / 4;
    background: linear-gradient(145deg, #ececee, #dedee2);
}

.sr-gallery__item--video .sr-gallery__hit img.sr-gallery__poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sr-gallery__preview {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    pointer-events: none;
    background: #1a1a1a;
}

.sr-gallery__item--video .sr-gallery__preview {
    display: block;
}

.sr-gallery__item--video.has-poster .sr-gallery__preview {
    display: none;
}

.sr-gallery__item--video.has-poster .sr-gallery__poster {
    display: block;
}

.sr-gallery__play {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
    pointer-events: none;
}

.sr-gallery__play::after {
    content: '';
    position: absolute;
    left: 54%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 9px solid transparent;
    border-left-color: #111;
    border-left-width: 14px;
    margin-left: 2px;
}

.sr-gallery__more {
    margin-top: 1.75rem;
    text-align: center;
}

.sr-gallery__more[hidden] {
    display: none !important;
}

.sr-btn-more {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.7rem 1.25rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #fff;
    color: #111;
    font: inherit;
    font-size: 0.92rem;
    cursor: pointer;
}

.sr-btn-more:hover {
    border-color: #111;
}

.sr-btn-more:disabled {
    opacity: 0.55;
    cursor: wait;
}

.sr-highlight {
    padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.sr-highlight__player {
    border-radius: 16px;
    overflow: hidden;
    background: #111;
    aspect-ratio: 16 / 9;
}

.sr-highlight__player iframe,
.sr-highlight__player video {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.sr-highlight__player .plyr {
    width: 100%;
    height: 100%;
}

.sr-highlight__player .plyr--video {
    height: 100%;
}

.sr-web-shot {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.sr-web-shot img {
    display: block;
    width: 100%;
    height: auto;
}

.sr-related .studio-showcase__intro {
    text-align: center;
}

.sr-related .studio-showcase__title {
    text-align: center;
    margin-bottom: 0;
    font-size: clamp(1.35rem, 2.8vw, 1.85rem);
}

.sr-related .studio-showcase__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 280px));
    justify-content: center;
    gap: 1.25rem;
}

.sr-lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(8, 8, 10, 0.92);
    display: grid;
    place-items: center;
    padding: 1.5rem;
}

.sr-lightbox[hidden] {
    display: none !important;
}

.sr-lightbox__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.sr-lightbox__inner {
    max-width: min(1100px, 100%);
    max-height: 90vh;
}

.sr-lightbox__inner img,
.sr-lightbox__inner video,
.sr-lightbox__inner iframe {
    max-width: 100%;
    max-height: 90vh;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
}

.sr-lightbox__inner .plyr {
    width: min(1100px, calc(100vw - 3rem));
    border-radius: 8px;
    overflow: hidden;
}

.sr-notfound {
    padding: clamp(4rem, 12vw, 8rem) 0;
    text-align: center;
}

.sr-notfound h1 {
    margin: 0 0 0.75rem;
}

.sr-notfound p {
    margin: 0 0 1.5rem;
    color: #666;
}

@media (max-width: 900px) {
    .sr-about__grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .sr-gallery__grid {
        column-count: 4;
        column-gap: clamp(0.55rem, 1.2vw, 0.85rem);
    }
}

@media (max-width: 640px) {
    .sr-gallery__grid {
        column-count: 3;
        column-gap: 0.4rem;
    }

    .sr-gallery__head {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }

    .sr-gallery__play {
        width: 34px;
        height: 34px;
    }

    .sr-gallery__play::after {
        border-width: 7px;
        border-left-width: 11px;
    }
}
