/* =============================================
   SHANTI REY-FAYET — Site Artiste
   ============================================= */

/* Curseur global désactivé sauf JS custom */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    cursor: none default;
}

:root {
    --col-left-width: 260px;
    --col-right-width: 60px;
    --ticker-height: 42px;
    --white: #ffffff;
    --off-white: rgba(255,255,255,0.82);
    --dim: rgba(255,255,255,0.45);
    --font-title: 'Montaga', 'Georgia', serif;
    --font-body: 'IM Fell English SC', serif;
    --letter-spacing-title: -0.07em;  /* approche -70 approximée */
    --line-height-title: 1.08;
}

html, body {
    width: 100%;
    height: 100%;
    background: #000;
    color: var(--white);
    overflow: hidden;
}

/* ---- CURSEUR MARTEAU ---- */
#hammer-cursor {
    position: fixed;
    top: 0; left: 0;
    width: 32px;
    height: 32px;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    font-size: 22px;
    line-height: 32px;
    text-align: center;
   
}
#hammer-cursor::after {
    content: '🔨';
    display: block;
    transform: scaleX(-1);
}

/* ---- LAYOUT GRILLE ---- */
.grid-wrapper {
    display: grid;
    grid-template-columns: var(--col-left-width) 1fr var(--col-right-width);
    grid-template-rows: 1fr;
    width: 100vw;
    height: calc(100vh - var(--ticker-height));
    position: relative;
}

/* ---- COLONNE GAUCHE ---- */
.col-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 36px 28px 36px 36px;
    position: relative;
    z-index: 10;
    /* légère ombre portée pour lisibilité sur photo */
    background: linear-gradient(to right, rgba(0,0,0,0.55) 0%, transparent 100%);
}

.artist-name h1 {
    font-family: var(--font-title);
    font-weight: 400;
    font-size: 2.7rem;
    line-height: var(--line-height-title);
    letter-spacing: var(--letter-spacing-title);
    color: var(--white);
    text-transform: uppercase;
}

/* ---- NAVIGATION ---- */
.main-nav {
    margin-bottom: 8px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.main-nav ul li a {
    font-family: var(--font-title);
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    color: var(--off-white);
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s ease, letter-spacing 0.2s ease;
    display: inline-block;
}

.main-nav ul li a:hover {
    color: var(--white);
    letter-spacing: 0.22em;
}

/* ---- COLONNE CENTRALE — IMAGE HÉRO ---- */
.col-center {
    position: relative;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
}

/* Léger voile sombre sur la photo pour lisibilité */
.hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.18);
    pointer-events: none;
}

/* ---- BOUTON PORTFOLIO ---- */
.portfolio-btn {
    position: absolute;
    bottom: 13%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    text-decoration: none;
    display: inline-block;
    border: 1.5px solid var(--white);
    border-radius: 50px;
    padding: 10px 34px;
    transition: background 0.25s ease, color 0.25s ease;
}

.portfolio-btn:hover {
    background: rgba(255,255,255,0.15);
}

.portfolio-text {
    font-family: var(--font-title);
    font-weight: 400;
    font-size: 1.1rem;
    letter-spacing: 0.28em;
    color: var(--white);
    text-transform: uppercase;
    white-space: nowrap;
}

/* ---- COLONNE DROITE ---- */
.col-right {
    background: transparent;
}

/* ---- BANDEAU TEXTE DÉFILANT ---- */
.ticker-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: var(--ticker-height);
    overflow: hidden;
    background: transparent;
    z-index: 50;
}

.ticker-track {
    display: flex;
    align-items: center;
    white-space: nowrap;
    gap: 0;
    height: 100%;
    animation: ticker-scroll 38s linear infinite;
    will-change: transform;
}

.ticker-track span {
    font-family: var(--font-title);
    font-size: 0.88rem;
    letter-spacing: 0.06em;
    color: #00ff41; /* vert code comme dans l'image de réf Ntjam */
    padding: 0 18px;
    line-height: var(--ticker-height);
}

.ticker-track .sep {
    color: rgba(0, 255, 65, 0.5);
    padding: 0 4px;
    font-size: 0.6rem;
}

@keyframes ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ---- PAGES INTERNES (cv, contact, démarche) ---- */
.page-body {
    overflow: auto;
}

.inner-page {
    min-height: 100vh;
    background: #0a0a0a;
    color: var(--white);
    padding: 60px 80px;
    font-family: var(--font-title);
}

.inner-page h2 {
    font-family: var(--font-title);
    font-size: 2.2rem;
    letter-spacing: var(--letter-spacing-title);
    line-height: var(--line-height-title);
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 16px;
}

.inner-page p, .inner-page li {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--off-white);
    max-width: 680px;
    margin-bottom: 16px;
}

.back-link {
    display: inline-block;
    margin-bottom: 40px;
    font-family: var(--font-title);
    font-size: 0.85rem;
    letter-spacing: 0.14em;
    color: var(--dim);
    text-decoration: none;
    text-transform: uppercase;
}

.back-link:hover { color: var(--white); }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
    :root {
        --col-left-width: 180px;
        --col-right-width: 0px;
    }

    .col-right { display: none; }

    .artist-name h1 {
        font-size: 1.8rem;
    }

    .inner-page {
        padding: 40px 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ticker-track {
        animation-duration: 90s;
    }
}

.cv-section {
    font-family: 'Montaga', serif;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    margin: 40px 0 16px;
}

.cv-table {
    border-collapse: collapse;
    width: 100%;
    max-width: 680px;
}

.cv-table tr td {
    font-family: 'Montaga', serif;
    font-size: 0.92rem;
    color: rgba(255,255,255,0.78);
    line-height: 1.8;
    padding: 4px 0;
    vertical-align: top;
}

.cv-year {
    width: 90px;
    color: rgba(255,255,255,0.35);
    font-size: 0.85rem;
    padding-right: 24px !important;
    white-space: nowrap;
}

.contact-link {
    font-family: 'Montaga', serif;
    color: rgba(255,255,255,0.78);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-link:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.7);
}

.demarche-img {
    width: 100%;
    max-width: 680px;
    height: auto;
    display: block;
    margin: 36px 0;
    opacity: 0.88;
}

@media (max-width: 768px) {
    .game-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 16px;
    }

    .bio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 0 16px;
    }

    h1.main-title {
        font-size: 1.1rem;
    }

    .header-grid {
        padding: 20px 16px 0;
    }

    .title-col {
        grid-column: 1 / span 12;
    }
}