/* =========================================
   PAGE CONTACT
========================================= */

*{
    box-sizing:border-box;
}

body{
    margin:0;
    background:#f7f7f5;
    color:#111;
}


/* NAVBAR FIXE */

#navbar{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1000;

    transition:transform .35s ease;
}

#navbar.nav-hidden{
    transform:translateY(-100%);
}


/* SECTION PRINCIPALE */

.contact-section{
    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:stretch;
}

/* COLONNE GAUCHE */

.contact-left{
    position:relative;
    display:flex;
    align-items:center;

    min-height:calc(100vh - 90px);
    padding:70px 8%;

    overflow:hidden;

    background:
        linear-gradient(
            rgba(7,23,50,.88),
            rgba(7,23,50,.94)
        ),
        url(
            "https://res.cloudinary.com/dhmehfgjo/image/upload/v1783519638/Alpes.jpg"
        );

    background-size:cover;
    background-position:center;
}

.contact-left::after{
    content:"";

    position:absolute;
    right:-110px;
    bottom:-150px;

    width:360px;
    height:360px;

    border-radius:50%;
}

.contact-left-content{
    position:relative;
    z-index:1;

    max-width:570px;
    color:#fff;
}

.contact-eyebrow,
.contact-form-eyebrow{
    margin:0 0 28px;

    font-family:"Poppins", sans-serif;
    font-size:.75rem;
    font-weight:700;
    letter-spacing:3px;
    color:#c8b46e;
}

.contact-left h1{
    margin:0 0 58px;

    font-family:"Poppins", sans-serif;
    line-height:1.05;
    font-weight:800;
    color: #071732
}

.contact-left h1 span{
    display:block;
    margin-top:10px;

    color:#c8b46e;
}

.contact-description{
    max-width:520px;
    margin:0 0 15px;

    font-family:"Poppins", sans-serif;
    font-size:.95rem;
    line-height:1.7;
    color:rgba(255,255,255,.88);
}


/* PERSONNE DE CONTACT */

.contact-person{



    border-top:1px solid rgba(255,255,255,.25);
}

.contact-person-label{
    margin:0 0 7px;

    font-family:"Poppins", sans-serif;
    font-size: 1 rem;
    letter-spacing:2px;
    font-weight:700;
    color:#c8b46e;
}

.contact-person h2{
    margin:0 0 4px;

    font-family:"Poppins", sans-serif;
    font-size:1.5rem;
    font-weight:700;
}

.contact-person p:last-child{
    margin-bottom:30px;

    font-family:"Poppins", sans-serif;
    font-size:.85rem;
    color:rgba(0, 0, 0, 0.72);
}


/* TÉLÉPHONE ET EMAIL */

.contact-details a{

    display:flex;
    align-items:center;

    gap:15px;

    text-decoration:none;

    color:#111;

    margin-bottom:15px;
}
.contact-details a:hover{
    color:#c8b46e;
}

.contact-icon{
    width:22px;
    flex-shrink:0;
}


/* COLONNE DROITE */

.contact-right{
    display:flex;
    align-items:center;
    justify-content:center;

    min-height:calc(100vh - 90px);
padding:80px 70px;
    background:#f7f7f5;
}

.contact-form-wrapper{
    width:100%;
    max-width:700px;
    margin:auto;

}

.contact-form-wrapper h2{
    margin:0 0 14px;

    font-family:"Poppins", sans-serif;
    font-size:clamp(2rem, 3vw, 3.2rem);
    line-height:1.1;
    font-weight:800;
    color:#071732;
}

.contact-form-intro{
    max-width:530px;
    margin:0 0 34px;

    font-family:"Poppins", sans-serif;
    font-size:.9rem;
    line-height:1.6;
    color:#fffefe;
}


/* FORMULAIRE */

.contact-form{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.contact-row{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:18px;
}

.form-field{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.form-field label{
    font-family:"Poppins", sans-serif;
    font-size:.72rem;
    font-weight:700;
    color:#ffffff;
}

.form-field input,
.form-field select,
.form-field textarea{
    width:100%;

    padding:15px 16px;

    border:1px solid #d8d8d3;
    border-radius:4px;
    outline:none;

    background:#fff;

    font-family:"Poppins", sans-serif;
    font-size:.8rem;
    color:#111;

    transition:
        border-color .25s ease,
        box-shadow .25s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus{
    border-color:#c8b46e;
    box-shadow:0 0 0 3px rgba(200,180,110,.14);
}

.form-field textarea{
    min-height:145px;
    resize:vertical;
}


/* CONSENTEMENT */

.contact-consent{
    margin-top:2px;
}

.contact-consent label{
    display:flex;
    align-items:center;
    gap:12px;

    font-size:.78rem;
    line-height:1.6;
    color:#fff;
}
.contact-consent input[type="checkbox"]{
    flex-shrink:0;
    width:18px;
    height:18px;
    margin-top:2px;
}
.contact-consent a{
    color:#071732;
    font-weight:600;
}


/* BOUTON */

.contact-form button{
    align-self:flex-start;

    padding:15px 27px;

    border:1px solid #071732;
    border-radius:3px;

    background:#071732;
    color:#fff;

    cursor:pointer;

    font-family:"Poppins", sans-serif;
    font-size:.72rem;
    font-weight:700;
    letter-spacing:1px;

    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease;
}

.contact-form button:hover{
    background:#c8b46e;
    border-color:#c8b46e;
    color:#071732;

    transform:translateY(-2px);
}


/* FOOTER */

.contact-footer{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:25px;

    padding:22px 5%;

    background:#071732;
    color:rgba(255,255,255,.72);

    font-family:"Poppins", sans-serif;
    font-size:.68rem;
}

.contact-footer p{
    margin:0;
}

.contact-footer-links{
    display:flex;
    gap:22px;
}

.contact-footer a{
    color:rgba(255,255,255,.72);
    text-decoration:none;
}

.contact-footer a:hover{
    color:#c8b46e;
}

/* =========================================================
   CORRECTIONS COULEURS + RESPONSIVE PAGE CONTACT
========================================================= */


/* =========================================================
   CORRECTIONS DESKTOP
========================================================= */

/* Titre gauche sur fond sombre */


.contact-left h1 span{
    color:#c8b46e;
}


/* Coordonnées dans la partie gauche */


.contact-details a:hover{
    color:#c8b46e;
}


/* Partie droite sur fond clair */


.form-field label{
    color:#efeff1;
}

.contact-consent label{
    color:#555;
}

.contact-consent a{
    color:#071732;
}


/* =========================================================
   TABLETTE / PETIT ORDINATEUR
   jusqu'à 1100px
========================================================= */

@media screen and (max-width:1100px){

    .contact-section{
        grid-template-columns:1fr 1fr;
    }

    .contact-left{
        padding:80px 6% 55px;
    }

    .contact-right{
        padding:80px 40px 55px;
    }

    .contact-left-content{
        max-width:500px;
    }

    .contact-left h1{
        margin-bottom:40px;
        font-size:clamp(2rem, 4vw, 3rem);
    }

    .contact-description{
        font-size:.88rem;
    }

    .contact-form-wrapper h2{
        font-size:2.2rem;
    }

    .contact-form-intro{
        margin-bottom:28px;
        font-size:.85rem;
    }

    .contact-row{
        gap:14px;
    }

}


/* =========================================================
   TABLETTE PORTRAIT
   jusqu'à 850px
========================================================= */

@media screen and (max-width:850px){

    /*
       On passe à une seule colonne.
       Bloc présentation puis formulaire.
    */

    .contact-section{
        display:block;
    }

    .contact-left,
    .contact-right{
        min-height:auto;
    }


    /* =========================
       BLOC GAUCHE
    ========================= */

    .contact-left{
        padding:105px 45px 55px;

        background:
            linear-gradient(
                rgba(7,23,50,.86),
                rgba(7,23,50,.96)
            ),
            url(
                "https://res.cloudinary.com/dhmehfgjo/image/upload/v1783519638/Alpes.jpg"
            );

        background-size:cover;
        background-position:center;
    }

    .contact-left-content{
        max-width:650px;
        margin:0 auto;
    }

    .contact-left h1{
        margin-bottom:30px;

        font-size:2.2rem;
        line-height:1.1;
    }

    .contact-left h1 span{
        margin-top:7px;
    }

    .contact-description{
        max-width:620px;

        font-size:.88rem;
        line-height:1.65;
    }

    .contact-person{
        margin-top:30px;
        padding-top:25px;
    }

    .contact-person h2{
        font-size:1.35rem;
    }

    .contact-details{
        margin-top:22px;
    }

    .contact-details a{
        font-size:.9rem;
    }


    /* =========================
       FORMULAIRE
    ========================= */

    .contact-right{
        padding:55px 40px;

        background:#f7f7f5;
    }

    .contact-form-wrapper{
        max-width:650px;
    }

    .contact-form-wrapper h2{
        font-size:2rem;
    }

}


/* =========================================================
   MOBILE
   jusqu'à 600px
========================================================= */

@media screen and (max-width:600px){

    /* =========================
       BLOC GAUCHE
    ========================= */

    .contact-left{
        padding:95px 20px 45px;
        background-position:center;
    }

    .contact-left h1{
        margin-bottom:28px;

        font-size:1.85rem;
        line-height:1.12;
    }

    .contact-left h1 span{
        margin-top:8px;
    }

    .contact-description{
        margin-bottom:15px;

        font-size:.82rem;
        line-height:1.65;
    }

    .contact-person{
        margin-top:28px;
        padding-top:22px;
    }

    .contact-person-label{
        font-size:1rem;
    }

    .contact-person h2{
        font-size:1.2rem;
    }

    .contact-person p:last-child{
        font-size:.8rem;
    }

    .contact-details{
        margin-top:20px;
    }

    .contact-details a{
        gap:10px;
        margin-bottom:12px;

        font-size:.8rem;

        overflow-wrap:anywhere;
    }

    .contact-icon{
        width:20px;
    }


    /* =========================
       RÉSEAUX
    ========================= */

    .contact-social{
        margin-top:25px;
    }

    .contact-social__title{
        font-size:.75rem;
    }

    .contact-social__links{
        gap:12px;
    }


    /* =========================
       FORMULAIRE
    ========================= */

    .contact-right{
        padding:45px 18px;
    }

    .contact-form-wrapper{
        width:100%;
    }

    .contact-form-eyebrow{
        margin-bottom:15px;

        font-size:.68rem;
        letter-spacing:2px;
    }

    .contact-form-wrapper h2{
        font-size:1.7rem;
    }

    .contact-form-intro{
        margin-bottom:25px;

        font-size:.82rem;
        line-height:1.55;
    }


    /*
       Nom / email
       téléphone / objet
       passent en une seule colonne
    */

    .contact-row{
        grid-template-columns:1fr;
        gap:16px;
    }

    .contact-form{
        gap:17px;
    }

    .form-field{
        gap:6px;
    }

    .form-field label{
        font-size:.69rem;
    }

    .form-field input,
    .form-field select,
    .form-field textarea{
        min-height:48px;

        padding:13px 14px;

        font-size:.78rem;
        border-radius:6px;
    }

    .form-field textarea{
        min-height:135px;
    }


    /* =========================
       CONSENTEMENT
    ========================= */

    .contact-consent label{
        align-items:flex-start;

        gap:9px;

        font-size:.7rem;
        line-height:1.5;
    }

    .contact-consent input[type="checkbox"]{
        width:17px;
        height:17px;
    }


    /* =========================
       BOUTON
    ========================= */

    .contact-form button{
        width:100%;

        min-height:50px;

        align-self:stretch;

        padding:14px 18px;

        border-radius:6px;

        font-size:.72rem;
    }

}


/* =========================================================
   PETIT MOBILE
   jusqu'à 400px
========================================================= */

@media screen and (max-width:400px){

    .contact-left{
        padding:90px 16px 40px;
    }

    .contact-left h1{
        font-size:1.65rem;
    }

    .contact-description{
        font-size:.78rem;
    }

    .contact-right{
        padding:40px 14px;
    }

    .contact-form-wrapper h2{
        font-size:1.55rem;
    }

    .contact-form-intro{
        font-size:.78rem;
    }

    .form-field input,
    .form-field select,
    .form-field textarea{
        font-size:.75rem;
    }

}

@media screen and (max-width: 768px){

    .contact-section{
        padding-top: 44px;
    }

}

@media screen and (max-width: 600px) {

    .contact-person {
        margin-top: 22px;
        padding-top: 18px;
    }

    .contact-person-label {
        margin-bottom: 8px;
    }

    .contact-person h2 {
        margin-bottom: 6px;
        font-size: 1.25rem;
    }

    .contact-person p:last-child {
        margin-bottom: 18px;
    }

    .contact-details {
        margin-top: 14px;
    }

    .contact-details a {
        margin-bottom: 10px;
    }

    .contact-social {
        margin-top: 18px;
    }

    .contact-social__title {
        margin-bottom: 12px;
    }

    .contact-social__links a {
        width: 42px;
        height: 42px;
    }

    .contact-social__links img {
        width: 20px;
        height: 20px;
    }
}