/* =========================================================
   NOS MÉTIERS
   ========================================================= */

.metiers-section {
    width: 100%;
    background: #f2f4f6;
    padding: 55px 30px 65px;
    box-sizing: border-box;
}

.metiers-container {
    width: 100%;
    max-width: 1210px;
    margin: 0 auto;
}

.metiers-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.metiers-title {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 100%;
    min-height: 120px;
}

.metiers-title-line {
    display: block;
    width: 22px;
    height: 3px;
    background: #f06408;
    flex-shrink: 0;
}

.metiers-title h2 {
    margin: 0;
    color: #202020;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.metier-card {
    position: relative;
    min-width: 0;
    min-height: 168px;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    padding: 18px 18px 42px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.metier-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
}

.metier-card--title {
    background: transparent;
    padding: 0;
    min-height: 0;
    box-shadow: none;
}

.metier-card--title:hover {
    transform: none;
    box-shadow: none;
}

.metier-icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #555555;
    margin-bottom: 10px;
}

.metier-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.35;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.metier-content {
    padding-right: 18px;
}

.metier-content h3 {
    margin: 0 0 8px;
    color: #171717;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.25;
}

.metier-content p {
    margin: 0;
    color: #444444;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
}

.metier-link {
    position: absolute;
    right: 16px;
    bottom: 14px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f06408;
    color: #ffffff;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.metier-link span {
    display: block;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-size: 12px;
    line-height: 1;
    transform: translateY(-0.5px);
}

.metier-link:hover {
    background: #df5810;
    transform: scale(1.08);
}

@media (max-width: 1050px) {
    .metiers-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .metier-card--title {
        grid-column: 1 / -1;
    }

    .metiers-title {
        min-height: 0;
        margin-bottom: 4px;
    }
}

@media (max-width: 700px) {
    .metiers-section {
        padding: 40px 16px 50px;
    }

    .metiers-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .metier-card {
        min-height: 150px;
        padding: 16px 16px 40px;
    }

    .metier-content h3 {
        font-size: 15px;
    }

    .metier-content p {
        font-size: 12.5px;
    }
}
