.nav_list li:nth-child(2) a {
    color: #AC9100;
}

section#realisations {
    padding: 50px 5%;
}

.title {
    font-size: 58px;
    color: #000;
    line-height: 40px;
}

.tabnav {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: row;
    gap: 20px;
    padding: 40px 0;
    flex-wrap: wrap;
}

.tablinks {
    text-transform: none;
    color: #000;
    background-color: inherit;
    border: none;
    outline: none;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
    padding: 0;
    font-size: 18px;
    font-family: inherit;
    font-weight: inherit;
    font-style: inherit;
}

.tablinks::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: 0;
    left: 0;
    border-bottom: #000 solid 2px;
    /* background-color: #000; */
    visibility: hidden;
    transform: scaleX(0);
    transition: 0.3s ease-in-out;
}

.tablinks:hover::after {
    visibility: visible;
    transform: scaleX(1);
}

.tablinks.active::after {
    visibility: visible;
    transform: scaleX(1);
}

.tabcontent.active {
    display: flex;
    justify-content: space-between;
    align-items: normal;
    flex-direction: column;
    gap: 40px;
}

.tabcontent {
    display: none;
}

.tab_row {
    display: flex;
    justify-content: flex-start;
    gap: 5%;
    align-items: center;
    flex-direction: row;
}

.tab_item {
    position: relative;
    width: 30%;
}

.tab_item img {
    width: 100%;
    height: auto;
}

.img_overlay {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 20px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 0;
    background-color: #AC9100;
    transition: 0.3s;
    overflow: hidden;
}

.tab_item a:hover .img_overlay {
    height: 100%;
}

.tab_item a {
    color: #000;
    text-decoration: none;
}

.img_cat {
    width: 75%;
    font-size: 14px;
    padding-left: 7%;
    padding-top: 7%;
}

.img_title {
    width: 50%;
    font-size: 40px;
    padding-left: 7%;
    line-height: 48px;
}

.img_desc {
    width: 75%;
    font-size: 14px;
    padding-left: 7%;
    padding-bottom: 7%;
}

.img_overlay img {
    width: 25px;
    height: 25px;
    position: absolute;
    right: 7%;
    bottom: 7%;
    filter: invert(1);
}

/* Onglet Image : sections titrées */
.tab_section {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 5%;
    border-top: 1px solid #000;
    padding-top: 24px;
    margin-top: 20px;
}

.tab_section:first-child {
    margin-top: 0;
}

.tab_section_title {
    width: 30%;
    font-size: 24px;
    color: #000;
}

.tab_section_text {
    width: 65%;
    max-width: 640px;
    font-size: 15px;
    line-height: 24px;
    color: #000;
}

@media (max-width: 900px) {
    .tab_section { flex-direction: column; gap: 8px; padding-top: 18px; margin-top: 10px; }
    .tab_section_title, .tab_section_text { width: auto; }
    .tab_section_title { font-size: 20px; }
}
