/* ===========================================
   LEGAL PERFORMERS DAY - TECH-FORWARD STYLES
   =========================================== */

/* ===========================================
   HERO SECTION ENHANCEMENTS
   =========================================== */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #fefefe 0%, #f8f9fa 100%);
    padding: var(--section-padding, 4rem) 0;
}

/* Animated Mesh Gradient Background */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 20% 80%, rgba(95, 25, 55, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(139, 58, 92, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(255, 107, 107, 0.04) 0%, transparent 50%);
    animation: meshFloat 20s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes meshFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-3%, 3%) rotate(0.5deg); }
    50% { transform: translate(3%, -3%) rotate(-0.5deg); }
    75% { transform: translate(-2%, -2%) rotate(0.25deg); }
}

/* Floating Orb */
.hero::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(95, 25, 55, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    top: 10%;
    right: 5%;
    filter: blur(50px);
    animation: floatOrb 15s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-25px, 15px) scale(1.1); }
}

/* Hero Content */
.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    margin-bottom: 1.5rem;
    font-size: 3rem;
}

.hero p {
    font-size: 1.25rem;
    max-width: 80%;
    margin-bottom: 1.5rem;
    color: var(--text-muted, #4a4a5a);
}

/* Date/Lieu Badge with Gradient */
.date-lieu {
    display: inline-block;
    background: var(--gradient-primary, linear-gradient(135deg, #5F1937 0%, #8B3A5C 50%, #B86B8F 100%));
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(95, 25, 55, 0.25);
}

.hero-text {
    flex: 3;
    margin-bottom: 0;
}

.hero-partnership {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-left: 1px solid rgba(95, 25, 55, 0.1);
    padding-left: 30px;
    background: var(--glass-bg, rgba(255, 255, 255, 0.75));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.hero-partnership p.partnership {
    margin-bottom: 15px;
    font-weight: 500;
    color: var(--text-muted, #4a4a5a);
}

.hero-partnership img {
    height: auto;
    max-width: 100%;
    width: 150px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.hero-partnership img:hover {
    transform: scale(1.05);
}

/* ===========================================
   TWO-COLUMN LAYOUT - GLASSMORPHISM
   =========================================== */
.main-content {
    padding: var(--section-padding, 4rem) 0;
    background: linear-gradient(180deg, var(--bg-light, #f8f9fa) 0%, #f0f1f3 100%);
}

.two-column-layout {
    display: flex;
    flex-wrap: wrap;
    margin-top: 0;
    gap: 2rem;
    align-items: start;
}

.left-column,
.right-column {
    flex: 1;
    min-width: 300px;
    padding: 2rem;
    border-radius: 16px;
    background: var(--glass-bg, rgba(255, 255, 255, 0.75));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.4));
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

/* Gradient border on hover */
.left-column::before,
.right-column::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(95, 25, 55, 0.4), transparent 50%, rgba(95, 25, 55, 0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.left-column:hover,
.right-column:hover {
    transform: translateY(-4px);
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.08),
        0 0 30px rgba(95, 25, 55, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.left-column:hover::before,
.right-column:hover::before {
    opacity: 1;
}

.left-column h2,
.right-column h2 {
    font-size: 1.75rem;
    margin-top: 0;
    margin-bottom: 1.25rem;
    color: var(--text-color, #1a1a2e);
    background: var(--gradient-primary, linear-gradient(135deg, #5F1937 0%, #8B3A5C 100%));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===========================================
   INFORMATION PRATIQUES SECTION
   =========================================== */
.info-pratiques h4 {
    position: relative;
    padding-left: 32px;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    color: var(--text-color, #1a1a2e);
    border-bottom: 1px solid rgba(95, 25, 55, 0.1);
    padding-bottom: 0.5rem;
    line-height: 1.4;
}

.info-pratiques h4:before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 22px;
    height: 22px;
    background: var(--gradient-primary, linear-gradient(135deg, #5F1937, #8B3A5C));
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    border-radius: 4px;
}

.info-pratiques h4.contact-icon:before {
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>');
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>');
}

.info-pratiques h4.acces-icon:before {
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"/></svg>');
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"/></svg>');
}

.info-pratiques h4.parking-icon:before {
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13 3H6v18h4v-6h3c3.31 0 6-2.69 6-6s-2.69-6-6-6zm0 10H10V7h3c1.1 0 2 .9 2 2s-.9 2-2 2z"/></svg>');
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13 3H6v18h4v-6h3c3.31 0 6-2.69 6-6s-2.69-6-6-6zm0 10H10V7h3c1.1 0 2 .9 2 2s-.9 2-2 2z"/></svg>');
}

.info-block {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 1.25rem;
    border-left: 3px solid;
    border-image: var(--gradient-primary, linear-gradient(135deg, #5F1937, #8B3A5C)) 1;
}

.info-pratiques p {
    margin: 0.5rem 0;
    line-height: 1.6;
    color: var(--text-muted, #4a4a5a);
}

.info-pratiques a {
    color: var(--primary-color, #5F1937);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.info-pratiques a:hover {
    text-decoration: underline;
}

/* ===========================================
   STATEMENT LIST
   =========================================== */
.statement-list {
    list-style-type: none;
    padding-left: 0;
    margin-top: 1rem;
}

.statement-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 0.875rem;
    line-height: 1.6;
    color: var(--text-muted, #4a4a5a);
}

.statement-list li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    background: var(--gradient-primary, linear-gradient(135deg, #5F1937, #8B3A5C));
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(95, 25, 55, 0.3);
}

.section-spacer {
    margin-top: 2.5rem;
}

/* ===========================================
   FORM STYLES - TECH-FORWARD
   =========================================== */
.form-group {
    margin-bottom: 1.25rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color, #1a1a2e);
    font-size: 0.95rem;
}

input[type="text"],
input[type="email"] {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-body, 'Inter', sans-serif);
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus {
    outline: none;
    border-color: var(--primary-color, #5F1937);
    box-shadow: 0 0 0 3px rgba(95, 25, 55, 0.1);
    background: white;
}

.error-input {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1) !important;
}

.field-error {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 0.375rem;
    display: none;
}

/* Checkbox styling */
.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 0;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 0.75rem;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color, #5F1937);
}

/* Legal notice */
.legal-notice {
    font-size: 0.85rem;
    color: var(--text-muted, #4a4a5a);
    line-height: 1.5;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
    border-left: 3px solid rgba(95, 25, 55, 0.3);
}

.legal-notice a {
    color: var(--primary-color, #5F1937);
    text-decoration: none;
}

.legal-notice a:hover {
    text-decoration: underline;
}

/* Form messages */
.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    display: none;
    font-weight: 500;
}

.form-message.success {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1), rgba(40, 167, 69, 0.05));
    color: #155724;
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.form-message.error {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1), rgba(220, 53, 69, 0.05));
    color: #721c24;
    border: 1px solid rgba(220, 53, 69, 0.2);
}

/* Spinner with gradient */
.form-spinner {
    display: none;
    margin: 1rem auto;
    width: 32px;
    height: 32px;
    border: 3px solid rgba(95, 25, 55, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary-color, #5F1937);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===========================================
   PARTNERS SECTION
   =========================================== */
.soutiens-flex {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 1rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.25rem;
    margin: 1rem 0;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.soutiens-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    border-radius: 8px;
    background: white;
    height: 90px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.soutiens-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.soutiens-logo {
    width: auto;
    height: 50px;
    max-width: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.soutiens-logo:hover {
    transform: scale(1.08);
}

/* ===========================================
   PARTNERSHIP BADGE
   =========================================== */
.partnership {
    font-style: normal;
    color: var(--text-muted, #4a4a5a);
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.partnership a {
    color: var(--primary-color, #5F1937);
    text-decoration: none;
    transition: all 0.3s ease;
    margin-left: 8px;
}

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

/* ===========================================
   VIDEO THUMBNAIL & MODAL
   =========================================== */
.video-thumb {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    margin-top: 1rem;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(95, 25, 55, 0.1);
    cursor: pointer;
}

.video-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-thumb .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(95, 25, 55, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.video-thumb .play-btn::after {
    content: '';
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent #fff;
    margin-left: 3px;
}

.video-thumb:hover .play-btn {
    background: rgba(95, 25, 55, 0.9);
}

.video-caption {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted, #4a4a5a);
    text-align: right;
}

.video-caption a {
    color: var(--primary-color, #5F1937);
    text-decoration: none;
}

.video-caption a:hover {
    text-decoration: underline;
}

.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.video-modal.active {
    display: flex;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 960px;
    aspect-ratio: 16 / 9;
}

.video-modal-content iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 12px;
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

/* ===========================================
   RESPONSIVE
   =========================================== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero::after {
        width: 180px;
        height: 180px;
        filter: blur(35px);
    }

    .hero-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .hero-partnership {
        border-left: none;
        border-top: 1px solid rgba(95, 25, 55, 0.1);
        padding-left: 0;
        padding-top: 1.5rem;
        width: 100%;
        align-items: flex-start;
    }

    .hero-partnership img {
        width: 120px;
    }

    .two-column-layout {
        flex-direction: column;
        gap: 1.5rem;
    }

    .left-column,
    .right-column {
        padding: 1.5rem;
    }

    .left-column h2,
    .right-column h2 {
        font-size: 1.5rem;
    }

    .soutiens-flex {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .soutiens-flex {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .date-lieu {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
}

/* ===========================================
   ACCESSIBILITY - REDUCED MOTION
   =========================================== */
@media (prefers-reduced-motion: reduce) {
    .hero::before,
    .hero::after {
        animation: none;
    }

    .soutiens-item,
    .soutiens-logo,
    .left-column,
    .right-column {
        transition: none;
    }

    .form-spinner {
        animation: none;
    }
}

/* Backdrop-filter Fallback */
@supports not (backdrop-filter: blur(20px)) {
    .left-column,
    .right-column,
    .hero-partnership {
        background: white;
    }

    .soutiens-flex {
        background: #f8f8f8;
    }
}
