#projet {
    margin: 0 auto;
    padding: 55px 0;

    width: 90%;
    max-width: 1150px;
}

#projet .etape {
    position: relative;

    padding-left: 80px;
}

#projet .etape:before {
    display: block;
    position: absolute;

    top: 90px;
    bottom: 50px;
    left: 30px;

    width: 0;

    border-left: 1px solid #707070;

    content: '';
}

#projet .etape:last-child:before {
    display: none;
}

#projet .num {
    display: flex;
    align-items: center;
    justify-content: center;

    position: absolute;

    top: -8px;
    left: 0;

    width: 60px;
    height: 60px;

    background: var(--red);
    border-radius: 30px;

    color: #fff;
    font-size: 18px;
}

#projet .header {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    font-size: 2rem;

    color: var(--red);
    font-weight: 100;
}

@media (min-width:768px){
    #projet .header{
        align-items: center;
        flex-direction: row;
        font-size: 3.3rem;

    }
}
#projet .header:before {
    display: block;

    width: 45px;
    height: 45px;

    margin: 0 15px 0;

    background: url('../img/icon-home-on.png');

    content: "";
}
#projet .is-next .header:before {
    background: url('../img/icon-home-off.png');
}
#projet .is-region .header:before {
    background: url('../img/icon-france-on.png');
}

#projet .etape > .content {
    padding: 80px 80px 100px;
}

@media screen and (max-width: 760px) {
    #projet .etape > .content {
        padding: 40px 0 80px 0;
    }
}

#projet .etape:last-child > .content {
    padding: 80px 0;
}

@media screen and (max-width: 760px) {
    #projet .etape:last-child > .content {
        padding: 40px 0;
    }
}

#projet .select-wrap {
    display: inline;
    position: relative;
}

#projet .select-wrap i {
    position: absolute;
    z-index: 1;

    top: -7px;
    right: 0;

    transform: scale(0.7);
}

#projet select {
    max-width: 100%;
    position: relative;
    z-index: 2;

    height: 50px;

    padding: 0 100px 0 20px;

    border-color: #5E5D5D;
    background: none;

    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 1px;
    text-overflow: '';
}

#projet .radio-wrap {
    position: relative;

    width: 25px;
    height: 25px;

    margin: 3px 15px 0 0;

    border: 1px solid #5E5D5D;
}

#projet .radio-wrap input {
    opacity: 0;
}

#projet .radio-wrap input:checked + span {
    display: block;
    position: absolute;

    top: 1px;
    right: 1px;
    bottom: 1px;
    left: 1px;

    background: var(--red);
}

#projet .etape.is-next .header {
    color: #B1B0B0;
}

#projet .etape.is-next .num {
    background: #B1B0B0;
}

#projet .etape.is-next .content {
    display: none;
}

#projet .etape.is-hidden {
    display: none;
}

.is-etape-type ul {
    display: flex;
    flex-wrap: wrap;
}

.is-etape-type ul li {
    flex: 1;
    min-width: 250px;

    list-style: none;
}

@media screen and (max-width: 760px) {
    .is-etape-type ul li + li {
        margin-top: 20px;
    }
}

.is-etape-type ul li label {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    position: relative;

    font-size: 30px;
    font-weight: 100;
}

@media screen and (max-width: 760px) {
    .is-etape-type ul li label {
        justify-content: flex-start;

        font-size: 20px;
    }
}

.is-etape-type ul li label:before {
    display: block;

    width: 100%;
    height: 279px;

    background: no-repeat center center;
    background-size: contain;

    content: '';
}

.is-etape-type ul li label span {
    line-height: 1em;
}

@media screen and (max-width: 760px) {
    .is-etape-type ul li label:before {
        display: none;
    }
}

.is-etape-type ul li.type-maison-individuelle label:before {
    background-image: url('../img/type-maison-individuelle.png');
}

.is-etape-type ul li.type-batiment-collectif label:before {
    background-image: url('../img/type-batiment-collectif.png');
}

.is-etape-type ul li.type-batiment-tertiaire label:before {
    background-image: url('../img/type-batiment-tertiaire.png');
}

.plan {
    position: relative;
    margin: 0 auto;

    width: 885px;
    height: 800px;

    background: url('../img/coupe-immeuble.png') no-repeat center center;
}

@media screen and (max-width: 760px) {
    .plan {
        display: none;
    }
}

.plan .panel {
    display: none;
    position: absolute;
}

.plan .panel.plan-68 {
    display: block;

    top: 160px;
    left: 455px;
}

.plan .panel.plan-61 {
    display: block;

    top: 205px;
    left: 160px;
}

.plan .panel.plan-67 {
    display: block;
    
    top: 460px;
    left: 415px;
}

#projet .plan .panel .content {
    position: absolute;

    min-width: 400px;

    padding: 30px;

    background: #fff;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
    opacity: 0;

    transition: opacity 0.2s;
    transform: translateY(calc(-100% - 80px)) translateX(calc(-50% + 30px));
}

#projet .plan .panel .content .title {
    color: var(--red);
    font-weight: 100;
    font-size: 33px;
}

#projet .plan .panel .content .description {
    margin-bottom: 15px;

    font-size: 18px;
    line-height: 1em;
}

#projet .plan .panel .content ul {
    padding: 0;
}

#projet .plan .panel .content ul li {
    list-style: none;
}

#projet .plan .panel .content ul li a {
    color: var(--red);
}

#projet .plan .panel .content ul li a:hover {
    color: #000;
}

#projet .plan .panel .content ul li a:before {
    display: inline-block;

    margin: 0 5px 0 0;

    content: '>';
}

.plan .panel .button {
    display: block;

    width: 70px;
    height: 70px;

    background: #B1B0B0;
    border-radius: 50px;
    opacity: 0.7;

    transition: all 0.2s;
}

.plan .panel .button:hover {
    background: #5E5D5D;

    transform: scale(1.1);
}

#projet .plan .panel.is-opened .button {
    background: var(--red);
    opacity: 1;

    transform: scale(1.1);
}

#projet .plan .panel.is-opened .content {
    opacity: 1;
}

#projet .list {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;

    margin-top: 40px;
}

@media screen and (max-width: 760px) {
    #projet .list {
        flex-direction: column;

        margin-top: 0;
    }
}

#projet .list li {
    list-style: none;
}

#projet .list > li {
    max-width: 340px;
    flex-basis: 32%;

    background: #fff;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

@media screen and (max-width: 760px) {
    #projet .list > li {
        flex-basis: 100%;
        width: 100%;

        margin-bottom: 15px;
    }
}

#projet .list > li span {
    display: flex;
    align-items: center;
    justify-content: space-between;

    height: 85px;

    padding: 0 20px;

    background: var(--red);
    cursor: pointer;

    color: #fff;
    /* font-size: 26px; */
    font-weight: 100;
}

#projet .list > li.list-68 span {
    background: #B1B0B0;
}

#projet .list > li.list-67 span {
    background: #5E5D5D;
}

#projet .list > li span:after {
    display: block;
    min-width: 16px;
    width: 16px;
    height: 16px;

    border: 1px solid #fff;
    border-width: 1px 1px 0 0;

    content: '';

    transform-origin: 50% 50%;
    transform: rotate(135deg);
}

#projet .list > li.is-opened span:after {
    transform: rotate(-45deg);
}

#projet .list > li ul {
    display: none;

    padding: 30px;
}

#projet .list > li.is-opened ul {
    display: block;
}

#projet .list > li ul li + li {
    margin-top: 5px;
}

#projet .list > li ul li a {
    display: flex;

    color: var(--red);
}

#projet .list > li ul li a:hover {
    color: #000;
}

#projet .list > li ul li a:before {
    display: inline-block;

    margin: 0 5px 0 0;

    content: '>';
}
