/* ==============================
   nos-realisations.css
   ============================== */

/* ── Page wrapper ── */
.nr-page {
    padding: 80px 0 100px;
    min-height: 100vh;
}

/* ── En-tête ── */
.nr-header {
    text-align: center;
    margin-bottom: 60px;
}
.nr-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #6366f1;
    background: rgba(99,102,241,.1);
    border: 1px solid rgba(99,102,241,.25);
    border-radius: 50px;
    padding: .3rem .85rem;
    margin-bottom: 1rem;
}
.nr-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
}
.nr-title span {
    color: #a78bfa;
}
.nr-subtitle {
    font-size: clamp(.95rem, 2vw, 1.1rem);
    opacity: .7;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.75;
}

/* ── Animations scroll ── */
.nr-lazy {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .6s ease, transform .6s ease;
}
.nr-lazy.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Bento Grid ── */
.nr-bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 260px;
    gap: 1.25rem;
    margin-bottom: 80px;
}

/* Card featured (1ère) : grande, 2 colonnes larges */
.nr-card--featured {
    grid-column: span 8;
    grid-row: span 2;
}

/* Cards standards */
.nr-card:not(.nr-card--featured) {
    grid-column: span 4;
    grid-row: span 1;
}

/* Card 3 et 4 : un peu plus larges */
.nr-card:nth-child(3),
.nr-card:nth-child(4) {
    grid-column: span 4;
}

/* Card 5 et 6 : pleine largeur partagée */
.nr-card:nth-child(5) {
    grid-column: span 5;
}
.nr-card:nth-child(6) {
    grid-column: span 7;
}

/* Cards suivantes : alternance */
.nr-card:nth-child(7) {
    grid-column: span 6;
}
.nr-card:nth-child(8) {
    grid-column: span 6;
}
.nr-card:nth-child(n+9) {
    grid-column: span 4;
}

/* ── Card base ── */
.nr-card {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    display: block;
    transition: transform .35s ease, box-shadow .35s ease;
    border: 1px solid rgba(99,102,241,.12);
}
.nr-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(99,102,241,.18);
    border-color: rgba(99,102,241,.35);
}
[data-bs-theme="dark"] .nr-card {
    background: rgba(255,255,255,.03);
}
[data-bs-theme="light"] .nr-card {
    background: #f8f8ff;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
}

/* ── Image ── */
.nr-card-img-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.nr-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform .5s ease;
}
.nr-card:hover .nr-card-img {
    transform: scale(1.04);
}
.nr-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10,8,25,.85) 0%,
        rgba(10,8,25,.3) 50%,
        rgba(10,8,25,.05) 100%
    );
    transition: opacity .35s ease;
}
.nr-card:hover .nr-card-overlay {
    opacity: .9;
}

/* ── Placeholder sans image ── */
.nr-card-no-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99,102,241,.06);
    color: rgba(99,102,241,.3);
    font-size: 3rem;
}

/* ── Contenu card ── */
.nr-card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    z-index: 2;
}
.nr-card-cat {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #a78bfa;
    background: rgba(167,139,250,.15);
    border: 1px solid rgba(167,139,250,.3);
    border-radius: 50px;
    padding: .2rem .7rem;
    margin-bottom: .6rem;
}
.nr-card-title {
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.nr-card--featured .nr-card-title {
    font-size: clamp(1.2rem, 3vw, 2rem);
}
.nr-card--featured .nr-card-body {
    padding: 2rem;
}

/* ── Flèche hover ── */
.nr-card-arrow {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(99,102,241,.85);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .3s ease, transform .3s ease;
    z-index: 2;
}
.nr-card:hover .nr-card-arrow {
    opacity: 1;
    transform: translateY(0);
}

/* ── État vide ── */
.nr-empty {
    grid-column: span 12;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 80px 0;
    opacity: .4;
    font-size: 1rem;
}
.nr-empty i {
    font-size: 3rem;
    color: #6366f1;
}

/* ── CTA ── */
.nr-cta {
    margin-top: 20px;
}
.cta-final {
    position: relative;
    border-radius: 1.5rem;
    padding: 4rem 3rem;
    background: linear-gradient(135deg, rgba(99,102,241,.15) 0%, rgba(99,102,241,.04) 100%);
    border: 1px solid rgba(99,102,241,.25);
    overflow: hidden;
}
.cta-final-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99,102,241,.18) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    pointer-events: none;
}
.cta-final-badge {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #6366f1;
    background: rgba(99,102,241,.1);
    border: 1px solid rgba(99,102,241,.25);
    border-radius: 50px;
    padding: .3rem .9rem;
}
.cta-final-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    line-height: 1.15;
}
.cta-final-sub {
    font-size: 1rem;
    opacity: .72;
    max-width: 480px;
}
.cta-final-box {
    background: rgba(99,102,241,.06);
    border: 1px solid rgba(99,102,241,.15);
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: .85rem;
}
.cta-final-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: .92rem;
    font-weight: 500;
}
.cta-final-item i {
    color: #6366f1;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 1199px) {
    .nr-card--featured {
        grid-column: span 7;
    }
    .nr-card:not(.nr-card--featured) {
        grid-column: span 5;
    }
    .nr-card:nth-child(3),
    .nr-card:nth-child(4) {
        grid-column: span 6;
    }
    .nr-card:nth-child(5) {
        grid-column: span 6;
    }
    .nr-card:nth-child(6) {
        grid-column: span 6;
    }
}

@media (max-width: 991px) {
    .nr-bento {
        grid-template-columns: repeat(6, 1fr);
        grid-auto-rows: 220px;
    }
    .nr-card--featured {
        grid-column: span 6;
        grid-row: span 2;
    }
    .nr-card:not(.nr-card--featured),
    .nr-card:nth-child(3),
    .nr-card:nth-child(4),
    .nr-card:nth-child(5),
    .nr-card:nth-child(6),
    .nr-card:nth-child(7),
    .nr-card:nth-child(8),
    .nr-card:nth-child(n+9) {
        grid-column: span 3;
        grid-row: span 1;
    }
}

@media (max-width: 767px) {
    .nr-page { padding: 60px 0 80px; }
    .nr-header { margin-bottom: 40px; }
    .nr-bento {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 200px;
        gap: .75rem;
    }
    .nr-card--featured {
        grid-column: span 2;
        grid-row: span 1;
    }
    .nr-card:not(.nr-card--featured),
    .nr-card:nth-child(3),
    .nr-card:nth-child(4),
    .nr-card:nth-child(5),
    .nr-card:nth-child(6),
    .nr-card:nth-child(7),
    .nr-card:nth-child(8),
    .nr-card:nth-child(n+9) {
        grid-column: span 1;
        grid-row: span 1;
    }
    .nr-card-body { padding: 1rem; }
    .nr-card--featured .nr-card-body { padding: 1rem; }
    .nr-card-arrow { display: none; }
    .cta-final { padding: 2.5rem 1.5rem; }
    .cta-final-glow { width: 250px; height: 250px; top: -60px; right: -60px; }
    .cta-final-sub { max-width: 100%; }

    .nr-subtitle {
    font-size: clamp(.85rem, 2vw, 1rem);
    opacity: .7;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.55;
}
}

@media (prefers-reduced-motion: reduce) {
    .nr-lazy { opacity: 1; transform: none; transition: none; }
    .nr-card:hover { transform: none; }
    .nr-card:hover .nr-card-img { transform: none; }
}



/* ==============================
   Page détail projet
   ============================== */

.nr-detail-page {
    padding: 80px 0 100px;
    min-height: 100vh;
}

/* ── Breadcrumb ── */
.nr-breadcrumb {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .82rem;
    opacity: .6;
    margin-bottom: 2rem;
}
.nr-breadcrumb a {
    color: inherit;
    text-decoration: none;
    transition: opacity .2s;
}
.nr-breadcrumb a:hover {
    opacity: 1;
}
.nr-breadcrumb i {
    font-size: .7rem;
}

/* ── En-tête ── */
.nr-detail-header {
    margin-bottom: 2rem;
}
.nr-detail-title {
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
}
.nr-detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
    font-size: .88rem;
    opacity: .7;
}
.nr-detail-meta span {
    display: flex;
    align-items: center;
    gap: .4rem;
}
.nr-detail-link {
    display: flex;
    align-items: center;
    gap: .4rem;
    color: #6366f1;
    text-decoration: none;
    font-weight: 600;
    opacity: 1;
    transition: gap .2s;
}
.nr-detail-link:hover {
    gap: .6rem;
    color: #6366f1;
}

/* ── Image couverture ── */
.nr-detail-cover {
    border-radius: 1.25rem;
    overflow: hidden;
    margin-bottom: 3rem;
}
.nr-detail-cover-img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    object-position: top;
    display: block;
}
[data-bs-theme="dark"] .nr-detail-cover {
    box-shadow: 0 16px 48px rgba(0,0,0,.4);
}
[data-bs-theme="light"] .nr-detail-cover {
    box-shadow: 0 8px 32px rgba(0,0,0,.1);
}

/* ── Layout body : contenu + sidebar ── */
.nr-detail-body {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    align-items: start;
    margin-bottom: 3rem;
}

/* ── Contenu ── */
.nr-detail-desc {
    font-size: 1rem;
    line-height: 1.8;
    opacity: .8;
    margin-bottom: 2rem;
}
.nr-detail-paragraph {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(99,102,241,.08);
}
.nr-detail-paragraph:last-child {
    border-bottom: none;
}
.nr-detail-paragraph-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: .75rem;
    color: #a78bfa;
}
.nr-detail-paragraph-content {
    font-size: .95rem;
    line-height: 1.8;
    opacity: .75;
    margin: 0;
}

/* ── Sidebar ── */
.nr-detail-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.nr-sidebar-block {
    border-radius: 1rem;
    padding: 1.25rem;
    border: 1px solid rgba(99,102,241,.12);
}
[data-bs-theme="dark"] .nr-sidebar-block {
    background: rgba(255,255,255,.04);
}
[data-bs-theme="light"] .nr-sidebar-block {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.nr-sidebar-title {
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    opacity: .5;
    margin-bottom: .85rem;
}
.nr-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}
.nr-tag {
    font-size: .72rem;
    font-weight: 600;
    padding: .22rem .7rem;
    border-radius: 50px;
    background: rgba(99,102,241,.1);
    color: #6366f1;
    border: 1px solid rgba(99,102,241,.2);
}
.nr-sidebar-url {
    font-size: .85rem;
    font-weight: 600;
    color: #6366f1;
    text-decoration: none;
    word-break: break-all;
    display: flex;
    align-items: center;
    gap: .3rem;
}
.nr-sidebar-url:hover {
    color: #a78bfa;
}
.nr-sidebar-cta {
    border-radius: 1rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(99,102,241,.12) 0%, rgba(99,102,241,.04) 100%);
    border: 1px solid rgba(99,102,241,.2);
    font-size: .9rem;
}

/* ── Galerie ── */
.nr-detail-gallery {
    margin-bottom: 3rem;
}
.nr-detail-gallery-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    opacity: .7;
}
.nr-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}
.nr-gallery-item {
    border-radius: .85rem;
    overflow: hidden;
}
.nr-gallery-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform .4s ease;
}
.nr-gallery-item:hover .nr-gallery-img {
    transform: scale(1.04);
}
[data-bs-theme="dark"] .nr-gallery-item {
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
[data-bs-theme="light"] .nr-gallery-item {
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
}

/* ── Footer page détail ── */
.nr-detail-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(99,102,241,.08);
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .nr-detail-body {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .nr-detail-sidebar {
        position: relative;
        top: 0;
    }

    .nr-related-title {
        font-size: .82rem;
        font-weight: 600;
        line-height: 1.3;
        flex: 1;
    }
}

@media (max-width: 767px) {
    .nr-detail-page { padding: 60px 0 80px; }
    .nr-detail-cover-img { max-height: 280px; }
    .nr-detail-title { font-size: clamp(1.5rem, 5vw, 2rem); }
    .nr-gallery-grid { grid-template-columns: 1fr; }
    .nr-gallery-img { height: 180px; }
}


/* ── Hero bandeau en-tête détail ── */
.nr-detail-hero {
    position: relative;
    border-radius: 1.5rem;
    padding: 3rem 2.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, rgba(99,102,241,.15) 0%, rgba(167,139,250,.08) 100%);
    border: 1px solid rgba(99,102,241,.2);
    overflow: hidden;
}
.nr-detail-hero-glow {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99,102,241,.2) 0%, transparent 70%);
    top: -100px;
    right: -80px;
    pointer-events: none;
}
[data-bs-theme="dark"] .nr-detail-hero {
    background: linear-gradient(135deg, rgba(99,102,241,.12) 0%, rgba(167,139,250,.05) 100%);
}
[data-bs-theme="light"] .nr-detail-hero {
    background: linear-gradient(135deg, rgba(99,102,241,.08) 0%, rgba(167,139,250,.04) 100%);
}

@media (max-width: 767px) {
    .nr-detail-hero {
        padding: 2rem 1.5rem;
        border-radius: 1rem;
    }

    .nr-related-title {
        font-size: .82rem;
        font-weight: 600;
        line-height: 1.3;
        flex: 1;
    }
}

/* ── Numéros paragraphes ── */
.nr-detail-paragraph-title {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: .75rem;
    color: inherit;
}
.nr-paragraph-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    border-radius: .5rem;
    background: rgba(99,102,241,.12);
    color: #6366f1;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .05em;
    flex-shrink: 0;
    border: 1px solid rgba(99,102,241,.2);
}

/* ── Autres réalisations sidebar ── */
.nr-related-list {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}
.nr-related-item {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    text-decoration: none;
    color: inherit;
    border-radius: .75rem;
    padding: .6rem;
    border: 1px solid rgba(99,102,241,.08);
    transition: border-color .25s, box-shadow .25s, transform .25s;
}
.nr-related-item:hover {
    border-color: rgba(99,102,241,.3);
    box-shadow: 0 4px 16px rgba(99,102,241,.08);
    transform: translateY(-2px);
    color: inherit;
}
[data-bs-theme="dark"] .nr-related-item {
    background: rgba(255,255,255,.03);
}
[data-bs-theme="light"] .nr-related-item {
    background: #f8f8ff;
}
.nr-related-img-wrap {
    border-radius: .5rem;
    overflow: hidden;
    height: 130px;
}
.nr-related-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform .4s ease;
}
.nr-related-item:hover .nr-related-img {
    transform: scale(1.05);
}
.nr-related-no-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99,102,241,.06);
    color: rgba(99,102,241,.3);
    font-size: 1.5rem;
}
.nr-related-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding: 0 .25rem;
}
.nr-related-title {
    font-size: .68rem;
    font-weight: 600;
    line-height: 1.3;
    flex: 1;
}
.nr-related-arrow {
    color: #6366f1;
    font-size: .85rem;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity .25s, transform .25s;
    flex-shrink: 0;
}
.nr-related-item:hover .nr-related-arrow {
    opacity: 1;
    transform: translateX(0);
}


/* ── Image dans les paragraphes ── */
.nr-paragraph-img-wrap {
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 1.25rem;
}
.nr-paragraph-img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform .4s ease;
}
.nr-paragraph-img-wrap:hover .nr-paragraph-img {
    transform: scale(1.02);
}
[data-bs-theme="dark"] .nr-paragraph-img-wrap {
    box-shadow: 0 8px 32px rgba(0,0,0,.3);
}
[data-bs-theme="light"] .nr-paragraph-img-wrap {
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
}

@media (max-width: 767px) {
    .nr-paragraph-img {
        max-height: 220px;
    }
}

/* ── Bouton retour ── */
.nr-back-btn {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    padding: .85rem 2rem;
    border-radius: 50px;
    font-size: .92rem;
    font-weight: 600;
    text-decoration: none;
    color: #6366f1;
    background: rgba(99,102,241,.08);
    border: 1px solid rgba(99,102,241,.2);
    transition: background .25s, border-color .25s, transform .25s, gap .25s;
}
.nr-back-btn:hover {
    background: rgba(99,102,241,.15);
    border-color: rgba(99,102,241,.4);
    transform: translateX(-4px);
    color: #6366f1;
    gap: 1rem;
}
.nr-back-btn i {
    font-size: 1rem;
    transition: transform .25s;
}
.nr-back-btn:hover i {
    transform: translateX(-3px);
}


/* ==============================
   Dark / Light mode
   ============================== */

/* ── Page nos-realisations ── */
[data-bs-theme="light"] .nr-page {
    background-color: #f5f5ff;
}
[data-bs-theme="light"] .nr-card {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,.07);
}
[data-bs-theme="light"] .nr-card-overlay {
    background: linear-gradient(
        to top,
        rgba(10,8,25,.75) 0%,
        rgba(10,8,25,.2) 50%,
        rgba(10,8,25,.02) 100%
    );
}
[data-bs-theme="light"] .nr-empty {
    color: #6366f1;
}

/* ── Page détail ── */
[data-bs-theme="light"] .nr-detail-page {
    background-color: #f5f5ff;
}
[data-bs-theme="light"] .nr-breadcrumb {
    color: rgba(0,0,0,.5);
}
[data-bs-theme="light"] .nr-breadcrumb a {
    color: rgba(0,0,0,.5);
}
[data-bs-theme="light"] .nr-detail-hero {
    background: linear-gradient(135deg, rgba(99,102,241,.08) 0%, rgba(167,139,250,.04) 100%);
    border-color: rgba(99,102,241,.15);
}
[data-bs-theme="light"] .nr-detail-title {
    color: #0a0819;
}
[data-bs-theme="light"] .nr-detail-meta {
    color: rgba(0,0,0,.6);
}
[data-bs-theme="light"] .nr-detail-desc {
    color: rgba(0,0,0,.75);
}
[data-bs-theme="light"] .nr-detail-paragraph {
    border-bottom-color: rgba(99,102,241,.1);
}
[data-bs-theme="light"] .nr-detail-paragraph-content {
    color: rgba(0,0,0,.7);
}
[data-bs-theme="light"] .nr-sidebar-block {
    background: #fff;
    border-color: rgba(99,102,241,.12);
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
[data-bs-theme="light"] .nr-sidebar-title {
    color: rgba(0,0,0,.5);
}
[data-bs-theme="light"] .nr-sidebar-cta {
    background: linear-gradient(135deg, rgba(99,102,241,.08) 0%, rgba(99,102,241,.03) 100%);
    border-color: rgba(99,102,241,.15);
    color: #0a0819;
}
[data-bs-theme="light"] .nr-related-item {
    background: #fff;
    border-color: rgba(99,102,241,.1);
    color: #0a0819;
}
[data-bs-theme="light"] .nr-related-item:hover {
    border-color: rgba(99,102,241,.3);
    color: #0a0819;
}
[data-bs-theme="light"] .nr-related-title {
    color: #0a0819;
}
[data-bs-theme="light"] .nr-detail-footer {
    border-top-color: rgba(99,102,241,.12);
}
[data-bs-theme="light"] .nr-back-btn {
    color: #6366f1;
}
[data-bs-theme="light"] .nr-back-btn:hover {
    color: #6366f1;
}
[data-bs-theme="light"] .nr-detail-cover {
    box-shadow: 0 8px 32px rgba(0,0,0,.1);
}
[data-bs-theme="light"] .nr-paragraph-img-wrap {
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
[data-bs-theme="light"] .nr-gallery-item {
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
}
[data-bs-theme="light"] .nr-detail-gallery-title {
    color: rgba(0,0,0,.6);
}

/* ── CTA Final light ── */
[data-bs-theme="light"] .cta-final {
    background: linear-gradient(135deg, rgba(99,102,241,.1) 0%, rgba(99,102,241,.03) 100%);
    border-color: rgba(99,102,241,.2);
}
[data-bs-theme="light"] .cta-final-title {
    color: #0a0819;
}
[data-bs-theme="light"] .cta-final-sub {
    color: rgba(0,0,0,.65);
}
[data-bs-theme="light"] .cta-final-box {
    background: rgba(99,102,241,.05);
    border-color: rgba(99,102,241,.12);
}
[data-bs-theme="light"] .cta-final-item {
    color: rgba(0,0,0,.75);
}

/* ── Header light ── */
[data-bs-theme="light"] .nr-header .nr-title {
    color: #0a0819;
}
[data-bs-theme="light"] .nr-header .nr-subtitle {
    color: rgba(0,0,0,.6);
}


/* ── Galerie LightGallery ── */
.nr-gallery-item {
    position: relative;
    display: block;
    cursor: pointer;
}
.nr-gallery-zoom {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10,8,25,.45);
    opacity: 0;
    transition: opacity .3s ease;
    border-radius: .85rem;
    color: #fff;
    font-size: 1.75rem;
}
.nr-gallery-item:hover .nr-gallery-zoom {
    opacity: 1;
}