/* =============================== */
/* ===== STYLES PAGE CONTACT ===== */
/* =============================== */

/* Structure globale */
.page-contact .conteneur-global {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
    background: var(--couleur-bg);
    border-radius: var(--radius);
    box-shadow: 0 6px 36px rgba(35, 97, 255, 0.06);
}

/* Titre principal */
.page-contact h1 {
    font-size: 2rem;
    color: var(--couleur-primaire);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content:center;
    gap: 0.6rem;
}

/* Paragraphe d'introduction */
.page-contact p {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: var(--couleur-texte);
}

/* Formulaire principal */
.formulaire-contact {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

/* Groupe de champs */
.groupe-champs {
    display: flex;
    flex-direction: column;
}

.groupe-champs label {
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--couleur-texte);
}

.groupe-champs input,
.groupe-champs select,
.groupe-champs textarea {
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    border: 1px solid #ddd;
    font-size: 1rem;
    font-family: var(--font-main);
    background: #f9f9f9;
    transition: border-color 0.3s ease;
}

.groupe-champs input:focus,
.groupe-champs select:focus,
.groupe-champs textarea:focus {
    border-color: var(--couleur-primaire);
    outline: none;
}

.groupe-champs small {
    font-size: 0.85rem;
    color: var(--couleur-texte-secondaire);
    margin-top: 0.3rem;
}

/* Bouton d'envoi */
.groupe-boutons {
    display: flex;
    justify-content: flex-end;
}

.btn-envoyer {
    background: var(--couleur-primaire);
    color: #fff;
    padding: 0.9rem 1.6rem;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-envoyer:hover {
    background: #154ce1;
}

/* Message de confirmation */
.message-confirmation {
    display: none;
    margin-top: 1rem;
    padding: 1rem;
    background: #d1f7d1;
    border-left: 5px solid #28a745;
    border-radius: var(--radius);
    color: #155724;
    font-weight: 500;
}

/* Champs HoneyPot */
input.honeypot {
    display: none;
}

/* Zone de dépôt de fichiers */
.zone-drop {
    padding: 1.2rem;
    border: 2px dashed #bbb;
    border-radius: var(--radius);
    text-align: center;
    cursor: pointer;
    background: #fdfdfd;
    transition: background 0.3s ease;
    font-size: 0.95rem;
    color: var(--couleur-texte);
}

.zone-drop.survol {
    background: #eef2ff;
    border-color: var(--couleur-primaire);
}

/* Liste des fichiers */
#liste-fichiers div {
    margin-top: 0.4rem;
    font-size: 0.9rem;
    color: #444;
}

/* Barre de progression */
#progress-bar {
    width: 100%;
    height: 12px;
    appearance: none;
    -webkit-appearance: none;
    border-radius: var(--radius);
    overflow: hidden;
    background-color: #eee;
    margin-top: 1rem;
    border: 1px solid #ddd;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

#progress-bar::-webkit-progress-bar {
    background-color: #eee;
    border-radius: var(--radius);
}

#progress-bar::-webkit-progress-value {
    background: linear-gradient(to right, var(--couleur-primaire), #2ec4b6);
    border-radius: var(--radius);
    transition: width 0.3s ease;
}

#progress-bar::-moz-progress-bar {
    background: linear-gradient(to right, var(--couleur-primaire), #2ec4b6);
    border-radius: var(--radius);
    transition: width 0.3s ease;
}

/* Numéro de demande */
#numero-demande {
    font-weight: bold;
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* RGPD : alignement checkbox à gauche */
.page-contact .case-rgpd {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--couleur-texte);
}

.page-contact .case-rgpd input[type="checkbox"] {
    transform: scale(1.2);
    margin-top: 0.2rem;
}
/* Progress bar personnalisée */
.progress-container {
    position: relative;
    width: 100%;
    height: 18px;
    background: #eee;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid #ddd;
    margin-top: 1rem;
}

.progress-inner {
    height: 100%;
    width: 0%;
    background: linear-gradient(to right, var(--couleur-primaire), #2ec4b6);
    transition: width 0.3s ease;
    border-radius: var(--radius);
}

#progress-percent {
    position: absolute;
    right: 10px;
    top: 10%;
    transform: translateY(-50%);
    font-size: 0.85rem;
    font-weight: 500;
    color: #222;
}

