/* Site public et connexion : rendu statique, styles circonscrits à .fcr-public. Illustrations en plan technique ;
   bleu = marque, ambre réservé à la valeur du véhicule. Polices et plan du véhicule : app.css, communs à l'espace connecté. */

html { scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

.fcr-public {
    --ink: #12202B;
    --muted: #4F606E;
    --navy-950: #071A2C;
    --navy-900: #0E2B4A;
    --navy-800: #15395F;
    --primary: #1668A8;
    --accent: #5BB0F0;
    --amber: #F5B544;
    --bg: #F6F8FB;
    --alt: #EAF0F6;
    --card: #FFFFFF;
    --line: #DDE5EE;
    --on-dark: #E7EFF7;
    --on-dark-muted: #AFC2D4;
    --line-dark: rgba(255, 255, 255, 0.14);
    --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
    --shadow: 0 18px 44px -24px rgba(14, 43, 74, 0.38);
    color: var(--ink);
    background: var(--bg);
    font-family: "Manrope", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}
.fcr-public *, .fcr-public *::before, .fcr-public *::after { box-sizing: border-box; }
.fcr-public h1, .fcr-public h2, .fcr-public h3 { font-family: inherit; color: inherit; }
/* Blazor place le focus sur le h1 à la navigation (lecteurs d'écran) ; le titre n'est pas interactif, pas de cadre. */
.fcr-public h1:focus { outline: none; }
.fcr-public a { color: inherit; }
.fcr-public img, .fcr-public svg { max-width: 100%; }

/* Tant que le script n'a pas pris la main, l'intro attend ; au-delà de 1,2 s elle s'affiche quand même. */
@keyframes fcrpub-show { to { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
    html:not(.fcrpub-js) [data-intro], html:not(.fcrpub-js) [data-login-card] { opacity: 0; animation: fcrpub-show 0s 1.2s forwards; }
}

.fcrpub-container { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: 24px; position: relative; }
.fcrpub-narrow { max-width: 820px; }
.fcrpub-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.fcrpub-mono { font-family: var(--mono); }
.fcrpub-skip { position: fixed; left: 16px; top: -60px; z-index: 40; padding: 10px 16px; border-radius: 8px; background: #fff; color: var(--navy-900); font-weight: 700; }
.fcrpub-skip:focus { top: 12px; }

/* Navigation */
.fcrpub-nav { position: fixed; inset: 0 0 auto; z-index: 30; color: #fff; background: rgba(7, 26, 44, 0.55); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: background-color .25s, border-color .25s; }
.fcrpub-nav.is-stuck { background: rgba(7, 26, 44, 0.94); border-color: var(--line-dark); }
.fcrpub-nav-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.fcrpub-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.12rem; letter-spacing: -0.01em; text-decoration: none; color: #fff !important; }
.fcrpub-brand img { display: block; border-radius: 8px; }
.fcrpub-nav-links { display: flex; gap: 6px; list-style: none; margin: 0 0 0 12px; padding: 0; }
.fcrpub-nav-links a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--on-dark-muted); font-size: 0.95rem; font-weight: 600; text-decoration: none; transition: color .2s, background-color .2s; }
.fcrpub-nav-links a:hover, .fcrpub-nav-links a.is-active { color: #fff; background: rgba(255, 255, 255, 0.09); }
.fcrpub-nav-actions { display: flex; gap: 10px; margin-left: auto; }
.fcrpub-menu { display: none; margin-left: auto; position: relative; }
.fcrpub-menu summary { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line-dark); cursor: pointer; list-style: none; }
.fcrpub-menu summary::-webkit-details-marker { display: none; }
.fcrpub-menu summary path { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.fcrpub-menu ul { position: absolute; right: 0; top: 56px; width: min(260px, calc(100vw - 32px)); margin: 0; padding: 8px; list-style: none; background: var(--navy-950); border: 1px solid var(--line-dark); border-radius: 12px; box-shadow: var(--shadow); }
.fcrpub-menu a { display: block; padding: 11px 12px; border-radius: 8px; color: #fff; font-weight: 600; text-decoration: none; }
.fcrpub-menu a:hover { background: rgba(255, 255, 255, 0.09); }

/* Boutons */
.fcrpub-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 18px; border-radius: 10px; border: 1px solid transparent; font: inherit; font-weight: 700; font-size: 0.95rem; text-decoration: none; cursor: pointer; transition: background-color .2s, border-color .2s, transform .15s; }
.fcrpub-btn:active { transform: scale(0.98); }
.fcrpub-btn-large { min-height: 52px; padding: 12px 24px; font-size: 1rem; }
.fcrpub-btn-block { width: 100%; }
.fcr-public .fcrpub-btn-primary { background: var(--accent); color: var(--navy-950); }
.fcr-public .fcrpub-btn-primary:hover { background: #8CC8F7; }
.fcr-public .fcrpub-btn-secondary, .fcr-public .fcrpub-btn-ghost { border-color: rgba(255, 255, 255, 0.32); color: #fff; }
.fcr-public .fcrpub-btn-secondary:hover, .fcr-public .fcrpub-btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
.fcr-public a:focus-visible, .fcr-public button:focus-visible, .fcr-public summary:focus-visible, .fcr-public input:focus-visible, .fcr-public textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.fcrpub-section:not(.fcrpub-section-dark) a:focus-visible, .fcrpub-section:not(.fcrpub-section-dark) summary:focus-visible, .fcrpub-section:not(.fcrpub-section-dark) input:focus-visible, .fcrpub-section:not(.fcrpub-section-dark) textarea:focus-visible, .fcrpub-auth-main :focus-visible { outline-color: var(--primary); }
.is-busy { opacity: .7; cursor: progress; pointer-events: none; }

/* Hero */
.fcrpub-hero { position: relative; overflow: hidden; color: #fff; padding: 136px 0 40px; background: radial-gradient(80% 90% at 82% 8%, rgba(91, 176, 240, 0.24), rgba(91, 176, 240, 0) 62%), linear-gradient(165deg, var(--navy-950) 0%, var(--navy-900) 62%, var(--navy-800) 100%); }
.fcrpub-hero-grid-bg { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, #000 30%, transparent 100%); }
.fcrpub-hero-grid { display: grid; grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr); gap: 48px; align-items: center; }
.fcrpub-badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px; border: 1px solid var(--line-dark); border-radius: 999px; font-size: 0.85rem; font-weight: 600; color: var(--on-dark); background: rgba(255, 255, 255, 0.05); }
.fcrpub-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: #5FD39A; }
.fcrpub-hero-title { font-size: clamp(2.3rem, 4.2vw, 3.3rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; margin: 22px 0 20px; }
.fcrpub-line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.fcrpub-line > span { display: block; }
.fcrpub-highlight { color: var(--accent); }
.fcrpub-hero-subtitle { font-size: 1.12rem; color: var(--on-dark); max-width: 560px; margin: 0 0 32px; }
.fcrpub-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.fcrpub-scan { padding: 20px; border: 1px solid var(--line-dark); border-radius: 18px; background: rgba(7, 26, 44, 0.72); box-shadow: 0 34px 70px -34px rgba(0, 0, 0, 0.7); }
.fcrpub-scan-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; font-size: 0.85rem; }
.fcrpub-scan-title { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--on-dark); }
.fcrpub-scan-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.fcrpub-scan-tag { padding: 1px 9px; border: 1px solid var(--line-dark); border-radius: 999px; font-size: 0.75rem; color: var(--on-dark-muted); }
.fcrpub-scan-vin { display: grid; grid-template-columns: repeat(17, 1fr); gap: 3px; font-family: var(--mono); font-size: clamp(0.72rem, 1.15vw, 0.95rem); font-weight: 600; }
.fcrpub-scan-vin span { display: grid; place-items: center; aspect-ratio: 4 / 5; border-radius: 4px; background: rgba(91, 176, 240, 0.12); color: #CFE7FB; }
.fcrpub-scan-stage { position: relative; overflow: hidden; margin: 12px 0; padding: 6px 4px; }
.fcrpub-scan-beam { position: absolute; top: 0; bottom: 0; left: -2px; width: 3px; opacity: 0; visibility: hidden; background: var(--accent); box-shadow: 0 0 22px 7px rgba(91, 176, 240, 0.6); }
.fcrpub-scan-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; }
.fcrpub-scan-facts div { padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.06); }
.fcrpub-scan-facts dt { font-size: 0.75rem; color: var(--on-dark-muted); }
.fcrpub-scan-facts dd { margin: 0; font-weight: 700; color: #fff; }
.fcrpub-scan-value { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; margin-top: 8px; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(245, 181, 68, 0.4); background: rgba(245, 181, 68, 0.1); color: var(--on-dark); font-size: 0.9rem; }
.fcrpub-scan-value strong { color: var(--amber); font-size: 1.55rem; font-weight: 800; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.fcrpub-scan-value small { font-size: 0.9rem; font-weight: 700; }

.fcrpub-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; margin: 72px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line-dark); }
.fcrpub-strip li { padding: 0 20px; border-left: 1px solid var(--line-dark); }
.fcrpub-strip li:first-child { padding-left: 0; border-left: 0; }
.fcrpub-strip strong { display: block; font-size: 1rem; }
.fcrpub-strip span { display: block; font-size: 0.875rem; line-height: 1.45; color: var(--on-dark-muted); }

/* Sections */
.fcrpub-section { position: relative; padding: 104px 0; }
.fcrpub-section-alt { background: var(--alt); }
.fcrpub-section-dark { overflow: hidden; color: #fff; background: linear-gradient(170deg, var(--navy-950), var(--navy-900)); }
.fcrpub-label { display: inline-block; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary); }
.fcrpub-label-gap { margin-top: 28px; }
.fcrpub-section-dark .fcrpub-label { color: var(--accent); }
.fcrpub-title { font-size: clamp(1.75rem, 3.2vw, 2.6rem); font-weight: 800; line-height: 1.14; letter-spacing: -0.025em; margin: 10px 0 28px; max-width: 760px; }
.fcrpub-text { margin: 0; color: var(--muted); font-size: 1.05rem; max-width: 560px; }
.fcrpub-lead { color: var(--on-dark); margin: -10px 0 30px; font-size: 1.05rem; }
.fcrpub-split, .fcrpub-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; }
.fcrpub-stack { display: grid; gap: 20px; }
.fcrpub-point { padding-left: 18px; border-left: 3px solid var(--accent); }
.fcrpub-point h3 { margin: 0 0 4px; font-size: 1.1rem; font-weight: 800; }
.fcrpub-point p { margin: 0; color: var(--muted); }
.fcrpub-grid { display: grid; gap: 24px; }
.fcrpub-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Fiches produit (illustrations : app.css) */
.fcrpub-product { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: var(--shadow); transition: transform .25s; }
.fcrpub-product:hover { transform: translateY(-4px); }
.fcrpub-product-art { padding: 28px 40px 22px; background: linear-gradient(160deg, var(--navy-950), var(--navy-800)); }
.fcrpub-product-body { padding: 26px 30px 30px; }
.fcrpub-product h3 { margin: 0 0 12px; font-size: 1.3rem; font-weight: 800; letter-spacing: -0.01em; }
.fcrpub-product ul { margin: 0; padding: 0; list-style: none; color: var(--muted); }
.fcrpub-product li { position: relative; padding-left: 22px; }
.fcrpub-product li + li { margin-top: 8px; }
.fcrpub-product li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }

/* Parcours */
.fcrpub-route-rail { position: relative; height: 34px; margin-bottom: 26px; }
.fcrpub-route-rail::before, .fcrpub-route-fill { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 3px; border-radius: 3px; }
.fcrpub-route-rail::before { background: var(--line); }
.fcrpub-route-fill { background: var(--primary); transform-origin: left center; }
.fcrpub-route-car { position: absolute; left: 0; bottom: 5px; }
.fcrpub-route-car path { fill: var(--navy-900); }
.fcrpub-route-car circle { fill: var(--accent); stroke: var(--navy-900); stroke-width: 2; }
.fcrpub-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
.fcrpub-steps li { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); transition: border-color .35s, box-shadow .35s; }
.fcrpub-steps li.is-on { border-color: var(--accent); box-shadow: var(--shadow); }
.fcrpub-step { display: block; font-family: var(--mono); font-weight: 700; color: var(--primary); font-size: 0.9rem; margin-bottom: 8px; }
.fcrpub-steps h3 { margin: 0 0 6px; font-size: 1.2rem; font-weight: 800; }
.fcrpub-steps p { margin: 0; color: var(--muted); }

/* Code */
.fcrpub-code { overflow: hidden; border-radius: 16px; border: 1px solid #1E3650; background: #0B1B2B; box-shadow: var(--shadow); }
.fcrpub-code-header { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.8rem; color: #fff; }
.fcrpub-code-header span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.25); }
.fcrpub-code-header em { margin-left: 8px; font-style: normal; color: var(--on-dark-muted); font-family: var(--mono); }
.fcrpub-code pre { margin: 0; padding: 18px 20px; font-family: var(--mono); font-size: 0.84rem; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; color: #DCE6F0; }
.fcrpub-code .c { color: #8AA0B5; }
.fcrpub-code .p { color: #9CD3FF; }
.fcrpub-code .s { color: #A6E3B5; }
.fcrpub-code .n { color: #F5C98A; }

/* Essai */
.fcrpub-vinmap { display: grid; grid-template-columns: repeat(17, 1fr); gap: 4px; margin-bottom: 14px; font-family: var(--mono); font-weight: 700; font-size: clamp(0.78rem, 2.3vw, 1.25rem); }
.fcrpub-vinmap span { display: grid; place-items: center; aspect-ratio: 4 / 5; border-radius: 6px; background: rgba(255, 255, 255, 0.07); color: var(--on-dark-muted); }
.fcrpub-vinmap span.is-a { background: rgba(91, 176, 240, 0.24); color: #fff; }
.fcrpub-vinmap span.is-b { background: rgba(95, 211, 154, 0.24); color: #fff; }
.fcrpub-vinmap span.is-c { background: rgba(245, 181, 68, 0.26); color: #fff; }
.fcrpub-vinmap-bar { height: 4px; border-radius: 4px; }
.fcrpub-vinmap-bar.is-a, .fcrpub-vinlegend .is-a::before { background: var(--accent); }
.fcrpub-vinmap-bar.is-b, .fcrpub-vinlegend .is-b::before { background: #5FD39A; }
.fcrpub-vinmap-bar.is-c, .fcrpub-vinlegend .is-c::before { background: var(--amber); }
.fcrpub-vinmap-bar.is-off, .fcrpub-vinlegend .is-off::before { background: rgba(255, 255, 255, 0.2); }
.fcrpub-vinlegend { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0 0 34px; padding: 0; list-style: none; font-size: 0.9rem; color: var(--on-dark); }
.fcrpub-vinlegend li { display: inline-flex; align-items: center; gap: 8px; }
.fcrpub-vinlegend li::before { content: ""; width: 12px; height: 12px; border-radius: 3px; }
.fcrpub-try { display: flex; gap: 10px; }
.fcrpub-try input { flex: 1; min-width: 0; min-height: 52px; padding: 12px 16px; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 10px; background: rgba(255, 255, 255, 0.07); color: #fff; font-size: 1.05rem; font-family: var(--mono); text-transform: uppercase; }
.fcrpub-try input::placeholder { color: var(--on-dark-muted); text-transform: none; }
.fcrpub-try .fcrpub-btn { min-height: 52px; padding-inline: 26px; }
.fcrpub-hint { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 0.875rem; color: var(--on-dark-muted); margin: 14px 0 0; }
.fcrpub-sample { min-height: 36px; padding: 4px 10px; border: 1px solid var(--line-dark); border-radius: 8px; background: rgba(255, 255, 255, 0.05); color: var(--on-dark); font-family: var(--mono); font-size: 0.8rem; cursor: pointer; transition: background-color .2s, border-color .2s; }
.fcrpub-sample:hover { background: rgba(91, 176, 240, 0.18); border-color: var(--accent); }

.fcrpub-try-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 56px; align-items: center; }
.fcrpub-try-grid .fcrpub-vinmap { margin-top: 32px; font-size: clamp(0.72rem, 1.5vw, 1rem); }
.fcrpub-try-grid .fcrpub-vinlegend { margin-bottom: 0; }
.fcrpub-report { padding: 24px; border-radius: 18px; background: var(--card); color: var(--ink); box-shadow: 0 34px 70px -34px rgba(0, 0, 0, 0.75); transition: box-shadow .3s; }
.fcrpub-report.has-result { box-shadow: 0 0 0 3px var(--accent), 0 34px 70px -34px rgba(0, 0, 0, 0.75); }
.fcrpub-report.is-loading { opacity: .72; }
.fcrpub-report-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.fcrpub-report-head h3 { margin: 0; font-size: 1.35rem; font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; }
.fcrpub-report-head p { margin: 2px 0 0; color: var(--muted); font-size: 0.82rem; overflow-wrap: anywhere; }
.fcrpub-report .fcrpub-scan-tag { flex: none; border-color: #BFE3D0; background: #E8F3EC; color: #1B4D2C; font-weight: 700; }
.fcrpub-report-free { margin: 0; }
.fcrpub-report-free div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-top: 1px solid var(--line); }
.fcrpub-report-free dt { color: var(--muted); }
.fcrpub-report-free dd { margin: 0; font-weight: 700; text-align: right; }
.fcrpub-report-split { display: flex; align-items: center; gap: 12px; margin: 12px 0 6px; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary); }
.fcrpub-report-split::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.fcrpub-report-locked { margin: 0; padding: 0; list-style: none; }
.fcrpub-report-locked li { display: flex; align-items: center; gap: 12px; padding: 7px 0; color: var(--muted); }
.fcrpub-report-locked i { flex: 0 1 var(--w, 44%); height: 12px; margin-left: auto; border-radius: 6px; background: linear-gradient(90deg, #C9D6E2, #E3EBF2, #C9D6E2); filter: blur(2px); }
.fcrpub-report-locked li:nth-child(2) { --w: 56%; }
.fcrpub-report-locked li:nth-child(3) { --w: 38%; }
.fcrpub-report-locked li:nth-child(4) { --w: 50%; }
.fcrpub-report svg { flex: none; fill: none; stroke: var(--primary); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fcrpub-report-value { display: flex; align-items: center; gap: 10px; margin: 10px 0 16px; padding: 12px 14px; border: 1px solid rgba(201, 138, 22, 0.45); border-radius: 12px; background: #FEF6E4; }
.fcrpub-report-value > span:first-child { font-weight: 700; white-space: nowrap; }
.fcrpub-report-value strong { margin-left: auto; color: #8A5A00; font-size: clamp(1rem, 4vw, 1.3rem); white-space: nowrap; font-weight: 800; filter: blur(6px); user-select: none; }
.fcrpub-report-value strong small { font-size: 0.8rem; }
.fcrpub-report-value svg { stroke: #8A5A00; }
.fcrpub-report-note { margin: 10px 0 0; color: var(--muted); font-size: 0.82rem; text-align: center; }

/* Questions */
.fcrpub-faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.fcrpub-faq details { border-bottom: 1px solid var(--line); }
.fcrpub-faq summary { position: relative; padding: 18px 36px 18px 0; font-weight: 700; font-size: 1.05rem; cursor: pointer; list-style: none; }
.fcrpub-faq summary::-webkit-details-marker { display: none; }
.fcrpub-faq summary::after { content: ""; position: absolute; right: 6px; top: 26px; width: 9px; height: 9px; border-right: 2px solid var(--primary); border-bottom: 2px solid var(--primary); transform: rotate(45deg); transition: transform .2s; }
.fcrpub-faq details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.fcrpub-faq p { margin: 0 0 18px; color: var(--muted); max-width: 620px; }

/* Accès */
.fcrpub-access { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
.fcrpub-access-intro { position: sticky; top: 104px; }
.fcrpub-access-steps { counter-reset: s; display: grid; gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; font-weight: 600; }
.fcrpub-access-steps li { counter-increment: s; display: flex; align-items: center; gap: 12px; }
.fcrpub-access-steps li::before { content: counter(s); display: grid; flex: none; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--navy-900); color: #fff; font-family: var(--mono); font-size: 0.85rem; }
.fcrpub-access-card { padding: 32px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: var(--shadow); }
.fcrpub-alert { margin: 0 0 16px; padding: 12px 14px; border-radius: 10px; }
.fcrpub-try ~ .fcrpub-alert { margin: 20px 0 0; }
.fcrpub-alert-error { background: #FDECEA; color: #8E1C1C; }
.fcrpub-alert-success { background: #E8F3EC; color: #1B4D2C; }
.fcrpub-form { display: grid; gap: 14px; }
.fcrpub-form p { margin: 0; }
.fcrpub-form a { color: var(--primary); font-weight: 700; }
.fcrpub-form label, .fcrpub-form legend { display: block; margin-bottom: 4px; font-size: 0.92rem; font-weight: 700; }
.fcrpub-form input:not([type=checkbox]):not([type=hidden]), .fcrpub-form textarea { display: block; width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid #AEBCC9; border-radius: 10px; background: #fff; color: var(--ink); font: inherit; transition: border-color .15s; }
.fcrpub-form input:hover, .fcrpub-form textarea:hover { border-color: var(--primary); }
.fcrpub-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fcrpub-form fieldset { min-width: 0; margin: 0; padding: 10px 14px 12px; border: 1px solid var(--line); border-radius: 10px; }
.fcrpub-check { display: flex !important; align-items: center; gap: 10px; min-height: 32px; margin: 0 !important; font-weight: 500 !important; cursor: pointer; }
.fcrpub-check input { width: 18px; height: 18px; accent-color: var(--primary); }
.fcrpub-form .validation-message { margin-top: 4px; color: #B3261E; font-size: 0.85rem; }
.fcrpub-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Pied de page */
.fcrpub-footer { padding: 56px 0 44px; background: var(--navy-950); color: var(--on-dark-muted); font-size: 0.95rem; }
.fcrpub-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.fcrpub-footer p { margin: 12px 0 0; max-width: 340px; }
.fcrpub-footer h2 { margin: 0 0 12px; font-size: 0.85rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; }
.fcrpub-footer ul { margin: 0; padding: 0; list-style: none; }
.fcrpub-footer li + li { margin-top: 6px; }
.fcrpub-footer a:not(.fcrpub-brand) { text-decoration: none; }
.fcrpub-footer a:not(.fcrpub-brand):hover { color: #fff; text-decoration: underline; }

/* Connexion */
.fcrpub-auth { min-height: 100dvh; }
.fcrpub-auth-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); min-height: 100dvh; }
.fcrpub-auth-side { position: relative; display: flex; flex-direction: column; gap: 40px; overflow: hidden; padding: 40px 56px; color: #fff; background: radial-gradient(70% 70% at 80% 10%, rgba(91, 176, 240, 0.24), rgba(91, 176, 240, 0) 65%), linear-gradient(165deg, var(--navy-950), var(--navy-900) 70%, var(--navy-800)); }
.fcrpub-auth-side::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px); background-size: 48px 48px; }
.fcrpub-auth-side > * { position: relative; }
.fcrpub-auth-pitch { margin-block: auto; max-width: 620px; }
.fcrpub-auth-claim { margin: 0 0 28px; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.025em; }
.fcrpub-login-art { position: relative; padding: 34px 0 58px; }
.fcrpub-login-chip { position: absolute; display: grid; padding: 9px 14px; border: 1px solid var(--line-dark); border-radius: 12px; background: rgba(7, 26, 44, 0.88); font-size: 0.8rem; color: var(--on-dark-muted); }
.fcrpub-login-chip strong { color: #fff; font-size: 0.92rem; }
.fcrpub-login-chip-a { left: 0; top: 0; }
.fcrpub-login-chip-b { right: 0; bottom: 0; border-color: rgba(245, 181, 68, 0.5); }
.fcrpub-login-chip-b strong { color: var(--amber); font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.fcrpub-auth-points { display: grid; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--on-dark); }
.fcrpub-auth-points li { position: relative; padding-left: 26px; }
.fcrpub-auth-points li::before { content: ""; position: absolute; left: 3px; top: 0.35em; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.fcrpub-auth-main { display: grid; place-items: center; padding: 40px 24px; }
.fcrpub-auth-card { width: 100%; max-width: 420px; }
.fcrpub-auth-card h1 { margin: 0 0 6px; font-size: 1.9rem; font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
.fcrpub-auth-sub { margin: 0 0 28px; color: var(--muted); }
.fcrpub-auth-links { margin: 16px 0 0; color: var(--muted); font-size: 0.95rem; text-align: center; }
.fcrpub-auth-links a { color: var(--primary); font-weight: 700; }
.fcrpub-password { position: relative; }
.fcrpub-password input { padding-right: 52px !important; }
.fcrpub-password-toggle { position: absolute; right: 2px; top: 2px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--muted); cursor: pointer; }
.fcrpub-password-toggle[hidden] { display: none; }
.fcrpub-password-toggle:hover { color: var(--ink); }
.fcrpub-password-toggle[aria-pressed=true] { color: var(--primary); }
.fcrpub-password-toggle svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Adaptation */
@media (max-width: 1080px) {
    .fcrpub-nav-links, .fcrpub-nav-actions { display: none; }
    .fcrpub-menu { display: block; }
}

@media (max-width: 960px) {
    .fcrpub-hero { padding-top: 112px; }
    .fcrpub-hero-grid, .fcrpub-split, .fcrpub-duo, .fcrpub-faq-grid, .fcrpub-access, .fcrpub-try-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .fcrpub-strip { grid-template-columns: repeat(2, 1fr); gap: 20px 0; margin-top: 48px; }
    .fcrpub-strip li:nth-child(odd) { padding-left: 0; border-left: 0; }
    .fcrpub-grid-2 { grid-template-columns: minmax(0, 1fr); }
    .fcrpub-section { padding: 72px 0; }
    .fcrpub-access-intro { position: static; }
    .fcrpub-route-rail { display: none; }
    .fcrpub-steps { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .fcrpub-auth-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
    .fcrpub-auth-side { padding: 18px 24px; gap: 0; }
    .fcrpub-auth-pitch { display: none; }
}

@media (max-width: 560px) {
    .fcrpub-container { padding-inline: 16px; }
    .fcrpub-hero-title { font-size: 2.15rem; }
    .fcrpub-hero-actions .fcrpub-btn, .fcrpub-try .fcrpub-btn { width: 100%; }
    .fcrpub-scan { padding: 14px; }
    .fcrpub-scan-vin { gap: 2px; font-size: 0.66rem; }
    .fcrpub-scan-facts div { padding: 7px 8px; }
    .fcrpub-scan-facts dd { font-size: 0.92rem; }
    .fcrpub-strip { grid-template-columns: minmax(0, 1fr); }
    .fcrpub-strip li { padding-left: 0; border-left: 0; }
    .fcrpub-vinmap { gap: 2px; }
    .fcrpub-vinmap span { border-radius: 3px; }
    .fcrpub-try { flex-direction: column; }
    .fcrpub-form-row { grid-template-columns: minmax(0, 1fr); }
    .fcrpub-access-card, .fcrpub-report { padding: 20px; }
    .fcrpub-product-art { padding: 22px 24px 16px; }
    .fcrpub-product-body { padding: 22px; }
    .fcrpub-footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
