/* Section Introduction */

.page-template-agence section {
    position: relative;
    z-index: 1;
}

.agence-intro {
    padding: 310px 48px 230px;
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 37px;
    margin-top: -80px;
    margin-left: -48px;
    margin-right: -48px;
}

.agence-intro .agence-intro-col {
    width: 50%;
}

.agence-intro .agence-intro-title {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 50vw;
    padding: 0 48px;
}

.agence-intro .container {
    position: relative;
    z-index: 2;
}

.agence-intro .section-title {
    color: var(--color-secondary);
    text-align: left;
}

.agence-intro-illustrations {
    display: flex;
    flex-direction: row;
    gap: 32px;
    justify-content: flex-end;
}

.agence-intro-illustrations-col {
    display: flex;
    flex-direction: column;
    gap: 32px;
    color: #FFFFFF;
}

.agence-intro-illustrations-col .illustration-image {
    z-index: 1;
}

.agence-intro-illustrations-col:first-child .illustration-item:first-child {
    margin-top: 50%;
}

.illustration-item {
    display: flex;
    height: 364px;
    width: 320px;
    padding: 24px;
    align-items: flex-end;
    gap: 10px;
    align-self: stretch;
    position: relative;
    border-radius: 6px;
    overflow: hidden;
}

/* .illustration-image {
    margin-bottom: 1rem;
    overflow: hidden;
    border-radius: 0;
    aspect-ratio: 1/1;
    position: relative;
} */

.illustration-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 0;
}

.illustration-title {
    z-index: 1;
}

/* Section Actions */
.agence-actions {
    position: relative;
    margin-left: -48px;
    margin-right: -48px;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--color-primary);
}

.site-main .agence-actions .page-cross {
    top: 0;
}

.actions-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: center;
    align-items: center;
    z-index: 1;

}

.actions-content .section-title {
    color: #FFF;
    text-align: center;
    font-size: 128px;
    font-style: normal;
    font-weight: 300;
    line-height: 90%; /* 115.2px */
    letter-spacing: -2.56px;
    text-transform: uppercase;
}

.actions-description {
    flex: 1;
    max-width: 425px;
    text-align: center;
}

.actions-link {
    display: flex;
    padding: 24px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 6px;
    background: linear-gradient(0deg, #E9FF1D 0%, #E9FF1D 100%), rgba(0, 0, 0, 0.40);
    backdrop-filter: blur(22px);
    color: #000;
    text-align: center;
    font-size: 128px;
    font-style: normal;
    font-weight: 300;
    line-height: 80px; /* 62.5% */
    letter-spacing: -2.56px;
}

.actions-link .btn-primary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.actions-link .btn-primary img {
    transform: rotate(-45deg);
    height: 76px;
    width: 76px;
    margin-left: 24px;
}

.actions-images {
    flex: 1;
    min-width: 300px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1rem;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.action-image {
    overflow: hidden;
    border-radius: 10px;
    position: absolute;
top: 50%;
left: 50%;
}

.action-image:first-child {
    width: 237px;
    height: 140px;
    flex-shrink: 0;
    top: calc(50% - 240px);
left: calc(50% - 522px);
}

.action-image:nth-child(2) {
    width: 208px;
    height: 294px;
    flex-shrink: 0;
    top: calc(50% - 290px);
    left: calc(50% + 260px);
}

.action-image:nth-child(3) {
    width: 250px;
    height: 263px;
    flex-shrink: 0;
    top: calc(50% + 60px);
    left: calc(50% + 360px);
}

.action-image:nth-child(4) {
    width: 272px;
    height: 181px;
    flex-shrink: 0;
    top: calc(50% + 80px);
    left: calc(50% - 590px);
}



.action-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

/* Section Valeurs */

.agence-valeurs-title {
    position: relative;
    margin-left: -48px;
    margin-right: -48px;
    width: 100vw;
    height: 200vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.agence-valeurs {
    background-color: var(--color-background);
    margin-left: -48px;
    margin-right: -48px;
}

.agence-valeurs .section-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 3rem;
}

.agence-valeurs-title .section-title {
    color: var(--color-secondary);
    text-align: center;
    leading-trim: both;
    text-edge: cap;

    /* Desktop/Titling Display 1 */
    font-size: 128px;
    font-style: normal;
    font-weight: 300;
    line-height: 90%; /* 115.2px */
    letter-spacing: -2.56px;
    text-transform: uppercase;

    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 32px;
}

.valeurs-mot-1 {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 100vh;
}

.valeurs-mot-2 {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 100vh;
}

.valeur-item {
    display: flex;
    flex-direction: row;;
    gap: 2rem;
    width: 100%;
    height: 100vh;
    justify-content: space-between;
    padding: 128px 48px 48px;
    background-color: var(--color-background);
}

.valeur-image {
    display: flex;
    position: relative;
    justify-content: flex-end;
    align-items: flex-start;
    width: 50%;
}

.valeur-image-container {
    display: flex;
    position: relative;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 48px 32px;
    width: 100%;
    height: 100%;
}

.valeur-image img {
    width: auto;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.valeur-item .valeur-image .page-cross {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.valeur-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 541px;
}

/* Section Impact */
.agence-impact {
    background-color: var(--color-primary);
    color: var(--color-primary);
    padding: 80px 48px;
    display: flex;
    flex-direction: row;
    gap: 32px;
    justify-content: space-between;
    margin-left: -48px;
    margin-right: -48px;
    height: 50vw;
    min-height: 680px;
}

.agence-impact-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.agence-impact-background img {
    object-fit: cover;
    min-height: 100%;
    min-width: 100%;
}

.agence-impact-col:nth-child(1) {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
    z-index: 1;
}

.agence-impact .section-title, .agence-impact .impact-description {
    color: #fff;
}

.agence-impact .impact-description {
    margin-top: 8px;
    margin-bottom: 8px;
}

.section-subtitle {
    color: var(--color-secondary);
    font-size: 128px;
font-style: normal;
font-weight: 300;
line-height: 87px;
letter-spacing: -2.56px;
text-transform: uppercase;
}

.agence-impact-col:nth-child(2) {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.agence-impact 

.impact-points {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.impact-point {
    display: flex;
    flex-direction: row;
}

.impact-point:not(:last-child) {
    padding-bottom: 80px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.30);
}

.impact-point-col {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 50%;
    gap: 24px;
}

.impact-icon img {
    width: 64px;
    height: 64px;
}

.impact-title {
    color: var(--color-primary);
}

.impact-description {
    color: var(--color-primary);
}

/* Section Clients */
.clients-section {
    padding: 128px 181px;
    background-color: var(--color-background);
    margin-left: -48px;
    margin-right: -48px;
}

.clients-section-intro {
    text-align: center;
    margin-bottom: 80px;
}

.clients-description {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.clients-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 40px;
    row-gap: 16px;
    justify-content: center;
    align-items: center;
}

.client-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.client-link > div {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    color: var(--color-primary);
    gap: 4px;
    padding: 0 8px;
}

.client-link .client-name {
    z-index: 1;
}

.client-link img {
    width: 18px;
    height: 16px;
    z-index: 1;
}

.client-logo {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: transform 0.3s ease;
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-item:hover .client-logo {
    transform: translateY(-5px);
}

.client-item:hover .client-logo img {
    filter: grayscale(0);
    opacity: 1;
}

/* Section Awards */
.awards-section {
    background-color: var(--color-background);
    margin-left: -48px;
    margin-right: -48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 48px 128px;
    gap: 80px;
}

.awards-section-content {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.award-item {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    border-top: 1px solid rgba(0, 0, 0, 0.10);
    color: var(--color-primary);
    padding: 16px 0;
}

.award-item:last-child {
    border-bottom: 1px solid rgba(0, 0, 0, 0.10);
}

.award-title {
    color: #000;
    leading-trim: both;
    text-edge: cap;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 133.333% */
    text-transform: uppercase;
    }


.award-clients {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-end;
}

.award-client {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    color: #000;
    text-align: right;

    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 133.333% */
}

/* Section Équipe */

.team-section {
    background-color: var(--color-primary);
    margin-left: -48px;
    margin-right: -48px;
    overflow: hidden;
}

.team-section-intro .section-title {
    color: var(--color-secondary);
    width: 66%;
    text-align: center;
}

.team-section-intro {
    height: 100vh;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.team-members {
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 25%);
}

.team-members-grid {
    position: absolute;
    top: 0;
    left: 50%;
    display: flex;
    gap: 190px;
    transform: translate(-50%, 0);
}

.team-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center; */
    gap: 180px;
}

.team-column:nth-child(2n - 1) {
    /* margin-top: 100px; */
}

.team-member {
    text-align: center;
}

.team-member-photo {
    margin-bottom: 1rem;
    overflow: hidden;
    border-radius: 8px;
    width: 198px;
    height: 280px;
}

.team-member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-member-info {
    padding: 1rem;
}

.team-member-name {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.team-member-role {
    font-size: 1rem;
    color: var(--color-text-light);
    font-weight: 300;
}

@media screen and (max-width: 1024px) {

    .agence-intro, .agence-impact, .agence-actions, .agence-valeurs-title, .agence-valeurs, .team-section, .clients-section, .awards-section {
        margin-left: -8px;
        margin-right: -8px;
    }
    
    .agence-intro {
        flex-direction: column;
        padding: 220px 8px 48px;
        justify-content: flex-start;
    }

    .agence-intro .agence-intro-title {
        width: 100%;
        height: auto;
        padding-top: 220px;
    }

    .site-main .agence-intro .page-cross {
        top: -48px;
        left: 0;
    }

    .agence-intro-illustrations {
        height: 364px;
        overflow: scroll;
        margin-left: -8px;
        margin-right: -8px;
        padding: 0 8px;
    }

    .agence-intro-illustrations-col {
        flex-direction: row;
        gap: 352px;
        position: absolute;
    }

    .agence-intro .agence-intro-col {
        width: auto;
        justify-content: flex-start;
        position: relative;
    }

    .agence-intro-illustrations-col:first-child .illustration-item:first-child {
        margin-top: 0;
    }

    .agence-intro-illustrations-col:first-child {
        margin-left: 336px;
    }

    .agence-intro-illustrations-col:nth-child(2) {
        padding-right: 8px;
    }

    .agence-impact {
        flex-direction: column;
        padding: 48px 8px;
        gap: 64px;
        justify-content: flex-end;
    }

    .agence-impact-col:nth-child(1) {
        width: 100%;
        gap: 16px;
    }

    .agence-impact-col:nth-child(2) {
        width: 100%;
    }

    .agence-impact .section-subtitle {
        font-size: 48px;
        font-style: normal;
        font-weight: 300;
        line-height: 80%; /* 48px */
        letter-spacing: -0.96px;
        text-transform: uppercase;
    }

    .impact-point {
        flex-direction: column;
        gap: 32px;
    }

    .impact-point-col {
        width: 100%;
    }

    .impact-point:not(:last-child) {
        padding-bottom: 48px;
    }

    .actions-content .section-title {
        font-size: 56px;
        font-style: normal;
        font-weight: 300;
        line-height: 90%; /* 50.4px */
        letter-spacing: -1.12px;
    }
    
    .action-image:first-child {
        width: 143px;
        height: 85px;
        top: calc(50% - 183px);
        left: calc(50% - 222px);
    }

    .action-image:nth-child(2) {
        width: 126px;
        height: 178px;
        top: calc(50% - 207px);
        left: calc(50% + 68px);
    }

    .action-image:nth-child(3) {
        width: 150px;
        height: 159px;
        top: calc(50% + 46px);
        left: calc(50% + 90px);
    }

    .action-image:nth-child(4) {
        width: 164px;
        height: 109px;
        top: calc(50% + 62px);
        left: calc(50% - 198px);
    }

    .valeur-item {
        flex-direction: column;
        padding: 48px 8px 32px;
        height: auto;
    }

    .valeur-image {
        width: 100%;
    }

    .valeur-image-container {
        padding: 0;
    }

    .valeur-image img {
        width: 100%;
        height: auto;
        object-fit: cover;
        position: relative;
    }

    .team-section-intro .section-title {
        width: calc(100% - 16px);
    }

    .team-members-grid {
        gap: 48px;
    }

    .team-column {
        gap: 48px;
    }

    .team-column:nth-child(2n - 1) {
        margin-top: 52px;
    }

    .team-member-photo {
        width: 74px;
        height: 104px;
    }

    .clients-section {
        padding: 64px 8px;
    }
    .clients-grid {
        flex-direction: column;
    }

    .awards-section {
        padding: 0 8px 64px;
    }

    .award-item {
        flex-direction: column;
        gap: 24px;
    }

    .award-clients {
        align-items: flex-start;
    }

    .award-client {
        text-align: left;
        font-size: 16px;
        font-weight: 400;
        line-height: 140%;
        letter-spacing: -0.32px;
    }

    /* .agence-impact .view-projects-btn {
        width: 100%;
    } */

    .agence-impact .view-projects-btn .yellow-hover-text {
        justify-content: flex-start;
    }

    .page-template-agence .agence-actions {
        padding: 200px 10px;
        height: auto;
    }

    .page-template-agence .team-section {
        height: auto;
    }

    .page-template-agence .team-members {
        height: 408px;
    }
    

    .team-section-intro {
        height: auto;
        padding: 80px 0 57px;
    }
    
}