/* Universel */

#hero,
#services,
#map,
#qsj,
#approche {
    background: #e5d5c7;
}

.tag {
    background: var(--fond);
    color: var(--color-primary);
    font-size: 12px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 6px;
    display: inline-block;
    font-weight: 600;
}

#hero .tag,
#services .tag,
#map .tag,
#qsj .tag,
#approche .tag {
    background: var(--color-terceary);
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.icone {
    margin: 0 0 1rem;
    width: max-content;
    background: var(--fond);
    padding: 0.5rem;
    border-radius: 8px;
}

#aide {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary) 40%, var(--color-primary) 100%);
}

#aide * {
    color: white;
    text-align: center;
}

#aide .bloc-1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#aide .bloc-1 p {
    margin: 0;
}

#aide .btn {
    background: transparent;
    border-color: white;
}

#aide .btn:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

/* Page Accueil */

#hero .bloc-2 img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 18px;
}

#services .bloc-3,
#avantages .bloc-2 {
    margin-top: 2rem;
}

#avantages .card {
    flex-direction: row;
    align-items: start;
    gap: 2rem;
}

#avantages .card .icone {
    margin: 0;
}

#map-vannes {
    z-index: 1;
    width: 100%;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
}

/* Page Prestation */

#prestations .bloc-1 {
    margin: 1rem 0;
}

#prestations .card {
    flex-direction: row;
    align-items: start;
    justify-content: space-between;
    gap: 2rem;
}

#prestations .card .description {
    display: flex;
    align-items: start;
    gap: 2rem;
    max-width: 70%;
}

#prestations .grp-task {
    display: flex;
    gap: 1rem;
}

#prestations .grp-task p {
    background: var(--fond);
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    color: var(--color-primary);
    letter-spacing: 0.02em;
    margin: 0;
    text-align: center;
}

#prestations .cible {
    background: var(--fond);
    font-size: 14px;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.02em;
    margin: 0;
    text-align: center;
}

/* Page À propos */

#histoire .bloc-2 img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: 18px;
}

#qsj .bloc-2 img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 18px;
}

#approche .etape {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#approche .etape * {
    text-align: center;
    margin: 0;
}

#approche .etape .number {
    width: 100%;
    position: relative;
    z-index: 6;
}

#approche .etape .number::after {
    content: '';
    background: var(--color-primary);
    width: 90%;
    height: 2px;
    position: absolute;
    top: 50%;
    right: -50%;
    z-index: 1;
}

#approche .bloc-4:last-of-type .etape .number::after {
    display: none;
}

#approche .etape .num {
    padding: 1rem 1.5rem;
    border: 1px solid var(--color-primary);
    border-radius: 30px;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 18px;
    width: fit-content;
    margin: 0 auto;
    background: var(--fond);
    z-index: 6;
    position: relative;
}

/* Page Réservation */

#contact form {
    background: #fff;
    border: 1px solid rgba(212, 194, 178, 0.6);
    border-radius: 16px;
    padding: 36px;
}

#contact form label {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

#contact form p,
#contact form input,
#contact form textarea,
#contact form select {
    width: 100%;
}

#contact form input,
#contact form textarea,
#contact form select {
    background: var(--fond);
    border: 1.5px solid var(--fond);
    border-radius: 12px;
    padding: 13px 16px;
    font-size: 14px;
    transition: all var(--transition);
}

#contact form input:focus,
#contact form input:hover,
#contact form textarea:focus,
#contact form textarea:hover,
#contact form select:focus,
#contact form select:hover {
    border-color: var(--color-primary);
}

#contact form .np {
    display: flex;
    gap: 2rem;
}

#contact form .info {
    margin: 1rem 0;
}

#contact form .info p {
    margin: 0;
    font-size: 12px;
}

#contact form .wpcf7-submit {
    background: var(--color-primary);
    border-color: white;
    color: white;
    font-weight: 700;
    cursor: pointer;
}

#contact .co {
    background: var(--fond);
    padding: 2rem;
    border-radius: 32px;
}

#contact .co a {
    position: relative;
    width: fit-content;
}

#contact .co a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--color-primary);
    transition: width var(--transition);
}

#contact .co a:hover::after {
    width: 100%;
}

/* Responsive */

@media screen and (min-width: 801px) and (max-width: 1024px) {
    #histoire .bloc-2 img {
        height: 100%;
        max-height: 100%;
    }

    #contact .bloc-3-5,
    #contact .bloc-2-5 {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    #contact .bloc-2-5 {
        margin-top: 2rem;
    }
}

@media screen and (max-width: 800px) {
    #tempoadn #hero .bloc-2:last-of-type {
        display: none;
    }

    #prestations .card .description {
        max-width: 100%;
        flex-direction: column;
        gap: 0rem;
    }

    #prestations .card {
        flex-direction: column-reverse;
        align-items: end;
    }

    #prestations .grp-task {
        flex-wrap: wrap;
        justify-content: center;
    }

    #avantages .card {
        flex-direction: column;
    }

    #map .bloc-2:last-of-type {
        margin-top: 2rem;
    }

    #approche .bloc-4 {
        margin-top: 2rem;
    }

    #approche .etape .number::after {
        display: none;
    }

    #approche .bloc-4:nth-child(2) .etape .num {
        padding: 1rem 1.65rem;
    }

    #histoire .bloc-2:first-child {
        order: 2;
        margin-top: 2rem;
    }

    #histoire .bloc-2:last-child {
        order: 1;
    }

    #qsj .bloc-2:last-child,
    #contact .co {
        margin-top: 2rem;
    }
}

@media screen and (max-width: 480px) {
    #contact form .np {
        flex-direction: column;
        gap: 0;
    }
}