/* ===== PAGES LÉGALES (mentions-legales.html, confidentialite.html) ===== */
.legal-content, .privacy-content {
    max-width: 1000px;
    margin: 0 auto;
}

.legal-section, .privacy-section {
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e8f4ea;
}

.legal-section:last-child, .privacy-section:last-child {
    border-bottom: none;
}

.legal-section h2, .privacy-section h2 {
    color: #2c5530;
    margin-bottom: 30px;
    font-size: 1.8em;
    position: relative;
    padding-left: 20px;
}

.legal-section h2::before, .privacy-section h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: #4a7c59;
    border-radius: 50%;
}


/* Grilles légales */
.legal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.legal-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #2c5530;
}

.legal-item h3 {
    color: #2c5530;
    margin-bottom: 15px;
    font-size: 1.2em;
}


/* Cartes légales */
.legal-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e8f4ea;
}

.legal-highlight {
    background: white;
    padding: 20px;
    border-radius: 6px;
    margin: 20px 0;
    border-left: 4px solid #4a7c59;
}

.legal-highlight h4 {
    color: #2c5530;
    margin-bottom: 15px;
}

.legal-highlight ul {
    list-style: none;
    padding: 0;
}

.legal-highlight li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.legal-highlight li:before {
    content: '•';
    color: #4a7c59;
    position: absolute;
    left: 0;
}


/* Statistiques légales */
.legal-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.legal-stat {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.legal-stat .stat-number {
    font-size: 2em;
    font-weight: bold;
    color: #2c5530;
    display: block;
}

.legal-stat .stat-label {
    font-size: 0.9em;
    color: #666;
    margin-top: 10px;
}


/* Cookies */
.cookies-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.cookie-type {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.cookie-type h4 {
    color: #2c5530;
    margin-bottom: 10px;
}

.cookie-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: bold;
    margin-top: 10px;
}

.cookie-status.obligatoire {
    background: #e8f4ea;
    color: #2c5530;
}

.cookie-status.optionnel {
    background: #fff3cd;
    color: #856404;
}


/* Notices légales */
.legal-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 20px;
    margin-top: 20px;
}

.legal-notice h4 {
    color: #856404;
    margin-bottom: 10px;
}


/* Actions légales */
.legal-actions {
    text-align: center;
    margin-top: 50px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}


/* Styles spécifiques confidentialité */
.privacy-intro {
    text-align: center;
    margin-bottom: 50px;
}

.privacy-badge {
    background: linear-gradient(135deg, #e8f4ea 0%, #c8e6c9 100%);
    padding: 40px;
    border-radius: 12px;
    max-width: 500px;
    margin: 0 auto;
}

.badge-icon {
    font-size: 3em;
    display: block;
    margin-bottom: 20px;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.principle-card {
    text-align: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.principle-card:hover {
    transform: translateY(-5px);
}

.principle-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.principle-card h4 {
    color: #2c5530;
    margin-bottom: 15px;
}


/* Types de données */
.data-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.data-type {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #4a7c59;
}

.data-type h4 {
    color: #2c5530;
    margin-bottom: 15px;
}

.data-type ul {
    list-style: none;
    padding: 0;
    margin-bottom: 15px;
}

.data-type li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.data-type li:before {
    content: '✓';
    color: #4a7c59;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.data-purpose {
    display: inline-block;
    background: #e8f4ea;
    color: #2c5530;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: bold;
}


/* Utilisation des données */
.usage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.usage-item {
    background: white;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    position: relative;
}

.usage-item h4 {
    color: #2c5530;
    margin-bottom: 10px;
}

.usage-frequency {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #e8f4ea;
    color: #2c5530;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7em;
    font-weight: bold;
}


/* Partage des données */
.sharing-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
}

.sharing-status {
    text-align: center;
    margin-bottom: 30px;
    padding: 30px;
    background: white;
    border-radius: 8px;
}

.status-no {
    font-size: 3em;
    display: block;
    margin-bottom: 15px;
}

.sharing-exceptions {
    background: white;
    padding: 25px;
    border-radius: 8px;
}

.exception-item {
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.exception-item:last-child {
    border-bottom: none;
}

.exception-item strong {
    color: #2c5530;
}


/* Droits utilisateur */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.right-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e0e0e0;
}

.right-card h4 {
    color: #2c5530;
    margin-bottom: 15px;
}

.right-time {
    display: inline-block;
    background: #4a7c59;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    margin-top: 10px;
}

.rights-actions {
    text-align: center;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}


/* Sécurité */
.security-measures {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.security-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #2c5530;
}

.security-item h4 {
    color: #2c5530;
    margin-bottom: 10px;
}


/* Contact DPO */
.privacy-contact {
    margin: 50px 0;
}

.contact-card {
    background: linear-gradient(135deg, #e8f4ea 0%, #c8e6c9 100%);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
}

.contact-info {
    margin-top: 20px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    display: inline-block;
}


/* Actions finales */
.privacy-actions {
    text-align: center;
    margin-top: 50px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

