/* ===================================================================
   PORTFOLIO ÉDITORIAL & GALERIES DE SÉRIES D'AUTEUR — THÉO SOLAESA
   Respect à 100% des ratios d'origine (Paysage / Portrait sans rognage)
   =================================================================== */

.portfolio-series-body {
    background-color: #0d0d10;
    color: #f5f3ef;
}

img {
    -webkit-user-drag: none;
    user-select: none;
    -webkit-touch-callout: none;
}

/* Ruban de navigation rapide entre les 6 séries */
.series-switcher-ribbon {
    background: rgba(18, 18, 22, 0.94);
    border-bottom: 1px solid rgba(197, 168, 128, 0.2);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(12px);
}

.series-switcher-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.series-back-all {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent-gold);
    text-decoration: none;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

.series-pills-scroll {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.series-pill-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 13px;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #b8b4ac;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.09);
    white-space: nowrap;
    transition: all 0.2s ease;
}

.series-pill-link small {
    font-size: 0.68rem;
    opacity: 0.7;
    background: rgba(197, 168, 128, 0.14);
    color: var(--accent-gold);
    padding: 1px 6px;
    border-radius: 99px;
}

.series-pill-link:hover,
.series-pill-link.active {
    background: rgba(197, 168, 128, 0.16);
    border-color: var(--accent-gold);
    color: #fff;
}

/* En-tête Éditorial de la Série */
.series-hero-header {
    padding: 64px 0 56px;
    border-bottom: 1px solid rgba(197, 168, 128, 0.15);
    background: radial-gradient(circle at 80% 20%, rgba(197, 168, 128, 0.07), transparent 55%);
}

.series-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
}

@media (max-width: 980px) {
    .series-hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.series-kicker-badge {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--accent-gold);
    background: rgba(197, 168, 128, 0.1);
    border: 1px solid rgba(197, 168, 128, 0.3);
    padding: 6px 14px;
    border-radius: 99px;
    margin-bottom: 16px;
    font-weight: 600;
}

.series-main-heading {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 4vw, 3.3rem);
    line-height: 1.12;
    color: #fff;
    margin-bottom: 10px;
}

.series-subtitle-line {
    font-size: 1rem;
    color: var(--accent-gold);
    letter-spacing: 0.04em;
    margin-bottom: 22px;
    font-weight: 500;
}

.series-lead-quote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.18rem;
    line-height: 1.55;
    color: #e9e4da;
    border-left: 3px solid var(--accent-gold);
    padding-left: 18px;
    margin: 0 0 22px 0;
}

.series-story-text .editorial-para {
    font-size: 0.96rem;
    line-height: 1.75;
    color: #c7c3bb;
    margin-bottom: 14px;
}

.series-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 26px;
}

.series-cover-frame {
    background: #141419;
    border: 1px solid rgba(197, 168, 128, 0.3);
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75);
    cursor: pointer;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.series-cover-frame:hover {
    transform: translateY(-4px);
    border-color: var(--accent-gold);
}

.series-cover-frame img {
    width: 100%;
    max-height: 520px;
    object-fit: contain;
    background: #09090c;
    border-radius: 6px;
    display: block;
}

.series-cover-caption {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    font-size: 0.78rem;
    color: #9e9a91;
}

/* Sommaire par chapitres (Carnet de voyage Thaïlande) */
.chapters-sticky-bar {
    background: #131318;
    border-bottom: 1px solid rgba(197, 168, 128, 0.2);
    padding: 14px 0;
}

.chapters-bar-label {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent-gold);
    margin-bottom: 8px;
    font-weight: 700;
}

.chapters-pills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chapter-jump-pill {
    font-size: 0.8rem;
    color: #e4e0d8;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(197, 168, 128, 0.25);
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.2s;
}

.chapter-jump-pill span {
    color: var(--accent-gold);
    font-size: 0.74rem;
}

.chapter-jump-pill:hover {
    background: rgba(197, 168, 128, 0.18);
    border-color: var(--accent-gold);
}

/* Encart Presse & France 3 (Quartiers Lumineux) */
.series-press-section {
    padding: 40px 0 10px;
}

.press-highlight-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
    background: #141419;
    border: 1px solid rgba(197, 168, 128, 0.28);
    border-radius: 14px;
    padding: 28px;
    align-items: center;
}

@media (max-width: 860px) {
    .press-highlight-grid {
        grid-template-columns: 1fr;
    }
}

.press-card-tv h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin: 8px 0 12px;
    color: #fff;
}

.press-card-tv p {
    color: #c2beb6;
    line-height: 1.65;
    font-size: 0.94rem;
}

.press-img-preview {
    position: relative;
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(197, 168, 128, 0.35);
    max-height: 300px;
    background: #0a0a0d;
}

.press-img-preview img {
    width: 100%;
    height: 280px;
    object-fit: contain;
    display: block;
}

.zoom-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(12, 12, 15, 0.9);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Galerie Intégrale Masonry Éditoriale */
.series-gallery-main {
    padding: 48px 0 72px;
}

.gallery-toolbar-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 32px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gallery-count-heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    color: #fff;
    margin-top: 4px;
}

.gallery-hint-click {
    font-size: 0.84rem;
    color: var(--accent-gold);
    background: rgba(197, 168, 128, 0.08);
    border: 1px solid rgba(197, 168, 128, 0.25);
    padding: 8px 14px;
    border-radius: 8px;
}

.series-chapter-block {
    margin-bottom: 52px;
}

.chapter-heading-block {
    margin: 36px 0 24px;
    scroll-margin-top: 80px;
}

.chapter-kicker {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--accent-gold);
    font-weight: 600;
}

.chapter-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.65rem;
    color: #fff;
    margin-top: 4px;
}

.chapter-divider {
    width: 64px;
    height: 2px;
    background: var(--accent-gold);
    margin-top: 10px;
}

/* Grille Masonry Asymétrique : Zéro Rognage, Ratios 100% Fidèles */
.editorial-masonry-grid {
    column-count: 3;
    column-gap: 24px;
}

@media (max-width: 1100px) {
    .editorial-masonry-grid {
        column-count: 2;
    }
}

@media (max-width: 640px) {
    .editorial-masonry-grid {
        column-count: 1;
    }
}

.editorial-photo-card {
    break-inside: avoid;
    margin-bottom: 24px;
    background: #141418;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.editorial-photo-card:hover {
    transform: translateY(-4px);
    border-color: rgba(197, 168, 128, 0.65);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65);
}

.photo-frame-inner {
    position: relative;
    width: 100%;
    background: #0a0a0d;
    overflow: hidden;
}

.photo-frame-inner img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.editorial-photo-card:hover .photo-frame-inner img {
    transform: scale(1.02);
}

.photo-hover-veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 14, 0.65), transparent 50%);
    opacity: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 12px;
    transition: opacity 0.25s ease;
}

.editorial-photo-card:hover .photo-hover-veil {
    opacity: 1;
}

.photo-zoom-pill {
    background: rgba(14, 14, 18, 0.9);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 99px;
}

.photo-editorial-caption {
    padding: 11px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.photo-num {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent-gold);
    letter-spacing: 0.08em;
    flex-shrink: 0;
}

.photo-work-title {
    font-size: 0.82rem;
    color: #dedad2;
    font-weight: 500;
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Bandeau d'acquisition Tirage d'Art en bas de série */
.series-acquire-banner {
    margin-top: 44px;
    background: linear-gradient(135deg, rgba(197, 168, 128, 0.12), rgba(20, 20, 26, 0.95));
    border: 1px solid rgba(197, 168, 128, 0.4);
    border-radius: 14px;
    padding: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.series-acquire-banner h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #fff;
    margin: 6px 0 8px;
}

.series-acquire-banner p {
    color: #c5c1b8;
    font-size: 0.92rem;
    max-width: 640px;
    line-height: 1.6;
}

/* Section Autres Séries */
.other-series-section {
    padding: 56px 0;
    background: #111116;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.other-series-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.other-series-card {
    background: #17171d;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform 0.22s ease, border-color 0.22s ease;
}

.other-series-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-gold);
}

.other-series-img-wrap {
    position: relative;
    height: 185px;
    overflow: hidden;
    background: #0a0a0d;
}

.other-series-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.other-series-count {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(12, 12, 16, 0.88);
    border: 1px solid rgba(197, 168, 128, 0.5);
    color: var(--accent-gold);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 99px;
}

.other-series-meta {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.other-series-meta h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 4px;
}

.other-series-meta p {
    font-size: 0.8rem;
    color: #9e9a92;
    line-height: 1.45;
    margin-bottom: 12px;
    flex: 1;
}

.other-series-cta {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-gold);
}

/* Page Hub Portfolio Complet */
.portfolio-hub-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

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

.portfolio-hub-card {
    background: #141419;
    border: 1px solid rgba(197, 168, 128, 0.25);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.portfolio-hub-img-link {
    position: relative;
    height: 320px;
    background: #09090c;
    overflow: hidden;
    display: block;
}

.portfolio-hub-img-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.portfolio-hub-card:hover .portfolio-hub-img-link img {
    transform: scale(1.03);
}

.portfolio-hub-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(12, 12, 16, 0.9);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 5px 12px;
    border-radius: 99px;
    font-size: 0.74rem;
    font-weight: 600;
}

.portfolio-hub-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.portfolio-hub-body h2 a {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: #fff;
    text-decoration: none;
}

.portfolio-hub-sub {
    color: var(--accent-gold);
    font-size: 0.85rem;
    margin: 4px 0 12px;
    font-weight: 500;
}

.portfolio-hub-excerpt {
    color: #c2beb6;
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 20px;
    flex: 1;
}

.portfolio-hub-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Lightbox Musée Plein Écran */
.series-lightbox-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(6, 6, 8, 0.96);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    backdrop-filter: blur(10px);
}

.lightbox-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    gap: 12px;
    flex-wrap: wrap;
}

.lightbox-counter-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lb-num-pill {
    background: rgba(197, 168, 128, 0.16);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 99px;
}

.lb-work-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: #fff;
}

.lightbox-top-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.lb-btn-acquire {
    background: var(--accent-gold);
    color: #0d0d10;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 8px;
}

.lb-btn-close {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.lightbox-stage {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 70px;
    min-height: 0;
}

.lightbox-stage img {
    max-width: 100%;
    max-height: 82vh;
    object-fit: contain;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(197, 168, 128, 0.3);
}

.lb-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(20, 20, 25, 0.85);
    border: 1px solid rgba(197, 168, 128, 0.45);
    color: var(--accent-gold);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 10;
}

.lb-prev { left: 18px; }
.lb-next { right: 18px; }

@media (max-width: 680px) {
    .lightbox-stage { padding: 12px 16px; }
    .lb-btn-acquire { display: none; }
}

