/* ==========================================================================
   Autoloc — feuille de style du site public (refonte 2026)
   Pas de dépendance à Tailwind ni à un build : fichier servi tel quel.
   ========================================================================== */

:root {
    --al-navy: #0F1B2D;
    --al-navy-2: #1B2A41;
    --al-navy-line: #2C3D57;
    --al-accent: #C2500F;
    --al-accent-hover: #A54309;
    --al-accent-soft: #FDEEE4;
    --al-accent-on-dark: #F59A5B;
    --al-ground: #F7F4EF;
    --al-surface: #FFFFFF;
    --al-sand: #EDE6DA;
    --al-chip: #F3EFE8;
    --al-line: #E4DED4;
    --al-line-soft: #EEE9E1;
    --al-text: #0F1B2D;
    --al-text-2: #3B4556;
    --al-muted: #5B6474;
    --al-on-dark: #C3CBD8;
    --al-success: #13795B;
    --al-danger: #B42318;
    --al-display: 'Bricolage Grotesque', 'Manrope', system-ui, sans-serif;
    --al-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --al-radius: 20px;
    --al-shadow: 0 20px 50px rgba(15, 27, 45, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { margin: 0; background: var(--al-ground); color: var(--al-text); font-family: var(--al-body); font-size: 16px; line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--al-accent); }
:focus-visible { outline: 3px solid var(--al-accent-on-dark); outline-offset: 2px; border-radius: 6px; }
[x-cloak] { display: none !important; }
section[id] { scroll-margin-top: 96px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.al-wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 760px) { .al-wrap { padding: 0 20px; } }

/* ---------- Typographie ---------- */
.al-display { font-family: var(--al-display); font-weight: 800; letter-spacing: -.03em; line-height: 1.04; margin: 0; }
.al-h1 { font-size: clamp(42px, 6vw, 76px); }
.al-h2 { font-size: clamp(32px, 4vw, 44px); }
.al-h3 { font-family: var(--al-display); font-weight: 700; font-size: 22px; margin: 0; }
.al-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--al-accent); }
.al-on-dark .al-eyebrow { color: var(--al-accent-on-dark); }
.al-lead { font-size: 19px; line-height: 1.6; color: var(--al-muted); margin: 0; }
.al-muted { color: var(--al-muted); }

/* ---------- Boutons ---------- */
.al-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent; font: 700 15px/1 var(--al-body); cursor: pointer; transition: background .15s, color .15s, border-color .15s; white-space: nowrap; }
.al-btn-primary { background: var(--al-accent); color: #fff; }
.al-btn-primary:hover { background: var(--al-accent-hover); color: #fff; }
.al-btn-dark { background: var(--al-navy); color: #fff; }
.al-btn-dark:hover { background: var(--al-navy-2); color: #fff; }
.al-btn-ghost { background: transparent; color: var(--al-text); border-color: var(--al-line); }
.al-btn-ghost:hover { border-color: var(--al-text); color: var(--al-text); }
.al-btn-lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.al-btn-block { width: 100%; }
.al-btn[disabled], .al-btn.is-disabled { opacity: .5; cursor: not-allowed; }
.al-link { font-weight: 700; color: var(--al-accent); }

/* ---------- Header ---------- */
.al-header { background: var(--al-navy); position: sticky; top: 0; z-index: 50; }
.al-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.al-logo { display: flex; align-items: center; gap: 10px; color: #fff; }
.al-logo:hover { color: #fff; }
.al-logo-mark { width: 34px; height: 34px; border-radius: 9px; background: var(--al-accent); display: flex; align-items: center; justify-content: center; }
.al-logo-word { font-family: var(--al-display); font-weight: 800; font-size: 24px; letter-spacing: -.02em; }
.al-nav { display: flex; gap: 32px; font-size: 15px; font-weight: 600; }
.al-nav a { color: #D6DCE6; padding: 6px 0; border-bottom: 2px solid transparent; }
.al-nav a:hover { color: #fff; }
.al-nav a.is-active { color: #fff; border-bottom-color: var(--al-accent-on-dark); }
.al-header-actions { display: flex; align-items: center; gap: 12px; }
.al-header-actions .al-text-link { color: #fff; font-weight: 600; font-size: 15px; padding: 12px 8px; background: none; border: 0; cursor: pointer; font-family: inherit; }
.al-burger { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--al-navy-line); background: transparent; color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.al-mobile-menu { border-top: 1px solid var(--al-navy-line); padding: 12px 0 20px; display: flex; flex-direction: column; }
.al-mobile-menu a, .al-mobile-menu button { color: #E3E8EF; font-weight: 600; padding: 14px 0; border-bottom: 1px solid var(--al-navy-2); background: none; border-left: 0; border-right: 0; border-top: 0; text-align: left; font: 600 16px var(--al-body); cursor: pointer; }
@media (max-width: 900px) {
    .al-nav, .al-hide-md { display: none !important; }
    .al-burger { display: inline-flex; }
}

/* ---------- Footer ---------- */
.al-footer { background: var(--al-navy); color: var(--al-on-dark); margin-top: 0; }
.al-footer a { color: var(--al-on-dark); }
.al-footer a:hover { color: #fff; }
.al-footer-top { padding: 64px 0 40px; display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; }
.al-footer-col { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.al-footer-col strong { color: #fff; }
.al-footer-bottom { border-top: 1px solid var(--al-navy-line); padding: 24px 0 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 13px; }

/* ---------- Flash ---------- */
.al-flash { margin: 20px auto 0; padding: 14px 18px; border-radius: 12px; font-weight: 600; display: flex; gap: 10px; align-items: center; }
.al-flash-success { background: #E7F5EF; color: var(--al-success); border: 1px solid #B8E2D1; }
.al-flash-error { background: #FDECEA; color: var(--al-danger); border: 1px solid #F5C2BC; }

/* ---------- Hero ---------- */
.al-hero { background: var(--al-navy); color: #fff; }
.al-hero-inner { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding: 72px 0 128px; }
.al-hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.al-hero-copy .al-lead { color: var(--al-on-dark); max-width: 540px; }
.al-hero-media { flex: 1 1 440px; min-width: 0; height: 420px; border-radius: 24px; overflow: hidden; background: var(--al-navy-2); border: 1px solid var(--al-navy-line); }
.al-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.al-checks { display: flex; flex-wrap: wrap; gap: 14px 28px; font-size: 14px; font-weight: 600; color: #E3E8EF; padding-top: 4px; }
.al-checks span { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 760px) { .al-hero-inner { padding: 48px 0 112px; } .al-hero-media { height: 260px; } }

/* ---------- Formulaires ---------- */
.al-field { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--al-muted); min-width: 0; }
.al-input, .al-select { height: 52px; width: 100%; border: 1px solid var(--al-line); border-radius: 12px; padding: 0 14px; font: 600 16px var(--al-body); color: var(--al-text); background: #FBFAF7; text-transform: none; letter-spacing: 0; }
.al-input:focus, .al-select:focus { outline: none; border-color: var(--al-accent); box-shadow: 0 0 0 3px rgba(194, 80, 15, .18); }
.al-error { color: var(--al-danger); font-size: 13px; font-weight: 600; text-transform: none; letter-spacing: 0; }

.al-searchbar { background: var(--al-surface); border-radius: var(--al-radius); box-shadow: var(--al-shadow); padding: 20px; display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-top: -64px; position: relative; }
.al-searchbar .al-field { flex: 1 1 180px; }
.al-searchbar .al-btn { height: 52px; flex: 0 1 auto; }
@media (max-width: 760px) { .al-searchbar .al-btn { width: 100%; } }

/* ---------- Sections ---------- */
.al-section { padding-top: 96px; }
.al-section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 32px; }
.al-section-head > div { display: flex; flex-direction: column; gap: 8px; }
.al-band { margin-top: 112px; background: var(--al-surface); border-top: 1px solid var(--al-line); border-bottom: 1px solid var(--al-line); padding: 88px 0; }

/* ---------- Cartes ---------- */
.al-card { background: var(--al-surface); border: 1px solid var(--al-line); border-radius: var(--al-radius); }
.al-grid { display: grid; gap: 24px; }
.al-grid-cats { grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 16px; }
.al-grid-cars { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.al-grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; }
@media (max-width: 400px) { .al-grid-cars { grid-template-columns: 1fr; } }

.al-cat { padding: 20px; display: flex; flex-direction: column; gap: 12px; min-height: 160px; transition: border-color .15s, transform .15s; }
.al-cat:hover { border-color: var(--al-accent); color: var(--al-text); transform: translateY(-2px); }
.al-cat-name { font-family: var(--al-display); font-weight: 700; font-size: 21px; }
.al-cat-desc { font-size: 13px; line-height: 1.5; color: var(--al-muted); flex-grow: 1; }
.al-cat-price { font-size: 13px; color: var(--al-muted); }
.al-cat-price strong { color: var(--al-text); font-size: 16px; }

.al-car { overflow: hidden; display: flex; flex-direction: column; }
.al-car-media { position: relative; height: 210px; background: var(--al-sand); }
.al-car-media img { width: 100%; height: 100%; object-fit: cover; }
.al-badge { position: absolute; top: 14px; left: 14px; background: #fff; color: var(--al-text); font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 999px; }
.al-car-body { padding: 22px; display: flex; flex-direction: column; gap: 16px; flex-grow: 1; }
.al-car-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.al-pills { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; font-weight: 600; color: var(--al-text-2); }
.al-pills span { background: var(--al-chip); padding: 6px 10px; border-radius: 8px; }
.al-car-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--al-line-soft); padding-top: 16px; margin-top: auto; }
.al-price { font-size: 14px; color: var(--al-muted); }
.al-price strong { font-family: var(--al-display); font-size: 24px; color: var(--al-text); }

.al-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #7A715F; font-size: 12px; font-weight: 600; background: var(--al-sand); }
.al-on-dark .al-placeholder, .al-hero-media .al-placeholder { background: var(--al-navy-2); color: #8E9BB0; }

/* ---------- Étapes ---------- */
.al-step { display: flex; flex-direction: column; gap: 14px; }
.al-step-num { font-family: var(--al-display); font-weight: 800; font-size: 56px; color: var(--al-accent); line-height: 1; }
.al-step h3 { margin: 0; font-size: 21px; }
.al-step p { margin: 0; color: var(--al-muted); line-height: 1.6; }

/* ---------- Villes / documents ---------- */
.al-split { display: flex; flex-wrap: wrap; gap: 24px; }
.al-panel { flex: 1 1 380px; min-width: 0; border-radius: 24px; padding: 40px; display: flex; flex-direction: column; gap: 20px; }
.al-panel-dark { background: var(--al-navy); color: #fff; flex-basis: 520px; }
.al-panel-dark p { color: var(--al-on-dark); margin: 0; line-height: 1.6; }
.al-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.al-chips span { border: 1px solid #3A4C68; border-radius: 999px; padding: 9px 16px; font-size: 14px; font-weight: 600; color: #E3E8EF; }
.al-dash-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; line-height: 1.5; }
.al-dash-list li { display: flex; gap: 12px; }
.al-dash-list li::before { content: '—'; color: var(--al-accent); font-weight: 800; }

/* ---------- Avis ---------- */
.al-review { margin: 0; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.al-review blockquote { margin: 0; font-size: 17px; line-height: 1.6; flex-grow: 1; }
.al-review figcaption { font-size: 14px; color: var(--al-muted); }
.al-stars { display: flex; gap: 3px; color: var(--al-accent); }

/* ---------- FAQ ---------- */
.al-faq { display: flex; flex-wrap: wrap; gap: 48px; }
.al-faq-intro { flex: 1 1 320px; display: flex; flex-direction: column; gap: 16px; }
.al-faq-list { flex: 2 1 560px; min-width: 0; }
.al-faq-item { border-bottom: 1px solid var(--al-line); }
.al-faq-q { all: unset; box-sizing: border-box; width: 100%; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; font-size: 18px; font-weight: 700; }
.al-faq-q:focus-visible { outline: 3px solid var(--al-accent); }
.al-faq-q span:last-child { color: var(--al-accent); font-size: 24px; line-height: 1; }
.al-faq-a { margin: 0 0 22px; color: var(--al-muted); line-height: 1.6; }

/* ---------- CTA ---------- */
.al-cta { background: var(--al-accent); color: #fff; border-radius: 28px; padding: 56px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; }
.al-cta p { margin: 0; color: #FFF1E8; font-size: 17px; line-height: 1.6; }
@media (max-width: 760px) { .al-cta { padding: 36px 24px; } }

/* ---------- Liste des véhicules ---------- */
.al-pagehead { background: var(--al-navy); color: #fff; padding: 40px 0; }
.al-pagehead-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-top: 24px; }
.al-pagehead .al-field { color: #8E9BB0; flex: 1 1 180px; }
.al-pagehead .al-input { background: var(--al-navy-2); border-color: var(--al-navy-line); color: #fff; color-scheme: dark; }
.al-layout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; padding-top: 40px; padding-bottom: 96px; }
.al-filters { flex: 1 1 260px; max-width: 300px; padding: 24px; display: flex; flex-direction: column; gap: 28px; }
@media (max-width: 900px) { .al-filters { max-width: none; } }
.al-filters fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.al-filters legend { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--al-muted); padding: 0; margin-bottom: 10px; }
.al-filter-opt { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--al-line-soft); background: #fff; color: var(--al-text); font: 600 15px var(--al-body); cursor: pointer; text-align: left; }
.al-filter-opt:hover { border-color: var(--al-line); background: #FBFAF7; }
.al-filter-opt.is-on { background: var(--al-accent-soft); border-color: #F2C3A3; color: #9A3A08; font-weight: 700; }
.al-filter-opt small { color: var(--al-muted); font-weight: 500; font-size: 14px; }
.al-seg { display: flex; gap: 8px; }
.al-seg button { flex: 1; min-height: 44px; border: 1px solid var(--al-line); border-radius: 10px; background: #fff; font: 700 14px var(--al-body); color: var(--al-text); cursor: pointer; }
.al-seg button.is-on { background: var(--al-navy); border-color: var(--al-navy); color: #fff; }
.al-results { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.al-results-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.al-results-bar .al-select { height: 44px; width: auto; background: #fff; }
.al-row { display: flex; flex-wrap: wrap; overflow: hidden; }
.al-row-media { flex: 1 1 260px; min-height: 200px; background: var(--al-sand); }
.al-row-media img { width: 100%; height: 100%; object-fit: cover; }
.al-row-body { flex: 2 1 340px; padding: 24px; display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; }
.al-row-info { flex: 1 1 240px; display: flex; flex-direction: column; gap: 10px; }
.al-row-info p { margin: 0; color: var(--al-muted); font-size: 15px; line-height: 1.5; }
.al-row-price { flex: 0 0 auto; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; gap: 16px; text-align: right; }
.al-row-price .al-big { font-family: var(--al-display); font-weight: 800; font-size: 28px; }
@media (max-width: 600px) { .al-row-price { align-items: stretch; text-align: left; width: 100%; } }
.al-empty { padding: 48px; text-align: center; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.al-loading { opacity: .5; transition: opacity .15s; }
.al-pagination nav { display: flex; justify-content: center; }

/* ---------- Fiche véhicule ---------- */
.al-breadcrumb { font-size: 14px; color: var(--al-muted); display: flex; flex-wrap: wrap; gap: 8px; padding: 28px 0; }
.al-breadcrumb a { color: var(--al-muted); }
.al-detail { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding-bottom: 96px; }
.al-detail-main { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.al-gallery-main { height: 460px; border-radius: 24px; overflow: hidden; background: var(--al-sand); }
.al-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.al-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 12px; margin-top: 12px; }
.al-thumbs button { padding: 0; height: 90px; border-radius: 14px; overflow: hidden; border: 2px solid transparent; cursor: pointer; background: var(--al-sand); }
.al-thumbs button.is-on { border-color: var(--al-navy); }
.al-thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .al-gallery-main { height: 260px; } }
.al-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.al-spec { padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.al-spec span { font-size: 13px; color: var(--al-muted); }
.al-spec strong { font-size: 19px; }
.al-dl { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 16px; font-size: 15px; }
.al-dl dt { color: var(--al-muted); }
.al-dl dd { margin: 0; font-weight: 700; }
.al-book { flex: 1 1 360px; max-width: 420px; padding: 28px; display: flex; flex-direction: column; gap: 20px; box-shadow: var(--al-shadow); position: sticky; top: 96px; }
@media (max-width: 1100px) { .al-book { position: static; max-width: none; } }
.al-book .al-input { height: 48px; color-scheme: light; }
.al-quick { display: flex; gap: 8px; flex-wrap: wrap; }
.al-quick button { flex: 1; min-height: 40px; border-radius: 999px; border: 1px solid var(--al-line); background: #fff; font: 700 13px var(--al-body); cursor: pointer; color: var(--al-text); }
.al-quick button:hover { border-color: var(--al-text); }
.al-summary { border-top: 1px solid var(--al-line-soft); padding-top: 18px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.al-summary div { display: flex; justify-content: space-between; gap: 12px; }
.al-summary .al-discount { color: var(--al-success); font-weight: 600; }
.al-summary .al-total { padding-top: 10px; border-top: 1px dashed var(--al-line); align-items: baseline; }
.al-summary .al-total strong:last-child { font-family: var(--al-display); font-size: 28px; }
.al-status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.al-status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.al-status-ok { color: var(--al-success); }
.al-status-ko { color: var(--al-danger); }

/* ---------- Checkout & espace client ---------- */
.al-progress { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 14px; font-weight: 700; color: var(--al-muted); counter-reset: st; }
.al-progress li { display: flex; align-items: center; gap: 10px; counter-increment: st; }
.al-progress li::before { content: counter(st); width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--al-line); display: flex; align-items: center; justify-content: center; font-size: 13px; background: #fff; }
.al-progress li.is-done { color: var(--al-text); }
.al-progress li.is-done::before { content: '✓'; background: var(--al-navy); border-color: var(--al-navy); color: #fff; }
.al-progress li.is-current { color: var(--al-accent); }
.al-progress li.is-current::before { border-color: var(--al-accent); color: var(--al-accent); }
.al-form-card { padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.al-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 640px) { .al-form-grid { grid-template-columns: minmax(0, 1fr); } .al-form-grid > * { grid-column: auto !important; } }
.al-check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; cursor: pointer; }
.al-check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--al-accent); flex: 0 0 20px; }
.al-thumb-sm { width: 76px; height: 56px; flex: 0 0 76px; border-radius: 10px; overflow: hidden; background: var(--al-sand); }
.al-thumb-sm img, .al-thumb-sm .al-placeholder { width: 100%; height: 100%; object-fit: cover; }
.al-thumb-sm .al-placeholder svg { width: 48px; height: auto; } .al-thumb-sm .al-placeholder span { display: none; }
.al-reassure { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--al-muted); }
.al-reassure li { display: flex; gap: 8px; }
.al-reassure li::before { content: '✓'; color: var(--al-success); font-weight: 800; }

.al-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.al-tabs button { min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--al-line); background: #fff; font: 700 14px var(--al-body); color: var(--al-text); cursor: pointer; }
.al-tabs button.is-on { background: var(--al-navy); border-color: var(--al-navy); color: #fff; }
.al-booking { display: flex; flex-wrap: wrap; overflow: hidden; }
.al-booking-media { flex: 0 0 220px; min-height: 160px; background: var(--al-sand); }
.al-booking-media img, .al-booking-media .al-placeholder { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .al-booking-media { flex-basis: 100%; height: 160px; } }
.al-booking-body { flex: 1 1 320px; padding: 22px 24px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.al-booking-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; align-items: flex-start; }
.al-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.al-badge-s { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.al-badge-s.is-pending { background: #FEF3E2; color: #92510A; }
.al-badge-s.is-confirmed { background: #E6EEFB; color: #1E4FA3; }
.al-badge-s.is-completed { background: #E7F5EF; color: #13795B; }
.al-badge-s.is-cancelled { background: #FDECEA; color: #B42318; }
.al-badge-s.is-pay { background: var(--al-chip); color: var(--al-text-2); }
.al-booking-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px 20px; font-size: 14px; }
.al-booking-meta span { display: block; color: var(--al-muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.al-booking-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 4px; }
.al-btn-sm { min-height: 40px; padding: 0 14px; font-size: 14px; }
.al-btn-danger-ghost { background: #fff; color: var(--al-danger); border-color: #F5C2BC; }
.al-btn-danger-ghost:hover { background: var(--al-danger); color: #fff; border-color: var(--al-danger); }
.al-hint { font-size: 13px; color: var(--al-muted); }
.al-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.al-stat { padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.al-stat span { font-size: 13px; font-weight: 700; color: var(--al-muted); }
.al-stat strong { font-family: var(--al-display); font-size: 28px; }

/* ---------- Avis ---------- */
.al-review-form { border-top: 1px solid var(--al-line-soft); padding-top: 14px; display: flex; flex-direction: column; gap: 12px; }
.al-stars-input { border: 0; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.al-stars-input legend { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--al-muted); margin-bottom: 6px; padding: 0; }
.al-stars-input label { font-size: 30px; line-height: 1; color: #D9D3C7; cursor: pointer; padding: 2px; }
.al-stars-input label.is-on { color: var(--al-accent); }
.al-stars-input label:focus-within { outline: 3px solid var(--al-accent-on-dark); border-radius: 6px; }

/* ---------- Pages légales ---------- */
.al-legal-layout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; padding-top: 40px; padding-bottom: 96px; }
.al-legal-nav { flex: 1 1 240px; max-width: 280px; padding: 12px; display: flex; flex-direction: column; gap: 4px; position: sticky; top: 96px; }
@media (max-width: 900px) { .al-legal-nav { position: static; max-width: none; } }
.al-legal-nav a { padding: 12px 14px; border-radius: 10px; font-weight: 600; }
.al-legal-nav a.is-on { background: var(--al-accent-soft); color: #9A3A08; }
.al-legal { flex: 999 1 560px; min-width: 0; padding: 40px; line-height: 1.7; }
@media (max-width: 640px) { .al-legal { padding: 24px; } }
.al-legal h2 { font-size: 20px; margin: 32px 0 8px; }
.al-legal p, .al-legal ul { margin: 0 0 12px; color: var(--al-text-2); }
.al-legal ul { padding-left: 20px; }
.al-legal li { margin-bottom: 6px; }
.al-legal .al-dl { margin-top: 8px; }

/* ---------- Pages de compte : connexion, inscription, mot de passe ---------- */
.al-auth { min-height: 100vh; display: flex; }
.al-auth-main { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; padding: 28px 48px; }
.al-auth-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.al-auth-top .al-logo { color: var(--al-text); }
.al-auth-top .al-logo:hover { color: var(--al-text); }
.al-auth-back { font-size: 14px; font-weight: 700; color: var(--al-muted); }
.al-auth-center { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px 0; }
.al-auth-card { width: 100%; max-width: 440px; display: flex; flex-direction: column; gap: 22px; }
.al-auth-card.is-wide { max-width: 560px; }
.al-auth-head { display: flex; flex-direction: column; gap: 10px; }
.al-auth-head .al-display { font-size: clamp(32px, 4vw, 42px); }
.al-auth-head p { margin: 0; color: var(--al-muted); line-height: 1.6; }
.al-auth-form { display: flex; flex-direction: column; gap: 18px; }
.al-auth-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.al-auth-row .al-check { font-size: 14px; }
.al-auth-switch { text-align: center; font-size: 15px; color: var(--al-muted); margin: 0; }
.al-auth-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--al-muted); }
.al-auth-legal a:hover { color: var(--al-accent); }
.al-pass { position: relative; }
.al-pass .al-input { padding-right: 96px; }
.al-pass-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); height: 36px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent; color: var(--al-accent); font: 700 13px var(--al-body); cursor: pointer; text-transform: none; letter-spacing: 0; }
.al-pass-toggle:hover { background: var(--al-accent-soft); }
.al-input.is-invalid { border-color: var(--al-danger); }
.al-auth-aside { flex: 0 1 520px; background: var(--al-navy); color: #fff; padding: 56px 52px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; position: relative; overflow: hidden; }
.al-auth-aside::after { content: ''; position: absolute; right: -140px; bottom: -140px; width: 380px; height: 380px; border-radius: 50%; border: 56px solid var(--al-navy-2); pointer-events: none; }
.al-auth-aside > * { position: relative; z-index: 1; }
.al-auth-aside .al-display { font-size: clamp(34px, 3.4vw, 48px); }
.al-auth-aside p { color: var(--al-on-dark); margin: 0; line-height: 1.6; }
.al-auth-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.al-auth-points li { display: flex; gap: 12px; align-items: flex-start; color: #E3E8EF; font-weight: 600; line-height: 1.5; }
.al-auth-points svg { color: var(--al-accent-on-dark); flex: 0 0 18px; margin-top: 3px; }
.al-auth-help { border-top: 1px solid var(--al-navy-line); padding-top: 24px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--al-on-dark); }
.al-auth-help a { color: #fff; font-weight: 700; font-size: 18px; }
.al-auth-help a:hover { color: var(--al-accent-on-dark); }
@media (max-width: 980px) { .al-auth-aside { display: none; } }
@media (max-width: 640px) { .al-auth-main { padding: 20px; } .al-auth-center { padding: 28px 0; align-items: flex-start; } }

/* ---------- Profil ---------- */
.al-profile { display: flex; flex-direction: column; gap: 20px; max-width: 760px; }
.al-profile .al-card { padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.al-profile .al-card header { display: flex; flex-direction: column; gap: 6px; }
.al-profile .al-card header p { margin: 0; color: var(--al-muted); }
.al-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.al-saved { color: var(--al-success); font-weight: 700; font-size: 14px; }
.al-danger-zone { border-color: #F5C2BC !important; }

/* ---------- Pièces justificatives (espace client, réservation, fiche client) ---------- */
.cl-docs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.cl-doc { border: 1px solid rgba(128,128,128,.28); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.cl-doc-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.cl-doc-file { display: flex; align-items: center; gap: 10px; font-size: 14px; flex-wrap: wrap; }
.cl-doc-file a { font-weight: 600; }
.cl-doc-remove, .cl-doc-verify { margin-left: auto; background: none; border: 0; color: #B42318; font-size: 13px; font-weight: 600; cursor: pointer; padding: 0; }
.cl-doc-verify { color: #13795B; }
.cl-doc-drop { display: block; border: 1.5px dashed rgba(128,128,128,.45); border-radius: 10px; padding: 12px; text-align: center; font-size: 14px; font-weight: 600; cursor: pointer; }
.cl-doc-drop:hover { border-color: var(--al-accent, #F26B1D); }
.cl-doc-drop .sr-only, .cl-docs .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cl-doc .ad-pay { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 6px; }
.cl-doc .is-pay-paid { background: #E7F5EF; color: #13795B; }
.cl-doc .is-pay-partial { background: #FFF4E5; color: #7A4A00; }
.cl-doc .is-pay-unpaid { background: #FDECEC; color: #B42318; }
.cl-doc .al-muted { font-size: 13px; }
