/* =============================================================================
   NumiApp — MODULE LOCATION DE VÉHICULE (site public)
   Scope isolé `.numi-location`. Accent indigo #5770EA (section « Rental Service »).
   Chargée APRÈS l'ancienne feuille (style.css) et le socle (numiapp-socle.css),
   SANS `!important` : la spécificité de `.numi-location` suffit.
   Références d'expérience : getaround.com · turo.com.
   ============================================================================= */

.numi-location {
    --nl-accent: #5770EA;
    --nl-accent-700: #4356C9;
    --nl-brand: #1CB084;
    --nl-ink: #191b23;
    --nl-muted: #6b7280;
    --nl-line: #e6e8f0;
    --nl-bg: #f6f7fb;
    --nl-radius: 16px;
    --nl-shadow: 0 6px 24px rgba(30, 34, 60, .08);
    color: var(--nl-ink);
    background: var(--nl-bg);
    font-family: 'Poppins', system-ui, sans-serif;
    padding-bottom: 40px;
}
.numi-location * { box-sizing: border-box; }
.numi-location .nl-container { max-width: 1180px; margin: 0 auto; padding: 0 18px; }
.numi-location .nl-narrow { max-width: 720px; }
.numi-location a { text-decoration: none; color: inherit; }
.numi-location .nl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ------------------------------------------------------------- bandeau de tête */
.numi-location .nl-topbar {
    background: #fff;
    border-bottom: 1px solid var(--nl-line);
    padding: 14px 0;
}
.numi-location .nl-brandline { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.numi-location .nl-logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 20px; }
.numi-location .nl-logo-ico { font-size: 22px; }
.numi-location .nl-badge-brand {
    background: var(--nl-brand); color: #fff; font-size: 11px; font-weight: 600;
    padding: 2px 8px; border-radius: 999px; letter-spacing: .02em;
}
.numi-location .nl-slogan { color: var(--nl-muted); font-size: 14px; }
.numi-location .nl-quick { margin-left: auto; display: flex; gap: 16px; }
.numi-location .nl-quicklink { font-weight: 600; font-size: 14px; color: var(--nl-accent-700); }
.numi-location .nl-quicklink:hover { text-decoration: underline; }
.numi-location .nl-searchbar { display: flex; gap: 8px; margin-top: 12px; }
.numi-location .nl-searchbar input {
    flex: 1; border: 1.5px solid var(--nl-line); border-radius: 999px;
    padding: 12px 18px; font-size: 15px; outline: none;
}
.numi-location .nl-searchbar input:focus { border-color: var(--nl-accent); }
.numi-location .nl-searchbar button {
    background: var(--nl-accent-700); color: #fff; border: 0; border-radius: 999px;
    padding: 12px 24px; font-weight: 600; cursor: pointer; font-size: 15px;
}
.numi-location .nl-searchbar button:hover { background: var(--nl-accent); }

/* ------------------------------------------------------------------------- héros */
.numi-location .nl-hero {
    display: grid; grid-template-columns: 1.15fr .85fr; gap: 26px;
    background: linear-gradient(120deg, #eef1ff 0%, #ffffff 60%);
    border-radius: var(--nl-radius); padding: 34px; margin-top: 22px;
    box-shadow: var(--nl-shadow);
}
.numi-location .nl-pill {
    display: inline-block; background: #e5e9ff; color: var(--nl-accent-700);
    font-weight: 600; font-size: 13px; padding: 6px 12px; border-radius: 999px;
}
.numi-location .nl-hero h1 { font-size: 34px; line-height: 1.15; margin: 14px 0 10px; font-weight: 800; }
.numi-location .nl-hl { color: var(--nl-accent-700); }
.numi-location .nl-hero-copy p { color: var(--nl-muted); font-size: 15px; max-width: 46ch; }
.numi-location .nl-hero-stats { display: flex; gap: 26px; margin-top: 22px; }
.numi-location .nl-stat b { display: block; font-size: 26px; color: var(--nl-accent-700); }
.numi-location .nl-stat span { font-size: 13px; color: var(--nl-muted); }

.numi-location .nl-hero-form {
    background: #fff; border: 1px solid var(--nl-line); border-radius: var(--nl-radius);
    padding: 22px; box-shadow: var(--nl-shadow);
}
.numi-location .nl-hero-form h2 { font-size: 18px; margin: 0 0 14px; }
.numi-location .nl-field { display: block; margin-bottom: 12px; }
.numi-location .nl-field > span { display: block; font-size: 13px; font-weight: 600; color: var(--nl-muted); margin-bottom: 5px; }
.numi-location .nl-field input, .numi-location .nl-field select, .numi-location .nl-field textarea {
    width: 100%; border: 1.5px solid var(--nl-line); border-radius: 10px;
    padding: 10px 12px; font-size: 14px; outline: none; font-family: inherit; background: #fff;
}
.numi-location .nl-field input:focus, .numi-location .nl-field select:focus, .numi-location .nl-field textarea:focus {
    border-color: var(--nl-accent);
}
.numi-location .nl-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.numi-location .nl-form-note { font-size: 12px; color: var(--nl-muted); margin: 10px 0 0; }

/* ---------------------------------------------------------------------- boutons */
.numi-location .nl-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border-radius: 12px; padding: 12px 20px; font-weight: 600; font-size: 15px;
    cursor: pointer; border: 1.5px solid transparent; transition: .15s;
}
.numi-location .nl-btn-primary { background: var(--nl-accent-700); color: #fff; }
.numi-location .nl-btn-primary:hover { background: var(--nl-accent); }
.numi-location .nl-btn-ghost { background: #fff; color: var(--nl-accent-700); border-color: var(--nl-line); }
.numi-location .nl-btn-ghost:hover { border-color: var(--nl-accent); }
.numi-location .nl-btn-block { width: 100%; margin-top: 8px; }

/* --------------------------------------------------------------------- sections */
.numi-location .nl-section { margin-top: 34px; }
.numi-location .nl-section-title {
    display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 14px;
}
.numi-location .nl-section-title h2 { font-size: 22px; margin: 0; }
.numi-location .nl-section-title a { color: var(--nl-accent-700); font-weight: 600; font-size: 14px; }
.numi-location .nl-sub { color: var(--nl-muted); font-size: 13px; }

/* ---------------------------------------------------------------------- avantages */
.numi-location .nl-avantages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.numi-location .nl-avantage {
    background: #fff; border: 1px solid var(--nl-line); border-radius: var(--nl-radius);
    padding: 18px; box-shadow: var(--nl-shadow);
}
.numi-location .nl-avantage-ico { font-size: 26px; }
.numi-location .nl-avantage b { display: block; margin: 8px 0 4px; }
.numi-location .nl-avantage p { color: var(--nl-muted); font-size: 13px; margin: 0; }

/* --------------------------------------------------------------------- catégories */
.numi-location .nl-cats { display: flex; gap: 14px; flex-wrap: wrap; }
.numi-location .nl-cat {
    background: #fff; border: 1px solid var(--nl-line); border-radius: var(--nl-radius);
    padding: 12px 18px; display: inline-flex; align-items: center; gap: 10px;
    font-weight: 600; box-shadow: var(--nl-shadow);
}
.numi-location .nl-cat:hover { border-color: var(--nl-accent); }
.numi-location .nl-cat img { width: 34px; height: 34px; object-fit: cover; border-radius: 8px; }
.numi-location .nl-cat-emoji { font-size: 22px; }

/* -------------------------------------------------------------------------- cards */
.numi-location .nl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.numi-location .nl-card {
    background: #fff; border: 1px solid var(--nl-line); border-radius: var(--nl-radius);
    overflow: hidden; box-shadow: var(--nl-shadow); display: flex; flex-direction: column;
}
.numi-location .nl-card-media { position: relative; display: block; aspect-ratio: 3 / 2; background: #eef1ff; }
.numi-location .nl-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.numi-location .nl-chip {
    position: absolute; top: 10px; left: 10px; background: rgba(25,27,35,.82); color: #fff;
    font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px;
}
.numi-location .nl-chip-ok { left: auto; right: 10px; background: var(--nl-brand); }
.numi-location .nl-chip-no { left: auto; right: 10px; background: #DC2626; }
.numi-location .nl-card-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.numi-location .nl-card-name { margin: 0; font-size: 18px; }
.numi-location .nl-card-sub { color: var(--nl-muted); font-size: 13px; margin: 0; min-height: 18px; }
.numi-location .nl-specs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 0; padding: 0; font-size: 13px; color: #374151; }
.numi-location .nl-specs-lg { gap: 10px 20px; font-size: 14px; margin: 14px 0; }
.numi-location .nl-card-foot { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px; margin-top: 4px; }
.numi-location .nl-price b { font-size: 20px; color: var(--nl-accent-700); }
.numi-location .nl-price span { font-size: 12px; color: var(--nl-muted); display: block; }
.numi-location .nl-price-day { margin-left: auto; text-align: right; }
.numi-location .nl-price-day span { font-weight: 700; }
.numi-location .nl-price-day small { display: block; font-size: 11px; color: var(--nl-muted); }
.numi-location .nl-price-day em { font-style: normal; color: var(--nl-accent-700); }
.numi-location .nl-stock { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.numi-location .nl-stock-ok { background: #e6f7f1; color: #0f7a5e; }
.numi-location .nl-stock-warn { background: #fef3e2; color: #b45309; }

/* ------------------------------------------------------------------------- liste */
.numi-location .nl-listhead { margin: 22px 0 12px; }
.numi-location .nl-listhead h1 { font-size: 26px; margin: 0 0 4px; }
.numi-location .nl-listhead p { color: var(--nl-muted); margin: 0; }
.numi-location .nl-layout { display: grid; grid-template-columns: 280px 1fr; gap: 22px; align-items: start; }
.numi-location .nl-filters {
    background: #fff; border: 1px solid var(--nl-line); border-radius: var(--nl-radius);
    padding: 18px; box-shadow: var(--nl-shadow); position: sticky; top: 16px;
}
.numi-location .nl-filter { margin-bottom: 16px; }
.numi-location .nl-filter h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--nl-muted); margin: 0 0 8px; }
.numi-location .nl-filter input, .numi-location .nl-filter select {
    width: 100%; border: 1.5px solid var(--nl-line); border-radius: 10px; padding: 9px 11px; font-size: 14px;
}
.numi-location .nl-results { min-width: 0; }

/* --------------------------------------------------------------------- panneaux */
.numi-location .nl-panel {
    background: #fff; border: 1px solid var(--nl-line); border-radius: var(--nl-radius);
    padding: 20px; box-shadow: var(--nl-shadow);
}
.numi-location .nl-2cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; }
.numi-location .nl-note { background: #f6f7fb; border-radius: 12px; padding: 14px; font-size: 13px; color: var(--nl-muted); }
.numi-location .nl-note b { color: var(--nl-ink); }
.numi-location .nl-fee-note { font-size: 12.5px; color: var(--nl-muted); margin: 12px 0 0; }
.numi-location .nl-reassurance { display: flex; flex-wrap: wrap; gap: 14px 26px; font-weight: 600; font-size: 14px; }

/* ------------------------------------------------------------------------ tables */
.numi-location .nl-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.numi-location .nl-table th, .numi-location .nl-table td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--nl-line); vertical-align: top; }
.numi-location .nl-table th { color: var(--nl-muted); font-weight: 600; width: 42%; }
.numi-location .nl-table-tarifs th { width: auto; background: #f6f7fb; }
.numi-location .nl-table-tarifs small { color: var(--nl-muted); }

/* ------------------------------------------------------------------------ étapes */
.numi-location .nl-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.numi-location .nl-step { background: #fff; border: 1px solid var(--nl-line); border-radius: var(--nl-radius); padding: 18px; box-shadow: var(--nl-shadow); }
.numi-location .nl-step span {
    display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center;
    background: var(--nl-accent-700); color: #fff; border-radius: 999px; font-weight: 700;
}
.numi-location .nl-step b { display: block; margin: 10px 0 4px; }
.numi-location .nl-step p { color: var(--nl-muted); font-size: 13px; margin: 0; }

/* ------------------------------------------------------------------------- fiche */
.numi-location .nl-breadcrumb { font-size: 13px; color: var(--nl-muted); margin: 20px 0 10px; }
.numi-location .nl-breadcrumb a { color: var(--nl-accent-700); }
.numi-location .nl-fiche { display: grid; grid-template-columns: 1.2fr .8fr; gap: 26px; }
.numi-location .nl-galerie { min-width: 0; }
.numi-location .nl-galerie-main { border-radius: var(--nl-radius); overflow: hidden; box-shadow: var(--nl-shadow); background: #eef1ff; }
.numi-location .nl-galerie-main img { width: 100%; display: block; aspect-ratio: 3/2; object-fit: cover; }
.numi-location .nl-galerie-note { font-size: 12px; color: var(--nl-muted); margin: 8px 0 0; }
.numi-location .nl-fiche-entete { background: #fff; border: 1px solid var(--nl-line); border-radius: var(--nl-radius); padding: 22px; box-shadow: var(--nl-shadow); align-self: start; }
.numi-location .nl-fiche-entete h1 { font-size: 28px; margin: 10px 0 6px; }
.numi-location .nl-fiche-sub { color: var(--nl-muted); margin: 0; }
.numi-location .nl-fiche-price { display: flex; gap: 22px; margin: 16px 0; }
.numi-location .nl-fiche-price b { font-size: 22px; color: var(--nl-accent-700); display: block; }
.numi-location .nl-fiche-price span { font-size: 12px; color: var(--nl-muted); }
.numi-location .nl-fiche-price em { font-style: normal; color: var(--nl-accent-700); }
.numi-location .nl-cond { margin: 0; padding-left: 18px; }
.numi-location .nl-cond li { margin-bottom: 8px; color: #374151; }
.numi-location .nl-warn { background: #fef3e2; color: #b45309; border-radius: 10px; padding: 10px 12px; font-size: 13px; margin-top: 12px; }
.numi-location .nl-okline { color: #0f7a5e; font-size: 13px; margin-top: 12px; }

/* --------------------------------------------------------------------- calendrier */
.numi-location .nl-cal-legend { display: flex; gap: 18px; font-size: 13px; margin-bottom: 12px; }
.numi-location .nl-dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; }
.numi-location .nl-dot-ok { background: #d7f3e9; border: 1px solid #0f7a5e; }
.numi-location .nl-dot-no { background: #fde0e0; border: 1px solid #DC2626; }
.numi-location .nl-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.numi-location .nl-cal-day { border: 1px solid var(--nl-line); border-radius: 10px; padding: 8px; }
.numi-location .nl-cal-full { background: #fff5f5; }
.numi-location .nl-cal-label { font-size: 12px; font-weight: 700; margin-bottom: 6px; }
.numi-location .nl-cal-slots { display: flex; flex-wrap: wrap; gap: 3px; }
.numi-location .nl-slot { font-size: 10px; padding: 2px 4px; border-radius: 4px; }
.numi-location .nl-slot.libre { background: #d7f3e9; color: #0f7a5e; }
.numi-location .nl-slot.occupe { background: #fde0e0; color: #b91c1c; text-decoration: line-through; }

/* ------------------------------------------------------------------------ vides */
.numi-location .nl-empty, .numi-location .nl-empty-big {
    background: #fff; border: 1px dashed var(--nl-line); border-radius: var(--nl-radius);
    padding: 26px; text-align: center; color: var(--nl-muted);
}
.numi-location .nl-empty-inline { text-align: left; }
.numi-location .nl-empty b { color: var(--nl-ink); }
.numi-location .nl-empty-big { padding: 44px 26px; }

/* ------------------------------------------------------------------------ résa */
.numi-location .nl-h1 { font-size: 26px; margin: 6px 0 14px; }
.numi-location .nl-banner-ok { background: #e6f7f1; color: #0f7a5e; border-radius: 12px; padding: 12px 16px; font-weight: 600; margin-bottom: 14px; }
.numi-location .nl-resa { display: grid; grid-template-columns: 1fr 340px; gap: 22px; align-items: start; }
.numi-location .nl-fieldset { background: #fff; border: 1px solid var(--nl-line); border-radius: var(--nl-radius); padding: 20px; margin: 0 0 18px; box-shadow: var(--nl-shadow); }
.numi-location .nl-fieldset legend { font-weight: 700; font-size: 15px; padding: 0 6px; }
.numi-location .nl-forfaits { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.numi-location .nl-forfait { border: 1.5px solid var(--nl-line); border-radius: 12px; padding: 12px; cursor: pointer; display: flex; }
.numi-location .nl-forfait input { margin-right: 10px; margin-top: 3px; }
.numi-location .nl-forfait-body { display: flex; flex-direction: column; gap: 3px; }
.numi-location .nl-forfait-body b { font-size: 15px; }
.numi-location .nl-forfait-body small { color: var(--nl-muted); font-size: 12px; }
.numi-location .nl-forfait-meta { font-size: 12px; color: #374151; }
.numi-location .nl-forfait-prix { font-weight: 700; color: var(--nl-accent-700); }
.numi-location .nl-check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-size: 14px; }
.numi-location .nl-coupon-row { display: flex; gap: 8px; }
.numi-location .nl-coupon-row input { flex: 1; }
.numi-location .nl-recap { background: #fff; border: 1px solid var(--nl-line); border-radius: var(--nl-radius); padding: 20px; box-shadow: var(--nl-shadow); position: sticky; top: 16px; }
.numi-location .nl-recap img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: 12px; }
.numi-location .nl-recap h3 { margin: 12px 0 2px; }
.numi-location .nl-muted { color: var(--nl-muted); font-size: 13px; }
.numi-location .nl-recap-list { margin: 14px 0; }
.numi-location .nl-recap-list > div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--nl-line); font-size: 14px; }
.numi-location .nl-recap-list dt { color: var(--nl-muted); }
.numi-location .nl-recap-list dd { margin: 0; font-weight: 600; text-align: right; }
.numi-location .nl-recap-total { border-bottom: 0; border-top: 2px solid var(--nl-line); margin-top: 6px; padding-top: 12px; font-size: 17px; }
.numi-location .nl-recap-total dd { color: var(--nl-accent-700); }
.numi-location .nl-message { margin-top: 12px; font-size: 14px; }
.numi-location .nl-message.error { color: #b91c1c; }
.numi-location .nl-message.ok { color: #0f7a5e; }

/* ------------------------------------------------------------------ confirmation */
.numi-location .nl-confirm { background: #fff; border: 1px solid var(--nl-line); border-radius: var(--nl-radius); padding: 30px; box-shadow: var(--nl-shadow); margin-top: 22px; text-align: center; }
.numi-location .nl-confirm-ico { font-size: 46px; }
.numi-location .nl-confirm h1 { margin: 8px 0; }
.numi-location .nl-confirm > p { color: var(--nl-muted); }
.numi-location .nl-confirm-num { background: #eef1ff; border-radius: 12px; padding: 14px; margin: 18px 0; }
.numi-location .nl-confirm-num span { display: block; font-size: 12px; color: var(--nl-muted); }
.numi-location .nl-confirm-num b { font-size: 20px; letter-spacing: .02em; }
.numi-location .nl-confirm-actions { display: flex; gap: 12px; justify-content: center; margin-top: 18px; }
.numi-location .nl-recap-static { text-align: left; max-width: 460px; margin: 18px auto; }

/* ------------------------------------------------------------ mes réservations */
.numi-location .nl-resa-list { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
.numi-location .nl-resa-row { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--nl-line); border-radius: var(--nl-radius); padding: 14px; box-shadow: var(--nl-shadow); }
.numi-location .nl-resa-row:hover { border-color: var(--nl-accent); }
.numi-location .nl-resa-row-img { width: 96px; height: 66px; border-radius: 10px; overflow: hidden; background: #eef1ff; display: flex; align-items: center; justify-content: center; font-size: 26px; }
.numi-location .nl-resa-row-img img { width: 100%; height: 100%; object-fit: cover; }
.numi-location .nl-resa-row-body { display: flex; flex-direction: column; gap: 2px; }
.numi-location .nl-resa-row-body b { font-size: 16px; }
.numi-location .nl-resa-row-side { text-align: right; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.numi-location .nl-status { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #eef1ff; color: var(--nl-accent-700); }
.numi-location .nl-status-reservee { background: #e5e9ff; color: #4356C9; }
.numi-location .nl-status-acceptee { background: #e0f2fe; color: #0369a1; }
.numi-location .nl-status-encours { background: #fef3e2; color: #b45309; }
.numi-location .nl-status-terminee { background: #e6f7f1; color: #0f7a5e; }
.numi-location .nl-status-annulee, .numi-location .nl-status-refusee { background: #fde0e0; color: #b91c1c; }
.numi-location .nl-resa-detail { margin-top: 16px; }
.numi-location .nl-resa-detail-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 16px; }
.numi-location .nl-resa-detail-head h1 { margin: 0; }
.numi-location .nl-resa-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* -------------------------------------------------------------------- responsive */
@media (max-width: 980px) {
    .numi-location .nl-hero { grid-template-columns: 1fr; padding: 24px; }
    .numi-location .nl-avantages { grid-template-columns: 1fr 1fr; }
    .numi-location .nl-grid { grid-template-columns: repeat(2, 1fr); }
    .numi-location .nl-layout { grid-template-columns: 1fr; }
    .numi-location .nl-filters { position: static; }
    .numi-location .nl-fiche { grid-template-columns: 1fr; }
    .numi-location .nl-resa { grid-template-columns: 1fr; }
    .numi-location .nl-cal { grid-template-columns: repeat(4, 1fr); }
    .numi-location .nl-2cols, .numi-location .nl-resa-detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
    .numi-location .nl-hero h1 { font-size: 26px; }
    .numi-location .nl-avantages, .numi-location .nl-grid, .numi-location .nl-steps { grid-template-columns: 1fr; }
    .numi-location .nl-field-row, .numi-location .nl-forfaits { grid-template-columns: 1fr; }
    .numi-location .nl-resa-row { grid-template-columns: 72px 1fr; }
    .numi-location .nl-resa-row-side { grid-column: 1 / -1; align-items: flex-start; flex-direction: row; justify-content: space-between; }
    .numi-location .nl-cal { grid-template-columns: repeat(2, 1fr); }
}
