/* ============================
   FICHE VEHICULE — L2G MOTORS
   ============================ */

.fiche-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Breadcrumb */
.breadcrumb {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}

/* Header */
.fiche-header {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

/* .fiche-gallery {
    flex: 1 1 60%;
}

.fiche-gallery img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
} */

.fiche-gallery {
    flex: 1 1 60%;
    max-width: 900px; /* optional */
    margin: 0 auto;
}

.featured {
    margin-bottom: 20px;
    img {
        width: 100%;
    }
}

.thumb-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.thumb-grid img {
    width: 100%;
    display: block;
    object-fit: cover;
}


.fiche-info {
    flex: 1 1 35%;
}

.fiche-info h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
    margin-bottom: 20px;
}

.badge-disponible { background: #2D6A2D; color: white; }
.badge-reserve { background: #777; color: white; }
.badge-vendu { background: #b30000; color: white; text-decoration: line-through; }

/* Key info grid */
.key-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 20px 0;
}

.key-info div {
    background: #f7f7f7;
    padding: 10px;
    border-radius: 6px;
    font-size: 0.9rem;
}

/* Price */
.price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2D6A2D;
    margin: 20px 0;
}

/* Buttons */
.btn {
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    display: inline-block;
    margin-right: 10px;
}

.btn-primary {
    background: #E67E22;
    color: white;
    text-align: center;
}

.btn-secondary {
    background: #fff;
    border: 2px solid #2D6A2D;
    color: #2D6A2D;
}

/* ============================
   DOSSIER DE TRANSPARENCE
   ============================ */

.transparency {
    margin-top: 60px;
}

.transparency h2 {
    margin-bottom: 10px;
}

.transparency p {
    margin-bottom: 30px;
}

.block {
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.block.repaired {
    background: #e9ffe9;
    border-left: 6px solid #2D6A2D;
    h3::before{
        content: "✅ ";
    }
}

.block.used {
    background: #fff4e2;
    border-left: 6px solid #e6a022;
    h3::before{
        content: "~ ";
    }
}

.block.wont-fix {
    background: #ffeaea;
    border-left: 6px solid #d9534f;
    h3::before{
        content: "❗";
    }
}

.block ul {
    margin: 0;
    padding-left: 20px;
}

/* ============================
   INFORMATIONS COMPLÈTES
   ============================ */

.info-complete {
    margin-top: 60px;
}

.info-complete h3 {
    margin-top: 30px;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.info-table td {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

/* ============================
   CTA BAS DE FICHE
   ============================ */

.cta-bottom {
    background: #2D6A2D;
    color: white;
    text-align: center;
    padding: 50px 20px;
    margin-top: 60px;
    border-radius: 8px;
}

.cta-bottom .btn-primary {
    margin-top: 20px;
}


/* #main-pic{
   position:relative;
   img{
    position:absolute; 
    top:0;
    left:0;
   };
   .badge{
    position:absolute; 
    top:25px;
    left:25px;
   }
} */

.link-green {
    color: #2D6A2D;
    font-weight: 600;
}

.back-to-vehicules{
    color:white;
    text-decoration: underline;
}
.back-to-vehicule::before{
    content: "✅ ";
}