body.equipe-technique-page .technique-hero {
    min-height: auto;
    padding: 62px 20px 44px;
    background-attachment: scroll;
}

.equipe-technique-page .tech-eyebrow {
    margin: 0 0 14px;
    color: #ffba9e;
    font: 700 0.78rem/1.5 "Trebuchet MS", Arial, sans-serif;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.equipe-technique-page .hero-title {
    max-width: 1040px;
    font-size: clamp(2.1rem, 5vw, 4.2rem);
    letter-spacing: 0.02em;
}

.tech-intro {
    max-width: 690px;
    margin: 18px auto 0;
    color: #eee4e0;
    font: 1.05rem/1.8 "Trebuchet MS", Arial, sans-serif;
}

.tech-jumps {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.tech-jumps a {
    padding: 9px 16px;
    border: 1px solid rgba(255, 170, 133, 0.4);
    border-radius: 999px;
    color: #fff1e9;
    text-decoration: none;
    font: 0.85rem/1.5 "Trebuchet MS", Arial, sans-serif;
}

.tech-jumps a:hover {
    background: rgba(255, 110, 75, 0.15);
}

.tech-shell {
    width: min(1120px, calc(100% - 40px));
    margin: 44px auto 70px;
    font-family: "Trebuchet MS", Arial, sans-serif;
}

.tech-section {
    scroll-margin-top: 130px;
}

.tech-section + .tech-section {
    margin-top: 56px;
}

.tech-section-heading {
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 170, 133, 0.22);
}

.tech-section-heading h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 1.6rem;
}

.tech-section-heading p {
    margin: 0;
    color: #d9c8c0;
    line-height: 1.6;
}

.tech-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
}

.tech-card {
    display: grid;
    grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.65fr);
    grid-template-areas: "photo content";
    align-items: center;
    gap: clamp(24px, 3.2vw, 40px);
    padding: clamp(24px, 3vw, 34px);
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 130, 90, 0.28);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(43, 30, 25, 0.96), rgba(20, 20, 22, 0.98));
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    scroll-margin-top: 130px;
}

.tech-card--reverse {
    grid-template-columns: minmax(0, 1.65fr) minmax(240px, 0.85fr);
    grid-template-areas: "content photo";
}

.tech-photo {
    grid-area: photo;
    margin: 0;
    min-width: 0;
}

.tech-photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    max-height: 460px;
    border-radius: 10px;
    object-fit: cover;
    object-position: center 25%;
}

.tech-photo figcaption {
    padding: 12px 2px 0;
    color: #c9bcb5;
    font-size: 0.72rem;
    line-height: 1.5;
}

.tech-content {
    grid-area: content;
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: center;
    min-width: 0;
    padding: 0;
    text-align: center;
}

.tech-role {
    color: #ffba9e;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.tech-content h3 {
    margin: 10px 0 16px;
    font-size: clamp(1.45rem, 2.3vw, 1.9rem);
    line-height: 1.25;
    color: #fff;
}

.tech-bio {
    width: 100%;
    max-width: 66ch;
    overflow-wrap: anywhere;
}

.tech-bio p {
    margin: 0 0 16px;
    color: #e4d9d3;
    font-size: 1rem;
    line-height: 1.75;
}

.tech-instagram {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding-top: 10px;
    color: #ffba9e;
    font-size: 0.88rem;
    line-height: 1.5;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.tech-instagram:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.tech-gallery-link {
    margin-top: 22px;
    text-align: center;
}


.equipe-technique-page a:focus-visible {
    outline: 2px solid #ffba9e;
    outline-offset: 5px;
}

@media screen and (max-width: 768px) {
    body.equipe-technique-page .technique-hero {
        padding: 38px 18px 32px;
    }

    .tech-intro {
        font-size: 0.95rem;
    }

    .tech-shell {
        width: calc(100% - 28px);
        margin-top: 30px;
    }

    .tech-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .tech-card,
    .tech-card--reverse {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "photo" "content";
        gap: 22px;
        padding: 22px;
    }

    .tech-photo {
        width: 100%;
        max-width: 440px;
        box-sizing: border-box;
        margin: 0 auto;
        padding: 0;
    }

    .tech-photo img {
        aspect-ratio: 4 / 3;
    }

    .tech-content {
        padding: 0;
    }

    .tech-bio p {
        font-size: 0.96rem;
        line-height: 1.85;
    }

    .tech-section + .tech-section {
        margin-top: 38px;
    }

    .tech-section, .tech-card {
        scroll-margin-top: 110px;
    }
}
