/* ================================
   AGENCE PAGE
   ================================ */

.agence-page {
    width: 100%;
    min-height: 100vh;
}

.agence-page > *:not(.agence-hero) {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.agence-page.loaded > *:not(.agence-hero) {
    opacity: 1;
    transform: translateY(0);
}

/* ================================
   HERO SECTION
   ================================ */

.agence-hero {
    width: 100%;
    height: 70vh;
    overflow: hidden;
}

.agence-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ================================
   SECTIONS LAYOUT
   ================================ */

.agence-section {
    max-width: 2000px;
    margin: 0 auto;
    padding: 80px 40px 0 40px;
}

.section-container {
    display: grid;
    grid-template-columns: 33% 1fr;
    gap: 40px;
}

.section-left {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.section-title {
    font-size: clamp(2.5rem, 7vw, 10rem);
    font-weight: 600;
    color: var(--primary);
    line-height: 0.5;
    letter-spacing: -0.02em;
    text-align: left;
}

.section-title-01 {
    font-size: clamp(2rem, 6vw, 8rem);
}

.section-title-02,
.section-title-03 {
    font-size: clamp(1.5rem, 4vw, 4rem);
}

.section-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* ================================
   SECTION INTRO
   ================================ */

.section-intro p {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* ================================
   SECTION GRID
   ================================ */

.section-grid {
    display: grid;
    gap: 30px;
}

.section-grid.two-cols {
    grid-template-columns: 1fr 1fr;
}

.section-grid.one-col {
    grid-template-columns: 1fr;
    max-width: 50%;
}

.grid-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.item-title {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.item-text {
    font-size: 1.0rem;
    font-weight: 400;
    line-height: 1.4;
    color: var(--primary);
}

/* ================================
   SECTION SEPARATOR
   ================================ */

.section-separator {
    width: 100%;
    height: 1px;
    background-color: var(--primary);
    margin-top: 60px;
}

/* ================================
   TEAM SECTION
   ================================ */

.agence-section-equipe {
    padding-bottom: 80px;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.team-member {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.member-photo {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 20px;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-photo.placeholder {
    background-color: #e0e0e0;
}

.member-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: 8px;
}

.member-role {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ================================
   TEAM DESCRIPTION
   ================================ */

.team-description {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.team-text-left p,
.team-text-right p {
    font-size: 1.0rem;
    font-weight: 400;
    line-height: 1.4;
    color: var(--primary);
}

/* ================================
   RESPONSIVE
   ================================ */

@media (max-width: 1200px) {
    .agence-section {
        padding: 60px 40px 60px 40px;
    }

    .section-container {
        grid-template-columns: 33% 1fr;
        gap: 30px;
    }

    .section-grid.one-col {
        max-width: 60%;
    }
}

@media (max-width: 1024px) {
    .section-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section-grid.one-col {
        max-width: 100%;
    }

    .team-members {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .agence-hero {
        height: 50vh;
    }

    .agence-section {
        padding: 40px 20px 0 20px;
    }

    .section-title.section-title-01 {
        margin-top: 30px;
    }

    .section-title {
        font-size: 4rem;
        margin-bottom: 20px;
    }

    .section-intro p {
        font-size: 1.5rem;
    }

    .item-title {
        font-size: 1.2rem;
        margin-bottom: 0px;
    }

    .section-title-02,
    .section-title-03 {
        font-size: 2rem;
    }

    .item-text {
        font-size: 0.95rem;
        line-height: 1.3;
    }

    .section-grid.two-cols {
        grid-template-columns: 1fr;
    }

    .team-members {
        grid-template-columns: 1fr;
        gap: 40px;
        align-items: center;
        justify-items: center;
    }

    .team-member {
        width: 100%;
        max-width: 250px;
        align-items: flex-start;
    }

    .member-photo {
        width: 100%;
    }

    .member-info {
        width: 100%;
        text-align: left;
    }

    .team-description {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .team-text-left p,
    .team-text-right p {
        font-size: 0.95rem;
        line-height: 1.2;
    }

    .section-separator {
        margin-top: 40px;
    }

    .agence-section {
        padding-top: 20px;
    }

    .agence-section-equipe {
        padding-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .team-members {
        grid-template-columns: 1fr;
        gap: 40px;
        align-items: center;
        justify-items: center;
    }

    .team-member {
        width: 100%;
        max-width: 250px;
        align-items: flex-start;
    }

    .member-photo {
        width: 100%;
    }

    .member-info {
        width: 100%;
        text-align: left;
    }
}
