/* --- BASE & TYPO --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; color: #333; background-color: #fdfaf7; line-height: 1.6; }
h1, h2, h3, .logo { font-family: 'Playfair Display', serif; }

/* --- ACCUEIL --- */
.banner { 
    width: 100%; height: 450px; 
    background: url('https://i.postimg.cc/sDMYqm87/20260203-1426-Image-Generation-simple-compose-01kghgkjp3fj9sharn8htmp446.png') center/cover;
}
.main-title { padding: 40px 20px; text-align: center; background: white; }
.logo { font-size: 2.5rem; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 10px; }
.logo span { color: #d35400; }
.separator { width: 20px; height: 3px; background: #d35400; margin: 25px auto; }

/* Bouton Central Classe */
.btn-main-action {
    display: inline-block; background: #d35400; color: white; padding: 18px 45px;
    text-decoration: none; border-radius: 50px; font-weight: bold; font-size: 1.1rem;
    transition: 0.3s; border: 2px solid transparent;
}
.btn-main-action:hover { background: transparent; color: #d35400; border-color: #d35400; }

/* --- GALERIE SOBRE --- */
.gallery { padding: 20px 10%; background: white; text-align: center; }
.gallery-grid { 
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 25px; margin-top: 40px; 
}
.gallery-item {
    height: 350px; border-radius: 4px; background-size: cover; background-position: center;
    filter: grayscale(30%); transition: 0.5s ease; cursor: pointer;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.gallery-item:hover { filter: grayscale(0%); transform: translateY(-10px); }

/* --- AVIS --- */
.reviews { padding: 80px 10%; text-align: center; }
.reviews-container { display: flex; gap: 30px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.review-card { 
    background: white; padding: 30px; border-radius: 15px; max-width: 400px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); border-bottom: 4px solid #d35400;
}

/* --- FORMULAIRE COMMANDE --- */
.bg-light { background-color: #f4f7f6; }
.form-header { text-align: center; padding: 50px 20px; background: white; }
.conditions-box { 
    background: #fff3e0; padding: 15px; border-radius: 8px; 
    display: inline-block; margin-top: 20px; border: 1px dashed #d35400;
}
.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; }

.selection-row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 15px; margin-bottom: 25px; }

input, select { 
    width: 100%; padding: 14px; border-radius: 10px; 
    border: 1px solid #ddd; outline: none; transition: 0.3s;
}
input:focus { border-color: #d35400; box-shadow: 0 0 0 3px rgba(211, 84, 0, 0.1); }

.btn-add { background: #27ae60; color: white; border: none; font-weight: bold; cursor: pointer; border-radius: 10px; }
.btn-del { color: #e74c3c; background: none; border: none; font-size: 1.2rem; cursor: pointer; }

/* Table Récap */
#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); }

footer { padding: 40px; text-align: center; font-size: 0.8rem; color: #999; }

/* Style des conditions en haut de page */
.conditions-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 30px auto 0;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.condition-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.condition-item .icon {
    font-size: 1.5rem;
    background: #fdfaf7;
    padding: 10px;
    border-radius: 50%;
    border: 1px solid #ffe0b2;
}

.condition-item p {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.3;
}

.condition-item strong {
    color: #d35400;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
}
.field {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 8px;
}

.field label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #d35400; /* Couleur orange chic pour les titres de champs */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
@media (max-width: 768px) {
    .input-grid .field {
        grid-column: span 1 !important; /* Force les champs à s'empiler sur petit écran */
    }
}

/* Ajout des étoiles dorées au-dessus du texte de l'avis */
.review-card p::before {
    content: "★★★★★";
    display: block;
    color: #f1c40f; /* Couleur jaune d'or */
    margin-bottom: 10px;
    font-size: 1.1rem;
    letter-spacing: 2px;
}