/* EventSika — Contact. Charger après style.css. */

.contact-page {
    --contact-bg: #f7f8fc;
    --contact-white: #ffffff;
    --contact-dark: #0b1026;
    --contact-dark-2: #111936;
    --contact-primary: #4f46e5;
    --contact-primary-dark: #3730a3;
    --contact-violet: #7c3aed;
    --contact-purple: #9333ea;
    --contact-text: #172033;
    --contact-text-light: #667085;
    --contact-border: #e5e7eb;
    --contact-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
    --contact-radius: 20px;
    width: 100%;
    overflow: hidden;
    background: var(--contact-bg);
}

.contact-page .contact-hero {
    position: relative;
    padding: 110px 20px 120px;
    overflow: hidden;
    color: white;
    background-image: linear-gradient(90deg, rgba(2, 6, 23, 0.88) 0%, rgba(2, 6, 23, 0.70) 45%, rgba(15, 23, 42, 0.58) 100%), url("../images/jpg/BG.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

.contact-page .contact-hero::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    top: -140px;
    right: 8%;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.18);
    filter: blur(30px);
    pointer-events: none;
    z-index: 1;
}

.contact-page .contact-hero::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    bottom: -130px;
    left: 5%;
    border-radius: 50%;
    background: rgba(79, 70, 229, 0.18);
    filter: blur(30px);
    pointer-events: none;
    z-index: 1;
}

.contact-page .contact-hero-content {
    position: relative;
    z-index: 2;
}

.contact-page .hero-badge,
.contact-page .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 16px;
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    background: rgba(124, 58, 237, 0.12);
    color: #c4b5fd;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.contact-page .hero-badge i,
.contact-page .section-badge i {
    font-size: 0.85rem;
}

.contact-page .contact-hero h1 {
    margin: 28px 0 20px;
    font-size: clamp(2.5rem, 6vw, 4.8rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.contact-page .contact-hero h1 span {
    display: inline-block;
    background: linear-gradient(90deg, #a78bfa, #8b5cf6, #c084fc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.contact-page .contact-hero p {
    max-width: 680px;
    margin: 0 auto;
    color: #cbd5e1;
    font-size: 1.08rem;
    line-height: 1.8;
}

.contact-page .contact-section {
    padding: 100px 20px;
}

.contact-page .contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 70px;
    align-items: start;
}

.contact-page .contact-info {
    padding-top: 15px;
}

.contact-page .contact-info .section-badge {
    background: rgba(79, 70, 229, 0.08);
    color: var(--contact-primary);
    border-color: rgba(79, 70, 229, 0.15);
}

.contact-page .contact-info h2 {
    margin: 25px 0 18px;
    color: var(--contact-dark);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.contact-page .contact-info h2 span {
    color: var(--contact-violet);
}

.contact-page .contact-description {
    max-width: 540px;
    margin-bottom: 40px;
    color: var(--contact-text-light);
    font-size: 1rem;
    line-height: 1.8;
}

.contact-page .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 25px;
}

.contact-page .contact-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(124, 58, 237, 0.12));
    color: var(--contact-primary);
    font-size: 1.1rem;
}

.contact-page .contact-item-content h3 {
    margin: 0 0 5px;
    color: var(--contact-dark);
    font-size: 0.95rem;
    font-weight: 700;
}

.contact-page .contact-item-content p,
.contact-page .contact-item-content a {
    margin: 0;
    color: var(--contact-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    text-decoration: none;
    transition: color 0.25s ease;
}

.contact-page .contact-item-content a:hover {
    color: var(--contact-primary);
}

.contact-page .contact-social {
    margin-top: 45px;
    padding-top: 30px;
    border-top: 1px solid var(--contact-border);
}

.contact-page .contact-social h3 {
    margin: 0 0 16px;
    color: var(--contact-dark);
    font-size: 1rem;
}

.contact-page .contact-social .socials {
    display: flex;
    gap: 10px;
}

.contact-page .contact-social .socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--contact-white);
    border: 1px solid var(--contact-border);
    color: var(--contact-text);
    text-decoration: none;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.contact-page .contact-social .socials a:hover {
    transform: translateY(-4px);
    background: var(--contact-primary);
    border-color: var(--contact-primary);
    color: white;
}

.contact-page .contact-form-card {
    padding: 42px;
    border-radius: var(--contact-radius);
    background: var(--contact-white);
    box-shadow: var(--contact-shadow);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.contact-page .form-header {
    display: flex;
    align-items: center;
    gap: 17px;
    margin-bottom: 32px;
}

.contact-page .form-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    flex-shrink: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--contact-primary), var(--contact-violet));
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.25);
}

.contact-page .form-header h2 {
    margin: 0 0 5px;
    color: var(--contact-dark);
    font-size: 1.45rem;
    font-weight: 750;
}

.contact-page .form-header p {
    margin: 0;
    color: var(--contact-text-light);
    font-size: 0.9rem;
}

.contact-page .messages {
    margin-bottom: 25px;
}

.contact-page .message {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #ecfdf3;
    border: 1px solid #bbf7d0;
    color: #166534;
    font-size: 0.9rem;
}

.contact-page .contact-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-page .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-page .form-group label {
    color: var(--contact-dark);
    font-size: 0.9rem;
    font-weight: 650;
}

.contact-page .input-wrapper,
.contact-page .textarea-wrapper {
    position: relative;
}

.contact-page .input-wrapper>i,
.contact-page .textarea-wrapper>i {
    position: absolute;
    top: 50%;
    left: 17px;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
    transition: color 0.25s ease;
}

.contact-page .textarea-wrapper>i {
    top: 20px;
    transform: none;
}

.contact-page .input-wrapper input,
.contact-page .textarea-wrapper textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--contact-border);
    border-radius: 12px;
    background: #fafbfe;
    color: var(--contact-text);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.contact-page .input-wrapper input {
    height: 52px;
    padding: 0 17px 0 48px;
}

.contact-page .textarea-wrapper textarea {
    min-height: 150px;
    resize: vertical;
    padding: 16px 17px 16px 48px;
    line-height: 1.6;
}

.contact-page .input-wrapper input::placeholder,
.contact-page .textarea-wrapper textarea::placeholder {
    color: #a0a8b8;
}

.contact-page .input-wrapper input:focus,
.contact-page .textarea-wrapper textarea:focus {
    background: white;
    border-color: var(--contact-primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.08);
}

.contact-page .input-wrapper:focus-within>i,
.contact-page .textarea-wrapper:focus-within>i {
    color: var(--contact-primary);
}

.contact-page .contact-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 54px;
    margin-top: 5px;
    border: none;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--contact-primary), var(--contact-violet));
    color: white;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 25px rgba(79, 70, 229, 0.22);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-page .contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(79, 70, 229, 0.3);
}

.contact-page .contact-submit:active {
    transform: translateY(0);
}

.contact-page .contact-faq {
    padding: 100px 20px;
    background: white;
}

.contact-page .section-heading {
    max-width: 700px;
    margin: 0 auto 55px;
    text-align: center;
}

.contact-page .section-heading .section-badge {
    color: var(--contact-primary);
    background: rgba(79, 70, 229, 0.07);
    border-color: rgba(79, 70, 229, 0.12);
}

.contact-page .section-heading h2 {
    margin: 20px 0 12px;
    color: var(--contact-dark);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.035em;
}

.contact-page .section-heading p {
    margin: 0;
    color: var(--contact-text-light);
    line-height: 1.7;
}

.contact-page .faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.contact-page .faq-card {
    padding: 30px;
    border: 1px solid var(--contact-border);
    border-radius: 18px;
    background: #fafbff;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.contact-page .faq-card:hover {
    transform: translateY(-6px);
    border-color: rgba(124, 58, 237, 0.25);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.contact-page .faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(124, 58, 237, 0.1));
    color: var(--contact-primary);
}

.contact-page .faq-card h3 {
    margin: 0 0 12px;
    color: var(--contact-dark);
    font-size: 1.05rem;
}

.contact-page .faq-card p {
    margin: 0;
    color: var(--contact-text-light);
    font-size: 0.92rem;
    line-height: 1.7;
}

@media (max-width: 1000px) {
    .contact-page .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .contact-page .contact-info {
        max-width: 700px;
        margin: 0 auto;
    }

    .contact-page .contact-form-card {
        max-width: 700px;
        width: 100%;
        box-sizing: border-box;
        margin: 0 auto;
    }

    .contact-page .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .contact-page .contact-hero {
        padding: 80px 18px 90px;
    }

    .contact-page .contact-hero h1 {
        font-size: 2.45rem;
        line-height: 1.1;
    }

    .contact-page .contact-hero p {
        font-size: 0.95rem;
    }

    .contact-page .contact-section {
        padding: 70px 18px;
    }

    .contact-page .contact-info h2 {
        font-size: 2rem;
    }

    .contact-page .contact-form-card {
        padding: 25px 20px;
        border-radius: 17px;
    }

    .contact-page .form-header {
        align-items: flex-start;
    }

    .contact-page .form-header h2 {
        font-size: 1.25rem;
    }

    .contact-page .contact-item {
        gap: 13px;
    }

    .contact-page .contact-icon {
        width: 46px;
        height: 46px;
        border-radius: 13px;
    }

    .contact-page .faq-grid {
        grid-template-columns: 1fr;
    }

    .contact-page .contact-faq {
        padding: 70px 18px;
    }

    .contact-page .faq-card {
        padding: 25px;
    }
}

@media (max-width: 400px) {
    .contact-page .contact-hero h1 {
        font-size: 2.1rem;
    }

    .contact-page .hero-badge,
    .contact-page .section-badge {
        font-size: 0.78rem;
        padding: 8px 13px;
    }

    .contact-page .contact-form-card {
        padding: 22px 16px;
    }

    .contact-page .form-header {
        gap: 12px;
    }

    .contact-page .form-icon {
        width: 48px;
        height: 48px;
        font-size: 1rem;
    }

    .contact-page .input-wrapper input {
        height: 50px;
    }
}

html[data-theme="dark"] .contact-page {
    --contact-bg: #080d1d;
    --contact-white: #151b30;
    --contact-dark: #f8fafc;
    --contact-dark-2: #0b1123;
    --contact-primary: #8b5cf6;
    --contact-primary-dark: #7c3aed;
    --contact-violet: #a78bfa;
    --contact-purple: #c084fc;
    --contact-text: #f1f5f9;
    --contact-text-light: #aab6cf;
    --contact-border: #303952;
    --contact-shadow: 0 20px 50px rgba(0, 0, 0, .3);
    background: #080d1d;
    color: #f8fafc;
}

html[data-theme="dark"] .contact-page .contact-section {
    background: radial-gradient(ellipse at 90% 10%, rgba(109, 40, 217, .15), transparent 45%), linear-gradient(135deg, #080d1d, #0d1429 60%, #17102c);
}

html[data-theme="dark"] .contact-page .contact-faq {
    background: #0b1123;
    border-top: 1px solid #252d46;
}

html[data-theme="dark"] .contact-page .contact-hero {
    color: #ffffff;
}

html[data-theme="dark"] .contact-page .contact-hero h1 {
    color: #ffffff;
}

html[data-theme="dark"] .contact-page .contact-hero p {
    color: #cbd5e1;
}

html[data-theme="dark"] .contact-page .section-badge,
html[data-theme="dark"] .contact-page .contact-info .section-badge,
html[data-theme="dark"] .contact-page .section-heading .section-badge {
    color: #c4b5fd;
    background: rgba(139, 92, 246, .13);
    border: 1px solid rgba(167, 139, 250, .3);
}

html[data-theme="dark"] .contact-page .contact-info h2 {
    color: #ffffff;
}

html[data-theme="dark"] .contact-page .contact-info h2 span {
    color: #c084fc;
}

html[data-theme="dark"] .contact-page .contact-description {
    color: #aab6cf;
}

html[data-theme="dark"] .contact-page .contact-icon {
    background: rgba(139, 92, 246, .14);
    color: #c4b5fd;
    border: 1px solid rgba(139, 92, 246, .2);
}

html[data-theme="dark"] .contact-page .contact-item-content h3 {
    color: #ffffff;
}

html[data-theme="dark"] .contact-page .contact-item-content p,
html[data-theme="dark"] .contact-page .contact-item-content a {
    color: #b6c3dc;
}

html[data-theme="dark"] .contact-page .contact-item-content a:hover {
    color: #c4b5fd;
}

html[data-theme="dark"] .contact-page .contact-social {
    border-top-color: #303952;
}

html[data-theme="dark"] .contact-page .contact-social h3 {
    color: #ffffff;
}

html[data-theme="dark"] .contact-page .contact-social .socials a {
    background: #151b30;
    border: 1px solid #35405c;
    color: #dbe4f0;
}

html[data-theme="dark"] .contact-page .contact-social .socials a:hover {
    background: #7c3aed;
    border-color: #a78bfa;
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(124, 58, 237, .25);
}

html[data-theme="dark"] .contact-page .contact-form-card {
    background: #151b30;
    border: 1px solid #35405c;
    box-shadow: 0 20px 55px rgba(0, 0, 0, .3);
}

html[data-theme="dark"] .contact-page .form-header h2 {
    color: #ffffff;
}

html[data-theme="dark"] .contact-page .form-header p {
    color: #aab6cf;
}

html[data-theme="dark"] .contact-page .form-icon {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
}

html[data-theme="dark"] .contact-page .contact-form .form-group label {
    color: #e2e8f0;
}

html[data-theme="dark"] .contact-page .contact-form .input-wrapper input,
html[data-theme="dark"] .contact-page .contact-form .textarea-wrapper textarea {
    background: #0b1123;
    border: 1px solid #35405c;
    color: #ffffff;
}

html[data-theme="dark"] .contact-page .contact-form .input-wrapper input::placeholder,
html[data-theme="dark"] .contact-page .contact-form .textarea-wrapper textarea::placeholder {
    color: #8190aa;
}

html[data-theme="dark"] .contact-page .contact-form .input-wrapper input:focus,
html[data-theme="dark"] .contact-page .contact-form .textarea-wrapper textarea:focus {
    background: #10182d;
    border-color: #a78bfa;
    box-shadow: 0 0 0 4px rgba(139, 92, 246, .14);
}

html[data-theme="dark"] .contact-page .contact-form .input-wrapper>i,
html[data-theme="dark"] .contact-page .contact-form .textarea-wrapper>i {
    color: #a78bfa;
}

html[data-theme="dark"] .contact-page .contact-submit {
    background: linear-gradient(135deg, #7c3aed, #9333ea, #db2777);
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(124, 58, 237, .25);
}

html[data-theme="dark"] .contact-page .contact-submit:hover {
    box-shadow: 0 18px 38px rgba(124, 58, 237, .35);
}

html[data-theme="dark"] .contact-page .message {
    background: rgba(34, 197, 94, .12);
    border: 1px solid rgba(74, 222, 128, .3);
    color: #bbf7d0;
}

html[data-theme="dark"] .contact-page .section-heading h2 {
    color: #ffffff;
}

html[data-theme="dark"] .contact-page .section-heading p {
    color: #aab6cf;
}

html[data-theme="dark"] .contact-page .faq-card {
    background: #151b30;
    border: 1px solid #35405c;
}

html[data-theme="dark"] .contact-page .faq-card:hover {
    border-color: #8b5cf6;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .3);
}

html[data-theme="dark"] .contact-page .faq-icon {
    background: rgba(139, 92, 246, .15);
    color: #c4b5fd;
}

html[data-theme="dark"] .contact-page .faq-card h3 {
    color: #ffffff;
}

html[data-theme="dark"] .contact-page .faq-card p {
    color: #b6c3dc;
}

@media (max-width: 650px) {
    html[data-theme="dark"] .contact-page .contact-section {
        background: #0b1022;
    }

    html[data-theme="dark"] .contact-page .contact-form-card {
        border-radius: 18px;
    }

    html[data-theme="dark"] .contact-page .faq-card {
        background: #151b30;
    }
}

html[data-theme="light"] .contact-page {
    --contact-bg: #f7f8fc;
    --contact-white: #fff;
    --contact-dark: #172033;
    --contact-dark-2: #111936;
    --contact-primary: #4f46e5;
    --contact-primary-dark: #3730a3;
    --contact-violet: #7c3aed;
    --contact-purple: #9333ea;
    --contact-text: #172033;
    --contact-text-light: #475569;
    --contact-border: #e5e7eb;
    --contact-shadow: 0 20px 50px rgba(15, 23, 42, .08);
    background: var(--contact-bg);
    color: var(--contact-text);
    color-scheme: light;
}

html[data-theme="light"] .contact-page .contact-section {
    background: var(--contact-bg);
}

html[data-theme="light"] .contact-page .contact-hero {
    background-image: linear-gradient(90deg, rgba(255, 255, 255, .90), rgba(255, 255, 255, .82)), url("../images/jpg/BG.jpg");
    color: #172033;
}

html[data-theme="light"] .contact-page .contact-hero h1 {
    color: #172033;
}

html[data-theme="light"] .contact-page .contact-hero h1 span {
    background-image: linear-gradient(90deg, #6d28d9, #4f46e5);
}

html[data-theme="light"] .contact-page .contact-hero p {
    color: #334155;
}

html[data-theme="light"] .contact-page .hero-badge {
    background: #ede9fe;
    border-color: #c4b5fd;
    color: #6d28d9;
}

html[data-theme="light"] .contact-page .contact-form-card {
    background: #fff;
    border-color: #e5e7eb;
}

html[data-theme="light"] .contact-page .contact-faq {
    background: #fff;
}

html[data-theme="light"] .contact-page .faq-card {
    background: #fafbff;
    border-color: #e5e7eb;
}

html[data-theme="light"] .contact-page .input-wrapper input,
html[data-theme="light"] .contact-page .textarea-wrapper textarea {
    background: #fafbfe;
    color: #172033;
    border-color: #cbd5e1;
}

html[data-theme="light"] .contact-page .input-wrapper input:focus,
html[data-theme="light"] .contact-page .textarea-wrapper textarea:focus {
    background: #fff;
    border-color: #4f46e5;
}

html[data-theme="light"] .contact-page .input-wrapper input::placeholder,
html[data-theme="light"] .contact-page .textarea-wrapper textarea::placeholder {
    color: #64748b;
}

.contact-page .message.error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

html[data-theme="dark"] .contact-page .message.error {
    background: rgba(239, 68, 68, .12);
    border-color: rgba(248, 113, 113, .3);
    color: #fecaca;
}

html[data-theme="dark"] .contact-page {
    color-scheme: dark;
}

.contact-page {
    color: var(--contact-text);
}

.contact-page .contact-grid>* {
    min-width: 0;
}

.contact-page .contact-item-content {
    min-width: 0;
    overflow-wrap: anywhere;
}

.contact-page a:focus-visible,
.contact-page button:focus-visible {
    outline: 3px solid #a78bfa;
    outline-offset: 4px;
}

@media (prefers-reduced-motion:reduce) {
    .contact-page .contact-submit,
    .contact-page .faq-card,
    .contact-page .socials a {
        transition: none;
    }
}
