.s-culture-root {
    padding: 100px 5%;
    background: var(--trois);
    border-top: 1px solid rgba(157, 145, 113, 0.2);
}

.sc-header {
    background: var(--un);
    border: 1px solid rgba(157, 145, 113, 0.2);
    padding: 60px 50px;
    margin-bottom: 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 40px;
    overflow: hidden;
}

[data-theme="dark"] .sc-header {
    background: var(--quatre);
}

.sc-header::after {
    content: "01001001 // SYSTEM";
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: var(--quatre);
    opacity: 0.3;
    letter-spacing: 2px;
    z-index: 3;
}

.sc-title-block {
    position: relative;
    z-index: 2;
}

.sc-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--quatre);
    text-transform: uppercase;
    letter-spacing: 4px;
    display: block;
    margin-bottom: 15px;
}

[data-theme="dark"] .sc-tag {
    color: var(--trois);
}

.sc-main-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 0.9;
    margin: 0;
    color: var(--trois);
    letter-spacing: -3px;
    font-family: 'Poppins', sans-serif;
}

.sc-manifesto {
    max-width: 550px;
    position: relative;
    z-index: 2;
    border-left: 1px solid var(--quatre);
    padding-left: 30px;
}

[data-theme="dark"] .sc-manifesto {
    border-left: 1px solid var(--trois);
}

.sc-manifesto p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--trois);
    opacity: 0.8;
    margin: 0;
    font-weight: 300;
}

.sc-header-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    z-index: 1;
}

.sc-header-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.2) brightness(0.6);
}

.sc-header-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(to left, transparent 0%, var(--un) 90%);
}

[data-theme="dark"] .sc-header-mask {
    background: linear-gradient(to left, transparent 0%, var(--quatre) 100%);
}

.sc-btn-float {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--trois);
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.sc-btn-float:hover {
    background: var(--quatre);
    color: var(--un);
    border-color: var(--quatre);
    transform: translateY(-50%) scale(1.05);
}

.sc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.sc-card {
    border: 1px solid rgba(157, 145, 113, 0.651);
    background: rgba(255, 255, 255, 0.02);
    padding: 30px;
    display: flex;
    flex-direction: column;
}

/* --- INDICATEUR DE SCROLLING --- */
.sc-scroll-indicator {
    position: relative;
    left: 150px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 10;
    pointer-events: none;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: rgba(157, 145, 113, 0.2);
    position: relative;
    overflow: hidden;
}

.scroll-line-inner {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--quatre);
    animation: scroll-drift 2s cubic-bezier(0.19, 1, 0.22, 1) infinite;
}

[data-theme="dark"] .scroll-line-inner { background: var(--trois); }

@keyframes scroll-drift {
    0%   { top: -100%; }
    50%  { top: 0; }
    100% { top: 100%; }
}

/* --- CARTE PREMIUM (galerie) --- */
.sc-premium-card {
    position: relative;
    width: 100%;
    height: 500px;
    margin: 60px auto;
    background-color: #90a2b9;
    overflow: hidden;
    border: 1px solid var(--quatre);
}

.sc-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.sc-image-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    width: 70%;
    height: 100%;
    z-index: 1;
    -webkit-mask-image: linear-gradient(to left, black 50%, transparent 100%);
    mask-image: linear-gradient(to left, black 50%, transparent 100%);
}

.sc-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: brightness(0.9) contrast(1.1);
    transition: transform 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.sc-card-content {
    position: relative;
    z-index: 3;
    width: 50%;
    height: 100%;
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-decoration: none;
}

.sc-category {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: var(--un);
    text-transform: uppercase;
    letter-spacing: 6px;
    margin-bottom: 15px;
    display: block;
}

.sc-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--un);
    text-transform: uppercase;
    line-height: 0.9;
    font-weight: 800;
    letter-spacing: -2px;
    margin: 0 0 40px 0;
}

.sc-icon-circle {
    width: 180px;
    height: 50px;
    border: 1px solid var(--un);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    color: var(--un);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    background: transparent;
}

.sc-icon-circle::before { content: 'Explorer'; }

.sc-icon-circle:hover {
    background: var(--quatre);
    color: var(--un);
}

/* --- CITATIONS --- */
.sc-philosophy {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--un);
    color: var(--trois);
    padding: 45px;
    min-height: 400px;
    overflow: hidden;
    border: 1px solid rgba(157, 145, 113, 0.1);
}

[data-theme="dark"] .sc-philosophy {
    background: var(--quatre);
    color: var(--deux);
}

.sc-card-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    margin-bottom: 40px;
    color: var(--quatre);
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    z-index: 3;
}

[data-theme="dark"] .sc-card-label { color: var(--trois); }

.quote-slide {
    display: none;
    position: relative;
    z-index: 2;
}

.quote-slide.active {
    display: block;
    animation: fadeIn 0.6s ease-out forwards;
}

.quote-slide q {
    font-size: 1.6rem;
    font-weight: 300;
    line-height: 1.4;
    display: block;
    margin-bottom: 25px;
    font-family: 'Poppins', sans-serif;
    color: var(--trois);
    border: none;
}

.quote-slide cite {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    text-transform: uppercase;
    color: var(--quatre);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 15px;
}

[data-theme="dark"] .quote-slide cite { color: var(--trois); }

.quote-slide cite::before {
    content: "";
    width: 20px;
    height: 1px;
    background: var(--quatre);
    opacity: 0.5;
}

[data-theme="dark"] .quote-slide cite::before { background: var(--trois); }

.icone-citation {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-12deg);
    width: 240px;
    height: auto;
    opacity: 0.05;
    pointer-events: none;
    filter: sepia(1) brightness(1.1) contrast(0.8);
    mix-blend-mode: overlay;
    z-index: 1;
    transition: all 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.sc-philosophy:hover .icone-citation {
    opacity: 0.08;
    transform: translate(-48%, -52%) rotate(0deg) scale(1.1);
}

.carousel-click {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    z-index: 5;
}

.left-zone  { left: 0;  cursor: url('../images/icons/flecheg.png') 16 16, pointer; }
.right-zone { right: 0; cursor: url('../images/icons/fleched.png') 16 16, pointer; }

.carousel-nav {
    margin-top: 30px;
    display: flex;
    gap: 10px;
}

.carousel-nav button {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--trois);
    padding: 10px 15px;
    cursor: pointer;
}

[data-theme="dark"] .carousel-nav button { color: var(--deux); }

/* --- LIENS NAV --- */
.sc-nav-item {
    padding: 25px 0;
    border-bottom: 1px solid rgba(157, 145, 113, 0.1);
    text-decoration: none;
    transition: all 0.3s ease;
}

.sc-nav-item .num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: var(--quatre);
    margin-right: 15px;
}

.sc-nav-item .label {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--un);
    text-transform: uppercase;
}

.sc-nav-item .desc {
    display: block;
    font-size: 10px;
    opacity: 0.5;
    margin-left: 30px;
    margin-top: 5px;
    color: var(--deux);
}

.sc-nav-item:hover { transform: translateX(10px); }
.sc-nav-item:hover .label { color: var(--quatre); }

.sc-btn-outline {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 20px;
    border: 1px solid var(--quatre);
    color: var(--quatre);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 2px;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
    z-index: 10;
}

[data-theme="dark"] .sc-btn-outline { border-color: var(--trois); color: var(--trois); }

.sc-btn-outline:hover {
    background: var(--quatre);
    color: var(--un);
    box-shadow: 0 0 20px rgba(157, 145, 113, 0.3);
}

.sc-card-info {
    padding: 30px;
    background: var(--bg-page);
    border-top: 1px solid rgba(157, 145, 113, 0.1);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* --- CARTES EXPLORATIONS (sc-card.exp) --- */
.sc-card.exp {
    position: relative;
    height: 450px;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border: 1px solid rgba(157, 145, 113, 0.4);
    background: var(--quatre);
}

.exp-cover {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.exp-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
    transition: transform 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.exp-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
    z-index: 2;
}

.exp-body {
    position: relative;
    z-index: 3;
    padding: 30px;
    width: 100%;
}

.exp-meta { margin-bottom: 20px; }

.exp-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: var(--quatre);
    text-transform: uppercase;
    letter-spacing: 4px;
}

.exp-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(157, 145, 113, 0.5);
    color: var(--trois);
    text-decoration: none;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s ease;
}

[data-theme="dark"] .exp-btn { border: 1px solid rgba(100,100,100,0.5); color: var(--deux); }

.sc-card.exp:hover .exp-cover img { transform: scale(1.1); }

.exp-btn:hover { background: var(--quatre); color: var(--un); border-color: var(--quatre); }

.exp-corner { z-index: 4; }


/* ==========================================================================
   RESPONSIVE — culture.css
   ========================================================================== */

/* ─── TABLETTE 1024px ─── */
@media (max-width: 1024px) {

    .s-culture-root { padding: 70px 4%; }
    .sc-header { padding: 45px 30px; gap: 25px; }
    .sc-main-title { font-size: 3.2rem; }
    .sc-btn-float { right: 20px; }
    .sc-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    /* La 3e carte (sc-links) prend toute la largeur */
    .sc-card.sc-links { grid-column: span 2; }
    .sc-premium-card { height: 400px; }
    .sc-card-content { width: 60%; padding: 45px 30px; }
    .sc-title { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 25px; }
    .sc-card.exp { height: 400px; }
}

/* ─── MOBILE 768px ─── */
@media (max-width: 768px) {

    .s-culture-root { padding: 36px 0 55px; }

    /* ── HEADER : pleine largeur, layout empilé propre ── */
    .sc-header {
        padding: 0;
        gap: 0;
        min-height: 280px;
        border-left: none;
        border-right: none;
        border-radius: 0;
        overflow: hidden;
    }

    /* Image de fond : couvre tout, très assombrie */
    .sc-header-bg {
        width: 100%;
        height: 100%;
    }
    .sc-header-bg img {
        filter: grayscale(0.15) brightness(0.28);
        object-position: center 30%;
    }

    /* Masque : dégradé vertical du bas vers le haut */
    .sc-header-mask {
        background: linear-gradient(
            to top,
            var(--un) 0%,
            rgba(35, 75, 94, 0.6) 55%,
            transparent 100%
        ) !important;
    }
    [data-theme="dark"] .sc-header-mask {
        background: linear-gradient(
            to top,
            #0a0a0a 0%,
            rgba(10, 10, 10, 0.65) 55%,
            transparent 100%
        ) !important;
    }

    /* Contenu texte : calé en bas avec padding */
    .sc-title-block {
        position: relative;
        z-index: 2;
        padding: 24px 20px 0;
        margin-top: auto;
    }

    .sc-manifesto {
        padding: 0 20px 0 20px;
        border-left: none;
        border-top: 1px solid rgba(157, 145, 113, 0.4);
        padding-top: 14px;
        max-width: 100%;
        position: relative;
        z-index: 2;
    }
    .sc-manifesto p {
        font-size: 0.84rem;
        line-height: 1.55;
        color: var(--trois);
        opacity: 0.9;
    }
    [data-theme="dark"] .sc-manifesto {
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        border-left: none;
    }

    /* ── BOUTON EXPLORER : dans le flux, visible, contrasté ── */
    .sc-btn-float {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        align-self: flex-start;
        margin: 14px 20px 24px;
        z-index: 5;

        /* Fond bronze solide → toujours lisible quelle que soit l'image */
        background: var(--quatre);
        border: 1px solid var(--quatre);
        color: #fff;

        padding: 12px 24px;
        font-size: 10px;
        letter-spacing: 2.5px;
    }
    .sc-btn-float:hover {
        background: transparent;
        border-color: var(--quatre);
        color: var(--quatre);
        transform: none;
    }
    [data-theme="dark"] .sc-btn-float {
        background: var(--quatre);
        color: #0a0a0a;
        border-color: var(--quatre);
    }
    [data-theme="dark"] .sc-btn-float:hover {
        background: transparent;
        color: var(--quatre);
    }

    .sc-main-title {
        font-size: clamp(1.9rem, 8vw, 2.6rem);
        letter-spacing: -2px;
        /* Toujours blanc sur fond sombre */
        color: #fff;
        text-shadow: 0 2px 20px rgba(0,0,0,0.6);
    }
    .sc-tag {
        font-size: 10px;
        letter-spacing: 2px;
        margin-bottom: 10px;
        /* Bronze légèrement plus lumineux sur fond sombre */
        color: var(--quatre);
        opacity: 1;
        text-shadow: 0 0 12px rgba(157, 145, 113, 0.4);
    }
    [data-theme="dark"] .sc-tag { color: var(--quatre); }

    /* scroll indicator : centré */
    .sc-scroll-indicator { left: 50%; transform: translateX(-50%); }

    /* ── GRILLE → 1 colonne ── */
    .sc-grid { grid-template-columns: 1fr; gap: 14px; padding: 0 5%; }
    .sc-card.sc-links { grid-column: span 1; }

    /* ── CARTE PREMIUM (galerie) ── */
    .sc-premium-card {
        height: 320px;
        margin: 20px 5%;
        width: auto;
    }

    /* Image : plein cadre avec masque vers le bas */
    .sc-image-wrapper {
        width: 100%;
        left: 0;
        right: auto;
        -webkit-mask-image: linear-gradient(to top, black 40%, transparent 100%);
        mask-image: linear-gradient(to top, black 40%, transparent 100%);
    }
    .sc-image-wrapper img {
        object-position: center center;
        filter: brightness(0.65) contrast(1.05);
    }

    /* Contenu : pleine largeur, calé en bas */
    .sc-card-content {
        width: 100%;
        height: 100%;
        padding: 24px 22px;
        justify-content: flex-end;
    }

    .sc-category { font-size: 9px; letter-spacing: 4px; margin-bottom: 10px; }
    .sc-title { font-size: clamp(1.5rem, 7vw, 2rem); letter-spacing: -1px; margin-bottom: 18px; }
    .sc-icon-circle { width: 140px; height: 42px; font-size: 9px; padding: 0 16px; }

    /* ── CITATIONS ── */
    .sc-philosophy {
        padding: 26px 5%;
        min-height: 300px;
    }
    .sc-card-label { margin-bottom: 18px; font-size: 9px; }
    .quote-slide q { font-size: 1.05rem; line-height: 1.45; margin-bottom: 18px; }
    .quote-slide cite { font-size: 10px; }
    .sc-btn-outline {
        display: block;
        text-align: center;
        padding: 10px 14px;
        font-size: 10px;
        letter-spacing: 1px;
        margin-top: 16px;
    }

    /* ── CARTE EXPLORATION ── */
    .sc-card.exp { height: 280px; }
    .exp-body { padding: 18px 16px; }
    .exp-meta { margin-bottom: 14px; }
    .exp-tag { font-size: 9px; letter-spacing: 3px; }
    .exp-btn { padding: 11px 14px; font-size: 10px; }

    /* ── CARTE LIENS NAV ── */
    .sc-card { padding: 22px 18px; }
    .sc-nav-item { padding: 14px 0; }
    .sc-nav-item .label { font-size: 0.95rem; }
    .sc-nav-item .desc { font-size: 9px; margin-left: 24px; }
    /* Désactiver translateX au touch */
    .sc-nav-item:hover { transform: none; }
}

/* ─── PETIT MOBILE 480px ─── */
@media (max-width: 480px) {

    .s-culture-root { padding: 28px 4% 45px; }

    .sc-header { padding: 22px 14px; gap: 13px; min-height: 240px; }
    .sc-main-title { font-size: clamp(1.7rem, 8.5vw, 2.2rem); letter-spacing: -1.5px; }
    .sc-manifesto p { font-size: 0.8rem; }

    .sc-btn-float {
        padding: 9px 16px;
        font-size: 9px;
    }

    .sc-premium-card { height: 280px; }
    .sc-title { font-size: clamp(1.3rem, 7vw, 1.8rem); }

    .sc-philosophy { padding: 20px 14px; min-height: 260px; }
    .quote-slide q { font-size: 0.95rem; }

    .sc-card.exp { height: 500px; }
    .sc-grid { gap: 10px; }
    .sc-card { padding: 18px 14px; }
}