/*
Theme Name: Scan My Car App
Theme URI: https://scanmycar.fr
Author: Scan My Car
Description: Interface web mobile-first inspirée de l'application Scan My Car.
Version: 1.0.0
Text Domain: scanmycar
*/

:root {
  --smc-bg: #07101d;
  --smc-surface: rgba(18, 29, 45, .74);
  --smc-surface-strong: rgba(22, 36, 55, .92);
  --smc-line: rgba(255,255,255,.14);
  --smc-text: #f4f8fc;
  --smc-muted: #9eafc2;
  --smc-cyan: #55d5ff;
  --smc-cyan-strong: #27b9f0;
  --smc-radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--smc-text);
  background: var(--smc-bg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.smc-app { min-height: 100vh; background: radial-gradient(circle at 20% 0%, rgba(55,185,242,.18), transparent 32rem), linear-gradient(160deg, #0d1b2e 0%, #07101d 48%, #050b14 100%); }
.smc-shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.smc-header { position: sticky; top: 0; z-index: 20; padding: 18px 0; background: rgba(5, 12, 22, .74); backdrop-filter: blur(22px) saturate(150%); border-bottom: 1px solid rgba(255,255,255,.08); }
.smc-nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.smc-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 760; letter-spacing: -.04em; }
.smc-brand-mark { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; color: #001018; background: linear-gradient(145deg, #b4f1ff, #32bde9); box-shadow: 0 7px 25px rgba(45,196,238,.3); }
.smc-nav-links { display: flex; gap: 8px; align-items: center; }
.smc-nav-links a, .smc-button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 16px; border: 1px solid var(--smc-line); border-radius: 999px; background: rgba(255,255,255,.07); color: var(--smc-text); font-weight: 650; transition: transform .2s ease, background .2s ease; }
.smc-nav-links a:hover, .smc-button:hover { transform: translateY(-2px); background: rgba(255,255,255,.13); }
.smc-button-primary { border-color: rgba(104,222,255,.42); background: linear-gradient(135deg, var(--smc-cyan), var(--smc-cyan-strong)); color: #03111a; box-shadow: 0 12px 32px rgba(46,188,238,.2); }
.smc-main { padding: 54px 0 76px; }
.smc-hero { padding: clamp(42px, 9vw, 104px) 0 48px; text-align: center; }
.smc-eyebrow { color: var(--smc-cyan); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.smc-title { max-width: 760px; margin: 14px auto; font-size: clamp(38px, 7vw, 78px); line-height: .98; letter-spacing: -.07em; }
.smc-lead { max-width: 590px; margin: 0 auto 28px; color: var(--smc-muted); font-size: 18px; line-height: 1.55; }
.smc-search { display: flex; gap: 10px; max-width: 680px; margin: 30px auto 0; padding: 8px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(255,255,255,.1); box-shadow: 0 18px 60px rgba(0,0,0,.22); backdrop-filter: blur(24px); }
.smc-search input { min-width: 0; flex: 1; padding: 0 16px; border: 0; outline: 0; color: var(--smc-text); background: transparent; font: inherit; }
.smc-search input::placeholder { color: #9babbc; }
.smc-section { margin-top: 42px; }
.smc-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 16px; }
.smc-section-heading h2 { margin: 0; font-size: clamp(24px, 4vw, 34px); letter-spacing: -.05em; }
.smc-section-heading p { margin: 0; color: var(--smc-muted); }
.smc-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.smc-card { overflow: hidden; border: 1px solid var(--smc-line); border-radius: var(--smc-radius); background: var(--smc-surface); box-shadow: 0 18px 50px rgba(0,0,0,.16); backdrop-filter: blur(18px); }
.smc-card-image { display: block; width: 100%; aspect-ratio: 1.45; object-fit: cover; background: linear-gradient(145deg, #20354e, #0e1827); }
.smc-card-body { padding: 18px; }
.smc-card-title { margin: 0 0 8px; font-size: 21px; letter-spacing: -.04em; }
.smc-card-meta { display: flex; flex-wrap: wrap; gap: 6px; color: var(--smc-muted); font-size: 13px; }
.smc-pill { display: inline-flex; padding: 6px 10px; border: 1px solid var(--smc-line); border-radius: 999px; background: rgba(255,255,255,.06); }
.smc-empty { padding: 28px; border: 1px dashed var(--smc-line); border-radius: var(--smc-radius); color: var(--smc-muted); text-align: center; }
.smc-detail { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); gap: 22px; align-items: start; }
.smc-detail-media { overflow: hidden; border: 1px solid var(--smc-line); border-radius: 32px; background: #101d2d; }
.smc-detail-media img { display: block; width: 100%; max-height: 660px; object-fit: cover; }
.smc-panel { padding: clamp(22px, 4vw, 34px); border: 1px solid var(--smc-line); border-radius: 32px; background: var(--smc-surface); box-shadow: 0 22px 60px rgba(0,0,0,.2); backdrop-filter: blur(20px); }
.smc-panel h1 { margin: 8px 0 20px; font-size: clamp(32px, 5vw, 54px); line-height: 1; letter-spacing: -.065em; }
.smc-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 24px; }
.smc-spec { padding: 14px; border-radius: 17px; background: rgba(255,255,255,.065); }
.smc-spec small { display: block; margin-bottom: 5px; color: var(--smc-muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.smc-footer { padding: 30px 0 42px; border-top: 1px solid var(--smc-line); color: var(--smc-muted); }
.smc-footer-inner { display: flex; justify-content: space-between; gap: 18px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 760px) {
  .smc-shell { width: min(100% - 24px, 620px); }
  .smc-header { padding: 12px 0; }
  .smc-nav-links a:not(.smc-button-primary) { display: none; }
  .smc-main { padding-top: 28px; }
  .smc-grid, .smc-detail { grid-template-columns: 1fr; }
  .smc-search { border-radius: 24px; flex-wrap: wrap; }
  .smc-search input { flex-basis: 100%; min-height: 44px; }
  .smc-search .smc-button { width: 100%; }
  .smc-footer-inner { flex-direction: column; }
}
