/* ================================
PAGES INTÉRIEURES : barre de menu en haut + boîte de contenu
================================ */

.mise-en-page {
    position: relative;
    z-index: 1;
    max-width: 1300px;
    margin: 0 auto;
    padding: 1rem 2vw 2.5rem;
}

/* === BARRE DU HAUT : titre · menu · réseaux === */
.barre {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem 1.2rem;
    margin-bottom: 1.5rem;
    padding: 0.5rem 0.8rem;
    background: rgba(28, 4, 32, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.menu {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.menu a {
    padding: 0.35rem 0.8rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--police-titre);
    font-size: 0.85rem;
    color: var(--blanc);
    text-shadow: #000 2px 1px;
    background: rgba(241, 187, 187, 0.68);
    border: 1px solid var(--rose);
    transition: transform 0.15s, background 0.15s;
}
.menu a:hover { background: rgba(241, 187, 187, 0.4); transform: translateY(-2px); }

/* page où l'on se trouve */
.menu a[aria-current="page"] {
    background: var(--violet-fonce);
    color: var(--rose);
}

.titre-deluge {
    position: relative;
    margin: 0;
    padding: 0 0.5rem;
}
.titre-deluge a {
    font-family: var(--police-titre);
    font-size: 2rem;
    letter-spacing: 4px;
    color: var(--rose);
    text-decoration: none;
    text-shadow: #000 2px 1px;
}

.gif-orage {
    position: absolute;
    width: 24px;
    pointer-events: none;
}
.gif-1 { top: -8px; left: 0; animation: allerRetour 6s ease-in-out infinite alternate; }
.gif-2 { bottom: -10px; left: -10px; animation: allerRetour 5s ease-in-out infinite alternate-reverse; }

@keyframes allerRetour {
    to { transform: translateX(120px); }
}

.reseaux {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 0.4rem;
    margin: 0;
    font-size: 0.72rem;
}
.reseaux a { color: var(--violet-fonce); background: var(--rose-clair); padding: 0 0.3rem; text-decoration: none; }
.reseaux a:hover { background: var(--violet-fonce); color: var(--rose); }

/* === BOÎTE DE CONTENU === */
.boite {
    min-height: 90vh;
    padding: 2.5rem clamp(1rem, 4vw, 3.5rem);
    background: rgba(50, 8, 50, 0.93);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.boite h1,
.boite h2 {
    font-family: var(--police-titre);
    font-weight: 400;
    color: var(--rose);
    letter-spacing: 2px;
    text-shadow: #000 2px 1px;
    line-height: 1.2;
}
.boite h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 1.5rem; }
.boite h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid rgba(241, 187, 187, 0.3);
}

/* bloc de texte courant : lignes pas trop longues pour rester lisible */
.texte, .boite > p { max-width: 70ch; }

.boite a { text-decoration-style: dashed; text-underline-offset: 3px; }

.intro { margin-bottom: 2rem; }
.intro p { max-width: 70ch; margin: 0; }

.english { font-style: italic; text-align: right; opacity: 0.85; }

/* === LOGOS SUPERCOLLIDER VOLANTS (derrière le contenu) === */
.logo-volant {
    position: fixed;
    z-index: 0;
    transition: all 2s ease;
}
.logo-volant img { display: block; width: 60px; opacity: 0.5; }
.logo-volant:hover img { opacity: 1; }

/* === BIO === */
.lien-cv a {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.4rem 1rem;
    text-decoration: none;
    color: var(--blanc);
    text-shadow: #000 2px 1px;
    background: rgba(241, 187, 187, 0.68);
    border: 1px solid var(--rose);
}
.lien-cv a:hover { background: var(--violet-fonce); color: var(--rose); }

.bio {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 2rem;
    align-items: start;
}
.bio img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    clip-path: polygon(20% 0%, 0% 100%, 10% 100%, 90% 70%);
}

/* === MOBILE === */
@media (max-width: 768px) {
    .mise-en-page { padding: 0.8rem 0.8rem 2rem; }
    .barre { justify-content: center; }
    .menu { justify-content: center; }
    .menu a { flex: 1 1 auto; text-align: center; font-size: 0.8rem; padding: 0.35rem 0.5rem; }
    .menu a:hover { transform: none; }
    .boite { min-height: 0; }
    .bio { grid-template-columns: 1fr; }
    .bio img { max-width: 70%; margin: 0 auto; }
    .logo-volant { display: none; }
}
