/* ===== Polices (Switzer) ===== */
@font-face {
    font-family: "Switzer Light";
    src: url("../../Polices/WEB/Light/Switzer-Light.woff2") format("woff2"),
         url("../../Polices/WEB/Light/Switzer-Light.woff") format("woff");
    font-display: swap;
}
@font-face {
    font-family: "Switzer Regular";
    src: url("../../Polices/WEB/Regular/Switzer-Regular.woff2") format("woff2"),
         url("../../Polices/WEB/Regular/Switzer-Regular.woff") format("woff");
    font-display: swap;
}
@font-face {
    font-family: "Switzer Bold";
    src: url("../../Polices/WEB/Bold/Switzer-Bold.woff2") format("woff2"),
         url("../../Polices/WEB/Bold/Switzer-Bold.woff") format("woff");
    font-display: swap;
}
@font-face {
    font-family: "Switzer Black";
    src: url("../../Polices/WEB/Black/Switzer-Black.woff2") format("woff2"),
         url("../../Polices/WEB/Black/Switzer-Black.woff") format("woff");
    font-display: swap;
}

/* ===== Reset léger ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 13px;
}

body {
    font-family: "Switzer Light", "Segoe UI", Arial, Helvetica, sans-serif;
    color: #2b2b2b;
    background: #ffffff;
}

.contact_section hr {
    border: solid 1px #f0f0f0;
    width: 100%;
}

/* ===== Section contact ===== */
.contact_section {
    max-width: 940px;
    margin: 0 auto;
    padding: 3% 0;
}

/* Titre */
.contact_section .contact_titre {
    font-family: "Switzer Regular";
    font-size: 2.2em;
    font-weight: normal;
    color: #1c9b8e;
    margin-bottom: 14px;
}

/* Introduction */
.contact_section .contact_intro {
    margin: 22px 0 34px 0;
    max-width: 640px;
}

.contact_section .contact_intro p {
    color: #9aa0a6;
    font-size: 1.05em;
    line-height: 1.55;
    margin-bottom: 18px;
}

/* ===== Carte texte + image ===== */
.contact_section .texte_image_contact {
    display: flex;
    align-items: stretch;
    border: 1px solid #eaeaea;
}

/* Colonne gauche : textes sur fond gris clair */
.contact_section .textes {
    flex: 100 1 0;
    background-color: #f1f2f2;
    padding: 42px 40px;
}

/* Colonne droite : image, séparée par un liseré vert */
/* 15% plus large que la colonne des textes (ratio 100 : 115) */
.contact_section .image_droite {
    flex: 115 1 0;
    border-left: 3px solid #8dc63f;
    background-color: #eef0f0;
}

.contact_section .image_droite img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== Citation ===== */
.contact_section .citation {
    margin-bottom: 46px;
    max-width: 240px;
}

.contact_section .citation .guillemets {
    display: block;
    width: 42px;
    height: auto;
    margin-bottom: 18px;
}

.contact_section .citation p {
    color: #58595b;
    font-size: 0.9em;
    line-height: 1.55;
}

/* ===== Bloc pays ===== */
.contact_section .bloc_infos {
    margin-bottom: 30px;
}

/* Pays : drapeau + nom */
.contact_section .pays {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.contact_section .pays .icone {
    height: 22px;
    width: auto;
}

.contact_section .pays h3 {
    font-family: "Switzer Black";
    font-size: 1.7em;
    color: #111111;
}

/* Villes */
.contact_section .villes {
    padding-left: 4px;
}

.contact_section .ville {
    margin-bottom: 20px;
}

/* Nom de ville : marqueur + libellé */
.contact_section .nom_ville {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 4px;
}

.contact_section .nom_ville .marqueur {
    height: 15px;
    width: auto;
}

.contact_section .nom_ville h4 {
    font-family: "Switzer Regular";
    font-weight: normal;
    font-size: 1.25em;
    color: #2b2b2b;
}

/* Lignes d'adresse */
.contact_section .ville p {
    font-size: 0.82em;
    line-height: 1.5;
    color: #58595b;
    padding-left: 20px;
}

.contact_section .ville p strong {
    font-family: "Switzer Bold";
    font-weight: normal;
    color: #2b2b2b;
}

/* ===== Formulaire de contact & devis ===== */
.contact_section .contact_form_bloc {
    margin-top: 46px;
    padding: 40px;
    border: 1px solid #eaeaea;
    border-top: 3px solid #8dc63f;
    background-color: #ffffff;
}

.contact_section .form_titre {
    font-family: "Switzer Regular";
    font-weight: normal;
    font-size: 1.7em;
    color: #1c9b8e;
    margin-bottom: 8px;
}

.contact_section .form_intro {
    color: #9aa0a6;
    font-size: 0.95em;
    margin-bottom: 28px;
}

.contact_section .contact_form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Rangée de 2 champs côte à côte */
.contact_section .form_ligne {
    display: flex;
    gap: 18px;
}

.contact_section .form_champ {
    display: flex;
    flex-direction: column;
    flex: 1 1 0;
    gap: 6px;
}

.contact_section .form_champ label {
    font-family: "Switzer Bold";
    font-weight: normal;
    font-size: 0.82em;
    color: #58595b;
}

.contact_section .form_champ label span {
    color: #8dc63f;
}

.contact_section .form_champ input,
.contact_section .form_champ select,
.contact_section .form_champ textarea {
    width: 100%;
    border: 1px solid #d9dadb;
    border-radius: 8px;
    padding: 11px 13px;
    font-size: 14px;
    font-family: inherit;
    color: #2b2b2b;
    background-color: #ffffff;
    resize: vertical;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact_section .form_champ textarea {
    min-height: 120px;
}

.contact_section .form_champ input::placeholder,
.contact_section .form_champ textarea::placeholder {
    color: #9aa0a6;
}

.contact_section .form_champ input:focus,
.contact_section .form_champ select:focus,
.contact_section .form_champ textarea:focus {
    outline: none;
    border-color: #1c9b8e;
    box-shadow: 0 0 0 3px rgba(28, 155, 142, 0.12);
}

/* Champ devis : masqué tant que l'objet n'est pas "Demande de devis" */
.contact_section .form_devis {
    display: none;
}
.contact_section .contact_form.is-devis .form_devis {
    display: flex;
}

/* Pied : bouton + confirmation */
.contact_section .form_pied {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.contact_section .form_envoyer {
    border: none;
    background-color: #8dc63f;
    color: #ffffff;
    font-family: "Switzer Bold";
    font-weight: normal;
    font-size: 15px;
    padding: 13px 30px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.contact_section .form_envoyer:hover {
    background-color: #7ab52f;
}

.contact_section .form_confirmation {
    display: none;
    color: #047173;
    font-size: 0.9em;
}
.contact_section .contact_form.is-sent .form_confirmation {
    display: block;
}

/* ===== Responsive ===== */
@media (max-width: 820px) {
    .contact_section .texte_image_contact {
        flex-direction: column;
    }
    .contact_section .image_droite {
        border-left: none;
        border-top: 3px solid #8dc63f;
        min-height: 320px;
    }
    .contact_section .form_ligne {
        flex-direction: column;
        gap: 18px;
    }
    .contact_section .contact_form_bloc {
        padding: 28px 22px;
    }
}
