/*
 * Événements d'entreprise — ardoise.
 *
 * The one universe that has to stand up straight. Same paper, same tears, but
 * nothing here is tilted or taped askew: the references are a contact sheet on a
 * strict grid, squared and evenly spaced. Slate is the colour of seriousness and
 * the layout has to say so — a company deciding where to send forty people is not
 * charmed by crooked polaroids.
 */

/* The one exception to the "no tilt" rule: the note is a shared component and
   straightening it here would fork it. It is squared instead of rotated. */
.vo-corpo__note {
    transform: none;
}

/* ==========================================================================
   Le palmarès — contact sheet
   ========================================================================== */

.vo-corpo__references {
    padding-block: clamp(30px, 4vw, 50px) clamp(80px, 9vw, 130px);
}

.vo-corpo__references .vo3-lead {
    max-width: 720px;
}

.vo-corpo__sheet {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(16px, 2vw, 26px);
    margin-top: 52px;
}

/* A negative on a contact sheet: a thin slate rule, a caption set in the UI font
   rather than the handwriting. No tape, no rotation, no shadow theatre. */
.vo-corpo__frame {
    margin: 0;
    padding: 10px;
    background: #FFFDF8;
    border: 1px solid rgba(33, 28, 23, .12);
    border-radius: 2px;
    transition: border-color .35s ease, transform .45s cubic-bezier(.22, .61, .36, 1);
}

.vo-corpo__frame:hover {
    border-color: color-mix(in srgb, var(--vo3-accent) 55%, transparent);
    transform: translateY(-4px);
}

.vo-corpo__frame > div {
    overflow: hidden;
    border-radius: 1px;
}

.vo-corpo__frame img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.vo-corpo__frame figcaption {
    padding-top: 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--vo-muted);
    text-align: center;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 900px) {
    .vo-corpo__sheet {
        grid-template-columns: repeat(2, 1fr);
    }
}
