/* =========================================================
   RAPHAELISME — STYLES GLOBAUX
   Styles communs à toutes les pages
   =========================================================
*/


/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow-x: hidden;
    font-family: Arial, sans-serif;
    scroll-behavior: smooth;
    background: black;
    color: white;
}

/* ================= HEADER ================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 100;

    background: transparent;
    overflow: hidden;
}

 /* couche 1 : ultra soft (départ quasi invisible) */
header::before {
    content: "";
    position: absolute;
    inset: 0;

    backdrop-filter: blur(0.5px);
    -webkit-backdrop-filter: blur(0.5px);
}

/* couche 2 : progression + vrai pic de blur */
header::after {
    content: "";
    position: absolute;
    inset: 0;

    /* 🔥 plus réaliste que 30px constant */
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    mask-image: linear-gradient(
        to bottom,

        /* 0–8px : quasi clean */
        rgba(0,0,0,1) 0%,
        rgba(0,0,0,0.98) 5%,
        rgba(0,0,0,0.94) 10%,

        /* début visible */
        rgba(0,0,0,0.85) 18%,
        rgba(0,0,0,0.72) 26%,

        /* montée rapide */
        rgba(0,0,0,0.55) 36%,
        rgba(0,0,0,0.38) 48%,

        /* 🔥 zone blur fort (vraie profondeur ici) */
        rgba(0,0,0,0.20) 62%,
        rgba(0,0,0,0.08) 78%,

        /* disparition */
        rgba(0,0,0,0) 100%
    );
}

/* contenu net */
header > * {
    position: relative;
    z-index: 2;
}
/* ================= FIN DE HEADER ================= */

/* ================= LOGO / NAVIGATION ================= */
/* LOGO */
.logo img {
    height: 40px;
}

/* ================= DESKTOP NAV ================= */
nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #25e0d5;
}

/* ================= RÉSEAUX SOCIAUX ================= */
/* ================= SOCIALS ================= */
.socials {
    display: flex;
    gap: 15px;
}

.socials img,
.mobile-socials img {
    height: 25px;
    opacity: 0.8;
    transition: 0.3s ease;
    filter: invert(1);
}

.socials img:hover,
.mobile-socials img:hover {
    opacity: 1;
    filter: invert(74%) sepia(57%) saturate(420%) hue-rotate(130deg) brightness(95%) contrast(90%);
}

.inverser {
    filter: invert(1);
}

/* ================= HAMBURGER ================= */
.hamburger {
    display: none;
    width: 30px;
    height: 22px;
    position: relative;
    cursor: pointer;
    z-index: 120;
}

.hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: white;
    transition: all 0.4s ease;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 10px; }
.hamburger span:nth-child(3) { bottom: 0; }

/* CROIX */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 10px;
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 10px;
}


/* ================= MENU MOBILE ================= */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transform: translateY(-100%);
    transition: transform 0.5s ease;
    z-index: 90;
}

.mobile-menu.active {
    transform: translateY(0);
    pointer-events: auto;
}

.mobile-menu a {
    color: white;
    text-decoration: none;
    font-size: 22px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* socials mobile */
.mobile-socials {
    position: absolute;
    bottom: 40px;
    display: flex;
    gap: 25px;
}


/* ================= RESPONSIVE HEADER ================= */
@media (max-width: 900px) {
    nav, .socials {
        display: none;
    }

    .hamburger {
        display: block;
    }
}

/* ================= FOOTER ================= */
.site-footer {
    width: 100%;
    padding: 20px 20px;
    background: black;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.site-footer p {
    color: rgba(255,255,255,0.45);
    font-size: 14px;
    line-height: 1.0;
    letter-spacing: 1px;
    margin: 8px 0;
    font-family: Arial, sans-serif;
}

.site-footer strong {
    color: white;
    font-weight: 400;
}
