/* side-projects.css — page listant les side projects (vibe coding / perso) */
/* Chaque projet = 1 visuel (pleine largeur), puis 2 colonnes PROBLÉMATIQUE / SOLUTION */

/* Largeur max du contenu — seul endroit à modifier pour ajuster la largeur de la page */
.vc-container {
    max-width: 1040px;
    margin-left: auto;
    margin-right: auto;
}

#side-projects-list {
    display: flex;
    flex-direction: column;
}

.side-project {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 64px 0;
}

.side-project + .side-project {
    border-top: 1px dashed rgba(10, 30, 14, 0.25);
}

.side-project-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.side-project-header h2 {
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.1;
    margin: 0;
}

.side-project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.side-project-tags span {
    font-size: 13px;
    line-height: 1;
    color: #0A1E0E;
    border: 1px solid rgba(13, 23, 15, 0.28);
    border-radius: 9999px;
    padding: 7px 14px;
    white-space: nowrap;
}

.side-project-visual {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    background: #EEE9DD;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.side-project-visual img,
.side-project-visual video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Media that must keep its full frame, uncropped — height follows the media's own ratio */
.side-project-visual--natural {
    aspect-ratio: auto;
    background: none;
}

.side-project-visual--natural img,
.side-project-visual--natural video {
    height: auto;
    object-fit: contain;
}

.side-project-visual-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: rgba(10, 30, 14, 0.35);
}

.side-project-visual-placeholder span {
    font-family: 'Satoshi', sans-serif;
    font-size: 14px;
}

.side-project-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 48px;
}

.side-project-eyebrow {
    font-family: 'Satoshi', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: rgba(10, 30, 14, 0.55);
    margin: 0 0 12px;
}

.side-project-columns p {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(10, 30, 14, 0.8);
    margin: 0;
}

.side-project > a {
    align-self: flex-start;
}

@media (max-width: 768px) {
    .side-project {
        gap: 24px;
        padding: 40px 0;
    }
    .side-project-visual {
        aspect-ratio: 4 / 3;
    }
    .side-project-columns {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}
