@charset "UTF-8";
body {
           font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
           background: linear-gradient(120deg, #f7f9fa 0%, #eaf6f6 60%, #d4f1f4 100%);
           color: #2c3e50;
           margin: 0;
           padding: 0;
}

/* Cartes Box/Garages */
main { max-width: 1100px; margin: 0 auto; padding: 0 16px 24px; }
#boxes-lld h2 { margin: 12px 0 16px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(520px, 1fr)); gap: 24px; position: relative; }
.cards-carousel, .cards-track, .card-slide, .cards-dots { display: contents; }
.cards-dots .dot, .cards-dots .dot.active { display: none; }
.card { position: relative; background: #fff; border: 1px solid #e6ecec; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 14px rgba(0,0,0,0.04); transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
.card-body { padding: 12px 14px 14px; }
.card h3 { margin: 4px 0 6px; font-size: 1.05rem; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 12px; font-size: .92rem; color: #51646a; margin-bottom: 6px; }
.meta .pill { background: #f0f7f7; padding: 4px 8px; border-radius: 999px; }
.desc { color: #3c4d52; font-size: .95rem; line-height: 1.45; margin: 6px 0 10px; }
.card-actions { display: flex; gap: 8px; align-items: center; }
.btn-primary, .btn-outline { padding: 8px 12px; border-radius: 8px; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn-primary { background: #1abc9c; color: #fff; border: 1px solid #18a58a; }
.btn-primary[disabled] { opacity: .65; cursor: not-allowed; }
.btn-outline { background: #fff; color: #1abc9c; border: 1px solid #1abc9c; }
.status-badge { margin-left: auto; font-size: .85rem; padding: 4px 8px; border-radius: 6px; }
.status-ok { background: #e7faf4; color: #0d8b73; border: 1px solid #bfeee3; }
.status-ko { background: #f3f4f6; color: #6b7280; border: 1px solid #e5e7eb; }
.card.unavailable::after { content: "Indisponible"; position: absolute; inset: 0; background: rgba(149, 158, 166, .45); backdrop-filter: grayscale(0.2) blur(1px); color: #1f2937; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.05rem; }
.card.unavailable .btn-primary { pointer-events: none; }

/* Panneau admin */
.btn-admin { background: #e8f7f3; border: 1px solid #bfeee3; color: #0d8b73; padding: 6px 10px; border-radius: 8px; cursor: pointer; }
.admin-card { max-width: 1100px; margin: 0 auto 16px; background: #fff; border: 1px solid #e6ecec; border-radius: 12px; padding: 12px; }
.admin-card h3 { margin: 4px 0 12px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.admin-card label { display: block; font-size: .9rem; color: #415055; }
.admin-card input, .admin-card textarea, .admin-card select { width: 100%; box-sizing: border-box; margin-top: 4px; padding: 8px; border: 1px solid #d7e2e2; border-radius: 8px; font: inherit; }
.admin-actions { margin-top: 10px; display: flex; justify-content: flex-end; }
.admin-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 6px 0 10px; }
.admin-toolbar .left { display: flex; gap: 8px; flex-wrap: wrap; }
.images-editor { display: grid; gap: 8px; }
.images-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.images-item { position: relative; border: 1px solid #e6ecec; border-radius: 8px; overflow: hidden; background: #f9fbfb; }
.images-item img { width: 100%; height: 90px; object-fit: cover; display: block; }
.images-item .controls { position: absolute; inset: auto 6px 6px auto; display: flex; gap: 6px; }
.images-item .ctrl { background: rgba(255,255,255,0.95); border: 1px solid #e5e7eb; padding: 4px 6px; border-radius: 6px; font-size: .8rem; cursor: pointer; }
.images-add { display: flex; gap: 8px; }
.images-add input { flex: 1; }
.availability-field { display: flex; align-items: center; gap: 10px; }
.availability-field .switch { position: relative; display: inline-block; width: 44px; height: 24px; }
.availability-field .switch input { opacity: 0; width: 0; height: 0; }
.availability-field .slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background: #e5e7eb; transition: .2s; border-radius: 999px; box-shadow: inset 0 0 0 1px #d1d5db; }
.availability-field .slider::before { position: absolute; content: ""; height: 18px; width: 18px; left: 3px; top: 3px; background: #fff; transition: .2s; border-radius: 50%; box-shadow: 0 1px 2px rgba(0,0,0,.1); }
.availability-field input:checked + .slider { background: #1abc9c; box-shadow: inset 0 0 0 1px #18a58a; }
.availability-field input:checked + .slider::before { transform: translateX(20px); }
.availability-field .status-text { font-size: .95rem; color: #374151; min-width: 90px; }

/* Modal de réservation */
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.38); display: none; align-items: center; justify-content: center; padding: 16px; z-index: 50; }
.modal.open { display: flex; }
.modal-content { background: #fff; border-radius: 12px; max-width: 520px; width: 100%; padding: 16px; position: relative; }
.modal-close { position: absolute; top: 8px; right: 8px; background: #f3f4f6; border: 1px solid #e5e7eb; border-radius: 8px; width: 32px; height: 32px; cursor: pointer; }
.contact-options { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 10px; }
.contact-card { display: flex; flex-direction: column; gap: 2px; border: 1px solid #e6ecec; border-radius: 10px; padding: 10px; text-decoration: none; color: #0f172a; }
.contact-card:hover { border-color: #1abc9c; }
@media (min-width: 560px) { .contact-options { grid-template-columns: repeat(3, 1fr); } }

/* Galerie / carrousel d'images */
.gallery { position: relative; width: 100%; height: 360px; overflow-x: auto; overflow-y: hidden; background: #f3f4f6; scroll-snap-type: x mandatory; scroll-behavior: smooth; }
.slides { display: flex; height: 100%; }
.slide { min-width: 100%; height: 100%; scroll-snap-align: start; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery .nav, .cards-nav { display: none; }
.gallery .dots { position: absolute; bottom: 8px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.gallery .dot { width: 8px; height: 8px; border-radius: 999px; background: #d1d5db; cursor: pointer; }
.gallery .dot.active { background: #1abc9c; }
@media (min-width: 768px) { .gallery { height: 460px; } }


h1, h2, h3 {
     font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
     text-align: center;
}
.btn-retour {
     display: inline-block;
     margin: 18px 0 12px 18px;
     padding: 8px 18px;
     background: #1abc9c;
     color: #fff;
     border: none;
     border-radius: 8px;
     font-size: 1rem;
     cursor: pointer;
     transition: background 0.2s;
}
.btn-retour:hover {
     background: #159c85;
}
/* ==========================================================
    6. Footer
    ========================================================== */
.footer-pro {
     background: #fff;
     border-top: 1px solid #e0e0e0;
     padding: 18px 0 8px 0;
     margin-top: 32px;
}

.footer-content {
     display: flex;
     flex-wrap: wrap;
     justify-content: center;
     align-items: flex-start;
     gap: 28px;
     max-width: 900px;
     margin: 0 auto;
}

.footer-col {
     flex: 1 1 120px;
     min-width: 120px;
     margin-bottom: 4px;
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
}

.footer-title {
     font-size: 1.1rem;
     font-weight: 600;
     letter-spacing: 1px;
     margin-bottom: 2px;
}

.footer-label {
     font-weight: 500;
     color: #1abc9c;
     font-size: 0.97rem;
     margin-bottom: 2px;
}

.footer-mail-text {
     margin-left: 8px;
     color: #2c3e50;
     font-size: 1rem;
     text-decoration: underline;
     transition: color 0.2s;
}

.footer-social.mail:hover .footer-mail-text {
     color: #1abc9c;
}

.footer-socials {
     display: flex;
     gap: 12px;
     margin-top: 4px;
}

.footer-social {
     display: flex;
     align-items: center;
     justify-content: center;
     background: #f7f9fa;
     border-radius: 50%;
     width: 36px;
     height: 36px;
     color: #1abc9c;
     transition: background 0.2s, color 0.2s;
     text-decoration: none;
     font-size: 1.1rem;
}



.footer-copyright {
     font-size: 0.97rem;
     color: #888;
     margin-top: 4px;
}