@import url('https://fonts.googleapis.com/css2?family=Unica+One&display=swap');

:root {
    /* Palette Papier & Contraste */
    --paper-white: #fdfdfd;
    --text-dark: #1a1a1a;
    --accent-white: #ffffff;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: "Unica One", sans-serif;
    text-transform: lowercase;
    scroll-behavior: smooth;
    background-color: var(--paper-white);
}

/* --- NAVIGATION HAUTE (Sur l'image) --- */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 40px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    z-index: 10;
}

.logo {
    color: var(--accent-white);
    font-size: 1.8rem;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-shadow: 0px 2px 10px rgba(0,0,0,0.3);
}

nav a {
    color: var(--accent-white);
    text-decoration: none;
    margin-left: 40px;
    font-size: 1.1rem;
    letter-spacing: 0.25em;
    opacity: 0.9;
    transition: opacity 0.3s;
    text-shadow: 0px 2px 10px rgba(0,0,0,0.3);
}

nav a:hover { opacity: 1; }

/* --- SECTION 1 : HERO (IMAGE SUREXPOSÉE) --- */
.hero-container {
    width: 100vw;
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    z-index: 1;
    filter: brightness(0.5); /* Ton réglage de luminosité */
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero-slogan {
    position: relative;
    z-index: 3;
    color: var(--accent-white);
    text-align: center;
    font-size: clamp(1.8rem, 6vw, 4rem);
    letter-spacing: 0.2em;
    padding: 0 10%;
    /* Ombre portée pour faire ressortir le blanc sur le clair */
    text-shadow: 0px 10px 30px rgba(0, 0, 0, 0.4);
}

/* --- SECTION 2 : MANIFESTO (TEXTURE PAPIER FROISSÉ) --- */
.manifesto-section {
    height: 100vh; /* Un écran pile */
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centre le texte et bouton au milieu */
    align-items: center;
    color: var(--text-dark);
    position: relative;
    text-align: center;
    box-sizing: border-box;
    padding: 0 10%;
    overflow: hidden;
    
    /* BACKGROUND PAPIER FROISSÉ */
    background-color: #f4f4f4; /* Secours si l'image ne charge pas */
    background-image: 
        url('images/papier.webp'), /* Grain fin */
        url('images/papier.webp'); /* Plis papier */
    background-size: auto, cover;
    background-position: center;
    background-repeat: repeat, no-repeat;
    
    /* Ombre interne pour l'effet "profondeur de la feuille" */
    box-shadow: inset 0 0 100px rgba(0,0,0,0.05); 
}

.manifesto {
    font-size: clamp(1.4rem, 3.5vw, 2.2rem);
    max-width: 800px;
    margin: 0 auto;
    letter-spacing: 0.05em;
    line-height: 1.6;
}

/* --- BOUTON MINIMALISTE --- */
.btn {
    display: inline-block;
    margin-top: 45px;
    padding: 16px 45px;
    border: 1.5px solid var(--text-dark);
    color: var(--text-dark);
    background-color: transparent;
    text-decoration: none;
    transition: all 0.4s ease;
    letter-spacing: 0.3em;
    font-size: 1rem;
    position: relative;
    z-index: 2;
}

.btn:hover {
    background-color: var(--text-dark);
    color: var(--paper-white);
    letter-spacing: 0.4em;
}

/* --- FOOTER INTÉGRÉ (FIXÉ EN BAS DU PAPIER) --- */
.integrated-legal {
    position: absolute;
    bottom: 35px;
    left: 0;
    width: 100%;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    opacity: 0.4;
    color: var(--text-dark);
    transition: opacity 0.3s;
}

.integrated-legal:hover {
    opacity: 0.8;
}

.integrated-legal nav {
    margin-top: 10px;
}

.integrated-legal nav a {
    color: var(--text-dark);
    text-decoration: none;
    margin: 0 15px;
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 768px) {
    header { padding: 30px; }
    .logo { font-size: 1.4rem; }
    nav a { margin-left: 15px; font-size: 0.9rem; }
    .manifesto { font-size: 1.4rem; }
    .btn { width: 80%; padding: 15px 0; font-size: 0.9rem; }
    .integrated-legal nav a { display: block; margin: 8px 0; }
}

 /* --- STYLES SPÉCIFIQUES AUX PAGES LÉGALES --- */
.content-legal {
    max-width: 700px;
    text-align: left;
    padding: 100px 20px;
    /* On retire la ligne font-family pour laisser Unica One s'appliquer par défaut */
    text-transform: lowercase; /* On repasse en minuscule pour le style dehors */
    line-height: 1.4;
}

.content-legal h1 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.content-legal h2 {
    font-size: 1.3rem;
    margin-top: 30px;
}

.content-legal p, .content-legal li, .content-legal strong {
    font-size: 1.1rem; /* On augmente un peu la taille car Unica One est fine */
    color: var(--text-dark);
    margin-bottom: 15px;
    letter-spacing: 0.05em;
}