/* EventSika — À propos.
   Charger après style.css. Variables locales et thème sombre par défaut.
   Les règles data-theme="light" conservent les couleurs claires du fichier fourni.
   Les media queries restent distinctes pour préserver les adaptations responsive.
*/

.about-page {
    --about-bg: #080d1f;
    --about-white: #151b31;
    --about-dark: #f8fafc;
    --about-dark-2: #111936;
    --about-primary: #4f46e5;
    --about-primary-dark: #3730a3;
    --about-violet: #7c3aed;
    --about-purple: #9333ea;
    --about-text: #f8fafc;
    --about-muted: #a8b3cf;
    --about-border: rgba(139, 92, 246, 0.22);
    --about-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
    --about-radius: 20px;
    width: 100%;
    overflow: hidden;
}

.about-page .about-hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    padding: 120px 20px 100px;
    color: white;
    overflow: hidden;
    background-image: linear-gradient(90deg, rgba(2, 6, 23, 0.88) 0%, rgba(2, 6, 23, 0.68) 45%, rgba(15, 23, 42, 0.58) 100%), radial-gradient(circle at 80% 30%, rgba(124, 58, 237, 0.45), transparent 45%), url("../images/jpg/BG.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

.about-page .about-hero::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    top: -180px;
    right: 5%;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.18);
    filter: blur(25px);
    pointer-events: none;
    z-index: 1;
}

.about-page .about-hero::after {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    bottom: -180px;
    left: 5%;
    border-radius: 50%;
    background: rgba(79, 70, 229, 0.18);
    filter: blur(25px);
    pointer-events: none;
    z-index: 1;
}

.about-page .about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-page .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 16px;
    border: 1px solid rgba(139, 92, 246, 0.30);
    border-radius: 50px;
    background: rgba(124, 58, 237, 0.12);
    color: #c4b5fd;
    font-size: 0.85rem;
    font-weight: 650;
    letter-spacing: 0.02em;
}

.about-page .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 16px;
    border: 1px solid rgba(139, 92, 246, 0.30);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 650;
    letter-spacing: 0.02em;
    background: rgba(79, 70, 229, 0.07);
    border-color: rgba(79, 70, 229, 0.15);
}

.about-page .about-hero h1 {
    margin: 28px 0 22px;
    font-size: clamp(2.6rem, 6vw, 5rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.045em;
}

.about-page .about-hero h1 span {
    display: inline-block;
    background: linear-gradient(90deg, #a78bfa, #8b5cf6, #c084fc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.about-page .about-hero p {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.08rem;
    line-height: 1.8;
}

.about-page .hero-actions,
.about-page .cta-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 35px;
    flex-wrap: wrap;
}

.about-page .about-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.about-page .about-btn.primary {
    background: linear-gradient(135deg, var(--about-primary), var(--about-violet));
    color: white;
    box-shadow: 0 12px 25px rgba(79, 70, 229, 0.25);
}

.about-page .about-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 17px 32px rgba(79, 70, 229, 0.35);
}

.about-page .about-btn.secondary {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.20);
}

.about-page .about-btn.secondary:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
}

.about-page .about-mission {
    padding: 110px 20px;
}

.about-page .mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-page .mission-content h2 {
    margin: 24px 0 20px;
    font-size: clamp(2.1rem, 4vw, 3.3rem);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.about-page .mission-content h2 span {
    color: var(--about-violet);
}

.about-page .mission-content>p {
    max-width: 620px;
    margin: 0 0 16px;
    line-height: 1.8;
}

.about-page .mission-points {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 35px;
}

.about-page .mission-point {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.about-page .point-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    border-radius: 13px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.10), rgba(124, 58, 237, 0.12));
    color: var(--about-primary);
}

.about-page .mission-point h3 {
    margin: 0 0 5px;
    font-size: 1rem;
}

.about-page .mission-point p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.about-page .mission-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 480px;
    border-radius: 30px;
    background: radial-gradient(circle at 50% 45%, rgba(124, 58, 237, 0.22), transparent 55%), linear-gradient(135deg, #080d24, #171047);
    overflow: hidden;
}

.about-page .mission-visual::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.about-page .mission-visual::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(167, 139, 250, 0.12);
    border-radius: 50%;
}

.about-page .visual-card {
    position: relative;
    z-index: 3;
    width: min(390px, 82%);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
    transform: perspective(900px) rotateY(-7deg) rotateX(3deg);
}

.about-page .visual-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 18px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.8rem;
    font-weight: 700;
}

.about-page .visual-dots {
    display: flex;
    gap: 5px;
}

.about-page .visual-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #cbd5e1;
}

.about-page .visual-content {
    padding: 45px 30px;
    text-align: center;
}

.about-page .visual-calendar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--about-primary), var(--about-violet));
    color: white;
    font-size: 2rem;
    box-shadow: 0 15px 30px rgba(79, 70, 229, 0.25);
}

.about-page .visual-content h3 {
    margin: 0 0 8px;
    font-size: 1.3rem;
}

.about-page .visual-content p {
    margin: 0;
    font-size: 0.9rem;
}

.about-page .visual-bars {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    height: 80px;
    margin-top: 30px;
}

.about-page .visual-bars span {
    width: 28px;
    border-radius: 7px 7px 3px 3px;
    background: linear-gradient(to top, var(--about-primary), var(--about-violet));
}

.about-page .visual-bars span:nth-child(1) {
    height: 35%;
}

.about-page .visual-bars span:nth-child(2) {
    height: 55%;
}

.about-page .visual-bars span:nth-child(3) {
    height: 75%;
}

.about-page .visual-bars span:nth-child(4) {
    height: 95%;
}

.about-page .about-users {
    padding: 110px 20px;
}

.about-page .section-heading {
    max-width: 750px;
    margin: 0 auto 60px;
    text-align: center;
}

.about-page .section-heading h2 {
    margin: 22px 0 15px;
    font-size: clamp(2.1rem, 4vw, 3.2rem);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.about-page .section-heading h2 span {
    color: var(--about-violet);
}

.about-page .section-heading p {
    margin: 0;
    line-height: 1.8;
}

.about-page .users-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.about-page .user-card {
    position: relative;
    padding: 35px;
    border: 1px solid var(--about-border);
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.about-page .user-card:hover {
    transform: translateY(-7px);
    border-color: rgba(124, 58, 237, 0.25);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.about-page .user-card.featured {
    border-color: transparent;
    color: white;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.20);
}

.about-page .featured-label {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 6px 10px;
    border-radius: 50px;
    background: rgba(167, 139, 250, 0.14);
    color: #c4b5fd;
    font-size: 0.68rem;
    font-weight: 700;
}

.about-page .user-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 25px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.10), rgba(124, 58, 237, 0.12));
    color: var(--about-primary);
    font-size: 1.25rem;
}

.about-page .user-card.featured .user-icon {
    background: rgba(255, 255, 255, 0.10);
}

.about-page .user-card h3 {
    margin: 0 0 12px;
    font-size: 1.3rem;
}

.about-page .user-card p {
    margin: 0 0 25px;
    line-height: 1.7;
}

.about-page .user-card>a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.about-page .user-card.featured>a {
    color: #c4b5fd;
}

.about-page .user-card>a i {
    transition: transform 0.25s ease;
}

.about-page .user-card>a:hover i {
    transform: translateX(4px);
}

.about-page .about-values {
    padding: 110px 20px;
}

.about-page .values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.about-page .value-card {
    position: relative;
    padding: 30px;
    min-height: 280px;
    border: 1px solid var(--about-border);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-page .value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.about-page .value-number {
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 2.8rem;
    font-weight: 800;
}

.about-page .value-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin-bottom: 25px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.10), rgba(124, 58, 237, 0.12));
    color: var(--about-primary);
    font-size: 1.15rem;
}

.about-page .value-card h3 {
    position: relative;
    margin: 0 0 12px;
    font-size: 1.15rem;
}

.about-page .value-card p {
    position: relative;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.7;
}

.about-page .about-stats {
    padding: 80px 20px;
    color: white;
}

.about-page .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.about-page .stat-item {
    padding: 20px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.10);
}

.about-page .stat-item:last-child {
    border-right: none;
}

.about-page .stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0 auto 18px;
    border-radius: 14px;
    background: rgba(124, 58, 237, 0.18);
    color: #c4b5fd;
}

.about-page .stat-item strong {
    display: block;
    margin-bottom: 7px;
    font-size: 1.7rem;
    font-weight: 800;
}

.about-page .stat-item span {
    color: #94a3b8;
    font-size: 0.85rem;
}

.about-page .about-cta {
    padding: 110px 20px;
}

.about-page .cta-content {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 70px 40px;
    border-radius: 28px;
    text-align: center;
    overflow: hidden;
    background: radial-gradient(circle at 20% 20%, rgba(124, 58, 237, 0.25), transparent 35%), radial-gradient(circle at 80% 80%, rgba(79, 70, 229, 0.25), transparent 35%), linear-gradient(135deg, #080d24, #171047);
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.18);
}

.about-page .cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    margin: 0 auto 25px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.10);
    color: #c4b5fd;
    font-size: 1.4rem;
}

.about-page .cta-content h2 {
    margin: 0 0 16px;
    color: white;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.about-page .cta-content p {
    max-width: 650px;
    margin: 0 auto;
    color: #cbd5e1;
    line-height: 1.8;
}

@media (max-width: 1050px) {
    .about-page .mission-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-page .mission-content {
        max-width: 750px;
        margin: 0 auto;
    }

    .about-page .mission-visual {
        max-width: 700px;
        width: 100%;
        margin: 0 auto;
    }

    .about-page .users-grid,
    .about-page .values-grid,
    .about-page .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-page .stat-item:nth-child(2) {
        border-right: none;
    }
}

@media (max-width: 700px) {
    .about-page .about-hero {
        padding: 80px 18px 95px;
    }

    .about-page .about-hero h1 {
        font-size: 2.5rem;
    }

    .about-page .about-hero p {
        font-size: 0.95rem;
    }

    .about-page .hero-actions,
    .about-page .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .about-page .about-btn {
        width: 100%;
        box-sizing: border-box;
    }

    .about-page .about-mission,
    .about-page .about-users,
    .about-page .about-values,
    .about-page .about-cta {
        padding: 75px 18px;
    }

    .about-page .mission-content h2 {
        font-size: 2rem;
    }

    .about-page .mission-visual {
        min-height: 390px;
    }

    .about-page .visual-card {
        width: 82%;
    }

    .about-page .users-grid,
    .about-page .values-grid,
    .about-page .stats-grid {
        grid-template-columns: 1fr;
    }

    .about-page .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.10);
        padding: 25px 15px;
    }

    .about-page .stat-item:last-child {
        border-bottom: none;
    }

    .about-page .cta-content {
        padding: 50px 22px;
    }

    .about-page .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 400px) {
    .about-page .about-hero h1 {
        font-size: 2.15rem;
    }

    .about-page .hero-badge,
    .about-page .section-badge {
        font-size: 0.75rem;
        padding: 8px 13px;
    }

    .about-page .mission-visual {
        min-height: 340px;
    }

    .about-page .visual-card {
        width: 88%;
    }

    .about-page .visual-content {
        padding: 35px 20px;
    }

    .about-page .user-card,
    .about-page .value-card {
        padding: 25px;
    }
}

.about-page {
    color: var(--about-text);
    background: var(--about-bg);
}

.about-page .about-mission,
.about-page .about-values,
.about-page .about-cta {
    background: #080d1f;
}

.about-page .about-users {
    background: #0c1329;
}

.about-page .mission-content h2,
.about-page .mission-point h3,
.about-page .section-heading h2,
.about-page .user-card h3,
.about-page .value-card h3 {
    color: #f8fafc;
}

.about-page .mission-content>p,
.about-page .mission-point p,
.about-page .section-heading p,
.about-page .user-card p,
.about-page .value-card p {
    color: #a8b3cf;
}

.about-page .user-card,
.about-page .value-card {
    background: #151b31;
    border-color: rgba(139, 92, 246, .22);
}

.about-page .user-card.featured {
    background: linear-gradient(145deg, #171047, #101629);
}

.about-page .user-card>a,
.about-page .section-badge {
    color: #c4b5fd;
}

.about-page .value-number {
    color: rgba(196, 181, 253, .18);
}

.about-page .visual-card {
    background: #151b31;
}

.about-page .visual-header {
    background: #101629;
    color: #cbd5e1;
    border-color: rgba(139, 92, 246, .22);
}

.about-page .visual-content h3 {
    color: #f8fafc;
}

.about-page .visual-content p {
    color: #a8b3cf;
}

.about-page .about-stats {
    background: linear-gradient(135deg, #101629, #171047);
}

.about-page .stat-item strong,
.about-page .about-btn.secondary {
    color: #f8fafc;
}

html[data-theme="dark"] .about-page {
    --about-bg: #080d1f;
    --about-dark: #f8fafc;
    --about-muted: #a8b3cf;
    --about-text: #f8fafc;
}

html[data-theme="light"] .about-page {
    --about-bg: #f6f7fc;
    --about-dark: #111a33;
    --about-muted: #52617c;
    --about-text: #172033;
    --about-border: #e0e5f1;
    color: var(--about-text);
    background: var(--about-bg);
}

html[data-theme="light"] .about-page .about-mission,
html[data-theme="light"] .about-page .about-values {
    background: #f6f7fc;
}

html[data-theme="light"] .about-page .about-users,
html[data-theme="light"] .about-page .about-cta {
    background: #ffffff;
}

html[data-theme="light"] .about-page .mission-content h2,
html[data-theme="light"] .about-page .mission-point h3,
html[data-theme="light"] .about-page .section-heading h2,
html[data-theme="light"] .about-page .user-card:not(.featured) h3,
html[data-theme="light"] .about-page .value-card h3 {
    color: #111a33;
}

html[data-theme="light"] .about-page .mission-content>p,
html[data-theme="light"] .about-page .mission-point p,
html[data-theme="light"] .about-page .section-heading p,
html[data-theme="light"] .about-page .user-card:not(.featured) p,
html[data-theme="light"] .about-page .value-card p {
    color: #52617c;
}

html[data-theme="light"] .about-page .user-card:not(.featured),
html[data-theme="light"] .about-page .value-card {
    background: #ffffff;
    border-color: #e0e5f1;
}

html[data-theme="light"] .about-page .section-badge,
html[data-theme="light"] .about-page .user-icon,
html[data-theme="light"] .about-page .value-icon,
html[data-theme="light"] .about-page .point-icon {
    color: #6336db;
}

.about-page .user-card.featured h3 {
    color: #ffffff;
}

.about-page .user-card.featured p {
    color: #cbd5e1;
}

.about-page .user-card.featured .user-icon {
    color: #c4b5fd;
}

.about-page .mission-visual .visual-card {
    background: #151b31;
}

.about-page .mission-visual .visual-header {
    background: #101629;
    color: #cbd5e1;
}

.about-page .mission-visual .visual-content h3 {
    color: #ffffff;
}

.about-page .mission-visual .visual-content p {
    color: #a8b3cf;
}

html[data-theme="light"] .about-page .about-stats {
    background: linear-gradient(135deg, #eeeaff, #e2dcff);
    color: #172033;
}

html[data-theme="light"] .about-page .about-stats .stat-item strong {
    color: #172033;
}

html[data-theme="light"] .about-page .about-stats .stat-item span {
    color: #52617c;
}

html[data-theme="light"] .about-page .about-stats .stat-item {
    border-color: rgba(99, 54, 219, 0.16);
}

html[data-theme="light"] .about-page .about-stats .stat-icon {
    background: rgba(99, 54, 219, 0.12);
    color: #6336db;
}

html[data-theme="dark"] .about-page .about-cta .cta-content h2 {
    color: #ffffff;
}

html[data-theme="dark"] .about-page .about-cta .cta-content p {
    color: #cbd5e1;
}

.about-page .about-hero h1 {
    color: #ffffff;
}

.about-page .about-hero p {
    color: #e2e8f0;
}

.about-page .about-btn:focus-visible,
.about-page .user-card > a:focus-visible {
    outline: 3px solid #a78bfa;
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .about-page .about-btn,
    .about-page .user-card,
    .about-page .value-card,
    .about-page .user-card > a i {
        transition: none;
    }

    .about-page .about-btn:hover,
    .about-page .user-card:hover,
    .about-page .value-card:hover,
    .about-page .user-card > a:hover i {
        transform: none;
    }
}

html[data-theme="light"] .about-page .user-card:not(.featured) > a {
    color: #6336db;
}

html[data-theme="light"] .about-page .value-number {
    color: #e9e7ff;
}

html[data-theme="light"] .about-page .about-cta .cta-content {
    background: linear-gradient(135deg, #f5f3ff, #ede9fe);
    border: 1px solid #ddd6fe;
    box-shadow: 0 20px 50px rgba(109, 40, 217, 0.10);
}

html[data-theme="light"] .about-page .about-cta .cta-content h2 {
    color: #172033;
}

html[data-theme="light"] .about-page .about-cta .cta-content p {
    color: #475569;
}

html[data-theme="light"] .about-page .about-cta .cta-icon {
    background: #ddd6fe;
    color: #6d28d9;
}

html[data-theme="light"] .about-page .about-cta .about-btn.secondary {
    background: #ffffff;
    color: #5b21b6;
    border-color: #c4b5fd;
}

html[data-theme="light"] .about-page .about-cta .about-btn.secondary:hover {
    background: #ede9fe;
    border-color: #7c3aed;
}
