/* Page Politique des cookies - conformité française (CNIL / RGPD) */
body {
    min-height: 100vh;
    background-image: linear-gradient(to bottom right, #A6DCDD, #83DEB5, #4DB8BA);
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #2d5a5b;
    display: flex;
    flex-direction: column;
}

/* 页眉：透明毛玻璃条，与首页导航栏统一风格 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 16px 20px;
    box-sizing: border-box;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow:
        inset 0 -2px 4px rgba(255, 255, 255, 0.35),
        inset 0 1px 3px rgba(0, 0, 0, 0.08),
        0 8px 24px rgba(0, 0, 0, 0.12);
}

.logo-link {
    display: inline-block;
    text-decoration: none;
}

.logo {
    height: 80px;
    width: auto;
    display: block;
}

.main {
    flex: 1;
    margin-top: 120px;
    padding: 24px 16px 48px;
    box-sizing: border-box;
}

.content {
    max-width: 720px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 40px 36px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.content h1 {
    font-size: 1.75rem;
    color: #1e4849;
    margin: 0 0 0.5rem;
}

.last-update {
    font-size: 0.9rem;
    color: #5eacad;
    margin: 0 0 2rem;
}

.content h2 {
    font-size: 1.2rem;
    color: #2d5a5b;
    margin: 1.8rem 0 0.6rem;
}

.content h2:first-of-type {
    margin-top: 0;
}

.content p,
.content ul {
    margin: 0 0 1rem;
}

.content ul {
    padding-left: 1.5rem;
}

.content li {
    margin-bottom: 0.5rem;
}

.content a {
    color: #5eacad;
    text-decoration: none;
}

.content a:hover {
    text-decoration: underline;
}

.content a:focus {
    outline: 2px solid #5eacad;
    outline-offset: 2px;
}

.back-link {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(94, 172, 173, 0.3);
}

.back-link a {
    font-weight: 600;
}

/* 页脚：透明毛玻璃，与首页页脚统一风格 */
.footer {
    padding: 14px 20px;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow:
        inset 0 2px 4px rgba(255, 255, 255, 0.35),
        inset 0 -1px 3px rgba(0, 0, 0, 0.08),
        0 -8px 24px rgba(0, 0, 0, 0.12);
}

.footer a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer p {
    margin: 0.4rem 0;
}

/* 分类导航：两竖列 + 字体更大更粗 */
.footer-categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 18px;
    text-align: left;
    max-width: 680px;
    margin: 0 auto;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-categories a {
    font-size: 15px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    white-space: nowrap;
}

/* 法规链接：保持相对小一点 */
.footer .footer-categories + p a {
    font-size: 13px;
    font-weight: 500;
}

/* Mentions légales 页脚：参考 haustrava 的信息区块分布 */
.footer.footer-legal {
    padding: 18px 20px;
}

.legal-footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 18px;
    max-width: 1040px;
    margin: 0 auto;
    text-align: left;
}

.legal-footer-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.legal-footer-section h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.95);
}

.legal-footer-section a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    display: block;
}

.legal-footer-section a:hover {
    text-decoration: underline;
}

.legal-footer-section p {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
}

.legal-footer-section span {
    color: rgba(255, 255, 255, 0.9);
}

.muted {
    color: rgba(255, 255, 255, 0.75);
}

.muted-link {
    font-weight: 600;
}

.legal-footer-copy {
    margin-top: 14px;
    text-align: center;
}

.qr-placeholder {
    width: 120px;
    height: 120px;
    border: 1px dashed rgba(255, 255, 255, 0.6);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.75);
    font-size: 12px;
    padding: 10px;
    box-sizing: border-box;
}

.ins-qr-icon {
    width: 120px;
    height: 120px;
    border-radius: 14px;
    display: block;
    object-fit: cover;
    margin-top: 6px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.ins-qr-icon:hover {
    transform: scale(1.04);
    opacity: 0.95;
}

@media (max-width: 600px) {
    .legal-footer-grid {
        grid-template-columns: 1fr;
    }
    .content {
        padding: 28px 20px;
    }
    .content h1 {
        font-size: 1.5rem;
    }
}
