/* ===== About Section ===== */

.about-section {
    width: 100%;
    min-height: 100vh;
    box-shadow: inset 0 1px 0 rgba(125, 211, 252, 0.06), inset 0 -1px 0 rgba(125, 211, 252, 0.1);
}

.about-container {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    position: relative;
    display: flex;
}

.about-container::before {
    content: "";
    position: absolute;
    inset: 0;
    height: 110px;
    pointer-events: none;
    background: radial-gradient(circle at center, rgba(56, 189, 248, 0.18), transparent 70%);
    filter: blur(14px);
    z-index: 0;
}

.about-card {
    width: 100%;
    min-height: 100vh;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    background: linear-gradient(125deg, rgba(7, 19, 33, 0.94), rgba(14, 32, 53, 0.84));
    border: 1px solid rgba(125, 211, 252, 0.42);
    backdrop-filter: blur(10px);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.42);
    opacity: 0;
    transform: translateY(16px);
    animation: aboutReveal 0.65s ease-out forwards;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    z-index: 1;
}

.about-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.33);
}

.about-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 14% 12%, rgba(56, 189, 248, 0.3), transparent 45%);
}

.about-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 7px;
    height: 100%;
    background: linear-gradient(180deg, #67e8f9 0%, #22d3ee 46%, #0ea5e9 100%);
    box-shadow: 0 0 22px rgba(34, 211, 238, 0.45);
}

.about-photo-wrap {
    min-height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.45), rgba(15, 23, 42, 0.18));
    border-right: 1px solid rgba(148, 197, 255, 0.2);
}

.about-photo-wrap::before {
    content: "";
    width: clamp(180px, 24vw, 280px);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, rgba(56, 189, 248, 0.35), rgba(34, 211, 238, 0.14) 45%, rgba(15, 23, 42, 0.1) 75%);
    border: 1px solid rgba(186, 230, 253, 0.45);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35), inset 0 0 24px rgba(56, 189, 248, 0.16);
    position: absolute;
    z-index: 0;
}

.about-photo-wrap::after {
    content: "";
    width: clamp(196px, 26vw, 296px);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    border: 1px dashed rgba(186, 230, 253, 0.46);
    position: absolute;
    z-index: 0;
    animation: orbitRing 14s linear infinite;
}

.about-photo {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.32));
}

.about-content {
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.35rem;
    font-family: "Space Grotesk", "Lato", sans-serif;
}

.about-heading {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding-bottom: 0.15rem;
}

.about-kicker {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--section-eyebrow-color);
    margin: 0 0 0.6rem;
    text-shadow: 0 0 18px var(--section-eyebrow-glow);
}

.about-section-title {
    font-size: clamp(1.45rem, 2.2vw, 2.05rem);
    font-weight: 800;
    letter-spacing: 0.01em;
    color: #f8fdff;
    text-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.about-role {
    align-self: flex-start;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(186, 230, 253, 0.95);
    background: rgba(56, 189, 248, 0.14);
    border: 1px solid rgba(186, 230, 253, 0.4);
    border-radius: 999px;
    padding: 0.25rem 0.62rem;
}

#about-title {
    font-size: 1.72rem;
    font-weight: 800;
    color: #f8fdff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    position: relative;
    padding-bottom: 0.7rem;
}

#about-description {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.92);
    max-width: 560px;
}

.about-impact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.about-impact-item {
    padding: 0.7rem 0.7rem 0.75rem;
    border-radius: 10px;
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(186, 230, 253, 0.22);
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 0.5rem 0.55rem;
    align-items: start;
}

.about-impact-item i {
    grid-row: 1 / 3;
    color: #67e8f9;
    font-size: 1rem;
}

.about-impact-item h5 {
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #f8fdff;
}

.about-impact-item p {
    font-size: 0.82rem;
    line-height: 1.45;
    color: rgba(232, 244, 255, 0.88);
}

.about-traits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.about-traits span {
    padding: 0.3rem 0.62rem;
    border-radius: 999px;
    font-size: 0.74rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #eaf7ff;
    background: linear-gradient(90deg, rgba(56, 189, 248, 0.2), rgba(34, 211, 238, 0.14));
    border: 1px solid rgba(186, 230, 253, 0.36);
}

.about-signature {
    font-size: 0.92rem;
    color: rgba(191, 236, 255, 0.68);
    font-style: italic;
    letter-spacing: 0.02em;
    border-left: 2px solid rgba(56, 189, 248, 0.65);
    padding-left: 0.65rem;
}

@keyframes aboutReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@media (max-width: 991px) {
    .about-section,
    .about-container,
    .about-card {
        min-height: auto;
    }

    .about-impact-grid {
        grid-template-columns: 1fr;
    }

    .about-photo-wrap {
        padding: 1rem;
    }

    .about-photo {
        max-width: 250px;
    }

    .about-photo-wrap::before {
        width: clamp(170px, 38vw, 240px);
    }

    .about-photo-wrap::after {
        width: clamp(186px, 42vw, 252px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-card {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .about-card:hover {
        transform: none;
    }

    .about-photo-wrap::after {
        animation: none;
    }
}

@media (max-width: 767px) {
    .about-card {
        min-height: auto;
        border-radius: 0;
    }

    .about-container,
    .about-section {
        min-height: auto;
    }

    .about-photo-wrap {
        border-right: none;
        border-bottom: 1px solid rgba(148, 197, 255, 0.2);
    }

    .about-photo {
        max-width: 210px;
    }

    .about-photo-wrap::before {
        width: clamp(150px, 52vw, 210px);
    }

    .about-photo-wrap::after {
        width: clamp(160px, 56vw, 226px);
    }

    #about-title {
        font-size: 1.25rem;
    }

    #about-title::after {
        width: 64px;
    }

    .about-section-title {
        font-size: 1.38rem;
    }
}

@media (max-width: 420px) {
    .about-content {
        gap: 0.75rem;
    }

    #about-description {
        font-size: 0.92rem;
        line-height: 1.6;
    }

    .about-impact-item {
        padding: 0.62rem 0.62rem 0.68rem;
    }

    .about-impact-item h5,
    .about-impact-item p {
        font-size: 0.76rem;
    }
}

/* ===== About Cohesion V2 (rollback: retirer la classe .about-section--cohesive) ===== */
.about-section--cohesive {
    min-height: 100vh;
    box-sizing: border-box;
    display: block;
    padding: var(--section-pad-top) 0 var(--section-pad-bottom);
    background: linear-gradient(160deg, rgba(5, 14, 26, 0.98), rgba(10, 24, 42, 0.96));
    border-bottom: 1px solid rgba(125, 211, 252, 0.18);
}

.about-section--cohesive .about-container {
    max-width: var(--content-max-xl);
    width: 100%;
    min-height: calc(100vh - var(--section-pad-top) - var(--section-pad-bottom));
    margin: 0 auto;
    padding: 0 var(--section-inline-pad);
    align-items: center;
    justify-content: center;
}

.about-section--cohesive .about-container::before {
    display: none;
}

.about-section--cohesive .about-card {
    min-height: auto;
    border-radius: 0;
    border: none;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    animation: none;
    opacity: 1;
    transform: none;
    overflow: visible;
    gap: 1.3rem;
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
}

.about-section--cohesive .about-card:hover {
    transform: none;
    box-shadow: none;
}

.about-section--cohesive .about-card::before,
.about-section--cohesive .about-card::after {
    display: none;
}

.about-section--cohesive .about-content {
    padding: 0.75rem 0.2rem 0.75rem !important;
    gap: 1.05rem;
    flex: 1;
}

.about-section--cohesive .about-heading {
    padding-top: var(--section-title-top-offset);
    margin-bottom: 0.75rem;
}

.about-section--cohesive .about-photo-wrap {
    min-height: auto;
    padding: 0.4rem 0.6rem;
    border-right: none;
    border-radius: 0;
    border: none;
    background: transparent;
    flex: 0 0 34%;
    max-width: 360px;
}

.about-section--cohesive .about-photo-wrap::before,
.about-section--cohesive .about-photo-wrap::after {
    display: none;
}

.about-section--cohesive .about-subtitle {
    margin-top: 0.35rem !important;
    max-width: 62ch;
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgba(186, 230, 253, 0.82);
}

.about-section--cohesive .about-section-title {
    position: relative;
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    padding-bottom: 0.62rem;
}

.about-section--cohesive .about-section-title::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    border-radius: 99px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.88) 40%, rgba(255,255,255,0.96) 50%, rgba(255,255,255,0.88) 60%, transparent 100%);
    background-size: 40px 100%;
    background-repeat: no-repeat;
    background-position: -40px 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
}

.about-section--cohesive .about-section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--section-underline-start), var(--section-underline-end));
    box-shadow: 0 0 12px var(--section-underline-glow);
    opacity: 0.22;
}

.about-section--cohesive .about-section-title.ul-animate::before {
    animation: ul-sweep-loop 6s ease-out 0.4s infinite;
}

.about-section--cohesive .about-section-title.ul-animate::after {
    animation: ul-bar-reveal 0.55s ease-out 0.4s forwards;
}

.about-section--cohesive #about-title {
    font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}

.about-section--cohesive #about-description {
    max-width: 70ch;
}

@media (max-width: 991px) {
    .about-section--cohesive {
        min-height: auto;
        padding: var(--section-pad-top) 0 var(--section-pad-bottom);
    }

    .about-section--cohesive .about-container {
        min-height: 0;
        align-items: stretch;
        padding: 0 var(--section-inline-pad-md);
    }

    .about-section--cohesive .about-content {
        padding: 0.2rem 0 !important;
    }

    .about-section--cohesive .about-photo-wrap {
        margin-bottom: 0.5rem;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .about-section--cohesive .about-card {
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    .about-section--cohesive .about-container {
        padding: 0 var(--section-inline-pad-sm);
    }

    .about-section--cohesive .about-card {
        gap: 0.9rem;
    }
}
