/* === 1. STYLE GÉNÉRAL (NOIR & OR) === */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background: #000; color: #fff; }

.contact-wrapper {
    display: flex;
    min-height: 100vh;
}

/* === 2. GAUCHE : VISUEL === */
.contact-left {
    flex: 1;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8)), url('../img/image-devis.jpeg') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    text-align: center;
}

.contact-left h1 {
    font-size: 56px;
    color: #FFD700;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.contact-left p {
    font-size: 18px;
    color: #fff;
    margin-bottom: 40px;
    max-width: 400px;
    line-height: 1.6;
}

.btn-call {
    background: #FFD700;
    color: #000;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(255,215,0,0.3);
}
.btn-call:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(255,215,0,0.5); }
.btn-back { color: #fff; margin-top: 30px; text-decoration: underline; font-size: 14px; }

/* === 3. DROITE : FORMULAIRE === */
.contact-right {
    flex: 1;
    background: #000;
    padding: 60px;
    display: flex;
    align-items: center;
    overflow-y: auto;
}

.form-box { width: 100%; max-width: 500px; margin: 0 auto; }

h2 { font-size: 38px; color: #FFD700; margin-bottom: 10px; font-weight: 700; }
.subtitle { color: #ccc; margin-bottom: 40px; display: block; font-size: 16px; }

.form-group { margin-bottom: 30px; }

label {
    display: block;
    color: #fff;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 500;
}

input, select {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid #444;
    padding: 12px 0;
    color: white;
    font-size: 18px;
    outline: none;
    transition: border 0.3s;
}

input:focus, select:focus { border-bottom: 2px solid #FFD700; }

select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FFD700'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 16px;
    cursor: pointer;
}
select option { background: #111; padding: 10px; }

/* INPUT FICHIER */
.file-upload { margin-top: 20px; margin-bottom: 40px; }
.file-label {
    display: inline-flex;
    align-items: center;
    background: #222;
    color: #FFD700;
    padding: 12px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #FFD700;
    transition: 0.3s;
}
.file-label:hover { background: #FFD700; color: #000; }
.file-info { display: block; margin-top: 8px; font-size: 12px; color: #777; }

.btn-submit {
    width: 100%;
    background: #FFD700;
    color: #000;
    border: none;
    padding: 18px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(255,215,0,0.2);
}
.btn-submit:hover { background: #fff; transform: translateY(-2px); }

@media (max-width: 900px) {
    .contact-wrapper { flex-direction: column; }
    .contact-left { padding: 60px 20px; min-height: 40vh; }
    .contact-right { padding: 40px 20px; }
    h1 { font-size: 40px; }
}