/* ==========================================================================
   SKYFALL V3 - LEGAL PAGES STYLES
   CGV, Mentions Légales, Politique de Confidentialité, Politique Cookies
   ========================================================================== */

/* Legal Hero - Consistent with other page heroes */
.legal-hero {
    min-height: 40vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 8rem;
    padding-bottom: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Update Date Badge */
.sf-legal-update-date {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(249, 115, 22, 0.1);
    color: var(--sf-primary-light);
    padding: 0.5rem 1rem;
    border-radius: var(--sf-radius-full);
    font-size: var(--sf-text-sm);
    font-weight: 600;
    border: 1px solid rgba(249, 115, 22, 0.2);
}

/* Legal Content Card */
.sf-legal-card {
    background: var(--sf-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--sf-radius-lg);
    padding: 2rem;
    position: relative;
}

@media (min-width: 768px) {
    .sf-legal-card {
        padding: 3rem;
    }
}

/* Override theme.css legal section for V3 */
.sf-legal-section {
    margin-bottom: 3rem;
}

.sf-legal-section h3 {
    color: var(--sf-primary-light) !important;
    font-size: var(--sf-text-2xl) !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
    padding-bottom: 0.5rem !important;
    border-bottom: 1px solid rgba(249, 115, 22, 0.2) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sf-legal-section h3 i,
.sf-legal-section h3 svg {
    color: var(--sf-primary) !important;
    flex-shrink: 0;
}

.sf-legal-section h4 {
    color: var(--sf-white) !important;
    font-size: var(--sf-text-lg) !important;
    font-weight: 600 !important;
    margin-top: 1.5rem !important;
    margin-bottom: 0.75rem !important;
}

.sf-legal-section p {
    color: rgba(255, 255, 255, 0.7) !important;
    line-height: 1.8 !important;
    margin-bottom: 1rem !important;
}

.sf-legal-section ul,
.sf-legal-section ol {
    color: rgba(255, 255, 255, 0.7) !important;
    line-height: 1.8 !important;
    margin-bottom: 1rem !important;
    padding-left: 1.5rem !important;
}

.sf-legal-section li {
    margin-bottom: 0.5rem;
}

.sf-legal-section a {
    color: var(--sf-primary-light) !important;
    text-decoration: underline !important;
    transition: color var(--sf-transition-fast) !important;
}

.sf-legal-section a:hover {
    color: #fb923c !important;
}

.sf-legal-section strong {
    color: var(--sf-white);
}

/* Legal Highlight Box */
.sf-legal-highlight {
    background: rgba(249, 115, 22, 0.1);
    border-left: 3px solid var(--sf-primary-light);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: var(--sf-radius-sm);
}

.sf-legal-highlight p {
    margin-bottom: 0.5rem !important;
}

.sf-legal-highlight p:last-child {
    margin-bottom: 0 !important;
}

/* Legal Table */
.sf-legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: var(--sf-text-sm);
}

.sf-legal-table th,
.sf-legal-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sf-legal-table th {
    background: rgba(249, 115, 22, 0.1);
    color: var(--sf-primary-light);
    font-weight: 700;
}

.sf-legal-table td {
    color: rgba(255, 255, 255, 0.7);
}

.sf-legal-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* Legal Footer Notice */
.sf-legal-footer-notice {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.sf-legal-footer-notice p {
    font-size: var(--sf-text-sm) !important;
    color: rgba(255, 255, 255, 0.4) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* CTA Section for Legal Pages */
.sf-legal-cta {
    padding: 6rem 0;
    background: var(--sf-black);
    position: relative;
    overflow: hidden;
}

.sf-legal-cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: rgba(234, 88, 12, 0.1);
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
    .sf-legal-table {
        display: block;
        overflow-x: auto;
    }

    .sf-legal-section h3 {
        font-size: var(--sf-text-xl) !important;
    }
}
