/* ============================================================
 * Thème Yannick — Styles pages intérieures
 * ============================================================
 * Reprend les mêmes tokens que la homepage. Les tokens homepage
 * sont dupliqués ici pour que le site.css soit autonome — les
 * pages intérieures ne chargent pas homepage.css.
 * ============================================================ */

:root {
    --yg-white:      #FFFFFF;
    --yg-ink:        #0E0E0C;
    --yg-body:       #3B3A36;
    --yg-muted:      #857F72;
    --yg-line-light: #E0DED8;
    --yg-turquoise:  #5C94A7;
    --yg-beige:      #F4F1EB;

    --yg-serif:      'Bebas Neue', Impact, sans-serif;
    --yg-sans:       'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ---------- Body ---------- */
body.yg-body--inner {
    font-family: var(--yg-sans);
    background: var(--yg-white);
    color: var(--yg-ink);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
body.yg-body--inner a { color: inherit; text-decoration: none; }

.yg-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 48px);
}

/* ============================================================
 * HEADER
 * ============================================================ */
.yg-site-header {
    background: var(--yg-white);
    border-bottom: 1px solid var(--yg-line-light);
    position: sticky;
    top: 0;
    z-index: 100;
}
.yg-site-header__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 20px clamp(20px, 5vw, 48px);
    gap: 24px;
}
.yg-site-header__logo {
    justify-self: center;
    display: block;
    line-height: 0;
}
.yg-site-header__logo img {
    height: 44px;
    width: auto;
    display: block;
    object-fit: contain;
}
.yg-site-header__menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 24px;
}
.yg-site-header__menu a {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--yg-ink);
    transition: color 0.2s;
}
.yg-site-header__menu a:hover { color: var(--yg-turquoise); }
.yg-site-header__nav-left { justify-self: start; }
.yg-site-header__nav-right { justify-self: end; }

/* ============================================================
 * MAIN + PAGE
 * ============================================================ */
.yg-site-main {
    min-height: 60vh;
    padding: clamp(48px, 6vw, 96px) 0;
}
.yg-page__title {
    font-family: var(--yg-serif);
    font-weight: 400;
    font-size: clamp(48px, 7vw, 96px);
    line-height: 1;
    letter-spacing: 0.005em;
    color: var(--yg-ink);
    margin: 0 0 40px;
}
.yg-page__content {
    font-size: 17px;
    line-height: 1.7;
    color: var(--yg-body);
}
.yg-page__content p { margin: 0 0 20px; }
.yg-page__content h2,
.yg-page__content h3,
.yg-page__content h4 {
    font-family: var(--yg-serif);
    font-weight: 400;
    letter-spacing: 0.005em;
    color: var(--yg-ink);
    line-height: 1.1;
    margin: 40px 0 16px;
}
.yg-page__content h2 { font-size: 40px; }
.yg-page__content h3 { font-size: 30px; }
.yg-page__content h4 { font-size: 22px; }
.yg-page__content a {
    color: var(--yg-turquoise);
    border-bottom: 1px solid currentColor;
}

/* ============================================================
 * 404
 * ============================================================ */
.yg-404 {
    text-align: center;
    padding: clamp(80px, 12vw, 160px) 0;
}
.yg-404__code {
    font-family: var(--yg-serif);
    font-size: clamp(80px, 15vw, 200px);
    color: var(--yg-turquoise);
    line-height: 1;
    margin: 0 0 24px;
}
.yg-404__title {
    font-family: var(--yg-serif);
    font-size: clamp(36px, 5vw, 64px);
    color: var(--yg-ink);
    margin: 0 0 16px;
}
.yg-404__lead {
    font-size: 18px;
    color: var(--yg-body);
    margin: 0 0 40px;
}

/* ============================================================
 * BOUTONS (utilisés dans 404 et éventuellement pages)
 * ============================================================ */
.yg-btn {
    display: inline-block;
    padding: 16px 32px;
    font-family: var(--yg-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid currentColor;
    background: transparent;
    color: var(--yg-ink);
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
}
.yg-btn--dark { color: var(--yg-ink); }
.yg-btn:hover,
.yg-btn:focus-visible {
    background: var(--yg-ink);
    color: var(--yg-white);
}

/* ============================================================
 * FOOTER
 * ============================================================ */
.yg-footer {
    background: #0A0A08;
    color: rgba(255, 255, 255, 0.6);
    padding: clamp(48px, 6vw, 80px) 0 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.yg-footer__top {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: clamp(24px, 4vw, 60px);
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.yg-footer__logo {
    display: block;
    line-height: 0;
}
.yg-footer__logo img {
    height: 56px;
    width: auto;
    display: block;
    object-fit: contain;
}
.yg-footer__tagline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
    max-width: 340px;
    justify-self: center;
    line-height: 1.5;
    margin: 0;
}
.yg-footer__socials {
    display: flex;
    gap: 20px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}
.yg-footer__socials a {
    color: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid transparent;
    padding-bottom: 4px;
    transition: color 0.2s, border-color 0.2s;
}
.yg-footer__socials a:hover {
    color: var(--yg-turquoise);
    border-bottom-color: var(--yg-turquoise);
}
.yg-footer__bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 24px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.35);
}
.yg-footer__bottom p { margin: 0; }

/* ============================================================
 * MOBILE
 * ============================================================ */
@media (max-width: 900px) {
    .yg-site-header__inner {
        grid-template-columns: 1fr auto;
        gap: 16px;
    }
    .yg-site-header__nav-left { display: none; }
    .yg-site-header__logo { justify-self: start; }
    .yg-site-header__logo img { height: 36px; }
    .yg-site-header__nav-right { justify-self: end; }

    .yg-footer__top {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    .yg-footer__logo { justify-self: center; }
    .yg-footer__logo img { height: 48px; margin: 0 auto; }
    .yg-footer__tagline { justify-self: center; }
    .yg-footer__socials { justify-content: center; }
    .yg-footer__bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* ============================================================
 * A11Y
 * ============================================================ */
body.yg-body--inner *:focus-visible {
    outline: 2px solid var(--yg-turquoise);
    outline-offset: 3px;
}