﻿.Contact {
    background: var(--platform);
    display: flex;
    padding: 20px;
    margin: -50px 0 50px;
    border-radius: var(--radius);
    gap: 50px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.Contact .left {
    background: var(--primary);
    padding: 30px;
    min-width: 420px;
    width: 420px;
    border-radius: var(--radius);
    color: #fff;
    position:relative;
}
.Contact .left .titre {
font-size: 32px;
line-height: 1.2em;
font-weight: 800;
margin-bottom: 40px;
}

.Contact .left ul {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction:column;
    gap: 40px;
}

.Contact .left ul li {
    list-style-type: none;
    margin:0;
    padding:0;
    display:flex;
    align-items:center;
    gap: 20px;
}

.Contact .left ul li i {
    font-size: 28px;
    color: #fff;
}

.right {
    width: 70%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 50px;
}

fieldset {
    width: 100%;
    display: flex;
    gap: 20px;
}

fieldset div {
    position: relative;
    width: 50%;
}

fieldset div input,
fieldset div textarea {
    font-size: 20px;
    width: 100%;
    border: none;
    border-bottom: 2px solid #ccc;
    padding: 10px 15px;
    outline: none;
    background: #fff;
    resize: none
}

.pnlForm {
    display:flex;
    flex-direction:column;
    gap:20px;
}

fieldset.full {
    flex-direction: column;
}
fieldset.full div{
    width:100%;
}
textarea {
height: 200px;
}

fieldset div label {
    position: absolute;
    top: 10px;
    left: 15px;
    color: #ccc;
    transition: all 0.3s ease;
    pointer-events: none;
    font-weight: 600;
}

fieldset div input:focus ~ label,
fieldset div input:valid ~ label,
fieldset div textarea:focus ~ label,
fieldset div textarea:valid ~ label {
    top: -15px;
    font-size: 16px;
    color: #333;
}

fieldset div .underline {
    position: absolute;
    bottom: 0px;
    left: 0;
    height: 2px;
    width: 100%;
    background-color: var(--primary);
    transform: scaleX(0);
    transition: all 0.3s ease;
    z-index:10;
}

fieldset div input:focus ~ .underline,
fieldset div input:valid ~ .underline,
fieldset div textarea:focus ~ .underline,
fieldset div textarea:valid ~ .underline {
    transform: scaleX(1);
}

fieldset div textarea ~ .underline {
bottom: 2px;
}


.left .haloZone {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.left .haloZone {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    border-radius: var(--radius);
}

.left .haloZone > div {
    position: absolute;
    top: -60px;
    background: linear-gradient(180deg, #fff, transparent);
    transform: rotate(20deg);
    filter: blur(30px);
}

.left .haloZone > div:nth-child(1) {
    right: 20px;
    height: 775px;
    width: 150px;
    opacity: .4;
}

.left .haloZone > div:nth-child(2) {
    right: 300px;
    height: 1000px;
    width: 50px;
    opacity: .2;
}

.left .haloZone > div:nth-child(3) {
    right: 450px;
    height: 650px;
    width: 150px;
    opacity: .3;
}
.lblError {
    background: #ffbfbf;
    color: red;
    padding: 20px;
    width: 100%;
    text-align: center;
    border-radius: var(--radius);
}
.lblSuccess {
    background: var(--primary);
    color: #fff;
    padding: 20px;
    width: 100%;
    text-align: center;
    border-radius: var(--radius);
}

@media (max-width:1100px) {
    .right {
        margin: 20px 0;
    }
}
@media (max-width:992px) {
    .Contact .left {
        min-width: 320px;
        width: 320px;
    }
    .Contact .left .titre {
        font-size: 24px;
    }
}
@media (max-width:768px) {
    .Contact {
        flex-direction:column;
        gap:0px;
    }
    .Contact .left {
        width: 100%
    }
    .Contact .left .titre{
        margin-bottom: 20px;
    }
    .Contact .left ul {
        gap:20px;
    }
    .Contact .right {
    width: 100%;
    }
}

@media (max-width:576px) {

    .Contact .left {
        width:auto;
        min-width: unset;
    }
    .Contact .left .titre {
        font-size: 18px;
    }
    fieldset {
        flex-direction:column;
    }

    fieldset div {
        width:100%
    }
}