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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f5f5f7;
    color: #1a1a1a;
    line-height: 1.6;
}

/* ============================================
   HEADER — identique logo-personnalise.css
   ============================================ */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    height: 56px;
    display: flex;
    align-items: center;
}

.header-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link { text-decoration: none; }

.logo-text {
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1a1a1a;
}

.logo-m {
    color: rgba(110,70,230,0.9);
    text-shadow: 0 0 8px rgba(100,60,220,0.55), 0 0 20px rgba(100,60,220,0.25);
    font-weight: 500;
}

.nav-cta {
    background: linear-gradient(135deg, rgba(90,60,220,0.9), rgba(120,80,240,0.9));
    color: white;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(90,60,220,0.25);
}

.nav-cta:hover { opacity: 0.88; box-shadow: 0 4px 14px rgba(90,60,220,0.35); }

/* ============================================
   PAGE HERO — bandeau blanc compact
   ============================================ */
.page-hero {
    background: white;
    padding: 80px 2rem 52px;
    text-align: center;
    margin-top: 56px;
    border-bottom: 1px solid #f0f0ee;
}

.page-hero-inner { max-width: 600px; margin: 0 auto; }

.section-label {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.12em;
    color: rgba(110,70,230,0.8);
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.page-hero-title {
    font-size: 28px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.page-hero-title em {
    font-style: normal;
    color: rgba(110,70,230,0.9);
}

.page-hero-sub {
    font-size: 13px;
    color: #888;
    font-weight: 400;
}

/* ============================================
   CONTENU LÉGAL
   ============================================ */
.legal-main {
    max-width: 760px;
    margin: 0 auto;
    padding: 56px 2rem 80px;
}

.legal-update {
    display: inline-block;
    font-size: 11px;
    color: rgba(110,70,230,0.7);
    background: rgba(110,70,230,0.06);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 40px;
    letter-spacing: 0.04em;
}

.legal-section {
    margin-bottom: 44px;
}

.legal-section h2 {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0ee;
}

.legal-section h3 {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 16px 0 8px;
}

.legal-section p {
    font-size: 13px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 10px;
}

.legal-section ul {
    list-style: none;
    margin: 8px 0 10px;
}

.legal-section ul li {
    font-size: 13px;
    color: #555;
    line-height: 1.8;
    padding-left: 16px;
    position: relative;
}

.legal-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(90,60,220,0.5);
}

.legal-section a {
    color: rgba(90,60,220,0.85);
    text-decoration: none;
    transition: color 0.2s;
}

.legal-section a:hover { color: rgba(90,60,220,1); text-decoration: underline; }

.legal-highlight {
    background: white;
    border-radius: 14px;
    padding: 20px 22px;
    box-shadow: 0 2px 8px rgba(90,60,220,0.08);
    margin-bottom: 16px;
}

.legal-highlight p { margin: 0; }

/* ============================================
   FOOTER
   ============================================ */
.footer { background: #0f0f0f; color: white; }

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2.5rem 0;
}

.footer-top {
    display: flex;
    gap: 2rem;
    padding-bottom: 2.5rem;
    flex-wrap: wrap;
}

.footer-brand {
    flex: 1.4;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-logo-text {
    font-size: 15px;
    font-weight: 300;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-logo-m {
    color: rgba(110,70,230,0.9);
    text-shadow: 0 0 8px rgba(100,60,220,0.55), 0 0 20px rgba(100,60,220,0.25);
    font-weight: 400;
}

.footer-logo-rest { color: rgba(255,255,255,0.85); }

.footer-tagline {
    font-size: 12px;
    color: rgba(255,255,255,0.35);
    line-height: 1.7;
    max-width: 220px;
}

.footer-stripe { font-size: 12px; color: rgba(255,255,255,0.35); }
.footer-stripe strong { color: rgba(255,255,255,0.55); font-weight: 500; }

.footer-col {
    flex: 1;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col-title {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin-bottom: 4px;
}

.footer-link {
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    transition: color 0.15s;
    line-height: 1;
}

.footer-link:hover { color: rgba(255,255,255,0.75); }

.footer-divider-wrap { position: relative; height: 1px; }
.footer-divider { width: 100%; height: 1px; background: rgba(255,255,255,0.06); }

.footer-divider-glow {
    position: absolute;
    top: 0;
    height: 1px;
    background: rgba(100,60,220,0.4);
    box-shadow: 0 0 6px 2px rgba(100,60,220,0.35), 0 0 16px 4px rgba(100,60,220,0.15);
}

/* Position par défaut — surchargée dans chaque page via <style> inline */
.footer-divider-glow { left: 55%; width: 30%; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copy { font-size: 11px; color: rgba(255,255,255,0.18); }
.footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }

.footer-bottom-link {
    font-size: 11px;
    color: rgba(255,255,255,0.25);
    text-decoration: none;
    transition: color 0.15s;
}

.footer-bottom-link:hover { color: rgba(255,255,255,0.5); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .page-hero { padding: 72px 1.5rem 40px; }
    .legal-main { padding: 36px 1.25rem 60px; }
    .footer-top { flex-direction: column; gap: 1.5rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-bottom-links { justify-content: center; }
    .footer-container { padding: 2rem 1.5rem 0; }
}

@media (max-width: 480px) {
    .header-container { padding: 0 1.25rem; }
    .page-hero-title { font-size: 22px; }
}
