/* ============================================================
   YLLY — Footer
   Figma : node 117:11432
   ============================================================ */

.yl-footer {
    background-color: #0f172b;
    color: #cad5e2;
    margin: 0;
    width: 100%;
    padding: 37px clamp(24px, 4vw, 57px);
    position: relative;
}

.yl-footer__inner {
    display: flex;
    flex-direction: column;
    gap: 48px;
    margin-inline: auto;
    max-width: 1420px;
}

/* ── Main row : brand + 5 nav cols ───────────────────────── */
.yl-footer__main {
    display: grid;
    grid-template-columns: 1.4fr repeat(5, 1fr);
    gap: 32px;
    align-items: flex-start;
}

/* ── Colonne brand ──────────────────────────────────────── */
.yl-footer__brand {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}

.yl-footer__logo-link {
    display: inline-flex;
    flex-shrink: 0;
    text-decoration: none;
    color: #ffffff;
}

.yl-footer__logo {
    display: block;
    height: 40px;
    width: auto;
    max-width: 160px;
}

.yl-footer__logo--svg {
    height: 41px;
    width: 128px;
}

.yl-footer__taglines {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.yl-footer__tagline {
    margin: 0;
    color: #cad5e2;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 22.75px;
    letter-spacing: -0.0107em;
}

.yl-footer__tagline--top {
    white-space: nowrap;
}

.yl-footer__tagline--bottom {
    max-width: 295px;
}

/* ── Colonnes de navigation ─────────────────────────────── */
.yl-footer__nav-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}

.yl-footer__col-heading {
    margin: 0;
    color: #ffffff;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: -0.0195em;
}

.yl-footer__menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.yl-footer__menu li {
    margin: 0;
}

.yl-footer__menu a {
    color: #cad5e2;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.0107em;
    text-decoration: none;
    transition: color 0.2s ease;
}

.yl-footer__menu a:hover {
    color: #ffffff;
}

.yl-footer__menu-empty {
    margin: 0;
    color: #62748e;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 13px;
    font-style: italic;
}

/* ── Séparateur ─────────────────────────────────────────── */
.yl-footer__separator {
    background-color: #1d293d;
    border: 0;
    height: 1px;
    margin: 0;
    width: 100%;
}

/* ── Barre du bas ───────────────────────────────────────── */
.yl-footer__bottom {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    justify-content: space-between;
    width: 100%;
}

.yl-footer__copyright {
    margin: 0;
    color: #62748e;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
}

.yl-footer__legal-list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.yl-footer__legal-list li {
    margin: 0;
}

.yl-footer__legal-list a {
    color: #62748e;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.yl-footer__legal-list a:hover {
    color: #cad5e2;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1100px) {
    .yl-footer__main {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 40px 32px;
    }
    .yl-footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .yl-footer {
        margin: 8px;
        padding: 28px 20px;
    }
    .yl-footer__main {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .yl-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============================================================
   Coordonnees et reseaux sociaux
   Figma : node 893:10710 (bloc marque) et 1128:9768 (reseaux)
   ============================================================ */

/* Colonne marque — gap 23px entre logo, tagline, e-mail et adresse */
.yl-footer__brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 23px;
}

.yl-footer__logo--svg {
    width: 127.5px;
    height: auto;
    color: var(--color-surface-white);
}

/* E-mail et adresse — Body/XS/Regular : 14px, interligne 1.6 */
.yl-footer__contact,
.yl-footer__address {
    margin: 0;
    font-family: var(--font-family-base);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-xs);
    font-style: normal;
    color: var(--color-text-invert);
}

.yl-footer__contact-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.yl-footer__contact-link:hover,
.yl-footer__contact-link:focus-visible {
    color: var(--color-orange-500);
    text-decoration: underline;
}

/* Reseaux sociaux — icones 18x18, espacees de 16px */
.yl-footer__socials {
    /* marge haute : les reseaux ferment la colonne marque */
    margin-top: 9px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.yl-footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-invert);
    transition: color 0.2s ease, transform 0.2s ease;
}

.yl-footer__social-link:hover,
.yl-footer__social-link:focus-visible {
    color: var(--color-orange-500);
    transform: translateY(-2px);
}

.yl-footer__social-icon {
    display: block;
    width: 18px;
    height: 18px;
}

@media (prefers-reduced-motion: reduce) {
    .yl-footer__social-link {
        transition: color 0.2s ease;
    }
    .yl-footer__social-link:hover {
        transform: none;
    }
}
