/* =====================================================================
   YALICAR — site public (v2)
   Mise en page « mosaïque » (cartes blanches très arrondies, accent bleu) + sections d'un grand site
   de vente : recherche, onglets, marques / types / prix, étapes, FAQ, recherches populaires, grand bas de page.
   ===================================================================== */
:root {
  --b: #e63946; --b-dark: #c92a37; --b-soft: #fdeceb; --ink: #2b2421; --muted: #7d726b; --line: #efe5da;
  --bg: #faf6f1; --card: #fff; --r: 24px; --r-sm: 16px; --shadow: 0 12px 32px rgba(120, 80, 40, .08);
  --green: #2bb673; --navy: #2b2421; --orange: #f4a261; --peach: #fde8dc; --sand: #f5ede3;
}
body.site { background: var(--bg); color: var(--ink); font-family: "Segoe UI", Tahoma, system-ui, -apple-system, Arial, sans-serif; }
.site a { text-decoration: none; }
.w { max-width: 1360px; margin: 0 auto; padding: 0 18px; }
.card-x { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.muted { color: var(--muted); }
.link { color: var(--b); font-weight: 600; }
.link:hover { color: var(--b-dark); }
.kick { text-transform: uppercase; letter-spacing: .05em; font-size: .82rem; font-weight: 700; color: #5b6576; }
.price { color: var(--ink); font-weight: 800; white-space: nowrap; }
.price small { font-size: .62em; color: var(--green); font-weight: 800; margin-inline-start: 4px; letter-spacing: .02em; }
.pill { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 11px 22px; font-weight: 700; background: var(--b); color: #fff; }
.pill:hover { background: var(--b-dark); color: #fff; }
.pill.white { background: #fff; color: var(--ink); }
.pill.white:hover { background: #f5ede3; color: var(--ink); }
.pill.green { background: var(--green); }
.pill.green:hover { background: #18a24c; }
.pill.ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.pill.lg { padding: 15px 28px; font-size: 1.06rem; }
.pill.block { width: 100%; justify-content: center; }
.rnd { width: 42px; height: 42px; border-radius: 50%; border: 0; display: inline-grid; place-items: center; background: rgba(255,255,255,.25); color: #fff; backdrop-filter: blur(6px); }
.rnd:hover { background: rgba(255,255,255,.4); }
.chip { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 6px 14px; font-size: .85rem; font-weight: 700; background: rgba(255,255,255,.22); color: #fff; backdrop-filter: blur(8px); }
.chip.blue { background: var(--b); }
.chip.green { background: var(--green); }
.chip.white { background: rgba(255,255,255,.92); color: var(--ink); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: #2bd96b; }
.tag { display: inline-block; border-radius: 6px; padding: 2px 8px; font-size: .74rem; font-weight: 600; background: #f5ede3; color: #5f544d; }
.tag.g { background: #e8f8ee; color: #16803c; }
.tag.b { background: var(--b-soft); color: var(--b); }

/* ---------------------------------------------------------------- en-tête */
.hd { position: sticky; top: 12px; z-index: 1020; margin: 12px auto 22px; }
.hd-in { display: flex; align-items: center; gap: 18px; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 26px; box-shadow: var(--shadow); }
.logo { display: flex; align-items: center; gap: 14px; color: var(--ink); }
.logo svg { width: 128px; height: 44px; flex: none; }
.logo b { display: block; font-size: 1.45rem; font-weight: 800; line-height: 1.1; letter-spacing: -.01em; }
.logo small { color: var(--muted); font-size: 1.02rem; }
.hd-search { flex: 1; max-width: 520px; margin-inline-start: auto; display: flex; align-items: center; background: #f7f1ea; border: 1px solid var(--line); border-radius: 999px; padding: 4px 4px 4px 18px; }
[dir=rtl] .hd-search { padding: 4px 18px 4px 4px; }
.hd-search input { flex: 1; border: 0; background: transparent; outline: 0; padding: 8px 6px; min-width: 0; }
.hd-search button { border: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--b); color: #fff; }
.hd-lang { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font-weight: 700; color: var(--ink); }
.hd-burger { border: 0; background: transparent; font-size: 1.9rem; color: var(--ink); line-height: 1; padding: 4px 6px; }
@media (max-width: 1199px) { .hd-search { display: none; } .hd-burger { margin-inline-start: auto; } }
@media (max-width: 767px) { .hd-in { padding: 10px 14px; } .logo svg { width: 92px; height: 32px; } .logo b { font-size: 1.1rem; } .logo small { font-size: .78rem; } .hd-client { display: none; } }

/* ---------------------------------------------------------------- menu */
.mn { position: fixed; inset: 0; z-index: 1060; display: none; }
.mn.open { display: block; }
.mn-bg { position: absolute; inset: 0; background: rgba(15,27,45,.35); backdrop-filter: blur(2px); }
.mn-p { position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: min(640px, 100vw); background: #fff; display: flex; flex-direction: column; box-shadow: -20px 0 50px rgba(0,0,0,.15); }
.mn-top { display: flex; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.mn-top .logo svg { width: 110px; height: 38px; }
.mn-top .logo b { font-size: 1.2rem; }
.mn-x { margin-inline-start: auto; border: 0; background: transparent; font-size: 1.6rem; color: #5f544d; }
.mn-l { flex: 1; overflow-y: auto; padding: 14px 0; }
.mn-l a { display: flex; align-items: center; gap: 16px; padding: 15px 26px; color: #1d2939; font-size: 1.08rem; border-inline-start: 3px solid transparent; }
.mn-l a i { font-size: 1.3rem; color: #7d726b; width: 24px; text-align: center; }
.mn-l a:hover, .mn-l a.on { background: var(--b-soft); color: var(--b); border-inline-start-color: var(--b); }
.mn-l a.on i, .mn-l a:hover i { color: var(--b); }
.mn-lang { padding: 18px 26px; border-top: 1px solid var(--line); }
.mn-lang button { width: 48px; height: 48px; border-radius: 50%; border: 2px solid transparent; background: #f7f1ea; font-weight: 800; margin-inline-end: 8px; color: var(--ink); }
.mn-lang button.on { border-color: var(--b); background: #fff; box-shadow: 0 0 0 3px var(--b-soft); }
.mn-f { display: flex; gap: 14px; padding: 18px 24px; border-top: 1px solid var(--line); }
.mn-f a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px; border-radius: 14px; font-weight: 700; font-size: 1.05rem; }
.mn-f a.o { border: 1px solid var(--line); color: var(--ink); }
.mn-f a.f { background: var(--b); color: #fff; }

/* ---------------------------------------------------------------- mosaïque d'accueil */
.bento { display: grid; gap: 22px; grid-template-columns: minmax(0, 1.95fr) minmax(0, 1fr) minmax(0, 1.07fr) minmax(0, 1fr); grid-template-areas: "hero col2 find news" "duo col2 side news"; }
.b-hero { grid-area: hero; } .b-col2 { grid-area: col2; } .b-find { grid-area: find; } .b-news { grid-area: news; } .b-duo { grid-area: duo; } .b-side { grid-area: side; }
@media (max-width: 1199px) { .bento { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "hero hero" "col2 find" "col2 side" "duo duo" "news news"; } }
@media (max-width: 767px) { .bento { grid-template-columns: minmax(0, 1fr); grid-template-areas: "hero" "find" "col2" "side" "duo" "news"; gap: 16px; } }
.ph { position: relative; overflow: hidden; border-radius: var(--r); color: #fff; background: linear-gradient(135deg, #1c1c1e, #4a4a4e); isolation: isolate; }
.ph > .ph-img { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: -2; transition: transform .6s; }
.ph::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,16,30,.15) 10%, rgba(8,16,30,.72) 100%); }
.ph:hover > .ph-img { transform: scale(1.03); }
.hero { min-height: 430px; padding: 22px 24px; display: flex; flex-direction: column; }
.hero h1 { font-size: clamp(2rem, 3.3vw, 3.15rem); font-weight: 900; line-height: 1.1; margin: 22px 0 12px; letter-spacing: -.01em; }
.hero p { font-size: 1.15rem; opacity: .92; }
.tile { display: flex; flex-direction: column; padding: 22px; min-height: 280px; color: #fff; }
.tile:hover { color: #fff; }
.tile h3 { font-weight: 800; font-size: 1.55rem; margin: 0; }
.tile .price { color: #fff; font-size: 1.75rem; }
.tile .price small { color: #9ff0b8; }
.tile .cnt { background: rgba(255,255,255,.22); border-radius: 999px; padding: 4px 12px; font-weight: 700; font-size: .85rem; backdrop-filter: blur(6px); }
.find { padding: 18px; }
.find a.it { display: flex; align-items: center; gap: 14px; background: #f7f1ea; border-radius: 18px; padding: 16px; margin-bottom: 12px; color: var(--ink); }
.find a.it:hover { background: #fdeceb; }
.find a.it .ic { width: 44px; height: 44px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--b); font-size: 1.2rem; flex: none; box-shadow: 0 2px 8px rgba(23,105,255,.12); }
.find a.it b { display: block; font-size: 1.12rem; }
.find a.it b i { color: var(--b); font-size: .9rem; margin-inline-end: 6px; }
.find a.it small { color: var(--b); font-weight: 600; }
.icard { display: flex; align-items: center; gap: 16px; padding: 20px; color: var(--ink); }
.icard:hover { color: var(--ink); box-shadow: 0 14px 34px rgba(16,38,80,.1); }
.icard .ic { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; flex: none; background: #fdeceb; color: var(--b); }
.icard b { font-size: 1.15rem; }
.news-list { display: flex; flex-direction: column; gap: 18px; }
.mini { display: flex; gap: 10px; padding: 10px; color: var(--ink); }
.mini:hover { color: var(--ink); box-shadow: 0 14px 34px rgba(16,38,80,.1); }
.mini-img { position: relative; flex: 0 0 47%; border-radius: 16px; overflow: hidden; background: #f1e8de; min-height: 150px; }
.mini-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mini-img .chip { position: absolute; top: 8px; inset-inline-start: 8px; padding: 3px 10px; font-size: .74rem; }
.mini-t { flex: 1; min-width: 0; background: #f7f1ea; border-radius: 16px; padding: 12px; display: flex; flex-direction: column; }
.mini-t .br { font-weight: 800; font-size: 1.05rem; display: flex; align-items: center; gap: 6px; }
.mini-t .br img { width: 20px; height: 20px; object-fit: contain; }
.mini-t .md { color: #5f544d; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-t .price { font-size: 1.05rem; margin-top: 2px; }
.mini-t .meta { color: var(--muted); font-size: .8rem; border-top: 1px solid var(--line); margin-top: auto; padding-top: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.duo .ph { min-height: 180px; padding: 20px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; }
.duo h3 { font-weight: 800; font-size: 1.45rem; }
.duo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; }
.hcard { display: flex; align-items: center; gap: 14px; padding: 12px; color: var(--ink); }
.hcard:hover { color: var(--ink); }
.hcard .im { width: 150px; height: 84px; border-radius: 14px; background: #f1e8de center/cover; flex: none; }
.hcard b { font-size: 1.15rem; }
@media (max-width: 767px) { .duo, .duo-row { grid-template-columns: 1fr; } .hcard .im { width: 110px; } }

/* ---------------------------------------------------------------- sections */
.sec { margin-top: 56px; }
.sec-h { display: flex; align-items: end; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.sec-h h2 { margin: 0; font-weight: 900; font-size: clamp(1.45rem, 2.3vw, 2.05rem); letter-spacing: -.01em; }
.srch { padding: 24px; background: linear-gradient(135deg, #fdeceb, #faf5ef); border: 1px solid #f6d5cf; }
.srch .form-select, .srch .form-control { border-radius: 14px; padding: 12px 14px; border-color: #e9dccf; }
.cat { display: flex; flex-direction: column; padding: 20px; min-height: 140px; border-radius: 22px; color: #fff; position: relative; overflow: hidden; }
.cat:hover { color: #fff; transform: translateY(-2px); }
.cat b { font-size: 1.2rem; }
.cat .n { font-size: .95rem; opacity: .9; }
.cat i { position: absolute; bottom: -10px; inset-inline-end: 8px; font-size: 5rem; opacity: .25; }
.cat.c1 { background: linear-gradient(135deg, #ff9f1c, #ff7b00); } .cat.c2 { background: linear-gradient(135deg, #1fbf5b, #14964a); }
.cat.c3 { background: linear-gradient(135deg, #e63946, #a8232f); } .cat.c4 { background: linear-gradient(135deg, #2b3a55, #2b2421); }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tabs button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 18px; font-weight: 700; color: #4a3f39; }
.tabs button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.brandgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.brandgrid a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 10px; border-radius: 18px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 700; text-align: center; }
.brandgrid a:hover { border-color: var(--b); box-shadow: var(--shadow); color: var(--b); }
.brandgrid img { width: 48px; height: 48px; object-fit: contain; }
.brandgrid .ini { width: 48px; height: 48px; border-radius: 50%; background: var(--b-soft); color: var(--b); display: grid; place-items: center; font-weight: 900; font-size: 1.2rem; }
.brandgrid span { color: var(--muted); font-weight: 600; font-size: .82rem; }
.typegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.typegrid a { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 700; }
.typegrid a i { font-size: 1.6rem; color: var(--b); }
.typegrid a:hover { border-color: var(--b); color: var(--b); }
.step { padding: 22px; height: 100%; }
.step .n { width: 46px; height: 46px; border-radius: 14px; background: var(--b); color: #fff; display: grid; place-items: center; font-weight: 900; margin-bottom: 12px; }
.why { padding: 24px; height: 100%; }
.why .ic { width: 54px; height: 54px; border-radius: 16px; background: var(--b-soft); color: var(--b); display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 20px; margin-bottom: 10px; }
.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; gap: 12px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q { width: 28px; height: 28px; border-radius: 8px; background: var(--b); color: #fff; display: grid; place-items: center; font-size: .85rem; flex: none; }
.faq summary::after { content: "+"; margin-inline-start: auto; font-size: 1.4rem; color: var(--b); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 12px 0 0; color: #5f544d; }
.pop a { display: inline-block; margin: 0 8px 10px 0; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: #4a3f39; font-size: .92rem; }
.pop a:hover { border-color: var(--b); color: var(--b); }
.cta { background: linear-gradient(135deg, #1c1c1e, #e63946); color: #fff; padding: 40px; border-radius: var(--r); }

/* ---------------------------------------------------------------- carte voiture (grilles) */
.vc { display: flex; flex-direction: column; overflow: hidden; height: 100%; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.vc:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(16,38,80,.12); color: var(--ink); }
.vc-img { position: relative; aspect-ratio: 4 / 3; background: #f1e8de; display: grid; place-items: center; color: #b3a79d; font-size: 2.8rem; }
.vc-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vc-img .chip { position: absolute; top: 12px; inset-inline-start: 12px; padding: 4px 11px; font-size: .78rem; }
.vc-img .cnt { position: absolute; bottom: 10px; inset-inline-end: 10px; background: rgba(0,0,0,.55); color: #fff; border-radius: 999px; padding: 2px 10px; font-size: .78rem; }
.vc-b { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.vc-t { font-weight: 700; font-size: 1.02rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.vc-meta { color: var(--muted); font-size: .86rem; margin: 6px 0 8px; }
.vc-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
.vc-p { margin-top: auto; display: flex; align-items: end; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); padding-top: 10px; }
.vc-p .lbl { color: var(--muted); font-size: .76rem; }
.vc-p .price { font-size: 1.28rem; color: var(--b); }

/* ---------------------------------------------------------------- liste avec filtres */
.crumbs { color: var(--muted); font-size: 1.02rem; margin: 6px 0 18px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--b); }
.crumbs b { color: var(--ink); }
.crumbs i { font-size: .75rem; margin: 0 10px; }
.side { padding: 20px; position: sticky; top: 112px; }
.side h6 { font-weight: 800; margin: 18px 0 10px; }
.side h6:first-child { margin-top: 0; }
.side .bl { max-height: 260px; overflow-y: auto; }
.side .bl label { display: flex; align-items: center; gap: 8px; padding: 6px 4px; border-radius: 10px; cursor: pointer; }
.side .bl label:hover { background: #f7f1ea; }
.side .bl label span { margin-inline-start: auto; color: var(--muted); font-size: .85rem; }
.side .form-select, .side .form-control { border-radius: 12px; }
.chips-b { display: flex; flex-wrap: wrap; gap: 6px; }
.chips-b button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font-weight: 600; font-size: .88rem; color: #4a3f39; }
.chips-b button.on { background: var(--b); border-color: var(--b); color: #fff; }
.active-f button { border: 0; background: var(--b-soft); color: var(--b); border-radius: 999px; padding: 5px 12px; font-weight: 600; font-size: .85rem; margin: 0 6px 6px 0; }
@media (max-width: 991px) { .side { position: static; } }

/* ---------------------------------------------------------------- fiche voiture */
.gal { position: relative; border-radius: var(--r); overflow: hidden; background: #2b2421; aspect-ratio: 3 / 2; }
.gal img { width: 100%; height: 100%; object-fit: cover; }
.gal .chip { position: absolute; top: 18px; inset-inline-start: 18px; font-size: 1rem; padding: 8px 18px; color: #16a34a; }
.gal .cap { position: absolute; bottom: 16px; inset-inline-start: 20px; inset-inline-end: 20px; display: flex; justify-content: space-between; color: #fff; font-weight: 800; font-size: 1.1rem; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.gal .nv { position: absolute; top: 50%; transform: translateY(-50%); }
.gal .nv.p { inset-inline-start: 14px; } .gal .nv.n { inset-inline-end: 14px; }
.thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 12px; }
.thumbs button { border: 3px solid transparent; border-radius: 16px; overflow: hidden; padding: 0; aspect-ratio: 4 / 3; background: #f1e8de; }
.thumbs button.on { border-color: var(--b); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) { .thumbs { grid-template-columns: repeat(5, 1fr); gap: 6px; } }
.buy { padding: 26px; }
.buy h1 { font-size: 1.55rem; font-weight: 800; margin: 0; }
.buy .ver { color: #5f544d; font-size: 1.12rem; }
.buy .big { font-size: 2.3rem; font-weight: 900; color: var(--b); }
.buy .big small { font-size: .55em; font-weight: 600; }
.buy .ln { display: flex; align-items: center; gap: 8px; color: #4a3f39; margin: 6px 0; font-size: 1.05rem; }
.buy .ln i { color: var(--b); }
.verified { margin-inline-start: auto; width: 46px; height: 46px; border-radius: 50%; border: 3px double #16a34a; color: #16a34a; display: grid; place-items: center; font-size: 1.3rem; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); background: #f7f1ea; border-radius: 20px; padding: 16px 6px; text-align: center; }
.facts > div + div { border-inline-start: 1px solid var(--line); }
.facts small { display: block; text-transform: uppercase; font-size: .72rem; font-weight: 700; color: #a2968d; letter-spacing: .04em; margin-bottom: 4px; }
.facts b { color: var(--b); font-size: 1.05rem; }
.facts b.k { color: var(--ink); }
@media (max-width: 575px) { .facts { grid-template-columns: repeat(2, 1fr); row-gap: 14px; } .facts > div:nth-child(3) { border-inline-start: 0; } }
.grade { display: flex; align-items: center; gap: 14px; padding: 16px; }
.grade .g { width: 64px; height: 64px; border-radius: 18px; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 1.8rem; flex: none; }
.grade .g.b { background: var(--b-soft); color: var(--b); border-radius: 50%; font-size: 1.5rem; }
.ttabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ttabs button { border: 0; border-radius: 999px; padding: 14px; font-weight: 700; background: #fdeceb; color: #5f544d; font-size: 1.05rem; }
.ttabs button.on { background: var(--b); color: #fff; }
@media (max-width: 767px) { .ttabs { grid-template-columns: 1fr 1fr; } }
.kv-t { text-transform: uppercase; letter-spacing: .05em; color: #a2968d; font-weight: 700; border-inline-start: 4px solid var(--b); padding-inline-start: 10px; margin: 18px 0 12px; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 15px 22px; background: #faf5ef; border-radius: 12px; margin-bottom: 6px; font-size: 1.05rem; }
.kv span { color: #5f544d; }
.kv b { text-align: end; }

/* ---------------------------------------------------------------- bas de page et boutons flottants */
.ft { margin-top: 70px; background: #2b2421; color: #d8ccc1; padding: 52px 0 110px; }
.ft h6 { color: #fff; font-weight: 800; margin-bottom: 14px; }
.ft a { color: #d8ccc1; display: block; margin-bottom: 8px; }
.ft a:hover { color: #fff; }
.ft .logo { color: #fff; }
.ft .logo small { color: #b8aa9e; }
.ft .bot { border-top: 1px solid rgba(255,255,255,.1); margin-top: 34px; padding-top: 18px; font-size: .9rem; }
.fab { position: fixed; bottom: 26px; inset-inline-start: 26px; z-index: 1030; width: 62px; height: 62px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 1.8rem; box-shadow: 0 0 0 10px rgba(31,191,91,.15), 0 10px 25px rgba(31,191,91,.4); }
.fab:hover { color: #fff; }
.totop { position: fixed; bottom: 26px; inset-inline-end: 26px; z-index: 1030; width: 60px; height: 60px; border-radius: 50%; border: 0; background: #fff; color: var(--b); font-size: 1.4rem; box-shadow: 0 10px 30px rgba(16,38,80,.18); display: none; }
.totop.show { display: grid; place-items: center; }
.mbar { display: none; }
@media (max-width: 767px) {
  .fab, .totop { display: none !important; }
  .mbar { display: flex; position: fixed; left: 50%; transform: translateX(-50%); bottom: 14px; z-index: 1030; gap: 2px; padding: 8px 10px; border-radius: 999px; background: rgba(28,30,36,.94); box-shadow: 0 12px 30px rgba(0,0,0,.35); }
  .mbar a, .mbar button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: #fff; display: grid; place-items: center; font-size: 1.2rem; }
  .mbar a.on { background: rgba(255,255,255,.14); }
  .mbar a.g { background: var(--green); }
  .hero { min-height: 380px; }
}
.skel { background: linear-gradient(90deg, #efe5da 25%, #f7f1ea 50%, #efe5da 75%); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 18px; }
@keyframes sk { to { background-position: -200% 0; } }

.bento > * { min-width: 0; }
.duo > *, .duo-row > * { min-width: 0; }
.find a.it b { font-size: 1.02rem; }

/* réglages mosaïque (écrans 1280–1600 px) */
.hero h1 { font-size: clamp(1.8rem, 2.55vw, 3rem); }
.hcard .im { width: 38%; height: 80px; }
.mini-img { flex-basis: 44%; }
.mini-t .price { font-size: .98rem; }
.mini-t .link { font-size: .9rem; white-space: nowrap; }
.tile .nav-top { margin-inline-start: auto; display: flex; gap: 6px; }
.tile .nav-top .rnd { width: 34px; height: 34px; }
.find .foot { font-size: .82rem; white-space: nowrap; }
@media (min-width: 1200px) and (max-width: 1500px) { .tile .price { font-size: 1.45rem; } .tile h3 { font-size: 1.35rem; } .find a.it { padding: 13px; } }
.hcard { overflow: hidden; }
.tile .pill.white { align-self: flex-start; }
.chip, .tile .cnt { white-space: nowrap; }
.find .foot { gap: 8px; }
.ft .logo svg path:first-child { stroke: #fff; }
.ft .logo svg text { fill: #fff; }

/* logo PW (même marque que l'application) */
.logo-mark { width: 52px; height: 52px; border-radius: 15px; background: #1c1c1e; color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.25rem; letter-spacing: .5px; white-space: nowrap; flex: none; box-shadow: 0 6px 16px rgba(15,39,66,.25); }
.logo-mark b { color: #e63946; }
.logo b span { color: #e63946; }
.ft .logo-mark { background: #fff; color: #1c1c1e; }
@media (max-width: 767px) { .logo-mark { width: 42px; height: 42px; border-radius: 12px; font-size: 1.05rem; } }

/* bannières de la direction et contact du pied de page */
.b-hero .ban-dots { position: absolute; bottom: 18px; inset-inline-end: 20px; display: flex; gap: 6px; z-index: 2; }
.b-hero .ban-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.5); }
.b-hero .ban-dots button.on { width: 24px; border-radius: 6px; background: #fff; }
.ft-contact a { margin-bottom: 6px; }
.ft-soc { display: flex; gap: 10px; margin-top: 10px; }
.ft-soc a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); font-size: 1.05rem; margin: 0; }
.ft-soc a:hover { background: rgba(255,255,255,.2); }

/* logo YALICAR (image) */
.logo-img { height: 44px; width: auto; display: block; }
.mn-top .logo-img { height: 38px; }
.ft .logo-img { height: 46px; }
@media (max-width: 767px) { .logo-img { height: 32px; } }

/* panier (قفة) dans l'en-tête */
.hd-cart { position: relative; width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink); font-size: 1.25rem; }
.hd-cart:hover { color: var(--b); border-color: var(--b); }
.hd-cart span { position: absolute; top: -4px; inset-inline-end: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--b); color: #fff; font-size: .72rem; font-weight: 800; display: grid; place-items: center; }
@media (max-width: 767px) { .hd-cart { width: 40px; height: 40px; font-size: 1.1rem; } }

/* voiture sans photo : silhouette au lieu d'un fond vide */
.ph > .ph-img:not(.has-img) { background: url(../img/car-dark.svg) center 58% / 62% no-repeat; }
.hcard .im:not(.has-img) { background: #f3ece4 url(../img/car-light.svg) center / 80% no-repeat !important; }
.vc-img .noimg { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: linear-gradient(180deg, #f7f1ea, #efe5da); }
.vc-img .noimg img { position: static; width: 72%; height: auto; object-fit: contain; }
.vc-img .noimg span { font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #9aa1ab; }
.gal-noimg { height: 100%; display: grid; place-items: center; background: linear-gradient(160deg, #26262a, #1c1c1e); }
.gal-noimg img { width: 70%; max-width: 520px; }
.mini-img img.ph-sil { object-fit: contain; padding: 14%; background: #f3ece4; }
/* corrections d'affichage */
.gal .gal-noimg img { width: 70%; height: auto; object-fit: contain; }
.mini-t .price { white-space: nowrap; font-size: clamp(.86rem, 1.15vw, 1.05rem); letter-spacing: -.01em; }
.mini-t .br, .mini-t .link { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* favoris (❤) et recherche enregistrée */
.vc-fav { position: absolute; top: 10px; inset-inline-end: 10px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); color: #1c1c1e;
  display: grid; place-items: center; font-size: 1.1rem; box-shadow: 0 2px 10px rgba(0,0,0,.15); z-index: 2; transition: transform .15s; }
.vc-fav:hover { transform: scale(1.08); } .vc-fav.on { color: #e63946; }
.vc-img .cnt { inset-inline-end: auto; inset-inline-start: 10px; }
.fav-big.on { color: #e63946; border-color: #e63946; }
#save-search { white-space: nowrap; }
/* boutons longs (fiche voiture) : le texte passe à la ligne au lieu d'être coupé */
.pill.block { white-space: normal; text-align: center; line-height: 1.25; }
/* voitures d'occasion de moins de 3 ans */
.chip.used { background: #1c1c1e; color: #fff; }
.tag.r { background: #fdeceb; color: #c92a37; }
.grade .g.u { background: #1c1c1e; color: #fff; font-size: 1.4rem; }
.used-note { display: flex; gap: 8px; align-items: flex-start; background: #fff7e6; border: 1px solid #f5d38a; color: #7a5200; border-radius: 14px; padding: 10px 12px; font-size: .88rem; }

/* =====================================================================
   Accueil « chaleureux » (v3) : texte + grande photo arrondie, raccourcis, suivi
   ===================================================================== */
body.site { background: radial-gradient(1200px 500px at 85% -10%, #fde8dc 0%, rgba(253,232,220,0) 60%), var(--bg); }
.hw-text h1, .sec-h h2, .sec h2 { color: var(--ink); letter-spacing: -.01em; }
.cta h2, .cta h3, .ph h3 { color: #fff; }
.hd-in { box-shadow: 0 6px 24px rgba(120, 80, 40, .06); }
.hw-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding: 28px 6px 8px; }
.hw-kick { display: inline-flex; align-items: center; gap: 8px; background: var(--b-soft); color: var(--b-dark); border-radius: 999px; padding: 7px 16px; font-weight: 700; font-size: .9rem; }
.hw-text h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); font-weight: 800; line-height: 1.08; margin: 18px 0 16px; }
.hw-text > p { font-size: 1.15rem; color: var(--muted); max-width: 540px; margin-bottom: 26px; }
.hw-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hw-cta .pill.ghost { background: #fff; }
.hw-trust { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; color: var(--ink); font-weight: 600; }
.hw-trust li { display: flex; gap: 10px; align-items: center; }
.hw-trust i { color: var(--green); font-size: 1.2rem; }
.hw-visual { position: relative; }
.hw-blob { position: absolute; inset: 8% -4% -6% 10%; background: linear-gradient(135deg, #fde8dc, #fbd3c9); border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; z-index: 0; }
.hw-photo { position: relative; z-index: 1; aspect-ratio: 4 / 3; border-radius: 34px; background: var(--sand) url(../img/car-light.svg) center 58% / 70% no-repeat; box-shadow: 0 24px 50px rgba(120, 80, 40, .18); }
.hw-photo.has-img { background-size: cover; background-position: center; }
.hw-badge { position: absolute; z-index: 2; top: 18px; inset-inline-end: 18px; background: rgba(255,255,255,.95); border-radius: 999px; padding: 8px 14px; font-size: .88rem; box-shadow: var(--shadow); color: var(--ink); }
.hw-badge .bi-circle-fill { color: var(--green); font-size: .55rem; vertical-align: middle; }
.hw-float { position: absolute; z-index: 2; bottom: -26px; inset-inline-start: -22px; width: min(340px, 86%); display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 22px; padding: 12px; box-shadow: 0 16px 36px rgba(120, 80, 40, .18); color: var(--ink); }
.hw-float .th { flex: none; width: 70px; height: 70px; border-radius: 16px; background: var(--sand) center / cover no-repeat; }
.hw-float .th.none { background: var(--sand) url(../img/car-light.svg) center / 80% no-repeat; }
.hw-float small { color: var(--b-dark); font-weight: 700; }
.hw-float .pr { color: var(--b); font-weight: 800; }
.hw-float .nv { display: flex; gap: 4px; }
.hw-float .nv button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; }
.hw-visual .ban-dots { position: absolute; z-index: 2; bottom: 14px; inset-inline-end: 18px; }
.hw-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 64px 0 18px; }
.hw-chips a { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 11px 18px; font-weight: 700; color: var(--ink); box-shadow: 0 4px 14px rgba(120, 80, 40, .05); transition: background .15s, transform .15s; }
.hw-chips a i { color: var(--b); font-size: 1.1rem; }
.hw-chips a:hover { background: var(--b-soft); transform: translateY(-1px); }
.hw-track { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px 20px; color: var(--ink); box-shadow: var(--shadow); margin-bottom: 8px; }
.hw-track .ic { flex: none; width: 50px; height: 50px; border-radius: 16px; background: var(--peach); color: var(--b); display: grid; place-items: center; font-size: 1.4rem; }
.card-x { box-shadow: 0 8px 24px rgba(120, 80, 40, .06); }
.vc { border-radius: 22px; overflow: hidden; }
.vc-img { background: var(--sand); }
.vc-img .noimg { background: linear-gradient(180deg, #faf5ef, #f3ebe1); }
.vc-img .noimg span { color: #b3a79d; }
.chip.blue { background: var(--b); }
@media (max-width: 991px) {
  .hw-hero { grid-template-columns: 1fr; gap: 30px; padding-top: 8px; }
  .hw-text { order: 2; } .hw-visual { order: 1; margin: 0 6px; }
  .hw-float { position: relative; inset: auto; bottom: auto; width: 92%; margin: -38px auto 0; }
  .hw-chips { margin-top: 36px; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .hw-chips a { flex: none; }
  .hw-track .pill { display: none; }
}
/* comparaison de 2 voitures */
.vc-cmp { position: absolute; top: 56px; inset-inline-end: 10px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); color: #2b2421;
  display: grid; place-items: center; font-size: 1rem; box-shadow: 0 2px 10px rgba(0,0,0,.15); z-index: 2; }
.vc-cmp.on { background: var(--b); color: #fff; }
.cmp-big.on { color: var(--b); border-color: var(--b); }
.cmp { padding: 18px; overflow-x: auto; }
.cmp-grid { display: grid; grid-template-columns: 170px 1fr 1fr; gap: 16px; min-width: 620px; }
.cmp-col { position: relative; text-align: center; }
.cmp-col.empty { padding: 10px; border: 2px dashed var(--line); border-radius: 18px; }
.cmp-ph { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: var(--sand); margin-bottom: 10px; }
.cmp-ph > img { width: 100%; height: 100%; object-fit: cover; }
.cmp-ph .noimg { height: 100%; display: grid; place-items: center; } .cmp-ph .noimg img { width: 70%; }
.cmp-col.empty .cmp-ph { display: grid; place-items: center; font-size: 2.4rem; color: #c9bdb1; }
.cmp-ph .chip { position: absolute; top: 10px; inset-inline-start: 10px; }
.cmp-x { position: absolute; z-index: 2; top: 8px; inset-inline-end: 8px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); font-size: 1.2rem; line-height: 1; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.cmp-name { display: block; font-weight: 800; font-size: 1.15rem; color: var(--ink); }
.cmp-row { padding: 10px 0; border-top: 1px solid var(--line); align-items: start; }
.cmp-row.diff { background: #fffaf3; }
.cmp-lbl { font-weight: 700; color: var(--muted); font-size: .9rem; padding-inline-start: 6px; }
.cmp-v { text-align: center; } .cmp-v.best { color: #157347; font-weight: 800; }
@media (max-width: 767px) {
  /* téléphone : 2 colonnes, le libellé au-dessus de chaque ligne, sans défilement horizontal */
  .cmp { padding: 10px; overflow: visible; }
  .cmp-grid { grid-template-columns: 1fr 1fr; gap: 6px 10px; min-width: 0; }
  .cmp-grid > .cmp-lbl { grid-column: 1 / -1; padding: 0; font-size: .78rem; text-align: center; }
  .cmp-grid > .cmp-lbl:empty { display: none; }
  .cmp-row { padding: 8px 0; }
  .cmp-v { font-size: .9rem; }
  .cmp-name { font-size: 1rem; }
  .cmp-col .pill { font-size: .82rem; padding: .45rem .6rem; }
  .cmp-col.empty { padding: 6px; }
  .cmp-col.empty .cmp-ph { display: none; }
  .cmp-hit { flex-wrap: wrap; gap: .2rem; padding: .4rem; }
  .cmp-hit img { display: none; }
  .cmp-hit em { width: 100%; }
}

/* comparaison : recherche d'une voiture */
.cmp-find { position: relative; width: 100%; }
.cmp-find > .bi { position: absolute; top: .65rem; inset-inline-start: .8rem; color: #9a8f86; pointer-events: none; }
.cmp-find input { padding-inline-start: 2.2rem; border-radius: 999px; }
.cmp-res { margin-top: .4rem; display: flex; flex-direction: column; gap: .3rem; max-height: 340px; overflow: auto; }
.cmp-hit { display: flex; align-items: center; gap: .6rem; width: 100%; text-align: start; background: #fff; border: 1px solid #eee4da; border-radius: 12px; padding: .4rem .5rem; cursor: pointer; }
.cmp-hit:hover { border-color: #e63946; background: #fff7f5; }
.cmp-hit img { width: 56px; height: 38px; object-fit: cover; border-radius: 8px; background: #f3ede6; flex: none; }
.cmp-hit img.ni { object-fit: contain; padding: 4px; }
.cmp-hit span { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.cmp-hit small { color: #8a8079; font-size: .75rem; }
.cmp-hit em { font-style: normal; font-weight: 800; color: #e63946; font-size: .8rem; white-space: nowrap; }
.cmp-msg { font-size: .85rem; color: #8a8079; padding: .3rem .2rem; }
