/**
 * STYLES - PAGES SECONDAIRES (CGV, Mentions légales, Erreurs, Paiements)
 * Jagg.Site
 */

/* ===================================
   HERO SECTIONS
   =================================== */
.hero-padding {
    padding: 60px 0;
}

/* ===================================
   CONTENT SECTIONS - LEGAL PAGES
   =================================== */
.section-text-justify {
    text-align: justify;
}

.article-section {
    margin-bottom: 40px;
}

.article-section-large {
    margin-bottom: 50px;
}

/* ===================================
   HEADINGS - LEGAL PAGES
   =================================== */
.legal-h2 {
    color: #0d5a73;
    margin-bottom: 20px;
}

.legal-h3 {
    color: #0d5a73;
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.legal-h3-margin {
    color: #0d5a73;
    font-size: 1.7rem;
    margin-top: 25px;
    margin-bottom: 15px;
}

/* ===================================
   PARAGRAPHS - LEGAL PAGES
   =================================== */
.legal-p {
    color: #1d1d1d;
    line-height: 1.8;
}

.legal-p-mb-15 {
    color: #1d1d1d;
    line-height: 1.8;
    margin-bottom: 15px;
}

.legal-p-mb-15-justify {
    color: #1d1d1d;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

.legal-p-mb-10 {
    color: #1d1d1d;
    font-size: 1.6rem;
    line-height: 1.8;
    margin-bottom: 10px;
}

.legal-p-mb-0 {
    color: #1d1d1d;
    font-size: 1.6rem;
    line-height: 1.8;
    margin-bottom: 0;
}

.legal-p-justify {
    color: #1d1d1d;
    line-height: 1.8;
    text-align: justify;
}

/* Strong and links in paragraphs */
.legal-strong-orange {
    color: #e9840a;
}

.legal-link {
    color: #0d5a73;
    text-decoration: underline;
}

.legal-p-margin-top {
    color: #1d1d1d;
    line-height: 1.8;
    margin-top: 20px;
}

/* ===================================
   LISTS - LEGAL PAGES
   =================================== */
.legal-list {
    color: #1d1d1d;
    line-height: 1.8;
    margin-bottom: 15px;
    padding-left: 20px;
    font-size: 1.5rem;
}

/* ===================================
   UPDATE DATE - LEGAL PAGES
   =================================== */
.update-date-container {
    text-align: center;
    margin-top: 60px;
}

.update-date-text {
    color: #e9840a;
    font-weight: 600;
    font-size: 1.4rem;
}

/* ===================================
   ERROR PAGES (404, 500)
   =================================== */
.error-hero-padding {
    padding: 80px 0;
}

.error-content-center {
    text-align: center;
}

.error-code {
    font-size: 8rem;
    font-weight: bold;
    color: #0d5a73;
    margin-bottom: 20px;
}

.error-title {
    font-size: 2.5rem;
    color: #1d1d1d;
    margin-bottom: 20px;
}

.error-text {
    font-size: 1.6rem;
    color: #666;
    margin-bottom: 40px;
}

.error-btn-container {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* ===================================
   PAYMENT PAGES (SUCCESS, CANCEL)
   =================================== */
.success-section,
.cancel-section {
    padding: 80px 0;
}

.payment-content-center {
    text-align: center;
}

/* Icons */
.success-icon {
    width: 100px;
    height: 100px;
    background: #28a745;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 3rem;
    color: white;
}

.cancel-icon {
    width: 100px;
    height: 100px;
    background: #ffc107;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 3rem;
    color: white;
}

/* Titles */
.payment-title-success {
    color: #28a745;
    margin-bottom: 20px;
}

.payment-title-cancel {
    color: #856404;
    margin-bottom: 20px;
}

/* Messages */
.success-message,
.cancel-message {
    color: #1d1d1d;
    font-size: 1.6rem;
    line-height: 1.6;
    margin-bottom: 30px;
    text-align: center;
}

/* Details boxes */
.success-details,
.cancel-info {
    background: rgba(110, 110, 110, 0.7);
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-top: 1px solid #e9840a;
    margin: 30px 0;
}

.success-details:hover,
.cancel-info:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.success-details p,
.cancel-info p {
    margin: 12px 0;
    color: #ffffff;
    font-size: 1.6rem;
    line-height: 1.6;
    text-align: justify;
    hyphens: none;
}

.success-details strong {
    color: #0d5a73;
    font-weight: 600;
}

/* Notes */
.success-note {
    background: rgba(33, 150, 243, 0.15);
    border-left: 3px solid #2196F3;
    padding: 15px 20px;
    margin: 20px 0;
    font-size: 1.6rem;
    color: #ffffff;
    line-height: 1.6;
}

.success-reference {
    background: rgba(110, 110, 110, 0.5);
    padding: 15px 20px;
    text-align: center;
    margin-top: 30px;
    border-top: 1px solid #e9840a;
}

.success-reference p {
    color: #ffffff;
    margin: 0;
    font-size: 1.4rem;
}

/* Buttons */
.payment-btn-center {
    text-align: center;
    margin-top: 40px;
}

.cancel-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

/* Help box */
.cancel-help-box {
    background: rgba(110, 110, 110, 0.5);
    padding: 20px;
    text-align: center;
    margin-top: 30px;
    border-top: 1px solid #e9840a;
}

.cancel-help-box p {
    color: #ffffff;
    margin: 0;
    font-size: 1.6rem;
}

.cancel-help-box .email {
    color: #0d5a73;
    font-weight: 600;
}

/* ===================================
   SUCCESS BOX & INFO BOX (Offre Paiement)
   =================================== */
.success-box {
    background: rgba(40, 167, 69, 0.15);
    border-left: 3px solid #28a745;
    padding: 30px;
    text-align: center;
    margin-bottom: 30px;
}

.success-box h2 {
    color: #28a745;
    margin-bottom: 15px;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.success-box p {
    color: #1d1d1d;
    font-size: 1.6rem;
    line-height: 1.6;
    margin: 10px 0;
}

.success-box strong {
    color: #0d5a73;
}

.info-box {
    background: rgba(33, 150, 243, 0.15);
    border-left: 3px solid #2196F3;
    padding: 20px 25px;
    margin-bottom: 20px;
}

.info-box p {
    color: #1d1d1d;
    font-size: 1.6rem;
    line-height: 1.6;
    margin: 8px 0;
}

.info-box strong {
    color: #0d5a73;
    font-weight: 600;
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 768px) {
    .hero-padding,
    .error-hero-padding {
        padding: 40px 0;
    }

    .success-section,
    .cancel-section {
        padding: 50px 0;
    }

    .error-code {
        font-size: 5rem;
    }

    .error-title {
        font-size: 2rem;
    }

    .error-text {
        font-size: 1.4rem;
    }

    .error-btn-container {
        flex-direction: column;
        gap: 10px;
    }

    .legal-list {
        font-size: 1.3rem;
    }

    .success-details,
    .cancel-info {
        padding: 20px;
    }

    .cancel-buttons {
        flex-direction: column;
    }

    .cancel-buttons .btn {
        width: 100%;
    }
}
