.contact-hero {
    max-width: 980px;
    margin: 2.5rem auto 0;
    padding: 1.5rem 1rem 0.75rem;
}

.contact-hero-icon {
    width: 3.75rem;
    height: 3.75rem;
    margin: 0 auto 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--promo-border);
    border-radius: 50%;
    background-color: var(--promo-bg);
    box-shadow: var(--card-shadow);
    color: #ed7f00;
    font-size: 1.55rem;
}

.contact-hero h1,
.section-title h2 {
    color: var(--text-color);
    font-weight: 650;
    letter-spacing: 0;
    margin: 0;
}

.contact-hero h1 {
    font-size: clamp(1.75rem, 3vw, 2.45rem);
}

.section-title {
    margin-bottom: 1.5rem;
}

.section-title h2 {
    font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.contacts-section,
.addresses-section {
    max-width: 1120px;
    margin: 2.5rem auto 0;
}

.contact-group + .contact-group {
    margin-top: 2.75rem;
}

.contact-category-title {
    margin: 0 0 1.25rem;
    color: var(--text-color);
    font-size: clamp(1.1rem, 1.6vw, 1.3rem);
    font-weight: 650;
    letter-spacing: 0;
}

.contact-category-title::after {
    content: "";
    display: block;
    width: 2.5rem;
    height: 3px;
    margin: 0.5rem auto 0;
    border-radius: 2px;
    background-color: #ed7f00;
}

.interlocuteur-div {
    display: grid;
    grid-template-columns: repeat(auto-fit, 220px);
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
}

.member-card {
    position: relative;
    width: 220px;
    height: 308px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    border: 1px solid var(--promo-border);
    border-radius: 8px;
    background-color: var(--promo-bg);
    box-shadow: var(--card-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.member-card:hover,
.member-card:focus-within {
    transform: translateY(-4px);
    border-color: rgba(237, 127, 0, 0.45);
    box-shadow: var(--card-shadow-hover);
}

.member-card .card-picture {
    position: absolute;
    inset: 0 0 88px;
    background-color: var(--promo-bg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
}

.person-info,
.contact-info {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 88px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.8rem 0.85rem;
    background-color: var(--promo-bg);
    color: var(--text-color);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.contact-info {
    position: absolute;
    bottom: 0;
    left: 0;
    opacity: 0;
    transform: translateY(0.35rem);
    pointer-events: none;
}

.member-card:hover .person-info,
.member-card:focus-within .person-info {
    opacity: 0;
    transform: translateY(-0.35rem);
}

.member-card-no-contact:hover .person-info,
.member-card-no-contact:focus-within .person-info {
    opacity: 1;
    transform: none;
}

.member-card:hover .contact-info,
.member-card:focus-within .contact-info {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.name-contact {
    max-width: 100%;
    font-weight: 700;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.post-contact {
    max-width: 100%;
    color: var(--text-color);
    font-size: 0.88rem;
    line-height: 1.25;
    opacity: 0.78;
    overflow-wrap: anywhere;
}

.contact-action {
    min-height: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-action-phone {
    font-weight: 600;
}

.contact-icon {
    font-size: 1.25rem;
}

.contact-action:hover,
.contact-action:focus {
    color: #ed7f00;
}

.addresses-section {
    margin-bottom: 2rem;
}

.addresses-layout {
    display: grid;
    grid-template-columns: minmax(220px, 340px) minmax(0, 1fr);
    gap: 2.25rem;
    align-items: center;
    max-width: 1040px;
    margin: 0 auto;
}

.addresses-map {
    display: flex;
    justify-content: center;
}

.addresses-map img {
    display: block;
    width: 100%;
    max-width: 380px;
    height: auto;
    margin: 0 auto;
}

.addresses-content {
    display: grid;
    gap: 1.5rem;
    min-width: 0;
}

.headquarters-block {
    color: var(--text-color);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.45;
}

.place-name {
    margin: 0 0 0.25rem;
    color: var(--text-color);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0;
}

.headquarters-block .place-name {
    color: #ed7f00;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.75rem;
    row-gap: 1rem;
    align-items: start;
}

.platform-item {
    display: grid;
    grid-template-columns: 0.65rem minmax(0, 1fr);
    gap: 0.65rem;
    align-items: start;
    color: var(--text-color);
    min-width: 0;
}

.platform-details {
    min-width: 0;
    line-height: 1.35;
}

.platform-marker {
    width: 0.5rem;
    height: 0.5rem;
    margin-top: 0.42rem;
    display: block;
    background-color: #dc3545;
}

@media (max-width: 991.98px) {
    .addresses-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .addresses-map img {
        max-width: 330px;
    }

    .addresses-content {
        max-width: 760px;
        margin: 0 auto;
    }
}

@media (max-width: 575.98px) {
    .contact-hero {
        margin-top: 1.5rem;
    }

    .contacts-section,
    .addresses-section {
        margin-top: 2rem;
    }

    .interlocuteur-div {
        grid-template-columns: minmax(0, 220px);
    }

    .addresses-map img {
        max-width: 260px;
    }

    .platform-grid {
        grid-template-columns: 1fr;
    }
}
