body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #fff;
    position: relative;
    overflow: hidden; /* Empêche les défilements inattendus */
}
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Place l'image de fond derrière le contenu */
    background-image: url('/images/back/sdb3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(10px); /* Applique le flou uniquement à l'image de fond */
}
.container {
    max-width: 700px;
    margin: 60px auto;
    padding: 30px;
    background-color: #3b3b3b;
    border-radius: 15px;
	border: 1px solid #ffffff;
    box-shadow: 0px 12px 20px rgba(0, 0, 0, 0.5);
	
}

h1 {
    text-align: center;
    color: #ff9b05;
    font-size: 32px;
    margin-bottom: 30px;
    font-family: 'Helvetica', sans-serif;
    letter-spacing: 1.5px;
}
h2 {
    text-align: center;
    color: #ffffff;
    font-size: 24px;
    margin-bottom: 30px;
    font-family: 'Helvetica', sans-serif;
    letter-spacing: 1.5px;
}
label {
    display: block;
    margin-bottom: 5px; /* Rapproche les labels des champs */
    font-weight: bold;
    color: #f0e6e6;
}

.flex-container {
    display: flex;
    gap: 10px; /* Ajuste l'espacement entre les éléments */
    margin-bottom: 10px; /* Réduit l'espacement vertical entre les sections */
    align-items: center; /* Aligne les boutons radio et les labels */
}

.nom-group, .prenom-group, .telephone-group, .email-group, .societe-group, .civilite-group {
    flex: 1;
}

/* Ajuste la largeur des champs en fonction des besoins */
.nom-field {
    width: 60%; /* Largeur ajustée pour le champ "Nom" */
}

.prenom-field {
    width: 60%; /* Largeur ajustée pour le champ "Prénom" */
}

.telephone-field {
    width: 60%; /* Largeur ajustée pour le champ "Téléphone" */
}

.email-field {
    width: 100%; /* Largeur ajustée pour le champ "Email" */
}

.adresse-field {
    width: 100%; /* Largeur pleine pour le champ "Adresse" */
}

.projets-field {
    width: 75%; /* Largeur pleine pour la liste des projets */
	height: 250px;
}

.nombre-pieces-field {
    width: 5%; /* Largeur ajustée pour le champ "Nombre de pièces" */
}

.nom-pieces-field {
    width: 70%; /* Largeur ajustée pour le champ "Nom des pièces" */
}

.support-field {
    width: 23%; /* Largeur ajustée pour la liste des supports */
}

.date-field {
    width: 23%; /* Largeur ajustée pour la date de début des travaux */
}

.precisions-field {
    width: 100%; /* Largeur pleine pour le champ "Précisions concernant vos travaux" */
}

/* Styles communs */
input, select, textarea {
    padding: 12px;
    margin-bottom: 15px; /* Réduit l'espacement vertical entre les champs */
    border: none;
    border-radius: 8px;
    background-color: #fff;
    color: #333;
    font-size: 16px;
}

input[type="radio"] {
    margin-right: 5px; /* Ajuste l'espace entre les boutons radio et les labels */
    width: auto;
}

textarea {
    resize: vertical;
    height: 100px;
}

button.submit-button {
    display: block;
    width: 30%;
    background-color: #1b4a4d;
    color: #ffffff;
    padding: 15px;
    font-size: 18px;
    border: none;
    border-radius: 8px;
    border: 2px solid #ffffff;
    cursor: pointer;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    margin: auto;
    transform: translateY(-3px);
    background: linear-gradient(135deg, rgba(27, 74, 77, 0.7), rgba(27, 77, 74, 0.2));
    box-shadow: 0px 5px 15px rgba(27, 74, 77, 0.6);
}

/* Effet de survol avec pseudo-élément before */
button.submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 100%;
    background-color: rgba(27, 74, 77, 0.5);
    transition: all 0.4s ease;
    z-index: 0;
    transform: translateX(-50%);
    border-radius: 8px;
}

button.submit-button:hover::before {
    width: 100%;
    background: linear-gradient(135deg, rgba(27, 74, 77, 0.7), rgba(255, 255, 255, 0.2));
}

button.submit-button:hover {
    background-color: #ffffff;
    color: #1b4a4d;
    box-shadow: 0px 5px 15px rgba(27, 74, 77, 0.8);
    transform: translateY(-5px); /* Effet de déplacement vers le haut lors du survol */
}

/* Séparateur animé */
button.submit-button::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    top: 100%;
    left: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

button.submit-button:hover::after {
    transform: scaleX(1); /* Ligne colorée sous le bouton lors du survol */
}


.form-group {
    margin-bottom: 15px; /* Réduit l'espacement entre les groupes de champs */
}

/* Style pour la liste de suggestions d'adresses */
.suggestions {
    border: 1px solid #ddd;
    background-color: #fff;
    max-height: 150px;
    overflow-y: auto;
    position: absolute;
    width: calc(100% - 24px);
    z-index: 1000;
    color: #000; /* Changement de couleur de police en noir */
}

.suggestions div {
    padding: 10px;
    cursor: pointer;
    color: #000; /* Texte des suggestions en noir */
}

.suggestions div:hover {
    background-color: #f0f0f0;
}
/* Bouton retour site */
.back-button-top, .back-button-bottom {
    text-align: center;
    margin: 20px 0;
	
}

.back-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #1b4a4d;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
	border: 2px solid #ffffff;
    transition: background-color 0.3s ease;
}

.back-link:hover {
    background-color: #ffffff;
	color: #1b4a4d;
	
}
