/* --- BASE & TYPO --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; color: #333; background-color: #ffffff; line-height: 1.6; }
h1, h2, h3 { font-family: 'Playfair Display', serif; }
html { overflow-y: scroll; }

/* --- EN TÊTE --- */
.form-header { text-align: center; padding: 120px 20px 50px; background: white; }
.form-header h1 { font-size: 2.8rem; color: #1a1a1a; line-height: 1.2; margin-bottom: 15px; text-wrap: balance; }
.form-header p { font-size: 1.15rem; color: #666 !important; font-weight: 300; max-width: 600px; margin: 0 auto; text-wrap: balance; }

/* --- FORMULAIRE --- */
.order-wrapper { max-width: 1000px; margin: -40px auto 40px; padding: 0 20px; }
.form-section { background: white; padding: 40px; border-radius: 20px; margin-bottom: 30px; box-shadow: 0 15px 40px rgba(0,0,0,0.08); }
.form-section h2 { color: #d35400; margin-bottom: 25px; font-size: 1.8rem; }

input, select { width: 100%; padding: 14px; border-radius: 10px; border: 1px solid #ddd; outline: none; transition: 0.3s; }
input:focus, select:focus { border-color: #d35400; box-shadow: 0 0 0 3px rgba(211, 84, 0, 0.1); }

.field { display: flex; flex-direction: column; text-align: left; gap: 8px; }
.field label { font-size: 0.85rem; font-weight: 600; color: #d35400; text-transform: uppercase; letter-spacing: 0.5px; }
.input-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }

/* --- OPTIONS DE DECORATION (VIGNETTES) --- */
.options-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 15px; margin-top: 15px; }
.option-card { border: 2px solid #ddd; border-radius: 12px; padding: 15px; cursor: pointer; transition: all 0.3s ease; text-align: center; background: white; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.option-card img { width: 60px; height: 60px; object-fit: contain; margin-bottom: 5px; }
.option-card span { font-size: 0.9rem; font-weight: 600; color: #333; }
.option-card strong { font-size: 0.85rem; color: #d35400; }
.option-card.selected { border-color: #27ae60 !important; background-color: #f0fff4 !important; transform: translateY(-3px); box-shadow: 0 4px 12px rgba(39, 174, 96, 0.2); }

/* --- BOUTONS ET TABLEAU --- */
.btn-add { background: #27ae60; color: white; border: none; font-weight: bold; cursor: pointer; border-radius: 10px; transition: 0.3s; }
.btn-add:hover { background: #219653; transform: translateY(-2px); box-shadow: 0 4px 10px rgba(39, 174, 96, 0.3); }
.btn-del { color: #e74c3c; background: none; border: none; font-size: 1.2rem; cursor: pointer; }

#recap-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
#recap-table th { text-align: left; padding: 15px; border-bottom: 2px solid #f4f4f4; color: #888; text-transform: uppercase; font-size: 0.8rem; }
#recap-table td { padding: 15px; border-bottom: 1px solid #f9f9f9; }

/* --- TOTAL BAR --- */
.total-bar { background: #1a1a1a; color: white; padding: 40px; border-radius: 20px; display: flex; justify-content: space-between; align-items: center; }
.pricing p { margin-bottom: 5px; color: #aaa; }
.pricing .final { font-size: 2.2rem; color: #d35400; }
.btn-send-devis { background: #d35400; color: white; border: none; padding: 20px 40px; font-size: 1.1rem; border-radius: 12px; font-weight: bold; cursor: pointer; transition: 0.3s; }
.btn-send-devis:hover { background: #e67e22; transform: scale(1.03); }

/* --- MENU FLOTTANT ARRONDI --- */
.navbar { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); width: 90%; max-width: 1000px; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); border-radius: 50px; border: 1px solid #d35400; padding: 10px 30px; display: flex; justify-content: center; align-items: center; z-index: 1000; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.nav-container { width: 100%; display: flex; justify-content: space-between; align-items: center; }
.nav-logo { font-family: 'Playfair Display', serif; font-weight: bold; text-decoration: none; color: #333; font-size: 1.2rem; letter-spacing: 1px; }
.nav-logo span { color: #d35400; }
.nav-links { display: flex; list-style: none; gap: 25px; }
.nav-links a { text-decoration: none; color: #555; font-size: 0.9rem; font-weight: 600; transition: 0.3s; }
.nav-links a:hover { color: #d35400; }
.burger-menu { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.burger-menu span { width: 25px; height: 3px; background: #d35400; transition: 0.3s; }

/* --- FOOTER --- */
.footer { background: #1a1a1a; color: white; padding: 60px 20px 20px; margin-top: 50px; }
.footer-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.footer-col h3, .footer-col h4 { font-family: 'Playfair Display', serif; margin-bottom: 20px; }
.footer-col h3 span { color: #d35400; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: #aaa; text-decoration: none; transition: 0.3s; }
.footer-col a:hover { color: #d35400; }
.footer-col:last-child { text-align: center; }
.social-links { display: flex; justify-content: center; gap: 15px; margin-top: 15px; }
.social-icon { color: #aaa; transition: transform 0.3s ease, color 0.3s ease; display: inline-block; }
.social-icon:hover { color: #d35400; transform: scale(1.1); }
.footer-bottom { text-align: center; border-top: 1px solid #333; margin-top: 40px; padding-top: 20px; font-size: 0.8rem; color: #666; }

/* --- RESPONSIVE GSM --- */
@media (max-width: 768px) {
    .form-header { padding: 100px 15px 30px; }
    .form-header h1 { font-size: 1.8rem; margin-bottom: 10px; }
    .form-header p { font-size: 0.95rem; padding: 0 10px; line-height: 1.4; }
    .input-grid .field { grid-column: span 1 !important; }
    .total-bar { flex-direction: column; text-align: center; gap: 20px; }
    .nav-links { display: none; position: absolute; top: 70px; left: 0; width: 100%; background: white; flex-direction: column; text-align: center; padding: 20px 0; border-radius: 20px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
    .nav-links.active { display: flex; }
    .burger-menu { display: flex; }
    .burger-menu.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .burger-menu.active span:nth-child(2) { opacity: 0; }
    .burger-menu.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* --- NOUVEL ENCART D'INFORMATIONS --- */
.quick-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 colonnes sur PC */
    gap: 20px 40px;
    max-width: 700px;
    margin: 25px auto 0;
    padding: 25px 35px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.quick-info-cell {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 15px;
}

.quick-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    background: #fdfaf7;
    border-radius: 50%;
    border: 1px solid #ffe0b2;
    margin-top: 2px;
}

.quick-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.quick-label {
    color: #d35400;
    text-transform: uppercase;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.quick-value {
    color: #555;
    font-size: 0.8rem;
    line-height: 1.4;
}

/* --- VERSION MOBILE --- */
@media (max-width: 768px) {
    .quick-info-grid {
        grid-template-columns: 1fr; /* 1 seule colonne sur mobile */
        padding: 20px;
        gap: 0;
        margin-top: 20px;
    }

    .quick-info-cell {
        padding: 15px 0;
        border-bottom: 1px solid #f2f2f2;
    }
    
    .quick-info-cell:last-child {
        border-bottom: none;
    }
}

footer { padding: 40px; text-align: center; font-size: 0.8rem; color: #999; }