.realization-frame {
    position: relative;
    min-height: 85vh; /* Utilisation de min-height pour éviter de bloquer la hauteur */
    padding: 20px !important;
    overflow: hidden;
}

.slider-viewport {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slider-main {
    display: flex;
    flex-direction: row;
    width: 300%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.slide-item {
    width: 33.333%;
    height: 100%;
    flex-shrink: 0;
    display: block;
}

.slide-inner {
    padding: 40px 60px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-sizing: border-box;
}

/* --- AJUSTEMENT ZONE DE CONTENU --- */
.content-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 25px;
    background-color: rgba(255, 255, 255, 0.3);
}

/* --- GRILLE DES PROJETS --- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    width: 100%;
}

.project-card {
    background: #ffffff;
    border: 2px solid var(--tech-brown);
    padding: 10px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.2s ease;
}

.project-img-box {
    width: 100%;
    aspect-ratio: 16 / 10; /* Format rectangulaire propre pour les projets */
    background: var(--bg-color);
    border: 1px solid var(--tech-brown);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.project-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* En attendant tes fichiers d'images */
.empty-placeholder {
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--tech-brown);
    opacity: 0.5;
}

/* Infos sous le projet */
.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-name {
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
}

.project-tag {
    font-family: monospace;
    font-size: 0.75rem;
    color: #aaa;
}

/* --- SURVOL (HOVER EFFECT) --- */
.project-card:hover {
    border-color: var(--neon-purple);
    box-shadow: 6px 6px 0 var(--neon-purple);
    transform: translate(-3px, -3px);
}

.project-card:hover .project-img-box img {
    transform: scale(1.03);
}

/* Flèches */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    background: var(--tech-brown);
    color: white;
    border: 2px solid white;
    width: 50px;
    height: 50px;
    cursor: pointer;
    box-shadow: 4px 4px 0 var(--neon-purple);
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.2s ease;
}

.nav-arrow:hover {
    background: var(--neon-purple);
    box-shadow: none;
    transform: translateY(-50%) translate(2px, 2px);
}

.nav-arrow.left { left: 10px; }
.nav-arrow.right { right: 10px; }