/* =========================================
   PRIVACY.CSS - DESIGN "DIGITAL VAULT" (COFFRE-FORT)
   ========================================= */

/* --- 1. CONFIGURATION DE BASE --- */
body.privacy-body {
    background-color: #020202; /* Noir quasi absolu */
    margin: 0; padding: 0;
    font-family: 'Montserrat', sans-serif;
    color: #b0b0b0; /* Gris technique */
    line-height: 1.7;
    overflow-x: hidden;
}

/* Texture de fond "Bruit Numérique" */
.noise-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none; z-index: 0;
}


/* --- 2. NAVBAR (Interface Système) --- */
.doc-nav {
    position: fixed; top: 0; width: 100%;
    display: flex; justify-content: space-between; align-items: center;
    padding: 25px 50px;
    
    /* Fond sombre pour détacher la nav */
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    
    z-index: 100; box-sizing: border-box;
}

.doc-logo {
    font-family: 'Cormorant Garamond', serif; font-weight: 700; letter-spacing: 3px;
    color: #fff; text-decoration: none; font-size: 1.1rem;
}

.btn-close-doc {
    font-size: 2rem; color: #555; text-decoration: none; transition: 0.3s;
    line-height: 0.5;
}
.btn-close-doc:hover { color: #fff; text-shadow: 0 0 15px rgba(255,255,255,0.5); }


/* --- 3. LE COFFRE (CONTENEUR UNIQUE) --- */
.document-wrapper {
    max-width: 900px; /* Plus large que Legal pour la grille */
    margin: 140px auto 100px;
    position: relative; z-index: 10;
    padding: 70px;
    
    /* EFFET VERRE BLINDÉ */
    background: rgba(10, 10, 10, 0.5); /* Semi-transparent */
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 80px rgba(0,0,0,0.8); /* Grosse ombre pour flotter */
    border-radius: 4px;
}

/* Header aligné à GAUCHE */
.doc-header { 
    text-align: left; 
    margin-bottom: 60px; 
    border-bottom: 1px solid rgba(212, 175, 55, 0.2); /* Ligne Or fine */
    padding-bottom: 30px;
}

.doc-category {
    font-family: 'Courier New', monospace; /* Police technique */
    font-size: 0.6rem; color: #d4af37; 
    letter-spacing: 3px; display: block; margin-bottom: 15px;
}

.doc-header h1 {
    font-family: 'Cormorant Garamond', serif; font-size: 3rem; color: #fff; margin: 0;
    letter-spacing: 1px; text-transform: uppercase; font-weight: 400;
}

.doc-intro { 
    font-size: 1rem; color: #888; margin-top: 20px;
    max-width: 100%; font-family: 'Montserrat', sans-serif;
}


/* --- 4. SECTIONS & NUMÉROTATION --- */
.doc-content { counter-reset: privacy-sec; }
.doc-section { margin-bottom: 80px; }

.doc-section h2 {
    font-family: 'Montserrat', sans-serif; /* Titre plus moderne ici */
    font-size: 1.1rem; color: #fff;
    margin-bottom: 30px; letter-spacing: 2px; text-transform: uppercase;
    display: flex; align-items: center;
}

/* Numéros Carrés (01 02) */
.doc-section h2::before {
    counter-increment: privacy-sec; content: counter(privacy-sec, decimal-leading-zero);
    background: rgba(212, 175, 55, 0.1); color: #d4af37;
    font-size: 0.7rem; font-weight: bold; padding: 4px 8px;
    margin-right: 15px; border: 1px solid rgba(212, 175, 55, 0.2);
}

.doc-section p { color: #999; text-align: left; margin-bottom: 20px; font-size: 0.95rem; }


/* --- 5. GRILLE DE CARTES (Le cœur du design) --- */
/* Transforme la liste <ul> en grille 2 colonnes */
.legal-spec {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 Colonnes */
    gap: 20px;
    margin-top: 30px; padding: 0; list-style: none;
}

.legal-spec li {
    background: rgba(255, 255, 255, 0.02); /* Fond très léger */
    border: 1px solid rgba(255, 255, 255, 0.05); /* Bordure discrète */
    padding: 25px;
    display: flex; flex-direction: column; 
    align-items: flex-start; justify-content: center;
    transition: 0.4s ease;
}

/* Effet Hover sur les cartes : Bordure Or */
.legal-spec li:hover {
    background: rgba(212, 175, 55, 0.02);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.spec-label {
    font-family: 'Courier New', monospace; /* Label technique */
    font-size: 0.65rem; color: #555;
    text-transform: uppercase; margin-bottom: 10px;
    display: block; width: 100%;
}
/* Le label devient Or au survol de la carte */
.legal-spec li:hover .spec-label { color: #d4af37; }

.spec-value {
    font-family: 'Montserrat', sans-serif; 
    font-size: 1rem; color: #fff;
    font-weight: 500; text-align: left;
}


/* --- 6. SCEAU DE FIN --- */
.digital-seal {
    text-align: right; /* Signature en bas à droite */
    margin-top: 60px; opacity: 0.5;
    border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px;
}
.digital-seal i { font-size: 2rem; color: #d4af37; margin-bottom: 10px; }
.digital-seal span { display: block; font-size: 0.6rem; letter-spacing: 3px; color: #d4af37; }


/* --- 7. FOOTER (Adapté au sombre) --- */
.royal-footer {
    background-color: #000; border-top: 1px solid #111;
    padding: 60px 0 40px; z-index: 50; position: relative;
}
.footer-content { max-width: 1000px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; gap: 30px; align-items: center; }
.footer-divider { display: flex; align-items: center; gap: 15px; width: 100%; opacity: 0.3; justify-content: center; }
.footer-divider .line { width: 100px; height: 1px; background: #444; }
.footer-divider .diamond { color: #666; }
.footer-menu { display: flex; gap: 40px; flex-wrap: wrap; justify-content: center; }
.footer-menu a {
    font-family: 'Cormorant Garamond', serif; color: #666; text-decoration: none;
    letter-spacing: 2px; font-size: 0.8rem; text-transform: uppercase; transition: 0.3s;
}
.footer-menu a:hover { color: #d4af37; }
.footer-copy { font-size: 0.6rem; color: #333; letter-spacing: 2px; }


/* --- MOBILE --- */
@media (max-width: 800px) {
    .document-wrapper { padding: 40px 25px; margin: 100px 20px; }
    .doc-header h1 { font-size: 2.2rem; }
    .doc-nav { padding: 20px; }
    
    /* La grille passe en 1 colonne sur mobile */
    .legal-spec { grid-template-columns: 1fr; } 
    
    .digital-seal { text-align: center; }
}