/* ==============================================
   PAGE CGV - PARACHEZVOUS
   ============================================== */

/* --- Hero Banner --- */
.cgv_hero {
    position: relative;
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.cgv_hero_overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(173, 255, 47, 0.08) 0%, transparent 50%);
}

.cgv_hero_content {
    position: relative;
    z-index: 1;
    color: #fff;
    padding: 0 20px;
}

.cgv_hero_content h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.cgv_hero_content p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 550px;
    margin: 0 auto;
}

/* --- Main Container --- */
.cgv_main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.cgv_container {
    position: relative;
    padding: 40px 0 60px;
}

/* --- Quick Nav --- */
.cgv_quick_nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    padding: 18px 22px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 40px;
    border: 1px solid #e9ecef;
    font-size: 14px;
}

.cgv_quick_nav span {
    font-weight: 600;
    color: #333;
    margin-right: 6px;
}

.cgv_quick_nav a {
    color: #555;
    text-decoration: none;
    padding: 5px 12px;
    border-radius: 20px;
    transition: all 0.2s ease;
    background: #fff;
    border: 1px solid #e0e0e0;
    font-size: 13px;
    white-space: nowrap;
}

.cgv_quick_nav a:hover {
    color: #4caf50;
    border-color: #4caf50;
    background: #f1f8f1;
}

/* --- Sections --- */
.cgv_section {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    padding: 32px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.cgv_section.cgv_revealed {
    opacity: 1;
    transform: translateY(0);
}

.cgv_section_icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4caf50, #8bc34a);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
}

.cgv_section_content {
    flex: 1;
    min-width: 0;
}

.cgv_section_content h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

.cgv_section_content h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 20px 0 10px;
}

.cgv_section_content p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 14px;
}

.cgv_section_content ul {
    list-style: disc;
    margin: 8px 0 16px 22px;
    line-height: 2;
    color: #555;
    font-size: 15px;
}

.cgv_section_content ul li {
    margin-bottom: 4px;
}

.cgv_section_content a {
    color: #4caf50;
    font-weight: 500;
    text-decoration: none;
}

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

/* --- Info Card --- */
.cgv_info_card {
    background: #f9fafb;
    border-radius: 8px;
    padding: 20px 24px;
    margin-top: 14px;
    border: 1px solid #eef0f2;
}

.cgv_info_row {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.cgv_info_row:last-child {
    border-bottom: none;
}

.cgv_info_label {
    font-weight: 600;
    color: #333;
    min-width: 220px;
    font-size: 14px;
}

.cgv_info_value {
    color: #666;
    font-size: 14px;
}

/* --- Delivery Cards --- */
.cgv_delivery_cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 12px;
}

.cgv_delivery_card {
    background: #f9fafb;
    border: 1px solid #eef0f2;
    border-radius: 10px;
    padding: 24px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: all 0.25s ease;
}

.cgv_delivery_card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border-color: #c8e6c9;
}

.cgv_delivery_card strong {
    font-size: 17px;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.cgv_delivery_card span {
    font-size: 14px;
    color: #666;
}

.cgv_delivery_card .cgv_free {
    color: #4caf50 !important;
    font-weight: 600;
}

/* --- Law Reference Badge --- */
.cgv_law_ref {
    display: inline-block;
    font-size: 13px;
    color: #888;
    background: #f5f5f5;
    padding: 4px 12px;
    border-radius: 20px;
    margin-top: 8px;
    font-style: italic;
}

/* --- Separator / Language Divider --- */
.cgv_lang_divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 50px 0 36px;
    color: #999;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cgv_lang_divider::before,
.cgv_lang_divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

/* --- Back to Top Button --- */
.cgv_back_to_top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: #4caf50;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 900;
    box-shadow: 0 4px 14px rgba(76, 175, 80, 0.35);
}

.cgv_back_to_top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cgv_back_to_top:hover {
    background: #388e3c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.45);
}

/* ==============================================
   RESPONSIVE
   ============================================== */

@media (max-width: 992px) {
    .cgv_hero {
        height: 220px;
    }
    .cgv_hero_content h1 {
        font-size: 32px;
    }
    .cgv_hero_content p {
        font-size: 15px;
    }
    .cgv_section {
        padding: 24px;
        gap: 18px;
    }
    .cgv_section_content h2 {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .cgv_hero {
        height: 180px;
    }
    .cgv_hero_content h1 {
        font-size: 26px;
    }
    .cgv_hero_content p {
        font-size: 14px;
    }
    .cgv_section {
        flex-direction: column;
        gap: 14px;
        padding: 20px;
        margin-bottom: 24px;
    }
    .cgv_section_icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
        border-radius: 10px;
    }
    .cgv_section_content h2 {
        font-size: 18px;
    }
    .cgv_section_content p,
    .cgv_section_content ul {
        font-size: 14px;
    }
    .cgv_info_row {
        flex-direction: column;
        gap: 2px;
    }
    .cgv_info_label {
        min-width: unset;
        font-size: 13px;
    }
    .cgv_info_value {
        font-size: 13px;
    }
    .cgv_quick_nav {
        padding: 14px 16px;
        gap: 6px;
    }
    .cgv_quick_nav a {
        font-size: 12px;
        padding: 4px 10px;
    }
    .cgv_delivery_cards {
        grid-template-columns: 1fr;
    }
    .cgv_back_to_top {
        bottom: 20px;
        right: 16px;
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .cgv_hero {
        height: 150px;
    }
    .cgv_hero_content h1 {
        font-size: 22px;
    }
    .cgv_hero_content p {
        font-size: 13px;
    }
    .cgv_quick_nav {
        flex-direction: column;
        align-items: flex-start;
    }
    .cgv_main {
        padding: 0 12px;
    }
    .cgv_section {
        padding: 16px;
        border-radius: 8px;
    }
    .cgv_info_card {
        padding: 14px 16px;
    }
}
