/* Reset et base */

:root {
    /* Couleurs principales */
    --primary-blue: #1D3557;
    /* Bleu marine profond */
    --light-blue: #F4F8FB;
    /* Bleu clair adouci */
    --accent-orange: #E9C46A;
    /* Doré élégant */
    --success-green: #2A9D8F;
    /* Vert turquoise pro */
    --error-red: #E63946;
    /* Rouge vif mais moins agressif */
    /* Texte et bordures */
    --text-gray: #475569;
    /* Gris-bleu lisible */
    --border-gray: #CBD5E1;
    /* Gris clair pour les contours */
    --dark: #0F172A;
    /* Noir adouci (anthracite) */
    /* Cookies / neutres */
    --white: #FFFFFF;
    /* Pur */
    --light-gray: #E5E9F0;
    /* Gris clair neutre */
    --medium-gray: #94A3B8;
    /* Gris moyen équilibré */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--primary-blue);
    background-color: var(--light-blue);
}

.quick-nav {
    background: white;
    border-bottom: 1px solid #e0e0e0;
    /* position: sticky; */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: flex;
}

.quick-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

.nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    align-items: center;
}

.nav-list li a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.nav-list li a:hover {
    background-color: var(--accent-orange);
    color: white;
    transform: translateY(-1px);
}

.logo {
    margin-left: 30px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    margin: 20px 10px 0px 0px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: blue;
    transition: all 0.3s ease;
}


/* Container principal */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}


/* Sections */

.section {
    background: white;
    margin-bottom: 2rem;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--accent-orange);
}

.section h2 {
    color: var(--primary-blue);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    border-bottom: 2px solid var(--accent-orange);
    padding-bottom: 0.5rem;
}

.section h3 {
    color: var(--primary-blue);
    font-size: 1.25rem;
    margin: 1.5rem 0 1rem 0;
    font-weight: 600;
}

.section p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.7;
}

.section ul {
    margin: 1rem 0 1rem 1.5rem;
}

.section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}


/* Mise en évidence */

.highlight {
    background-color: #FFF8E1;
    border: 1px solid var(--accent-orange);
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.contact-info {
    background: linear-gradient(135deg, var(--light-blue) 0%, #E8F4FD 100%);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #D1E7DD;
    margin: 1rem 0;
}

.contact-info strong {
    color: var(--primary-blue);
    display: block;
    margin-bottom: 0.5rem;
}


/* Date de mise à jour */

.last-update {
    background: rgba(248, 177, 51, 0.1);
    border: 1px solid var(--accent-orange);
    color: #2274A5;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    margin: 2rem 0;
}

.last-update p {
    font-weight: 600;
    color: var(--primary-blue);
    font-size: 1.1rem;
}


/* Footer */

.footer {
    background: var(--dark);
    color: white;
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    color: var(--accent-orange);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p,
.footer-section a {
    color: #B8D4E3;
    text-decoration: none;
    line-height: 1.6;
}

.footer-section a:hover {
    color: var(--accent-orange);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #2C4A62;
    color: #B8D4E3;
}


/* Responsive */

@media (max-width: 1165px) {
    .nav-list {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 0.5rem;
        list-style: none;
        z-index: 999;
    }
    .nav-list.active {
        display: flex;
    }
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
    .nav-list li a {
        display: block;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 2rem 1rem;
    }
    .section {
        padding: 1.5rem;
    }
}


/* Accessibilité */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/* Focus pour navigation clavier */


/* a:focus, */

button:focus {
    outline: 2px solid var(--accent-orange);
    outline-offset: 2px;
}


/*politique-de-confidentialite.html*/


/* Table of Contents */

.toc {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 4px 20px rgba(34, 116, 165, 0.1);
    border-left: 4px solid var(--accent-orange);
}

.toc h2 {
    color: #2274A5;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.toc-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0.5rem;
}

.toc-list li {
    padding: 0.5rem 0;
}

.toc-list a {
    color: #2274A5;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.toc-list a:hover {
    color: var(--accent-orange);
}


/* Main Content */

.main-content {
    margin: 2rem 0;
}


/* Highlight boxes */

.highlight-box {
    background: linear-gradient(135deg, var(--accent-orange), #e69c1f);
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.info-box {
    background: rgba(34, 116, 165, 0.1);
    border: 1px solid rgba(34, 116, 165, 0.2);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}


/* Responsive */

@media (max-width: 768px) {
    .toc {
        padding: 1.5rem;
    }
    .toc-list {
        grid-template-columns: 1fr;
    }
}


/* Accessibility */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* Icons */

.icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}


/*cookies*/


/* Cookie table */

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.cookie-table thead {
    background: var(--primary-blue);
    color: white;
}

.cookie-table th,
.cookie-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-gray);
}

.cookie-table th {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cookie-table tbody tr:nth-child(even) {
    background: var(--light-blue);
}

.cookie-table tbody tr:hover {
    background: #e8f4f8;
}

.category-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.category-necessary {
    background: #e6fffa;
    color: #004d40;
}

.category-analytics {
    background: #fff3cd;
    color: #856404;
}

.category-marketing {
    background: #f8d7da;
    color: #721c24;
}

.category-preferences {
    background: #d1ecf1;
    color: #0c5460;
}


/* Cookie management */

.cookie-controls {
    background: var(--light-blue);
    padding: 30px;
    border-radius: 12px;
    margin: 30px 0;
}

.cookie-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-gray);
}

.cookie-category:last-child {
    border-bottom: none;
}

.category-info h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--primary-blue);
}

.category-info p {
    color: var(--text-gray);
    font-size: 0.95rem;
}


/* Toggle switch */

.toggle-switch {
    position: relative;
    width: 60px;
    height: 30px;
    margin-left: 20px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 30px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--success-green);
}

input:checked+.slider:before {
    transform: translateX(30px);
}

input:disabled+.slider {
    background-color: #e0e0e0;
    cursor: not-allowed;
}


/* Action buttons */

.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 40px 0;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--accent-orange);
    color: white;
}

.btn-primary:hover {
    background: #e09d1e;
    transform: translateY(-2px);
}

.btn-secondary {
    background: white;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: white;
}

.btn-success {
    background: var(--success-green);
    color: white;
}

.btn-success:hover {
    background: #319671;
}


/* Notification */

.notification {
    position: fixed;
    top: 50px;
    right: 20px;
    padding: 15px 25px;
    background: var(--success-green);
    color: white;
    border-radius: 8px;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.notification.show {
    transform: translateX(0);
}


/* Info box */

.info-box {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}


/* Floating cookie button */

.cookie-float-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--accent-orange);
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 999;
}

.cookie-float-btn:hover {
    transform: scale(1.1);
}


/* Responsive */

@media (max-width: 768px) {
    .cookie-table {
        font-size: 0.9rem;
    }
    .cookie-table th,
    .cookie-table td {
        padding: 10px 8px;
    }
    .cookie-category {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .toggle-switch {
        margin-left: 0;
    }
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .cookie-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}


/* Focus styles */


/* button:focus,
input:focus,
a:focus {
    outline: 2px solid var(--accent-orange);
    outline-offset: 2px;
} */


/*cdv.html*/


/* Main Content */

.cgu-container {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(24, 50, 76, 0.06);
    overflow: hidden;
}

.cgu-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2563eb 100%);
    color: var(--white);
    padding: 3rem 2rem;
    margin-top: 60px;
    text-align: center;
}

.cgu-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cgu-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.last-updated {
    background: var(--light-gray);
    padding: 1rem 2rem;
    font-size: 0.9rem;
    color: var(--medium-gray);
    text-align: center;
    border-bottom: 1px solid var(--border-gray);
}


/* Content Sections */

.content {
    padding: 3rem 2rem;
}

.important-notice {
    background: #f0f9ff;
    border: 1px solid #0ea5e9;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.important-notice h4 {
    color: #0369a1;
    font-weight: 600;
    margin-bottom: 0.5rem;
}


/* Contact Section */

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--accent-orange);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(248, 177, 51, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(248, 177, 51, 0.4);
}


/* Responsive Design */

@media (max-width: 768px) {
    .cgu-header h1 {
        font-size: 2rem;
    }
    .cgu-header p {
        font-size: 1rem;
    }
    .content {
        padding: 2rem 1rem;
    }
    .toc {
        padding: 1.5rem 1rem;
    }
    .toc-list {
        grid-template-columns: 1fr;
    }
    .section h2 {
        font-size: 1.5rem;
    }
}


/* Accessibility */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/* Focus styles for accessibility */


/* *:focus {
    outline: 2px solid var(--accent-orange);
    outline-offset: 2px;
} */