/*
 * Hero de la vue projet (single du CPT "client") : 110vh, image de mise
 * en avant en fond. Les 100 premiers vh portent le nom, les tags et
 * l'accroche ; les ~10vh restants affichent la barre méta (client,
 * domaine, collaboration).
 */

.project-hero {
    position: relative;
    min-height: 110vh;
    display: flex;
    flex-direction: column;
    background-color: #0D0D0D;
    background-size: cover;
    background-position: center;
    color: #f5f5f5;
}

.project-hero__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.25) 69%, rgba(0, 0, 0, 0.9) 88%, rgba(0, 0, 0, 1) 100%);
    pointer-events: none;
}

.project-hero__content {
    position: relative;
    z-index: 1;
    flex: 1;
    min-height: 99vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: end;
    gap: var(--chirripo-space-sm, 0.75rem);
    padding: 0 10%;
    text-align: left;
}

.project-hero__tagline {
    margin: 0;
    max-width: 45ch;
    font-family: var(--chirripo-font-body, sans-serif);
    font-size: 32px;
    color: rgba(245, 245, 245, 0.8);
}

.project-hero__title {
    margin: 0;
    font-family: var(--chirripo-font-display, serif);
    font-weight: 300;
    font-size: clamp(2.5rem, 8vw, 72px);
    line-height: 1;
}

.project-hero__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
    margin: 0.3em 0 0;
    padding: 0 0 3%;
    list-style: none;
}

.project-hero__tags li {
    padding: 0.5em 1em;
    border: 1px solid rgba(245, 245, 245, 0.3);
    border-radius: 25px;
    color: #f5f5f5;
    font-family: var(--chirripo-font-body, sans-serif);
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.project-hero__meta {
    position: relative;
    z-index: 1;
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--chirripo-space-lg, 3rem);
    padding: var(--chirripo-space-md, 1.5rem) 0;
    border-top: 1px solid #fff;
}

.project-hero__meta-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--chirripo-space-xl, 6rem);
}

.project-hero__meta-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25em;
}

.project-hero__meta-label {
    font-family: var(--chirripo-font-body, sans-serif);
    font-size: 12px;
    text-transform: none;
    letter-spacing: 0.08em;
    color: rgba(245, 245, 245, 0.6);
}

.project-hero__meta-value {
    font-family: var(--chirripo-font-body, sans-serif);
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
}

/* .has-bg-light (voir tokens.css) fournit les variables de couleur claires
   consommées par tous les "Blocs des projets" ci-dessous. */
.project-content {
    background: var(--chirripo-color-bg, #f5f5f5);
    padding: var(--chirripo-space-lg, 3rem) 0;
}

@media (max-width: 768px) {
    .project-hero {
        min-height: 100vh;
    }

    .project-hero__content {
        min-height: 90vh;
    }

    .project-hero__meta {
        gap: var(--chirripo-space-lg, 3rem);
    }
}
