/* --- 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; }

/* --- 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; /* Le fameux liseré orange ! */
    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; }

/* --- 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; }

/* --- STRUCTURE FORMULAIRE (Les fameuses cases blanches) --- */
.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; }
.instruction { font-size: 0.95rem; color: #666; margin-bottom: 15px; }

/* --- CHAMPS DE SAISIE & BOUTONS --- */
input, select { width: 100%; padding: 14px; border-radius: 10px; border: 1px solid #ddd; outline: none; transition: 0.3s; font-family: 'Poppins', sans-serif;}
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; }

.btn-clear-link { background: none; border: none; color: #e74c3c; text-decoration: underline; cursor: pointer; margin-top: 15px; font-size: 0.95rem; }
.btn-send-devis { background: #d35400; color: white; border: none; padding: 15px 30px; 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); }

/* --- SOUS-TITRES CATÉGORIES (Salé, Sucré...) --- */
.category-subtitle {
    font-family: 'Playfair Display', serif;
    color: #1a1a1a;
    font-size: 1.4rem;
    margin-bottom: 15px;
    border-bottom: 2px solid #ffe0b2;
    padding-bottom: 5px;
}

/* --- GRID D'OPTIONS (Miniatures) --- */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.option-card {
    background: white;
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s ease;
}

.option-card:hover {
    border-color: #d35400;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.option-card img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 10px;
}

.option-card span {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
}

.option-card strong {
    display: block;
    margin-top: 5px;
    color: #d35400;
    font-size: 0.9rem;
}

/* État sélectionné (Actif) */
.option-card.active {
    border-color: #27ae60;
    background-color: #f0fdf4;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.2);
}

.option-card.active strong {
    color: #27ae60;
}

/* --- RECAP & FORFAIT --- */
.base-package-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fdfaf7;
    border: 1px solid #ffe0b2;
    padding: 20px;
    border-radius: 12px;
}
.package-info h3 { font-size: 1.2rem; color: #333; margin-bottom: 5px;}
.package-info p { font-size: 0.9rem; color: #666; }
.package-price { font-size: 1.5rem; font-weight: bold; color: #d35400; }

.recap-zone { margin-top: 30px; border-top: 1px solid #eee; padding-top: 20px; }
.recap-zone h3 { margin-bottom: 15px; font-size: 1.2rem; }
#recap-table { width: 100%; border-collapse: collapse; }
#recap-table td { padding: 12px 0; border-bottom: 1px solid #f9f9f9; }

.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; margin-top: 10px;}

/* --- FOOTER 4 COLONNES --- */
.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) {
    .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); }

    .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; }
    
    .form-section { padding: 25px 20px; }
    .input-grid .field { grid-column: span 1 !important; }
    .options-grid { grid-template-columns: repeat(2, 1fr); }
    
    .base-package-card { flex-direction: column; text-align: center; gap: 15px; }
    .total-bar { flex-direction: column; text-align: center; gap: 20px; }
}

footer { padding: 40px; text-align: center; font-size: 0.8rem; color: #999; }

/* --- NOUVEL ENCART D'INFORMATIONS --- */
.quick-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    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;
        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;
        padding-bottom: 0;
    }
}