/* ============================================
   STYLES SPÉCIFIQUES CGV
   ============================================ */

.cgv-page {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
}

.cgv-container {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* ===== EN-TÊTE ===== */
.cgv-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #0077cc 100%);
    color: var(--white);
    padding: 50px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cgv-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.cgv-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    pointer-events: none;
}

.cgv-header .icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    margin-bottom: 20px;
    font-size: 2.5rem;
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.cgv-header h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.cgv-header .subtitle {
    font-size: 1.1rem;
    opacity: 0.85;
    position: relative;
    z-index: 1;
}

.cgv-header .last-update {
    display: inline-block;
    margin-top: 15px;
    padding: 5px 20px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(5px);
}

/* ===== INFOS SOCIÉTÉ ===== */
.company-info-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    padding: 25px 40px;
    background: var(--light);
    border-bottom: 1px solid var(--light-gray);
}

.company-info-bar .info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--dark);
}

.company-info-bar .info-item i {
    color: var(--secondary);
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.company-info-bar .info-item a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.company-info-bar .info-item a:hover {
    color: var(--secondary);
}

/* ===== CONTENU ===== */
.cgv-content {
    padding: 50px 60px;
}

/* Intro */
.cgv-intro {
    background: linear-gradient(135deg, rgba(0, 86, 166, 0.04), rgba(255, 102, 0, 0.04));
    padding: 25px 30px;
    border-radius: 12px;
    margin-bottom: 40px;
    border-left: 4px solid var(--secondary);
}

.cgv-intro p {
    margin: 0;
    color: var(--dark);
    line-height: 1.8;
}

.cgv-intro strong {
    color: var(--primary);
}

/* Sections */
.cgv-section {
    margin-bottom: 45px;
    padding-bottom: 35px;
    border-bottom: 1px solid var(--light-gray);
}

.cgv-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.cgv-section .section-number {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary);
    background: rgba(255, 102, 0, 0.1);
    padding: 2px 14px;
    border-radius: 50px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.cgv-section h2 {
    font-size: 1.7rem;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
}

.cgv-section h2 i {
    color: var(--secondary);
    font-size: 1.4rem;
}

.cgv-section h3 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin: 25px 0 12px 0;
    font-weight: 600;
}

.cgv-section h4 {
    font-size: 1.05rem;
    color: var(--primary);
    margin: 20px 0 10px 0;
    font-weight: 600;
}

.cgv-section p {
    margin-bottom: 12px;
    line-height: 1.8;
    color: #4a5568;
}

.cgv-section .highlight-box {
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.06), rgba(0, 86, 166, 0.04));
    padding: 20px 25px;
    border-radius: 10px;
    border-left: 3px solid var(--secondary);
    margin: 20px 0;
}

.cgv-section .highlight-box p {
    margin: 0;
}

.cgv-section ul {
    margin: 15px 0 15px 25px;
    list-style: none;
}

.cgv-section ul li {
    padding: 6px 0 6px 30px;
    position: relative;
    line-height: 1.7;
    color: #4a5568;
}

.cgv-section ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 700;
}

.cgv-section ul li strong {
    color: var(--primary-dark);
}

/* Badges */
.cgv-section .badge {
    display: inline-block;
    padding: 2px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-b2b {
    background: rgba(0, 86, 166, 0.12);
    color: var(--primary);
}

.badge-b2c {
    background: rgba(46, 204, 113, 0.15);
    color: #27ae60;
}

.badge-alert {
    background: rgba(255, 102, 0, 0.12);
    color: var(--secondary);
}
/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--secondary);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 999;
    border: none;
    cursor: pointer;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 86, 166, 0.4);
}

.back-to-top i {
    font-size: 1.4rem;
}

.back-to-top::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--secondary);
    opacity: 0;
    transition: all 0.3s ease;
}

.back-to-top:hover::after {
    opacity: 1;
    transform: scale(1.1);
}

/* ===== PIED DE PAGE CGV ===== */
.cgv-footer {
    background: var(--dark);
    color: var(--white);
    padding: 30px 60px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.cgv-footer .footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cgv-footer .footer-brand .brand-icon {
    font-size: 1.8rem;
    color: var(--secondary);
}

.cgv-footer .footer-brand .brand-name {
    font-weight: 700;
    font-size: 1.2rem;
}

.cgv-footer .footer-brand .brand-name span {
    color: var(--secondary);
}

.cgv-footer .footer-info {
    text-align: right;
    font-size: 0.85rem;
    opacity: 0.7;
    line-height: 1.6;
}

.cgv-footer .footer-info strong {
    opacity: 1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .cgv-header {
        padding: 35px 30px;
    }

    .cgv-header h1 {
        font-size: 2.2rem;
    }

    .cgv-content {
        padding: 35px 30px;
    }

    .cgv-footer {
        padding: 25px 30px;
        flex-direction: column;
        text-align: center;
    }

    .cgv-footer .footer-info {
        text-align: center;
    }

    .company-info-bar {
        padding: 15px 20px;
        gap: 15px;
    }

    .company-info-bar .info-item {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .cgv-page {
        padding: 40px 0;
    }

    .cgv-header {
        padding: 30px 20px;
    }

    .cgv-header h1 {
        font-size: 1.8rem;
    }

    .cgv-header .icon-badge {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    .cgv-content {
        padding: 25px 20px;
    }

    .cgv-section h2 {
        font-size: 1.4rem;
    }

    .cgv-section h3 {
        font-size: 1.1rem;
    }

    .cgv-intro {
        padding: 18px 20px;
    }

    .cgv-footer {
        padding: 20px;
    }

    .company-info-bar {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .cgv-header h1 {
        font-size: 1.5rem;
    }

    .cgv-section h2 {
        font-size: 1.2rem;
    }

    .cgv-section ul li {
        padding-left: 22px;
        font-size: 0.95rem;
    }
}
