.hero {
    background-image: url("../img/expertises-hero.png");
    background-size: cover;
    background-position: center;
    min-height: calc(var(--hero-height)/2);
    display: flex;
}

.hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 70px;
}

.hero__content--title {
    color: var(--white);
    font-weight: 900;
    margin-bottom: calc(var(--base-margin-small)/3);
    text-align: center;
}

.expertises {
    background-color: var(--blue-marine);
    color: var(--blue-marine);
}

.metier {
    background-image: url("../img/metier_mini.webp");
    background-size: cover;
    background-position: center;
    min-height: var(--hero-height);
    display: flex;
}

.metier__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.metier__content--title {
    color: var(--white);
    font-weight: 900;
    margin-bottom: calc(var(--base-margin-small) / 3);
}

.metier__content--subtitle {
    color: var(--white);
    font-weight: 900;
}

.metier__content--text {
    color: var(--white);
    font-size: 1.2em;
}

.techno {
    background-color: var(--light-grey);
    color: var(--white);
    display: flex;
}

.techno__card {
    box-shadow: var(--shadow-cards);
    margin-bottom: calc(var(--base-margin-small) / 2);
    border-radius: var(--border-cards);
    overflow: hidden;
    background-color: var(--white);
}

.techno__card summary {
    box-sizing: border-box;
    background-color: var(--pink-peaks);
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M23.024 11.263l-7.024 7.023-7.022-7.023-3.091 3.090 8.569 8.569c0.413 0.413 0.961 0.64 1.545 0.64s1.133-0.228 1.545-0.64l8.569-8.569-3.091-3.090z' fill='%23FFFFFF'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(var(--base-margin-small)/2) center;
    background-size: 1.5rem;
    width: 100%;
    text-align: left;
    margin: 0;
    border: none;
    padding: calc(var(--base-margin-small)/2);
    cursor: pointer;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.techno__card:focus-within summary {
    outline: 2px solid var(--black);
    outline-offset: -2px;
}

.techno__card summary::marker,
.techno__card summary::-webkit-details-marker {
    display: none;
}

.techno__card[open] summary {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M8.976 22.025l7.024-7.023 7.022 7.023 3.091-3.090-8.568-8.568c-0.413-0.412-0.961-0.64-1.545-0.64s-1.133 0.228-1.545 0.64l-8.569 8.569 3.091 3.090z' fill='%23FFFFFF'/%3e%3c/svg%3e");
}

.techno__card_content {
    padding: calc(var(--base-margin-small)/2);
    overflow: hidden;
    transition: height 0.4s ease-out;
    background-color: var(--white);
    color: var(--blue-marine);
}

.techno__card_content-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    gap: calc(var(--base-margin-large) * 2);
}

.techno__card_content-single {
    grid-template-columns: 1fr;
}

.techno__card_text p:not(:first-of-type):last-of-type {
    margin-bottom: 0;
}

.picto_list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--base-gutter);
    align-items: center;
    justify-content: space-around;
    margin: 0;
}

.logo {
    text-align: center;
}

.logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-bottom: calc(var(--base-margin-small)/2);
}

.logo span {
    font-size: 0.85rem;
    color: var(--blue-marine);
    margin: 0;
    display: block;
}

.logo a {
    text-decoration: none;
    transition: transform 0.2s ease;
}

.logo a:hover {
    transform: scale(1.1);
    text-decoration: underline;
    color: var(--blue-marine);
}

.logo__title {
    display: block;
}

@media (max-width: 768px) {
    .techno__card--content-inner {
        grid-template-columns: 1fr;
    }

    .techno__card--button::after {
        right: 0.8rem;
    }
}

@media (max-width: 480px) {
    .techno__content {
        margin: 0;
    }

    .techno__card--button {
        padding: 0.9rem;
        padding-right: 2rem;
    }

    .techno__card--button::after {
        right: 0.8rem;
    }
}

.realisation {
    background-color: var(--blue-marine);
    color: var(--white);
}

.realisation__title {
    color: var(--white);
    margin: 0 0 calc(var(--base-margin-small)/2) 0;
}

.realisation__cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: calc(var(--base-gutter));
    align-self: center;
    margin: 0 var(--base-gutter) var(--base-gutter) var(--base-gutter);
}

.realisation__cards .title-xxs {
    color: var(--pink-peaks);
    flex: 1;
    margin: 0;
}

.realisation__client {
    margin: 0;
    font-weight: 600;
}

@media (width < 800px) {
    .realisation__cards {
        grid-template-columns: 1fr;
        margin: 0 0 var(--base-gutter) 0;
    }
}