body{
    background: linear-gradient(white,#10B981);
}
.contact{
    text-align: center;
}
.contact h1{
    color: var(--secondaire);
    padding-top: 0;
}
.contact p{
    font-size: 17px;
    font-weight: bold;
    color: #222;
    margin-bottom: 30px;
}

.formulaire{
    background: white;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 2rem ;
}
.formulaire h2{
    color: var(--quaternaire);
    margin-bottom: 10px;
}
.formulaire div{
    margin-bottom: 1.5rem;
}
label{
    display: block;
    font-weight: 600;
    margin-bottom: 12px;
    font-size:15px;
    color: #333;
}
input,select,textarea{
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.2s ease;
}
input:focus,select:focus,textarea:focus{
    border-color: var(--primaire);
}
textarea{
    resize: none;
}
button[type="submit"]{
    padding: 0.85rem 2.5rem;
    font-size: 1rem;
    font-weight: bold;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    background: var(--tertiaire);
    transition: background 0.3s;
}
button[type="submit"]:hover{
    background: var(--secondaire);
}
button[type="submit"]:disabled{
    cursor: not-allowed;
    background: rgba(251, 191, 36,0.6);
}
.succes{
    margin-top: 10px ;
    max-width:400px;
    padding: 12px;
    font-weight: bold;
    color: #047857;
    border: 1px solid #10B981;
    background: rgba(16, 185, 129,0.3);
}
.flex-invit {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.card-contact{
    background: white;
    max-width: 600px;
    width: 100%;
    border-radius: 12px;
    margin-bottom: 20px;
    padding: 28px;
    border: 1px solid #ddd;
}
.card-contact h3{
    font-size: 25px;
    color: #047857;
}
.card-contact p{
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
    margin-top: 20px;
    font-style: italic;
    max-width: 400px;
    line-height: 1.5;
}
.card-contact i{
    font-size: 18px;
    background:rgb(16, 185, 129,0.1);        
    padding: 12px;
    margin-right: 10px;
    border-radius: 50%;
    color: var(--primaire);
    transition: background 0.3s, color 0.3s;
}
.card-contact i:hover{
    background: var(--primaire);
    color:  white;
}
.card-contact li{
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    margin-top: 10px;
    font-size: 14px;
    color: #333;
}
.card-contact li i{
    background: transparent;
    margin-right: 12px;
    color: var(--primaire);
}
.card-contact img{
    height: 250px;
    border-radius: 15px;
}

@media (max-width:1005px){
    .flex{
        justify-content: center;
        flex-direction: column;
    }
    
}

/* ==========================================================
   AJOUTS : formulaire destiné à la version réellement publiée.
   ========================================================== */
.champ-piege{
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
textarea{
    resize: vertical;
}
.consentement{
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.consentement input{
    width: auto;
    margin-top: 4px;
    accent-color: var(--primaire);
}
.consentement label{
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.45;
}
.form-note{
    margin-top: 15px;
    font-size: 0.85rem;
    line-height: 1.5;
}
.card-contact a{
    color: var(--secondaire);
    overflow-wrap: anywhere;
}
.btn-whatsapp{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0 22px;
    padding: 11px 16px;
    border-radius: 8px;
    color: white !important;
    background: var(--secondaire);
    font-weight: bold;
}
.btn-whatsapp:hover{
    background: var(--primaire);
}
.btn-whatsapp i{
    padding: 0;
    margin: 0;
    color: inherit;
    background: transparent;
}
@media (max-width: 620px){
    .formulaire,
    .card-contact{
        padding: 20px;
    }
}
