/* /public/css/politique-app.css — Politique de confidentialité de l'application BENS NEXUS */

body {
    background-color: #f4f7f9;
    color: var(--secondary-color);
    line-height: 1.7;
}

main {
    padding: 24px 16px;
}

.politique-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--accent-color);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.politique-container h1 {
    color: var(--primary-color);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
}

.politique-container .maj {
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
}

.politique-container h2 {
    color: var(--sombre-primary-color);
    margin: 35px 0 15px;
    font-size: 1.5rem;
    font-weight: 600;
    position: relative;
    padding-left: 18px;
}

.politique-container h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 80%;
    background-color: var(--primary-color);
    border-radius: 3px;
}

.politique-container h3 {
    color: var(--secondary-color);
    margin: 20px 0 8px;
    font-size: 1.15rem;
    font-weight: 600;
}

.politique-container p,
.politique-container li {
    color: #495057;
}

.politique-container p {
    margin-bottom: 1rem;
}

.politique-container ul {
    margin: 0 0 1rem 20px;
}

.politique-container li {
    margin-bottom: 8px;
}

.politique-container a {
    color: var(--primary-color);
    word-break: break-word;
}

.tableau-wrapper {
    overflow-x: auto;
    margin-bottom: 1rem;
}

.tableau-donnees {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.tableau-donnees th,
.tableau-donnees td {
    border: 1px solid #dee2e6;
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}

.tableau-donnees th {
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 600;
}

.tableau-donnees tr:nth-child(even) td {
    background-color: #fafafa;
}

.encadre {
    background-color: #fdf2f2;
    border-left: 4px solid var(--primary-color);
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.encadre p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    main { padding: 12px 8px; }
    .politique-container { padding: 22px 16px; }
    .politique-container h1 { font-size: 1.6rem; }
    .politique-container h2 { font-size: 1.25rem; }

    /* Tableau en cartes empilées sur mobile */
    .tableau-donnees thead { display: none; }
    .tableau-donnees, .tableau-donnees tbody, .tableau-donnees tr, .tableau-donnees td { display: block; width: 100%; }
    .tableau-donnees tr { margin-bottom: 12px; border: 1px solid #dee2e6; border-radius: 6px; overflow: hidden; }
    .tableau-donnees td { border: none; border-bottom: 1px solid #eee; }
    .tableau-donnees td:last-child { border-bottom: none; }
    .tableau-donnees td::before {
        content: attr(data-label);
        display: block;
        font-weight: 600;
        color: var(--primary-color);
        font-size: 0.85rem;
    }
    .tableau-donnees tr:nth-child(even) td { background-color: transparent; }
}
