@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat-Regular.otf");
}

@font-face {
    font-family: "MontserratSemiBold";
    src: url("../fonts/Montserrat-SemiBold.otf");
}

@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat-Light.otf") format("opentype");
    font-weight: 300;
    font-style: normal;
}


body {
    margin: 0;
    background-color: #faf7f3;
}

:root {
    --largeur-site: 1600px;
    --padding-site: 40px;
    --hauteur-header: 79px;
    --beige-separateur: #f4eee9;
}



/*Bande CTA PROMO dans commun.css*/
/*Menu de naviagtion dans commun.css*/

/*===========================BANDE TITRE CONTACT===========================*/

.titre-contact {
    width: 100%;

    padding: 50px 0 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: transparent;

    box-sizing: border-box;
}

.titre-contact h1 {
    margin: 0;

    color: #0c2033;
    font-family: "MontserratSemiBold", "Montserrat", sans-serif;
    font-size: 38px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}


/*RESPONSIVE BANDE TITRE CONTACT*/

@media screen and (max-width: 900px) {

    .titre-contact {
        padding: 42px 0 22px;
    }

    .titre-contact h1 {
        font-size: 32px;
    }
}


@media screen and (max-width: 600px) {

    .titre-contact {
        padding: 34px 20px 18px;
    }

    .titre-contact h1 {
        font-size: 27px;
        text-align: center;
    }
}

/*===========================ZONE CONTACT + COORDONNEES===========================*/

.contact-page-zone {
    width: 100%;
    max-width: var(--largeur-site);

    margin: 0 auto;
    padding: 20px var(--padding-site) 80px;

    display: grid;
    grid-template-columns: 365px minmax(0, 1fr);
    gap: 90px;
    align-items: start;

    box-sizing: border-box;
}

/*===========================COLONNE COORDONNEES GAUCHE===========================*/
.contact-coordonnees-gauche {
    width: 100%;

    display: flex;
    flex-direction: column;
    gap: 22px;
}

/*intro*/
.contact-intro-gauche h2 {
    margin: 0;

    color: #0c2033;
    font-family: "Montserrat", sans-serif;
    font-size: 39px;
    line-height: 1;
    font-weight: 400;
}

.trait-rouge-contact {
    width: 38px;
    height: 2px;

    display: block;

    margin: 12px 0 20px;

    background-color: #b0161d;
}

.contact-intro-gauche p {
    margin: 0 0 8px;

    color: #0c2033;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    line-height: 1.55;
}


/*carte coordonées*/
.carte-contact-gauche {
    width: 100%;

    padding: 30px 28px 28px;

    background-color: #ffffff;
    border: 1px solid #ded6cf;
    border-radius: 4px;

    box-sizing: border-box;
}

.carte-contact-gauche h3 {
    margin: 0 0 20px;

    color: #8f0f17;
    font-family: "MontserratSemiBold", "Montserrat", sans-serif;
    font-size: 17px;
    line-height: 1.2;
    font-weight: 700;
}

/*coordonnées copiables*/

.ligne-copie-contact {
    position: relative;

    width: 100%;

    margin: 0 0 18px;
    padding: 0;

    display: flex;
    align-items: center;
    gap: 14px;

    background: none;
    border: 0;

    color: #0c2033;
    cursor: pointer;
    text-align: left;

    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    line-height: 1.2;
}

.ligne-copie-contact img {
    width: 17px;
    height: 17px;

    display: block;
    object-fit: contain;
}

.texte-copie-contact {
    transition: color 0.2s ease;
}

.ligne-copie-contact:hover .texte-copie-contact {
    color: #8f0f17;
}

.message-copie-contact {
    position: absolute;
    right: 0;

    padding: 4px 8px;

    background-color: #0c2033;
    color: #ffffff;
    border-radius: 3px;

    font-family: "MontserratSemiBold", "Montserrat", sans-serif;
    font-size: 10px;
    line-height: 1;

    opacity: 0;
    transform: translateY(4px);
    pointer-events: none;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.ligne-copie-contact.copie-ok .message-copie-contact {
    opacity: 1;
    transform: translateY(0);
}

.ligne-copie-contact.copie-ok .texte-copie-contact {
    color: #b0161d;
}


/*séparateur*/

.separateur-carte-contact {
    width: 100%;
    height: 1px;

    margin: 28px 0;

    background-color: #ded6cf;
}


/*bloc ressources*/

.bloc-contact-aide p {
    margin: 0 0 12px;

    color: #0c2033;
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    line-height: 1.45;
}

.liens-contact-ressources {
    width: 100%;

    display: flex;
    flex-direction: column;
}

.liens-contact-ressources a {
    width: 100%;

    padding: 15px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-top: 1px solid #ded6cf;

    color: #0c2033;
    text-decoration: none;

    font-family: "MontserratSemiBold", "Montserrat", sans-serif;
    font-size: 13px;
    line-height: 1.2;

    box-sizing: border-box;
}

.liens-contact-ressources a:last-child {
    border-bottom: 1px solid #ded6cf;
}

.liens-contact-ressources a img {
    width: 13px;
    height: auto;

    display: block;

    transition: transform 0.22s ease;
}

.liens-contact-ressources a:hover {
    color: #8f0f17;
}

.liens-contact-ressources a:hover img {
    transform: translateX(5px);
}


/*bloc infos*/

.note-contact-gauche {
    width: 100%;

    padding: 18px 20px;

    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 14px;
    align-items: start;

    background-color: #ede5dc;
    border-radius: 4px;

    box-sizing: border-box;
}

.icone-info-contact {
    width: 18px;
    height: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #0c2033;
    border-radius: 50%;

    color: #0c2033;
    font-family: "MontserratSemiBold", "Montserrat", sans-serif;
    font-size: 12px;
    line-height: 1;
}

.note-contact-gauche p {
    margin: 0;

    color: #0c2033;
    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    line-height: 1.45;
}

/*RESPONSIVE COLONNE CONTACT GAUCHE*/

@media screen and (max-width: 1000px) {

    .contact-page-zone {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .contact-coordonnees-gauche {
        max-width: 430px;
    }
}


@media screen and (max-width: 650px) {

    .contact-page-zone {
        padding: 24px 22px 60px;
    }

    .contact-intro-gauche h2 {
        font-size: 31px;
    }

    .contact-intro-gauche p {
        font-size: 14px;
    }

    .carte-contact-gauche {
        padding: 26px 22px;
    }
}

/*===========================ZONE FORMULAIRE CONTACT===========================*/

.contact-zone-droite {
    width: 100%;
    min-height: 400px;
}

.carte-formulaire-contact {
    width: 100%;

    background-color: #ffffff;
    border: none;
    border-radius: 0 0 8px 8px;

    box-sizing: border-box;
    overflow: visible;
    border-top: none;
}


/*===========================ONGLETS FORMULAIRE===========================*/

.onglets-formulaire-contact {
    width: 100%;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: end;

    border-bottom: none;
    background-color: #faf7f3;
}

.onglet-formulaire {
    height: 96px;

    padding: 18px 20px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;

    background-color: #faf7f3;
    color: #0c2033;
    cursor: pointer;

    font-family: "MontserratSemiBold", "Montserrat", sans-serif;
    font-size: 15px;
    line-height: 1.2;

    box-sizing: border-box;
    
    border: 1px solid #ded6cf;
    border-bottom: 0;
    border-radius: 12px 12px 0 0;

    margin-bottom: 0px;
}

.onglet-formulaire img {
    width: 32px;
    height: 32px;

    display: block;
    object-fit: contain;
}

.onglet-formulaire.actif {
    position: relative;
    z-index: 3;

    background-color: #ffffff;
    color: #ff0000;

    border-bottom: 1px solid #ffffff;
}

.onglet-formulaire:hover {
    color: #8f0f17;
}

.onglet-formulaire:not(.actif) {
    background-color: #faf7f3;
    z-index: 1;
}

/*===========================FORMULAIRE MESSAGE===========================*/

.formulaire-message-contact {
    padding: 68px 74px 58px;

    box-sizing: border-box;
    position: relative;

    border-left: 1px solid #ded6cf;
    border-right: 1px solid #ded6cf;
    border-bottom: 1px solid #ded6cf;
    border-radius: 0 0 8px 8px;
}

.formulaire-message-contact::before {
    content: "";
    position: absolute;
    top: 0;
    left: calc(100% / 3);
    right: 0;

    height: 1px;
    background-color: #ded6cf;
}

.formulaire-message-contact h2 {
    margin: 0 0 34px;

    color: #0c2033;
    font-family: "MontserratSemiBold", "Montserrat", sans-serif;
    font-size: 28px;
    line-height: 1.2;
}


/*champs formulaire*/

.ligne-champs-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 42px;

    margin-bottom: 24px;
}

.champ-contact {
    display: flex;
    flex-direction: column;
}

.champ-contact label {
    margin-bottom: 8px;

    color: #0c2033;
    font-family: "MontserratSemiBold", "Montserrat", sans-serif;
    font-size: 12px;
    line-height: 1.2;
}

.champ-contact label span {
    color: #b0161d;
}

.champ-contact input,
.champ-contact select,
.champ-contact textarea {
    width: 100%;

    padding: 11px 12px;

    border: 1px solid #777777;
    border-radius: 0;
    background-color: #ffffff;

    color: #0c2033;

    font-family: "Montserrat", sans-serif;
    font-size: 13px;

    box-sizing: border-box;
}

.champ-contact input,
.champ-contact select {
    height: 43px;
}

.champ-contact textarea {
    min-height: 135px;
    resize: vertical;
}

.champ-contact input:focus,
.champ-contact select:focus,
.champ-contact textarea:focus {
    outline: 2px solid rgba(176, 22, 29, 0.22);
    border-color: #b0161d;
}

.champ-categorie-contact {
    width: 48%;
    margin-bottom: 24px;
}


/*checkbox assos*/

.champ-association-contact {
    max-width: 520px;

    margin: -6px 0 24px;
    padding: 0;

    font-family: "Montserrat", sans-serif;
}

.champ-association-contact label {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #0c2033;
    font-family: "MontserratSemiBold", "Montserrat", sans-serif;
    font-size: 12px;
    line-height: 1.2;
}

.champ-association-contact input {
    width: 14px;
    height: 14px;
    margin: 0;
}

.champ-association-contact p {
    margin: 7px 0 0 24px;

    color: #0c2033;
    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    line-height: 1.4;
}


/*bas formulaire*/

.bas-formulaire-message {
    margin-top: 22px;

    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: end;
}

.mentions-formulaire-contact p {
    margin: 0 0 6px;

    color: #0c2033;
    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    line-height: 1.4;
}

.mentions-formulaire-contact span {
    color: #b0161d;
    font-family: "MontserratSemiBold", "Montserrat", sans-serif;
}

.mentions-formulaire-contact a {
    color: #b0161d;
    font-family: "MontserratSemiBold", "Montserrat", sans-serif;
}

.bouton-envoyer-contact {
    width: 220px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;

    border: 0;
    border-radius: 3px;

    background-color: #0c2033;
    color: #ffffff;

    cursor: pointer;

    font-family: "MontserratSemiBold", "Montserrat", sans-serif;
    font-size: 13px;
    line-height: 1;
}

.bouton-envoyer-contact img {
    width: 16px;
    height: auto;

    display: block;

    transition: transform 0.22s ease;
}

.bouton-envoyer-contact:hover {
    background-color: #071827;
}

.bouton-envoyer-contact:hover img {
    transform: translateX(5px);
}


/*RESPONSIVE FORMULAIRE CONTACT*/

@media screen and (max-width: 1000px) {

    .formulaire-message-contact {
        padding: 52px 46px 48px;
    }

    .onglet-formulaire {
        height: 92px;
        font-size: 13px;
    }

    .onglet-formulaire img {
        width: 28px;
        height: 28px;
    }
}


@media screen and (max-width: 700px) {

    .onglets-formulaire-contact {
        grid-template-columns: 1fr;
    }

    .onglet-formulaire {
        height: 74px;
        border-right: 0;
        border-bottom: 1px solid #ded6cf;
    }

    .onglet-formulaire:last-child {
        border-bottom: 0;
    }

    .ligne-champs-contact {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .formulaire-message-contact {
        padding: 38px 24px 36px;
    }

    .champ-categorie-contact {
        width: 100%;
    }

    .bas-formulaire-message {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .bouton-envoyer-contact {
        width: 100%;
    }
}


/*===========================FORMULAIRE DEVIS===========================*/

.formulaire-devis-contact {
    padding: 68px 74px 58px;

    box-sizing: border-box;
    position: relative;

    border-left: 1px solid #ded6cf;
    border-right: 1px solid #ded6cf;
    border-bottom: 1px solid #ded6cf;
    border-radius: 0 0 8px 8px;
}

.formulaire-devis-contact::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: calc(100% / 3);

    height: 1px;
    background-color: #ded6cf;
}

.formulaire-devis-contact h2 {
    margin: 0 0 34px;

    color: #0c2033;
    font-family: "MontserratSemiBold", "Montserrat", sans-serif;
    font-size: 28px;
    line-height: 1.2;
}


/*options de mise en oeuvre a cocher*/

.bloc-radio-devis {
    margin: 0 0 24px;
}

.bloc-radio-devis > p {
    margin: 0 0 12px;

    color: #0c2033;
    font-family: "MontserratSemiBold", "Montserrat", sans-serif;
    font-size: 12px;
    line-height: 1.2;
}

.bloc-radio-devis > p span {
    color: #b0161d;
}

.choix-radio-devis {
    display: flex;
    align-items: center;
    gap: 42px;
}

.choix-radio-devis label {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #0c2033;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    line-height: 1.2;

    cursor: pointer;
}

.choix-radio-devis input {
    width: 16px;
    height: 16px;
    margin: 0;

    cursor: pointer;
}


/*bas formulaire demander un devis*/

.ligne-bas-devis {
    margin-top: 24px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 42px;
    align-items: end;
}

.champ-budget-devis {
    width: 100%;
}

.champ-rdv-avant-devis {
    padding-bottom: 11px;
}

.champ-rdv-avant-devis label {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #0c2033;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    line-height: 1.2;

    cursor: pointer;
}

.champ-rdv-avant-devis input {
    width: 16px;
    height: 16px;
    margin: 0;

    cursor: pointer;
}

.bloc-bouton-devis {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.bloc-bouton-devis p {
    max-width: 280px;
    margin: 0;

    color: #0c2033;
    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    line-height: 1.35;
}


/*affichage formulaire*/

.formulaire-devis-contact[hidden] {
    display: none;
}

/*RESPONSIVE FORMULAIRE DEVIS*/

@media screen and (max-width: 1000px) {

    .formulaire-devis-contact {
        padding: 52px 46px 48px;
    }

    .choix-radio-devis {
        gap: 28px;
        flex-wrap: wrap;
    }

    .ligne-bas-devis {
        gap: 30px;
    }
}


@media screen and (max-width: 700px) {

    .formulaire-devis-contact {
        padding: 38px 24px 36px;
    }

    .choix-radio-devis {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .ligne-bas-devis {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .champ-rdv-avant-devis {
        padding-bottom: 0;
    }

    .bloc-bouton-devis {
        width: 100%;
    }

    .bloc-bouton-devis p {
        max-width: none;
    }
}

/*===========================FORMULAIRE RENDEZ-VOUS===========================*/

.formulaire-rdv-contact {
    padding: 68px 74px 58px;

    box-sizing: border-box;
    position: relative;

    border-left: 1px solid #ded6cf;
    border-right: 1px solid #ded6cf;
    border-bottom: 1px solid #ded6cf;
    border-radius: 0 0 8px 8px;
}

.formulaire-rdv-contact::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;

    height: 1px;
    background-color: #ded6cf;
}

.formulaire-rdv-contact h2 {
    margin: 0 0 34px;

    color: #0c2033;
    font-family: "MontserratSemiBold", "Montserrat", sans-serif;
    font-size: 28px;
    line-height: 1.2;
}


/*choix préférence créneaux rdv*/

.bloc-preference-rdv {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.bloc-preference-rdv > p {
    margin: 0 0 12px;

    color: #0c2033;
    font-family: "MontserratSemiBold", "Montserrat", sans-serif;
    font-size: 12px;
    line-height: 1.2;
}

.bloc-preference-rdv > p span {
    color: #b0161d;
}

.choix-creneau-rdv {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.choix-creneau-rdv label {
    height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #ded6cf;
    background-color: #faf7f3;

    color: #0c2033;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    line-height: 1;

    cursor: pointer;
    box-sizing: border-box;

    transition:
        border-color 0.2s ease,
        color 0.2s ease,
        background-color 0.2s ease;
}

.choix-creneau-rdv input {
    display: none;
}

.choix-creneau-rdv label:hover {
    border-color: #b0161d;
    color: #8f0f17;
}

.choix-creneau-rdv label:has(input:checked) {
    border-color: #b0161d;
    background-color: #ffffff;

    color: #b0161d;
    font-family: "MontserratSemiBold", "Montserrat", sans-serif;
}


/*champs spéciffiques rdv*/

.champ-type-projet-rdv {
    width: 48%;
    margin-bottom: 24px;
}

.formulaire-rdv-contact textarea {
    min-height: 82px;
}

.formulaire-rdv-contact #infos-rdv {
    min-height: 135px;
}

.bouton-envoyer-rdv {
    width: 300px;
}

.formulaire-rdv-contact[hidden] {
    display: none;
}


/*RESPONSIVE FORMULAIRE RENDEZ-VOUS*/

@media screen and (max-width: 1000px) {

    .formulaire-rdv-contact {
        padding: 52px 46px 48px;
    }

    .choix-creneau-rdv {
        gap: 7px;
    }

    .choix-creneau-rdv label {
        font-size: 11px;
    }

    .bouton-envoyer-rdv {
        width: 280px;
    }
}


@media screen and (max-width: 700px) {

    .formulaire-rdv-contact {
        padding: 38px 24px 36px;
    }

    .choix-creneau-rdv {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .choix-creneau-rdv label {
        justify-content: flex-start;
        padding: 0 14px;
    }

    .champ-type-projet-rdv {
        width: 100%;
    }

    .bouton-envoyer-rdv {
        width: 100%;
    }
}

/*-----------NOTIFICATION ENVOI FORMULAIRE-----------*/

.notification-contact {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1000;

    display: flex;
    align-items: flex-start;
    gap: 18px;

    width: min(420px, calc(100% - 48px));
    padding: 18px 20px;

    box-sizing: border-box;
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(12, 32, 51, 0.22);

    color: #f6f1e8;

    opacity: 0;
    transform: translateY(12px);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.notification-contact[hidden] {
    display: none;
}

.notification-contact.visible {
    opacity: 1;
    transform: translateY(0);
}

.notification-contact.succes {
    background-color: #0c2033;
}

.notification-contact.erreur {
    background-color: #9f2f2f;
}

.notification-contact p {
    flex: 1;
    margin: 0;

    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    line-height: 1.5;
}

.notification-contact button {
    padding: 0;
    border: 0;
    background: none;

    color: inherit;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.bouton-envoyer-contact:disabled {
    opacity: 0.55;
    cursor: wait;
}

/*Footer dans commun.css*/