/* ===== NOS TATOUAGES ===== */

body {
    overflow-x: hidden;
}

.tattoos-main {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 90px;
}

/* TITRE */
.tattoos-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(32px, 6vw, 80px);
    font-weight: 500;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: #fff;
    text-align: center;
    padding: 52px 0 48px;
    margin-top: -30px;
}

/* SPLIT */
.tattoos-split {
    display: flex;
    width: 100%;
    flex: 1;
    height: calc(100vh - 200px);
    padding: 0 32px;
    gap: 16px;
}

/* PANEL */
.split-panel {
    position: relative;
    flex: 1;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    size : 0.8;
}

.split-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                filter 0.5s ease;
    filter: brightness(0.55) saturate(0.8);
}

/* OVERLAY HOVER (PC) */
.split-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0);
    transition: background 0.4s ease;
}

.split-label {
    font-family: 'Cinzel', serif;
    font-size: clamp(18px, 2.5vw, 32px);
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #fff;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* LABEL MOBILE (toujours visible) */
.split-label-mobile {
    display: none;
    position: absolute;
    bottom: 28px;
    left: 0;
    right: 0;
    text-align: center;
    font-family: 'Cinzel', serif;
    font-size: 15px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #fff;
}



/* ══ FOOTER ══ */
footer {
    padding: 40px;
    border-top: 1px solid #111;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    display: flex;
    font-size: 28px;
}

.footer-links {
    display: flex;
    gap: 24px;
    font-size: 13px;
    color: #444;
    font-family: sans-serif;
}

.footer-links a {
    color: #444;
    transition: .3s;
}

.footer-links a:hover {
    color: var(--green);
}

.footer-social {
    display: flex;
    gap: 16px;
}


/* HOVER PC */
@media (hover: hover) {
    .split-panel:hover img {
        transform: scale(1.05);
        filter: brightness(0.35) saturate(0.7);
    }

    .split-panel:hover .split-overlay {
        background: rgba(0, 0, 0, 0.25);
    }

    .split-panel:hover .split-label {
        opacity: 1;
        transform: translateY(0);
    }
}

/* LIEN ACTIVE NAVBAR */
.nav .Annexes a.active {
    color: #c9a84c;
}

/* FADE IN */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s ease var(--d, 0s),
                transform 0.8s ease var(--d, 0s);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

    .tattoos-main {
        padding-top: 70px;
    }

    .tattoos-title {
        padding: 36px 0 28px;
        letter-spacing: 5px;
    }

    .tattoos-split {
        flex-direction: column;
        height: auto;
    }

    .split-panel {
        height: 45vh;
    }

    .split-label {
        display: none;
    }

    .split-label-mobile {
        display: block;
    }

    .split-overlay {
        background: rgba(0, 0, 0, 0.2);
    }
}