/* =========================
    Hero
========================= */

.society-hero-media {
    aspect-ratio: 4 / 3;
}

@media (min-width: 992px) {
    .society-hero-media {
        aspect-ratio: 1 / 1;
    }

    .py-lg-6 {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
}


/* =========================
    Notre histoire
========================= */

#society-history {
    padding-bottom: 10rem !important;
    background-image:
        radial-gradient(ellipse 140% 65% at 50% 55%, rgba(242, 120, 75, 0.75) 0%, rgba(242, 120, 75, 0) 70%),
        linear-gradient(180deg, #080E2C 0%, #ffffff 100%);
    background-repeat: no-repeat;
}

@media (max-width: 992px) {
    #society-history {
        padding-bottom: 4rem !important;
    }
}

.history-bloom {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}

.history-bloom--1 {
    top: 20%;
    left: -10%;
    width: 45vw;
    height: 45vw;
    max-width: 560px;
    max-height: 560px;
    background: rgba(56, 238, 252, 0.18);
}

.history-bloom--2 {
    top: 60%;
    right: -12%;
    width: 55vw;
    height: 55vw;
    max-width: 650px;
    max-height: 650px;
    background: rgba(242, 120, 75, 0.3);
}

.history-journey {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    z-index: 1;
}

.history-path {
    position: absolute;
    top: 0;
    left: 0;
    overflow: visible;
    pointer-events: none;
    z-index: 0;
}

.history-path__bg,
.history-path__fg {
    fill: none;
    stroke-linecap: round;
}

.history-path__bg {
    stroke: rgba(255, 255, 255, 0.3);
    stroke-width: 2;
    stroke-dasharray: 2 10;
}

.history-path__fg {
    stroke: rgba(255, 255, 255, 0.85);
    stroke-width: 3;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
}

.history-stop {
    display: flex;
    position: relative;
    z-index: 1;
}

.history-stop--right { justify-content: flex-end; }
.history-stop--left  { justify-content: flex-start; }

.history-card {
    position: relative;
    width: 100%;
    max-width: 480px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    padding: 1.5rem 1.75rem;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(8, 14, 44, 0.18);
    transition: background 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease, transform 0.5s ease;
}

.history-stop.is-active .history-card {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(242, 120, 75, 0.4);
    box-shadow:
        0 16px 48px rgba(8, 14, 44, 0.2),
        0 0 0 1px rgba(242, 120, 75, 0.3),
        0 0 60px rgba(242, 120, 75, 0.25);
    transform: translateY(-6px);
}

.history-ghost {
    position: absolute;
    top: -0.5rem;
    right: 1rem;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(8, 14, 44, 0.04);
    z-index: 0;
}

.history-stop--left .history-ghost {
    right: auto;
    left: 1rem;
}

.history-year {
    position: relative;
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--isatis-warning);
    margin-bottom: .5rem;
}

.history-title {
    position: relative;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--isatis-primary);
    margin: 0 0 .5rem;
}

.history-text {
    position: relative;
    font-size: .9rem;
    color: #4b5563;
    line-height: 1.6;
}

.history-media img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

@media (max-width: 992px) {
    .history-path,
    .history-bloom {
        display: none;
    }

    .history-stop--right,
    .history-stop--left {
        justify-content: center;
    }

    .history-card {
        max-width: 100%;
    }
}


/* =========================
    Notre façon de travailler
========================= */

.process-track {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem 2rem;
}

.process-track::before {
    content: '';
    position: absolute;
    top: 1.75rem;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(208, 208, 208, 0.6);
    z-index: 0;
}

.process-step {
    flex: 1 1 220px;
    position: relative;
    text-align: center;
}

.process-circle {
    position: relative;
    z-index: 1;
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid var(--isatis-warning);
    background: #fff;
    color: var(--isatis-warning);
    font-weight: 700;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.process-step:hover .process-circle {
    background: var(--isatis-warning);
    color: #fff;
    transform: scale(1.08);
}

.process-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--isatis-primary);
    margin: 0 0 .5rem;
}

.process-text {
    font-size: .875rem;
    color: #6b7280;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .process-track::before {
        display: none;
    }
}


/* =========================
    L'équipe
========================= */

.team-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 2rem 1.5rem 1.5rem;
    text-align: center;
    transition: border-color 0.25s ease;
}

.team-card:hover {
    border-color: rgba(var(--isatis-warning-rgb), 0.5);
}

.team-photo-wrapper {
    width: 72%;
    aspect-ratio: 1 / 1;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 .25rem;
}

.team-role {
    display: block;
    font-size: .85rem;
    color: var(--isatis-warning);
    margin-bottom: 1.25rem;
}

.team-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
}

.team-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.2s ease;
}

.team-social-link:hover {
    color: #93c5fd !important;
}


/* =========================
    Ancrage local
========================= */

.location-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    background: rgba(var(--isatis-warning-rgb), 0.1);
    color: var(--isatis-warning);
}

.location-map {
    min-height: 320px;
}

.location-map .leaflet-container {
    width: 100%;
    height: 320px;
}
