/* ---- Ajouts pour le site multi-pages ---- */
nav.solid, nav.fixed-solid { background:rgba(255,255,255,.97); backdrop-filter:blur(12px); border-color:var(--border); box-shadow:0 4px 20px rgba(18,58,82,.06); }
nav.fixed-solid .logo-txt { color:var(--navy); }
nav.fixed-solid .nav-links a { color:var(--muted); }
nav.fixed-solid .nav-links a:hover { color:var(--navy); }
nav.fixed-solid .nav-toggle { color:var(--navy); }
nav.fixed-solid .logo-img { width:48px; height:48px; }
.nav-links a.cur { color:var(--navy) !important; }
.nav-links a.cur::after { transform:scaleX(1); }
.page-head { background:var(--navy); color:#fff; padding:8.5rem 2rem 3.5rem; position:relative; overflow:hidden; }
.page-head::after { content:''; position:absolute; right:-10%; top:-40%; width:50%; height:180%; background:radial-gradient(ellipse, rgba(69,158,194,.35), transparent 60%); pointer-events:none; }
.page-head .inner { position:relative; z-index:1; }
.page-head h1 { font-size:clamp(2rem,4.4vw,3.2rem); font-weight:800; letter-spacing:-1px; line-height:1.1; margin-bottom:.8rem; }
.page-head .sub { color:rgba(255,255,255,.7); margin-bottom:0; }
.page-head .eyebrow { color:var(--volt-light); }
.crumbs { font-size:.78rem; color:rgba(255,255,255,.55); margin-bottom:1.2rem; }
.crumbs a { color:rgba(255,255,255,.75); text-decoration:none; }
.crumbs a:hover { color:#fff; }
.hero-logo { width:70px; height:70px; margin-bottom:1.2rem; border-radius:50%; background:#fff; padding:4px; }

/* catalogue */
.cars a.car-link { text-decoration:none; color:inherit; display:contents; }
.car-img { aspect-ratio:4/3; }
.car-img img { width:88%; height:82%; object-fit:contain; }
.car-price small.old { text-decoration:line-through; }
.tabs .tab:focus-visible { outline:2px solid var(--volt); }

/* fiche produit */
.prod { display:grid; grid-template-columns:1.05fr .95fr; gap:3rem; align-items:start; }
.gallery-main { background:radial-gradient(ellipse at 50% 65%, #fff, #E9EDF4 75%); border:1px solid var(--border); border-radius:var(--rl); display:grid; place-items:center; padding:2rem; min-height:380px; }
.gallery-main img { width:100%; max-height:440px; object-fit:contain; filter:drop-shadow(0 18px 18px rgba(18,58,82,.2)); }
.thumbs { display:flex; gap:.6rem; margin-top:.8rem; flex-wrap:wrap; }
.thumbs button { width:72px; height:72px; border-radius:10px; border:2px solid var(--border); background:#fff; padding:4px; cursor:pointer; }
.thumbs button.on { border-color:var(--volt); }
.thumbs img { width:100%; height:100%; object-fit:contain; }
.prod-body h1 { font-size:clamp(1.8rem,3.4vw,2.5rem); font-weight:800; color:var(--navy); letter-spacing:-.8px; line-height:1.1; margin:.3rem 0 .5rem; }
.prod-price { display:flex; align-items:baseline; gap:.6rem; flex-wrap:wrap; margin:1rem 0 1.2rem; }
.prod-price b { font-size:2rem; font-weight:800; color:var(--navy); letter-spacing:-1px; }
.prod-price small { color:var(--muted); font-weight:600; }
.prod-actions { display:flex; gap:.7rem; flex-wrap:wrap; margin:1.4rem 0; }
.prod-desc { font-size:.92rem; color:var(--text); }
.prod-desc p { margin-bottom:.9rem; }
.prod-desc strong { color:var(--navy); }
.prod-desc h2, .prod-desc h3 { font-size:1rem; color:var(--navy); margin:1.2rem 0 .5rem; }
.spec-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:.7rem; margin:1.2rem 0; }
.spec { background:var(--bg); border:1px solid var(--border); border-radius:12px; padding:.8rem 1rem; }
.spec .k { font-size:.68rem; font-weight:700; letter-spacing:1px; text-transform:uppercase; color:var(--muted); }
.spec .v { font-weight:700; color:var(--navy); font-size:.92rem; }
.related { margin-top:4rem; }

/* pages texte */
.prose { max-width:820px; font-size:.95rem; color:var(--text); }
.prose h2 { font-size:1.25rem; color:var(--navy); margin:2rem 0 .7rem; font-weight:800; }
.prose h3 { font-size:1.02rem; color:var(--navy); margin:1.4rem 0 .5rem; font-weight:700; }
.prose p, .prose li { margin-bottom:.7rem; line-height:1.65; }
.prose ul { padding-left:1.2rem; }
.prose a { color:var(--blue); }
.faq-item { border:1px solid var(--border); border-radius:var(--rl); padding:1.4rem 1.6rem; margin-bottom:1rem; background:#fff; }
.faq-item h3 { font-size:1.05rem; color:var(--navy); margin-bottom:.6rem; }
.faq-item p { font-size:.9rem; color:var(--text); white-space:pre-line; }

/* services atelier */
.serv .price { background:none; border:0; padding:0; text-align:left; }
.serv ul { padding-left:1.1rem; font-size:.84rem; color:var(--muted); margin-top:.5rem; }
.serv ul li { margin:.15rem 0; }
.serv-ico img { width:32px; height:32px; }

/* contact page */
.contact-page { background:var(--navy); color:#fff; padding:3rem 2rem 6rem; }
.contact-page .form { max-width:none; }
.form select { color:#fff; }
.form input[type=checkbox] { width:auto; }
.form-ok { display:none; }
.form-ok.show { display:block; }
.form-err { display:none; color:#FFB4A2; font-weight:700; text-align:center; padding:.8rem; }
.form-err.show { display:block; }

/* occasions */
.occ-empty { background:var(--bg); border:1px dashed var(--border); border-radius:var(--rl); padding:2.5rem; text-align:center; color:var(--muted); grid-column:1/-1; }
.occ-empty b { color:var(--navy); display:block; margin-bottom:.4rem; font-size:1.05rem; }
.car-badge.sold { background:#B54708; }

/* hours */
.hours { list-style:none; font-size:.9rem; }
.hours li { display:flex; justify-content:space-between; gap:1rem; padding:.3rem 0; border-bottom:1px solid rgba(255,255,255,.08); }
.hours li span:last-child { font-weight:700; }

/* reviews embed */
.reviews-frame { width:100%; min-height:520px; border:0; display:block; border-radius:var(--rl); background:#fff; }

/* footer */
.foot .hours li { border-color:rgba(255,255,255,.06); font-size:.8rem; padding:.2rem 0; }
.foot .legal a { display:inline; }

/* call button mobile */
.call-fab { display:none; position:fixed; left:14px; bottom:14px; z-index:90; align-items:center; gap:8px; padding:.7rem 1.1rem; border-radius:30px; background:var(--grad); color:#fff; text-decoration:none; font-weight:700; font-size:.88rem; box-shadow:0 8px 24px rgba(18,58,82,.3); }
@media (max-width:900px) { .call-fab { display:inline-flex; } .prod { grid-template-columns:1fr; } .spec-grid { grid-template-columns:1fr 1fr; } }
@media (max-width:600px) { .page-head { padding:7rem 1rem 2.5rem; } .contact-page { padding:2rem 1rem 4rem; } }

/* admin */
.admin { max-width:1100px; margin:0 auto; padding:7rem 1.5rem 4rem; }
.admin h1 { color:var(--navy); font-weight:800; margin-bottom:.4rem; }
.admin .ident { padding:1rem 1.2rem; margin-bottom:1.2rem; font-size:.9rem; }
[hidden] { display:none !important; }
.admin table { width:100%; border-collapse:collapse; font-size:.88rem; background:#fff; border:1px solid var(--border); border-radius:var(--rl); overflow:hidden; }
.admin th, .admin td { padding:.7rem .8rem; border-bottom:1px solid var(--border); text-align:left; vertical-align:middle; }
.admin th { background:var(--bg); font-size:.72rem; text-transform:uppercase; letter-spacing:1px; color:var(--muted); }
.admin td img { width:64px; height:48px; object-fit:contain; background:#f4f6f9; border-radius:6px; }
.admin .badge { font-size:.7rem; font-weight:700; padding:3px 8px; border-radius:6px; background:var(--pale); color:var(--navy); }
.admin .badge.sold { background:#FEF0C7; color:#B54708; }
.admin .badge.hidden { background:#eee; color:#666; }
.afield { margin-bottom:.9rem; }
.afield label { display:block; font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.6px; color:var(--muted); margin-bottom:.3rem; }
.afield input, .afield select, .afield textarea { width:100%; padding:.7rem .9rem; border:1px solid var(--border); border-radius:var(--r); font-family:inherit; font-size:.92rem; }
.afield textarea { min-height:80px; resize:vertical; }
.agrid { display:grid; grid-template-columns:1fr 1fr; gap:0 1rem; }
.photos-edit { display:flex; gap:.6rem; flex-wrap:wrap; margin:.4rem 0 1rem; }
.photos-edit div { position:relative; width:96px; height:72px; border:1px solid var(--border); border-radius:8px; overflow:hidden; background:#f4f6f9; }
.photos-edit img { width:100%; height:100%; object-fit:cover; }
.photos-edit button { position:absolute; top:2px; right:2px; width:22px; height:22px; border-radius:50%; border:0; background:rgba(0,0,0,.6); color:#fff; cursor:pointer; font-size:.8rem; line-height:1; }
.aactions { display:flex; gap:.6rem; flex-wrap:wrap; margin-top:1rem; }
.amsg { padding:.8rem 1rem; border-radius:var(--r); margin:1rem 0; display:none; font-weight:600; }
.amsg.ok { display:block; background:#E6F7EE; color:#0a7d3b; }
.amsg.err { display:block; background:#FDECEC; color:#c62828; }
.btn-sm { padding:.45rem .8rem; font-size:.78rem; }
@media (max-width:700px) { .agrid { grid-template-columns:1fr; } .admin table { font-size:.8rem; } .admin th:nth-child(4), .admin td:nth-child(4) { display:none; } }

/* mobile hero */
@media (max-width:600px) {
  .hero-inner > div { min-width:0; }
  .hero-sub { font-size:.98rem; }
  .proof, .brands { flex-wrap:wrap; row-gap:.6rem; }
  .nav-toggle { background:rgba(18,58,82,.45); border-radius:10px; padding:6px; }
  nav.fixed-solid .nav-toggle, nav.solid .nav-toggle { background:var(--bg); }
  .call-fab { bottom:14px; }
}
