/* Conteneur principal */
.contact-form-container {
    max-width: 600px;
    margin: 50px auto;
    padding: 30px 40px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

/* Titre du formulaire */
.form-title {
    text-align: center;
    margin-bottom: 30px;
    color: #212121;
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 1px;
    position: relative;
}

.form-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: #E68229; /* ligne dorée */
    margin: 8px auto 0;
}

/* Champs du formulaire */
.form-group {
    margin-bottom: 22px;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
    font-size: 14px;
}

.form-input,
textarea.form-input {
    width: 100%;
    border: 1px solid #E68229;
    padding: 12px 15px;
    font-size: 16px;
    border-radius: 8px;
    outline: none;
    transition: all 0.3s ease;
    background: #fff;
}

.form-input:focus {
    border-color: #0088cc;
    box-shadow: 0 0 8px rgba(0,136,204,0.2);
}

textarea.form-input {
    min-height: 120px;
    resize: vertical;
}

/* Bouton */
.btn-submit {
    display: block;
    width: 100%;
    background: #fff;
    color: #E68229;
    font-size: 16px;
    font-weight: bold;
    border: 2px solid #E68229;
    padding: 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: #E68229;
    color: #fff;
    transform: translateY(-2px);
}

/* Flash messages */
.flash-message {
    margin: 15px auto;
    max-width: 600px;
    padding: 15px 20px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    animation: fadeInDown 0.5s ease;
    position: relative;
}

.flash-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.flash-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOutUp {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-10px); }
}

.flash-message.hide {
    animation: fadeOutUp 0.5s ease forwards;
}
