/* ============================================================
   YLLY Projects Hero
   Figma: NovCast > node 893:10641
   ============================================================ */

.yl-projects-hero {
    background-color: var(--color-surface-default);
    padding-block: var(--section-py-sm);
    padding-top: 20px;
    width: 100%;
}

.yl-projects-hero__inner {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 29px;
    margin-inline: auto;
    max-width: 560px;
    padding-inline: clamp(24px, 6vw, 60px);
    text-align: center;
}

/* Star asset — rotation Figma exacte 150.33deg + scaleY -1 */
.yl-projects-hero__asterisk {
    display: block;
    height: 75px;
    transform: rotate(150.33deg) scaleY(-1);
    transform-origin: center;
    width: 72px;
}

/* Titre — 52px SemiBold, LS -1.56px */
.yl-projects-hero__title {
    color: var(--color-text-default);
    font-family: 'Instrument Sans', sans-serif;
    font-size: 52px;
    font-weight: 600;
    letter-spacing: -1.56px;
    line-height: 1;
    margin: 0;
    text-align: center;
}

.yl-projects-hero__title-regular {
    color: var(--color-text-default);
    font-family: 'Instrument Sans', sans-serif;
    font-style: normal;
    font-weight: 600;
    letter-spacing: -1.56px;
}

.yl-projects-hero__title-italic {
    color: var(--color-orange-500);
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 700;
    letter-spacing: -1.04px;
}

/* Sous-titre — 18px Medium, LS -0.09px, LH 1.7, color var(--color-text-default) */
.yl-projects-hero__subtitle {
    color: var(--color-text-default);
    font-family: 'Instrument Sans', sans-serif;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.09px;
    line-height: 1.7;
    margin: 0;
    text-align: center;
}

/* CTA — pill orange, h:55, padding 8/22, gap 11, radius 44, Instrument Sans Medium */
.yl-projects-hero__cta {
    align-items: center;
    background-color: var(--color-surface-secondary);
    border-radius: 44px;
    color: var(--color-surface-white);
    display: inline-flex;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px;
    font-weight: 500;
    gap: 11px;
    height: 55px;
    justify-content: center;
    letter-spacing: -0.048px;
    line-height: 1.8;
    min-width: 150px;
    padding: 8px 22px;
    text-decoration: none;
    transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
    white-space: nowrap;
}

.yl-projects-hero__cta:hover {
    background-color: var(--color-orange-500);
    box-shadow: 0 12px 32px rgba(214, 53, 0, .25);
    color: var(--color-surface-white);
    transform: translateY(-2px);
}

/* CTA icon — star 28×29 rotée -30deg + flip Y */
.yl-projects-hero__cta-icon {
    display: block;
    flex-shrink: 0;
    height: 29px;
    transform: rotate(-30deg) scaleY(-1);
    width: 28px;
}

.yl-projects-hero__cta-label {
    display: inline-block;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
    .yl-projects-hero {
        
        padding-top: 24px;
    }

    .yl-projects-hero__title {
        font-size: 38px;
        letter-spacing: -1.14px;
    }

    .yl-projects-hero__title-regular {
        letter-spacing: -1.14px;
    }

    .yl-projects-hero__title-italic {
        letter-spacing: -0.76px;
    }

    .yl-projects-hero__asterisk {
        height: 56px;
        width: 54px;
    }

    .yl-projects-hero__subtitle {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .yl-projects-hero__title {
        font-size: 32px;
        letter-spacing: -.96px;
    }
}
