/* ==========================================================================
   Graveur — feuille de style
   ========================================================================== */

:root {
    /* Charte plaque claire : blanc, noir, jaune signal */
    --plate-black: #111111;
    --plate-black-soft: #f3f1ec;
    --plate-black-mist: #f7f4ee;

    --forest: #111111;
    --forest-dark: #000000;
    --forest-soft: #f7f4ee;
    --forest-mist: #fbf9f5;

    --ink: #161616;
    --ink-2: #3f3c38;
    --muted: #5e5a54;
    --paper: #f7f4ee;
    --paper-2: #efeae2;
    --white: #ffffff;
    --line: #e7e1d6;
    --line-strong: #d4cbbd;
    --brand: #111111;
    --brand-dark: #000000;
    --brand-soft: #f7f4ee;
    --plate-yellow: #f5c400;
    --plate-yellow-dark: #e0b000;
    --plate-blue: #0047ab;
    --gold: #e0b000;
    --sand: #e7e1d6;
    --star: #e0b000;
    --red: #c1272d;
    --red-soft: #fdecea;
    --whatsapp: #1f8a4c;
    --whatsapp-dark: #187240;
    --green: #1f8a4c;
    --green-soft: #e7f6ee;

    --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
    --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-plate: "Barlow Condensed", "Arial Narrow", sans-serif;
    --font-plate-ar: "Noto Kufi Arabic", "IBM Plex Sans Arabic", sans-serif;

    --radius: 10px;
    --radius-lg: 14px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --header-h: 68px;
}

[dir="rtl"] {
    --font-display: "Noto Kufi Arabic", "Barlow Condensed", sans-serif;
    --font-body: "IBM Plex Sans Arabic", "Instrument Sans", sans-serif;
}

/* Téléphones / emails / chiffres : toujours LTR isolés en arabe */
.phone-ltr,
bdi[dir="ltr"] {
    direction: ltr;
    unicode-bidi: isolate;
    display: inline-block;
    font-variant-numeric: tabular-nums;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; }
p { margin: 0; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.container { width: min(1160px, 100% - 40px); margin-inline: auto; }

/* ---------- Boutons ---------- */
.btn {
    --h: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: var(--h);
    padding-inline: 20px;
    border-radius: 8px;
    border: 1.5px solid transparent;
    font-weight: 600;
    font-size: 15px;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .15s, border-color .15s, color .15s;
}
.btn-sm { --h: 38px; padding-inline: 14px; font-size: 14px; }
.btn-lg { --h: 54px; padding-inline: 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary, .btn-accent { background: var(--plate-yellow); color: #111; border: 0; font-weight: 800; box-shadow: none; }
.btn-primary:hover, .btn-accent:hover { background: var(--plate-yellow-dark); }
.btn-dark { background: var(--forest); color: #fff; }
.btn-dark:hover { background: var(--forest-dark); }
.btn-outline { border-color: var(--brand); color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-white { background: #fff; color: var(--brand); }
.btn-white:hover { background: var(--paper); }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-whatsapp { background: #1c9e50; color: #fff; }
.btn-whatsapp:hover { background: #157f3f; }
.icon-arrow { transition: transform .2s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(3px); }
[dir="rtl"] .icon-arrow { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .icon-arrow { transform: scaleX(-1) translateX(3px); }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--header-h);
    background: #fff;
    border-top: 3px solid var(--plate-yellow);
    border-bottom: 2px solid var(--forest);
    box-shadow: none;
}
.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    line-height: 0;
}
.logo { display: block; width: auto; height: 46px; }
.site-footer .logo { height: 54px; }

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.main-nav .nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
}
.main-nav .nav-links a {
    position: relative;
    padding: 6px 10px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: var(--forest) !important;
    white-space: nowrap;
    border-radius: 0;
    box-shadow: none;
    transition: color .15s;
}
.main-nav .nav-links a::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 2px;
    height: 2px;
    background: var(--plate-yellow);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .18s var(--ease);
}
.main-nav .nav-links a:hover,
.main-nav .nav-links a:focus-visible {
    opacity: 1;
    color: var(--forest-dark) !important;
    background: transparent;
    box-shadow: none;
}
.main-nav .nav-links a:hover::after,
.main-nav .nav-links a:focus-visible::after {
    transform: scaleX(1);
}
[dir="rtl"] .main-nav .nav-links a::after { transform-origin: right; }
.main-nav .nav-extras,
.main-nav .nav-mobile-only { display: none; }

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-inline-start: auto;
    flex-shrink: 0;
}
.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 36px;
    padding: 0 10px;
    font-weight: 800;
    font-size: 14px;
    font-variant-numeric: tabular-nums;
    color: var(--forest);
    background: #fff;
    border: 2px solid var(--forest);
    border-radius: 4px;
}
.header-phone svg { color: var(--forest); order: -1; } /* LTR : icône à gauche du numéro */
[dir="rtl"] .header-phone svg { order: 1; } /* RTL : icône à gauche visuelle, numéro à droite (lecture arabe) */
.header-phone:hover { color: var(--forest-dark); background: var(--plate-yellow); }
/* Sélecteur langue — texte FR / ع (pas de drapeaux : le site est marocain) */
.lang-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    box-sizing: border-box;
    height: 36px;
    padding: 3px;
    background: #fff;
    border: 2px solid var(--forest);
    border-radius: 4px;
    flex-shrink: 0;
}
.lang-switch .lang-opt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 100%;
    padding: 0 8px;
    border-radius: 2px;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .04em;
    color: var(--ink-2);
    opacity: .55;
    transition: opacity .15s, background .15s, color .15s;
    line-height: 1;
}
.lang-switch .lang-opt:hover {
    opacity: 1;
    background: var(--forest-soft);
    color: var(--ink);
}
.lang-switch .lang-opt.active {
    opacity: 1;
    background: var(--plate-yellow);
    color: var(--plate-black);
    outline: 1.5px solid var(--forest);
    outline-offset: -1.5px;
}

.menu-toggle {
    display: none;
    box-sizing: border-box;
    width: 36px;
    height: 36px;
    padding: 0;
    margin: 0;
    border: 1.5px solid var(--line);
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    appearance: none;
    -webkit-appearance: none;
}
.menu-toggle span { position: absolute; left: 9px; right: 9px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease); }
.menu-toggle span:first-child { top: 12px; }
.menu-toggle span:last-child { top: 20px; }
.menu-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Plaque ---------- */
.plate {
    --pw: 520px;
    --u: calc(var(--pw) / 520);
    --plate-bg: #fdfdfc;
    --plate-r: max(10px, calc(12 * var(--u)));
    --frame: max(2px, calc(2.25 * var(--u)));
    --bw: 1px;
    position: relative;
    width: var(--pw);
    aspect-ratio: 520 / 110;
    /* Le cadre noir = padding du shell (coins toujours pleins, jamais coupés) */
    border: 0;
    border-radius: var(--plate-r);
    background: #0b0b0c;
    color: #0b0b0c;
    padding: var(--frame);
    box-shadow: 0 calc(10 * var(--u)) calc(22 * var(--u)) calc(-12 * var(--u)) rgba(30, 25, 15, .28);
    user-select: none;
    flex-shrink: 0;
    box-sizing: border-box;
}
/* Nouvelle norme : MA | numéro | lettre | code ville — séparateurs = gap noir */
.plate-face {
    height: 100%;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: stretch;
    gap: var(--bw);
    padding: 0;
    border: 0;
    border-radius: max(6px, calc(var(--plate-r) - var(--frame)));
    overflow: hidden;
    background: #0b0b0c;
    box-sizing: border-box;
}
.plate-face > * {
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 0;
    align-self: stretch;
    background: var(--plate-bg);
    border: 0 !important;
    box-sizing: border-box;
}
.plate-ma {
    padding-inline: calc(9 * var(--u));
    font-family: var(--font-plate);
    font-weight: 700;
    font-size: calc(46 * var(--u));
    letter-spacing: calc(1 * var(--u));
    line-height: 1;
    overflow: hidden;
}
.plate-ma-text {
    display: block;
    font: inherit;
    letter-spacing: inherit;
    line-height: inherit;
}
.plate-num, .plate-region, .plate-ww {
    font-family: var(--font-plate);
    font-weight: 700;
    font-size: calc(64 * var(--u));
    line-height: 1;
    text-align: center;
    font-variant-numeric: tabular-nums;
}
.plate-num, .plate-ww {
    --ls: calc(1.2 * var(--u));
    letter-spacing: var(--ls);
    text-indent: var(--ls);
    padding-inline: 0;
    margin: 0;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    justify-self: stretch;
    text-align: center;
    overflow: hidden;
}
/* Hero : overlay flex (l’input placeholder ne centre jamais correctement) */
.plate-num-cell {
    --ls: calc(1.2 * var(--u));
    position: relative;
    display: grid;
    place-items: center;
    min-width: 0;
    background: var(--plate-bg);
}
.plate-num-view {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    pointer-events: none;
    user-select: none;
    overflow: hidden;
}
.plate-num-inner {
    font-family: var(--font-plate);
    font-weight: 700;
    font-size: calc(64 * var(--u));
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: var(--ls);
}
.plate-num-cell .plate-num {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0 !important;
    border: 0 !important;
    padding: 0 !important;
    text-indent: 0 !important;
    letter-spacing: var(--ls) !important;
    text-align: center !important;
    color: transparent;
    caret-color: #0b0b0c;
    background: transparent !important;
    display: block !important;
}
.plate-num-cell .plate-num::placeholder { color: transparent; }
.plate-num-cell:focus-within .plate-num-view { opacity: 0; }
.plate-num-cell:focus-within .plate-num {
    color: inherit;
    margin-right: calc(var(--ls) * -1) !important;
}
/* Code ville : texte centré en flex (l’input seul ne centre pas bien le « 6 ») */
.plate-region-cell {
    width: calc(92 * var(--u));
    display: grid;
    place-items: center;
    position: relative;
    background: var(--plate-bg);
}
.plate-region-view {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-family: var(--font-plate);
    font-weight: 700;
    font-size: calc(64 * var(--u));
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
    pointer-events: none;
    user-select: none;
    transform: none;
}
.plate-region-cell .plate-region {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    border: 0 !important;
    padding: 0 !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    color: transparent;
    caret-color: #0b0b0c;
    background: transparent !important;
    display: block !important;
    font-size: calc(64 * var(--u));
}
.plate-region-cell .plate-region::placeholder { color: transparent; }
.plate-region-cell:focus-within .plate-region-view { opacity: 0; }
.plate-region-cell:focus-within .plate-region { color: inherit; }
span.plate-region {
    width: calc(92 * var(--u));
    display: flex !important;
    align-items: center;
    justify-content: center;
    letter-spacing: 0 !important;
    padding: 0 !important;
    transform: none;
    font-size: calc(64 * var(--u));
}
.plate-letter {
    --bw: 1px;
    width: calc(78 * var(--u));
    display: grid;
    grid-template-rows: 1fr 1fr;
    align-items: stretch;
    gap: var(--bw);
    background: #0b0b0c !important; /* pas le fond blanc de .letter-pick */
}
.plate-letter > * {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 0;
    overflow: hidden;
    line-height: 1;
    padding: 0;
    background: var(--plate-bg) !important;
    border: 0 !important;
}
.plate-letter-ar {
    font-family: var(--font-plate-ar);
    font-weight: 800;
    font-size: calc(34 * var(--u));
}
.plate-letter-lat {
    font-family: var(--font-plate);
    font-weight: 700;
    font-size: calc(36 * var(--u));
}
.plate-ww { display: none !important; padding-inline: calc(16 * var(--u)); }
.plate.is-ww .plate-letter,
.plate.is-ww .plate-region,
.plate.is-ww .plate-region-cell { display: none !important; }
.plate.is-ww .plate-ww { display: grid !important; }
.plate.is-ww .plate-face { grid-template-columns: auto minmax(0, 1fr) auto; }
.plate-shine { position: absolute; inset: 0; pointer-events: none; border-radius: inherit; }

.plate--plexi { --plate-bg: #fff; }
.plate--plexi .plate-shine { background: linear-gradient(180deg, rgba(255,255,255,.7) 0%, rgba(255,255,255,.15) 38%, transparent 40%); }
.plate--relief {
    --plate-bg: #17191c;
    color: #f5f5f2;
    box-shadow: 0 calc(10 * var(--u)) calc(22 * var(--u)) calc(-12 * var(--u)) rgba(0,0,0,.45);
}
.plate--relief .plate-face { background: #0b0b0c; }
.plate--relief .plate-num, .plate--relief .plate-region, .plate--relief .plate-letter, .plate--relief .plate-ww {
    text-shadow: 0 calc(1 * var(--u)) 0 #cfcfca, 0 calc(2 * var(--u)) 0 #9d9d98, 0 calc(4 * var(--u)) calc(5 * var(--u)) rgba(0,0,0,.7);
}

/* Moto : deux lignes — mêmes gaps 1px (traits horizontaux + verticaux) */
.plate--moto { aspect-ratio: 210 / 130; --u: calc(var(--pw) / 290); }
.plate--moto .plate-face {
    grid-template-columns: auto minmax(0, 1.1fr) minmax(0, 1fr);
    grid-template-rows: 1fr 1fr;
}
.plate--moto .plate-ma {
    grid-row: 1 / -1;
    grid-column: 1;
    padding-inline: calc(8 * var(--u));
    font-size: calc(30 * var(--u));
    overflow: hidden;
}
.plate--moto .plate-ma-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}
.plate--moto .plate-letter {
    grid-row: 1;
    grid-column: 2;
    width: auto;
    grid-template-rows: none;
    grid-template-columns: 1fr 1fr;
}
.plate--moto .plate-letter-ar { font-size: calc(42 * var(--u)); }
.plate--moto .plate-letter-lat { font-size: calc(44 * var(--u)); }
.plate--moto .plate-region,
.plate--moto .plate-region-cell {
    grid-row: 1;
    grid-column: 3;
    width: auto;
    min-width: 0;
}
.plate--moto .plate-region {
    font-size: calc(48 * var(--u));
    display: flex !important;
    align-items: center;
    justify-content: center;
    letter-spacing: 0 !important;
    padding: 0 !important;
    transform: none;
}
.plate--moto .plate-num {
    grid-row: 2;
    grid-column: 2 / -1;
    font-size: calc(48 * var(--u));
    --ls: calc(2 * var(--u));
    letter-spacing: var(--ls);
    text-indent: var(--ls);
    padding-inline: 0;
    overflow: hidden;
}
.plate--moto.is-ww .plate-ww {
    grid-row: 1;
    grid-column: 2 / -1;
    font-size: calc(56 * var(--u));
}

/* Plaque éditable (accueil) */
.plate-editor input {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0 !important;
    border-radius: 0;
    appearance: none;
    -webkit-appearance: none;
    background: var(--plate-bg);
    color: inherit;
    cursor: text;
    min-width: 0;
}
.plate-editor .plate-num-cell:focus-within { background: var(--plate-black-soft); }
.plate-editor .plate-num-cell:hover { background: var(--plate-black-mist); }
.plate-editor .plate-num-cell:focus-within:hover { background: var(--plate-black-soft); }
.plate-editor .plate-region-cell:focus-within { background: var(--plate-black-soft); }
.plate-editor input::placeholder { color: #0b0b0c; opacity: 1; }
.plate-editor input:focus::placeholder { opacity: .18; }
.plate-editor input:focus { outline: none; background: var(--plate-black-soft); }
.plate-editor input:hover { background: var(--plate-black-mist); }
.letter-pick { position: relative; cursor: pointer; background: #0b0b0c !important; }
.letter-pick select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 18px; border: 0; appearance: none; -webkit-appearance: none; }
.letter-pick:hover > .plate-letter-ar,
.letter-pick:hover > .plate-letter-lat,
.letter-pick:focus-within > .plate-letter-ar,
.letter-pick:focus-within > .plate-letter-lat { background: var(--plate-black-soft) !important; }
.plate-editor .plate-letter-ar,
.plate-editor .plate-letter-lat { background: var(--plate-bg) !important; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: 48px 0 52px;
    border-bottom: 3px solid var(--plate-yellow);
    background:
        radial-gradient(ellipse 90% 70% at 80% 40%, rgba(242, 208, 74, .16), transparent 60%),
        linear-gradient(180deg, #ffffff 0%, #f5f7f6 100%);
    color: var(--ink);
    overflow: hidden;
}
.hero-inner {
    /* direction LTR fixe : on place copy/plate nous-mêmes (évite le double flip RTL) */
    direction: ltr;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    grid-template-areas:
        "copy plate"
        "actions plate";
    align-items: center;
    column-gap: 56px;
    row-gap: 22px;
}
/* Arabe : texte à droite, plaque à gauche */
[dir="rtl"] .hero-inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    grid-template-areas:
        "plate copy"
        "plate actions";
}
.hero-copy {
    grid-area: copy;
    display: flex;
    flex-direction: column;
    align-items: start;
    text-align: start;
    gap: 0;
}
[dir="rtl"] .hero-copy,
[dir="rtl"] .workbench-actions {
    direction: rtl;
}
.kicker { display: none; }
.hero-ma {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin: 12px 0 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
}
.hero-signs {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.hero-sign { display: block; height: 40px; width: auto; }
.hero-sign-flag { height: 34px; width: 51px; }
.hero-sign-map { height: 44px; width: auto; }
.hero-sign-star { height: 40px; width: 40px; }
.hero-sign-oval { height: 40px; width: auto; }
.hero-ma > span:last-child { display: flex; align-items: center; padding: 0; }
.hero-ma-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 34px;
    padding: 0;
    background: #fff;
    color: #111;
    font-family: var(--font-plate);
    font-weight: 800;
    font-size: 16px;
    letter-spacing: .02em;
    border: 2.5px solid #111;
    border-radius: 999px;
    line-height: 1;
}
.hero-title { margin: 0; max-width: 14ch; }
.hero-title-big {
    display: block;
    font-family: var(--font-plate);
    font-weight: 800;
    font-size: clamp(32px, 3.4vw, 44px);
    line-height: .95;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--forest);
}
.hero-title-small {
    display: block;
    margin: 14px 0 0;
    max-width: 28ch;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: clamp(16px, 1.5vw, 19px);
    line-height: 1.4;
    color: var(--ink-2);
    letter-spacing: 0;
}
[dir="rtl"] .hero-copy {
    align-items: start; /* start = droite en RTL */
    text-align: start;
}
[dir="rtl"] .hero-title { max-width: 16ch; }
[dir="rtl"] .hero-title-big { font-size: clamp(28px, 3.8vw, 42px); line-height: 1.25; text-transform: none; }
[dir="rtl"] .hero-title-small { max-width: 24ch; }

.workbench-plate {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    gap: 12px;
    min-height: 0;
    padding: 8px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.workbench-plate .plate {
    /* --pw doit rester px/vw, jamais % : --u = pw/520 */
    --pw: min(480px, calc(46vw - 40px));
    width: var(--pw);
}
.workbench-plate { grid-area: plate; }

/* Guide : curseur dans le numéro + flèche sous la plaque */
.plate-editor:not(.is-guided) .plate-num-inner::after {
    content: "";
    display: inline-block;
    width: max(2px, calc(2.5 * var(--u)));
    height: .82em;
    margin-inline-start: max(1px, calc(1.5 * var(--u)));
    background: #0b0b0c;
    vertical-align: -.06em;
    animation: plate-caret 1.05s steps(1, end) infinite;
}
.plate-num-cell:focus-within .plate-num-inner::after,
.plate-editor.is-guided .plate-num-inner::after { display: none; }
@keyframes plate-caret {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}
.plate-editor:not(.is-guided) .plate-num-cell {
    animation: plate-num-pulse 2.4s ease-in-out infinite;
}
.plate-editor.is-guided .plate-num-cell,
.plate-num-cell:focus-within { animation: none; }
@keyframes plate-num-pulse {
    0%, 100% { background: var(--plate-bg); }
    50% { background: var(--plate-black-mist); }
}
.plate-guide {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: var(--forest);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    transition: opacity .25s ease, transform .25s ease;
}
.plate-guide-arrow {
    display: grid;
    place-items: center;
    color: var(--forest);
    animation: plate-guide-bounce 1.2s ease-in-out infinite;
}
@keyframes plate-guide-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}
.workbench-plate.is-guided .plate-guide {
    opacity: 0;
    transform: translateY(-4px);
    pointer-events: none;
    height: 0;
    margin: 0;
    overflow: hidden;
}
.workbench-actions {
    grid-area: actions;
    display: flex;
    align-self: start;
    justify-self: start;
    width: 100%;
    max-width: 280px;
    margin: 0;
}
[dir="rtl"] .workbench-actions {
    /* grille hero en direction:ltr → right = côté texte arabe */
    justify-self: right;
    margin: 0;
}
.workbench-actions .btn { width: 100%; justify-content: center; }
[dir="rtl"] .hero .btn-primary {
    flex-direction: row-reverse;
}
[dir="rtl"] .hero .btn-primary .icon-arrow {
    transform: scaleX(-1);
}
.hero .btn-primary {
    background: var(--plate-yellow);
    color: var(--plate-black);
    border-color: var(--plate-black);
    border-width: 2px;
    font-weight: 800;
}
.hero .btn-primary:hover {
    background: #ffe066;
    border-color: var(--plate-black);
    color: var(--plate-black);
}
.text-link { font-weight: 600; color: var(--ink); border-bottom: 2px solid var(--plate-yellow); }
.text-link:hover { border-color: var(--brand); }
.arrow { display: inline-block; }
[dir="rtl"] .arrow { transform: scaleX(-1); }
.rating { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; }
[dir="rtl"] .rating { flex-direction: row-reverse; justify-content: flex-end; }
.rating-count { color: var(--muted); font-size: 14px; }
.rating:hover .rating-count { color: var(--brand); text-decoration: underline; }
.stars { display: inline-flex; gap: 1px; color: var(--star); }

.facts { padding: 28px 0 0; }
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-strong); border-radius: 12px; background: #fff8d9; box-shadow: none; padding-inline: 28px; }
.fact span { color: var(--ink-2) !important; }
.fact { padding: 22px 22px 22px 0; display: flex; flex-direction: column; gap: 4px; }
.fact + .fact { padding-inline-start: 22px; border-inline-start: 1px solid rgba(28,39,34,.18); }
[dir="rtl"] .fact { padding: 28px 0 28px 28px; }
[dir="rtl"] .fact + .fact { padding-inline-start: 28px; }
.fact strong { font-family: var(--font-display); font-size: 24px; font-weight: 700; text-transform: uppercase; letter-spacing: .01em; }
[dir="rtl"] .fact strong { font-size: 19px; text-transform: none; }
.fact span { font-size: 14.5px; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; content-visibility: auto; contain-intrinsic-size: 1px 720px; }
.section-paper { background: var(--paper); border-block: 1px solid var(--line); }

/* ---------- Entreprises ---------- */
.biz-section {
    padding: 72px 0;
    background: #fff;
    color: var(--ink);
    border-block: 1px solid var(--line);
}
.biz-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 40px 48px;
    align-items: center;
}
.biz-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    background: none;
    padding: 0;
    border-radius: 0;
}
[dir="rtl"] .biz-eyebrow { letter-spacing: 0; text-transform: none; }
.biz-copy h2 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(26px, 2.6vw, 32px);
    text-transform: uppercase;
    line-height: 1.15;
    letter-spacing: 0;
    color: var(--ink);
    margin: 0;
}
[dir="rtl"] .biz-copy h2 {
    text-transform: none;
    line-height: 1.3;
    font-size: clamp(24px, 2.4vw, 30px);
}
.biz-text {
    margin-top: 14px;
    font-size: 16.5px;
    line-height: 1.55;
    color: var(--ink-2);
    max-width: 46ch;
}
.biz-points {
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}
.biz-points li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    font-weight: 550;
    color: var(--ink);
}
.biz-points li::before {
    content: "";
    width: 8px;
    height: 8px;
    margin-top: 7px;
    border-radius: 50%;
    background: var(--plate-yellow);
    flex-shrink: 0;
}
.biz-actions {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 24px;
}
.biz-price small {
    display: block;
    font-size: 12.5px;
    color: var(--muted);
}
.biz-price strong {
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
    color: var(--ink);
}
.biz-section .btn-primary {
    background: #111;
    color: #fff;
}
.biz-section .btn-primary:hover {
    background: #000;
    color: #fff;
}
.biz-visual {
    display: grid;
    place-items: center;
    padding: 36px 24px;
    border-radius: 16px;
    background: var(--paper);
    border: 1px solid var(--line);
}
.biz-visual .plate {
    /* px/vw only: un % dans --pw casse font-size/calc(--u) (100% = taille de police) */
    --pw: 420px;
    max-width: 100%;
    color: #0b0b0c;
}
.hero, #produits { content-visibility: visible; }
.facts, #etapes, #avis, #boutique, #faq, .help, .biz-section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 560px;
}
.section-head { margin-bottom: 24px; max-width: 640px; }
.section-head h2 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(26px, 2.6vw, 32px);
    text-transform: uppercase;
    line-height: 1.15;
    letter-spacing: 0;
    color: var(--ink);
}
[dir="rtl"] .section-head h2 {
    text-transform: none;
    line-height: 1.3;
    font-size: clamp(24px, 2.4vw, 30px);
}
.section-head p { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* Tarifs */
.price-row--auto .price-row-buy .btn { background: var(--plate-yellow); color: #111; border-color: transparent; }
.price-row--moto .price-row-buy .btn { background: #fff; color: #111; border: 2px solid #111; }
.price-row--entreprise .price-row-buy .btn { background: #111; color: #fff; border-color: #111; }
.price-row--plexi-premium .price-row-buy .btn { background: #c1272d; color: #fff; border-color: #c1272d; }
.price-row--auto { border-inline-start: 4px solid var(--plate-yellow); }
.price-row--moto { border-inline-start: 4px solid #111; }
.price-row--entreprise { border-inline-start: 4px solid #111; }
.price-row--plexi-premium { border-inline-start: 4px solid #c1272d; }
.price-row {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr) auto;
    gap: 40px;
    align-items: center;
    padding: 32px 0;
    border-bottom: 1px solid var(--line);
}
.price-row-visual {
    display: grid;
    place-items: center;
    padding: 8px 0;
    min-height: 0;
    background: transparent;
    border-radius: 0;
}
.price-row-visual .plate { --pw: 250px; }
.price-row-visual .plate--moto { --pw: 150px; }
.price-row-info h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-family: var(--font-display); font-size: 28px; font-weight: 700; text-transform: uppercase; letter-spacing: .01em; color: var(--forest); }
[dir="rtl"] .price-row-info h3 { text-transform: none; font-size: 22px; }
.tag { font-family: var(--font-plate); font-size: 13px; font-weight: 700; letter-spacing: .08em; padding: 2px 8px; border-radius: 4px; border: 2px solid var(--ink); background: var(--plate-yellow); color: var(--ink); }
.price-row-info p { margin-top: 6px; color: var(--ink-2); }
.price-row-info ul { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--muted); }
.price-row-info li { position: relative; padding-inline-start: 14px; }
.price-row-info li::before { content: ""; position: absolute; inset-inline-start: 0; top: .6em; width: 6px; height: 1.5px; background: var(--gold); }
.price-row-buy { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; min-width: 170px; }
.price { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; }
.price strong { font-family: var(--font-display); font-size: 40px; font-weight: 800; font-variant-numeric: tabular-nums; }
.price small { font-size: 13px; color: var(--muted); }

/* Étapes */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.steps li { padding: 28px 32px 8px 0; }
.steps li + li { padding-inline-start: 32px; border-inline-start: 1px solid var(--line); }
[dir="rtl"] .steps li { padding: 28px 0 8px 32px; }
[dir="rtl"] .steps li + li { padding-inline-start: 32px; }
.step-n { display: inline-grid; place-items: center; min-width: 52px; height: 36px; padding: 0 8px; border: 2.5px solid var(--forest); border-radius: 6px; background: var(--forest); box-shadow: inset 0 0 0 2px var(--forest), inset 0 0 0 3.5px #fff; font-family: var(--font-plate); font-weight: 700; font-size: 20px; letter-spacing: .06em; color: #fff; }
.steps h3 { margin-top: 18px; font-family: var(--font-display); font-size: 26px; font-weight: 700; text-transform: uppercase; color: var(--forest); }
[dir="rtl"] .steps h3 { text-transform: none; font-size: 21px; }
.steps p { margin-top: 8px; color: var(--ink-2); }

/* Qualité */
.quality-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; align-items: start; }
.quality-grid .section-head { margin-bottom: 0; }
.quality-copy { border-top: 2px solid var(--ink); padding-top: 24px; }
.quality-copy p { color: var(--ink-2); font-size: 17px; }
.quality-copy p + p { margin-top: 14px; }
.quality-copy .quality-note { padding: 12px 16px; border-inline-start: 5px solid var(--forest); background: var(--forest-soft); font-weight: 600; color: var(--forest-dark); }

/* Avis — compact (style mobile, grille horizontale desktop) */
#avis.section { padding: 48px 0; }
#avis .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 20px;
    row-gap: 16px;
}
#avis .reviews-title { grid-column: 1; margin-bottom: 0; max-width: none; }
#avis .reviews-title p { display: none; }
#avis .rating-plate { grid-column: 2; justify-self: end; }
#avis .review-grid { grid-column: 1 / -1; }
#avis .reviews-all { grid-column: 1 / -1; justify-self: start; margin-top: 0; }
[dir="rtl"] #avis .rating-plate { justify-self: start; }
[dir="rtl"] #avis .reviews-all { justify-self: end; }

.rating-plate {
    display: grid;
    grid-template-columns: auto auto auto auto;
    align-items: stretch;
    height: 44px;
    border: 1.5px solid var(--ink);
    border-radius: 8px;
    background: var(--plate-yellow);
    box-shadow: none;
    color: var(--ink);
    overflow: hidden;
    transition: transform .2s var(--ease);
}
.rating-plate:hover { transform: translateY(-1px); }
.rating-plate > * { display: grid; place-items: center; padding: 0 10px; min-height: 0; }
.rating-plate > * + * { border-left: 1.5px solid var(--ink); }
.rp-g { padding: 0 8px; }
.rp-g img { background: #fff; border-radius: 50%; padding: 2px; width: 20px; height: 20px; }
.rp-score { font-family: var(--font-plate); font-weight: 800; font-size: 22px; line-height: 1; letter-spacing: .02em; }
.rating-plate .stars { display: flex; align-items: center; color: var(--ink); gap: 1px; }
.rating-plate .stars svg { width: 12px; height: 12px; }
.rp-count { display: flex !important; flex-direction: column; justify-content: center; align-items: center; line-height: 1; }
.rp-count b { font-family: var(--font-plate); font-size: 16px; font-weight: 800; }
.rp-count small { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }

.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.review {
    margin: 0;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
    overflow: visible;
}
.review-strip {
    display: flex;
    align-items: center;
    gap: 6px;
    height: auto;
    margin: 0;
    padding: 10px 12px 0;
    border-bottom: 0;
}
.review-strip > * { display: flex; align-items: center; gap: 2px; padding: 0; border: 0 !important; }
.rs-g img { width: 14px; height: 14px; }
.rs-stars { flex: 1; justify-content: flex-start; }
.rs-stars svg { width: 12px; height: 12px; }
.rs-date {
    font-family: var(--font-plate);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: .65;
}
.review blockquote {
    margin: 0;
    flex: 1;
    padding: 6px 12px 8px;
    color: var(--ink);
    font-size: 13.5px;
    line-height: 1.4;
    text-align: start;
    overflow-wrap: anywhere;
    hyphens: auto;
}
.review figcaption { display: flex; align-items: center; gap: 8px; padding: 0 12px 10px; }
.review figcaption img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; border: 1px solid var(--ink); }
.review figcaption strong { font-size: 12.5px; font-weight: 600; text-transform: capitalize; }

/* Boutique */
.store-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: stretch; }
.store-info { margin: 0; border-top: 2px solid var(--ink); }
.store-info div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.store-info dt { font-size: 14px; color: var(--muted); }
.store-info dd { margin: 0; display: flex; flex-direction: column; gap: 2px; font-weight: 600; }
.store-info a:hover { color: var(--brand); text-decoration: underline; }
.store-btn { margin-top: 26px; }
.store-map { min-height: 400px; border-radius: var(--radius-lg); overflow: hidden; border: 2px solid var(--ink); background: var(--paper-2); }
.store-map iframe { display: block; width: 100%; height: 100%; min-height: 400px; border: 0; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; align-items: start; }
.faq-list { border-top: 2px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 600; font-size: 17px; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--brand); }
.faq-icon { position: relative; flex-shrink: 0; width: 16px; height: 16px; margin-inline-start: auto; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; inset-inline: 0; top: 50%; height: 2px; background: currentColor; transform: translateY(-50%); transition: transform .25s var(--ease); }
.faq-icon::after { transform: translateY(-50%) rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: translateY(-50%) rotate(0); }
.faq-item p { padding: 0 0 22px; color: var(--ink-2); max-width: 640px; }
[dir="rtl"] .faq-item p { margin-inline-end: 0; }

/* Aide */
.help { background: var(--plate-yellow); color: var(--ink); padding: 72px 0; border-top: 4px solid var(--ink); }
.help .btn-white { border: 2px solid var(--ink); color: var(--ink); }
.help .help-phone { border-bottom-color: var(--ink); }
.help-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.help h2 {
    font-family: var(--font-display);
    font-size: clamp(26px, 2.6vw, 32px);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.15;
    letter-spacing: 0;
    color: var(--forest);
}
[dir="rtl"] .help h2 { text-transform: none; line-height: 1.3; font-size: clamp(24px, 2.4vw, 30px); }
.help p { margin-top: 10px; font-size: 17px; opacity: .9; max-width: 520px; }
.help-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.help-phone { font-size: 22px; font-weight: 700; border-bottom: 2px solid rgba(255,255,255,.5); font-variant-numeric: tabular-nums; }
.help-phone:hover { border-color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--paper); border-top: 1px solid var(--line); padding: 56px 0 28px; font-size: 14.5px; color: var(--ink-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.1fr 1.1fr; gap: 40px; }
.footer-about p { margin-top: 14px; max-width: 340px; color: var(--muted); }
.footer-about strong { color: var(--ink); font-weight: 600; }
.site-footer h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; color: var(--forest); }
[dir="rtl"] .site-footer h4 { letter-spacing: 0; }
.site-footer .footer-grid > div:not(.footer-about) { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.site-footer a:hover { color: var(--brand); }
.footer-contact { display: flex; flex-direction: column; line-height: 1.3; }
.footer-contact span { color: var(--ink); font-weight: 600; }
.footer-contact small { font-size: 12.5px; color: var(--muted); }
.footer-about > a { display: inline-flex; }
.site-footer bdi { white-space: nowrap; }
.social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.social-btn {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 2px solid var(--ink);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    transition: background .15s, color .15s, transform .15s;
}
.social-btn:hover { background: var(--plate-yellow); color: var(--ink) !important; transform: translateY(-2px); }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.footer-bottom-left { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; }
.footer-credit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.footer-credit-logo {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    opacity: .92;
    transition: opacity .15s;
}
.footer-credit-logo:hover { opacity: 1; }
.footer-credit-logo img {
    display: block;
    height: 22px;
    width: auto;
}

.legal-hero {
    padding: 40px 0 28px;
    background: linear-gradient(180deg, var(--plate-black-mist) 0%, #fff 100%);
    border-bottom: 1px solid var(--line);
}
.legal-hero h1 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(28px, 4vw, 42px);
    text-transform: uppercase;
    line-height: 1.1;
    color: var(--ink);
}
[dir="rtl"] .legal-hero h1 { text-transform: none; font-size: clamp(24px, 3.6vw, 34px); }
.legal-updated { margin-top: 8px; color: var(--muted); font-size: 14px; }
.legal-section { padding: 36px 0 64px; }
.legal-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 200px;
    gap: 28px 40px;
    align-items: start;
}
.legal-doc { padding: 28px 28px 12px; }
.legal-block { margin-bottom: 22px; }
.legal-block h2 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--forest);
}
.legal-block p {
    color: var(--ink-2);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 10px;
}
.legal-nav {
    display: grid;
    gap: 6px;
    position: sticky;
    top: calc(var(--header-h) + 16px);
}
.legal-nav a {
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-2);
    border: 1px solid var(--line);
    background: #fff;
}
.legal-nav a:hover,
.legal-nav a.active {
    color: var(--forest);
    border-color: var(--forest);
    background: var(--forest-soft);
}
@media (max-width: 860px) {
    .legal-wrap { grid-template-columns: 1fr; }
    .legal-nav { position: static; grid-template-columns: 1fr; order: -1; }
    .legal-doc { padding: 20px 16px 8px; }
}

.wa-float {
    position: fixed;
    inset-inline-end: 20px;
    bottom: 20px;
    z-index: 40;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--whatsapp);
    color: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,.18);
}
.wa-float:hover { background: var(--whatsapp-dark); }

/* ---------- Formulaires ---------- */
.card { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--line); }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field > label, .field-label { font-size: 14px; font-weight: 600; }
.req { color: var(--red); font-weight: 700; margin-inline-start: 2px; }
.field-label { display: block; margin: 24px 0 10px; }
.field-label:first-of-type { margin-top: 4px; }
.field small { font-size: 12.5px; color: var(--muted); }
.field input, .field select, .field textarea {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border-radius: 8px;
    border: 1.5px solid var(--line-strong);
    background: #fff;
    font-size: 15.5px;
    transition: border-color .15s, box-shadow .15s;
}
.field textarea { height: auto; padding: 12px 14px; resize: vertical; }
.field select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='m1 1.5 5 5 5-5' stroke='%2315171a' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-inline-end: 38px;
}
[dir="rtl"] .field select { background-position: left 14px center; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #b4aea3; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.field .is-invalid { border-color: var(--red); }
.field-error { margin-top: 8px; color: var(--red); font-size: 13.5px; font-weight: 500; }
.field .field-error { margin-top: 0; }

.alert { padding: 13px 16px; border-radius: 8px; font-size: 14.5px; font-weight: 500; }
.alert-error { background: var(--red-soft); color: #9c231f; border: 1px solid #f1c9c6; }
.alert-success { background: var(--green-soft); color: #0f5a37; border: 1px solid #c4e3d0; }

/* ---------- Page commande ---------- */
.order-hero { background: var(--paper); border-bottom: 1px solid var(--line); padding: 40px 0 36px; }
.back-link { display: inline-block; font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.back-link:hover { color: var(--brand); }
.order-hero h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(36px, 4.6vw, 56px); text-transform: uppercase; line-height: 1; color: var(--forest); }
[dir="rtl"] .order-hero h1 { text-transform: none; line-height: 1.3; font-size: clamp(28px, 3.6vw, 42px); }
.order-hero p { margin-top: 10px; color: var(--ink-2); max-width: 560px; }

.order-section { padding: 32px 0 90px; background: var(--paper); }
.order-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; align-items: start; }
.order-steps { display: grid; gap: 16px; min-width: 0; }

.step-card {
    margin: 0;
    padding: 26px;
    min-width: 0;
    min-inline-size: 0; /* fieldset Safari/Chrome : évite le décalage horizontal */
    display: flex;
    flex-direction: column;
    gap: 0;
}
.step-title {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    margin: 0 0 20px;
    float: none;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--forest);
}
[dir="rtl"] .step-title { float: none; text-transform: none; font-size: 20px; }
.step-title span { display: grid; place-items: center; min-width: 40px; height: 30px; border: 2px solid var(--forest); border-radius: 5px; background: var(--forest); color: #fff; font-family: var(--font-plate); font-size: 17px; flex-shrink: 0; }

.model-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; min-width: 0; }
.model-option { min-width: 0; max-width: 100%; }
.model-option, .segmented label, .letter-picker label, .chip, .option-item { position: relative; }
.model-option input, .segmented input, .letter-picker input, .chip input, .option-item input { position: absolute; top: 0; inset-inline-start: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.model-box {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 14px;
    padding: 14px;
    border-radius: var(--radius);
    border: 1.5px solid var(--line);
    cursor: pointer;
    height: 100%;
    transition: border-color .15s, background-color .15s;
}
.model-box:hover { border-color: var(--line-strong); }
.model-option input:checked + .model-box { border-color: var(--brand); background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand); }
.model-option input:focus-visible + .model-box { outline: 2px solid var(--brand); outline-offset: 2px; }
.model-swatch { grid-row: span 2; width: 52px; height: 30px; border-radius: 3px; border: 1.25px solid var(--ink); background: #fff; align-self: center; box-shadow: inset 0 0 0 1.5px #fff, inset 0 0 0 2.5px var(--ink); }
.model-swatch--plexi { background: linear-gradient(115deg, #fff 40%, #e4e6ea 50%, #fff 60%); }
.model-swatch--relief { background: #17191c; box-shadow: inset 0 0 0 1.5px #17191c, inset 0 0 0 2.5px #eee; }
.model-swatch--moto { width: 38px; height: 30px; }
.model-info { display: flex; flex-direction: column; min-width: 0; }
.model-info strong { font-size: 15.5px; }
.model-info small { font-size: 12.5px; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.model-price { grid-column: 2; font-weight: 700; font-size: 15px; }

.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 22px; }
.segmented span { display: flex; flex-direction: column; padding: 12px 14px; border-radius: var(--radius); border: 1.5px solid var(--line); cursor: pointer; transition: border-color .15s, background-color .15s; }
.segmented strong { font-size: 15px; }
.segmented small { font-size: 12.5px; color: var(--muted); }
.segmented input:checked + span { border-color: var(--brand); background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand); }
.segmented input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }

.plate-inputs { display: grid; grid-template-columns: 1.2fr 1.6fr .8fr; gap: 14px; align-items: start; }
.plate-inputs.is-ww { grid-template-columns: 1fr; }
.plate-inputs.is-ww [data-standard-only] { display: none; }
.plate-inputs input { font-family: var(--font-plate); font-size: 28px !important; font-weight: 700; letter-spacing: .1em; text-align: center; height: 56px !important; }
[dir="rtl"] .plate-inputs .field { direction: rtl; }
.letter-picker { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.letter-picker span small { display: block; font-family: var(--font-plate); font-size: 12px; font-weight: 700; letter-spacing: .04em; opacity: .65; line-height: 1; }
.option-price small { font-weight: 500; color: var(--muted); }
.letter-picker span {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding-top: 2px;
    line-height: 1;
    height: 56px;
    border-radius: 8px;
    border: 1.5px solid var(--line-strong);
    background: #fff;
    font-family: var(--font-plate-ar);
    font-weight: 800;
    font-size: 20px;
    cursor: pointer;
    transition: all .15s;
}
.letter-picker span:hover { border-color: var(--ink); }
.letter-picker input:checked + span { background: var(--forest); border-color: var(--forest); color: #fff; }
.letter-picker input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }

.qty-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; justify-content: space-between; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.step-hint {
    margin: -4px 0 16px;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.45;
}
.fleet-block {
    display: grid;
    gap: 18px;
    margin-bottom: 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}
.fleet-vehicles-top { margin-bottom: 18px; }
.fleet-plates { display: grid; gap: 12px; margin-top: 14px; }
.fleet-plate-row {
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--paper);
}
.fleet-plate-head {
    font-size: 13px;
    font-weight: 700;
    color: var(--forest);
    margin-bottom: 10px;
}
.fleet-plate-fields {
    display: grid;
    grid-template-columns: 1.2fr 1fr .7fr;
    gap: 10px;
}
.fleet-plate-row.is-ww .fleet-letter-field,
.fleet-plate-row.is-ww .fleet-region-field { display: none; }
.fleet-plate-row.is-ww .fleet-plate-fields { grid-template-columns: 1fr; }
.fleet-plate-fields .field label { font-size: 12px; }
.fleet-plate-fields input,
.fleet-plate-fields select {
    height: 44px;
    font-family: var(--font-plate);
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}
@media (max-width: 700px) {
    .fleet-plate-fields { grid-template-columns: 1fr; }
}
.style-list { display: grid; gap: 8px; }
.company-banner {
    padding: 14px 16px;
    border-radius: 10px;
    background: var(--forest-soft);
    border-inline-start: 4px solid var(--forest);
}
.company-banner strong {
    display: block;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--forest);
}
.company-banner small {
    display: block;
    margin-top: 4px;
    color: var(--ink-2);
    font-size: 13.5px;
    line-height: 1.4;
}
.model-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 4px 0 8px;
}
.model-summary strong { display: block; font-size: 18px; }
.model-summary small { color: var(--muted); }
.options-details {
    margin-top: 18px;
    border-top: 1px solid var(--line);
    padding-top: 14px;
}
.options-details > summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--ink-2);
    list-style: none;
}
.options-details > summary::-webkit-details-marker { display: none; }
.options-details[open] > summary { margin-bottom: 12px; color: var(--ink); }
.style-list .option-item input[type="radio"] + .option-check {
    border-radius: 50%;
}
.chip > span {
    display: inline-flex;
    align-items: center;
    height: 44px;
    padding: 0 16px;
    border-radius: 8px;
    border: 1.5px solid var(--line-strong);
    font-size: 14.5px;
    font-weight: 500;
    cursor: pointer;
    transition: all .15s;
}
.chip-long, .chip-short {
    border: 0 !important;
    background: none !important;
    padding: 0 !important;
    height: auto !important;
    border-radius: 0 !important;
    display: inline;
    font: inherit;
    color: inherit;
}
.chip-short { display: none; }
.chip input:checked + span { border-color: var(--forest); background: var(--forest); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.stepper {
    display: inline-flex;
    align-items: center;
    width: max-content;
    max-width: 100%;
    border: 1.5px solid var(--line-strong);
    border-radius: 8px;
    height: 44px;
    overflow: hidden;
}
.stepper button { width: 42px; height: 100%; border: 0; background: transparent; font-size: 20px; cursor: pointer; }
.stepper button:hover { background: var(--paper); }
.stepper input { width: 42px; border: 0; text-align: center; font-weight: 700; font-size: 16px; -moz-appearance: textfield; background: transparent; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: none; }

.option-list { display: grid; gap: 8px; }
.option-item { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: var(--radius); border: 1.5px solid var(--line); cursor: pointer; transition: border-color .15s, background-color .15s; }
.option-item:hover { border-color: var(--line-strong); }
.option-item:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.option-check { flex-shrink: 0; width: 22px; height: 22px; border-radius: 5px; border: 1.5px solid var(--line-strong); background: #fff; display: grid; place-items: center; transition: all .15s; }
.option-check::after { content: ""; width: 10px; height: 6px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.option-item input:checked ~ .option-check { background: var(--brand); border-color: var(--brand); }
.option-item input:checked ~ .option-check::after { opacity: 1; }
.option-item input:focus-visible ~ .option-check { outline: 2px solid var(--brand); outline-offset: 2px; }
.option-text { flex: 1; display: flex; flex-direction: column; }
.option-text strong { font-size: 15px; }
.option-text small { font-size: 12.5px; color: var(--muted); }
.option-price { font-weight: 600; font-size: 14px; white-space: nowrap; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.check-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    cursor: pointer;
}
.check-row input {
    width: 18px;
    height: 18px;
    accent-color: var(--forest);
    flex-shrink: 0;
}
.field-hint { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); font-weight: 400; }
.field-full { grid-column: 1 / -1; }
.dropzone { position: relative; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px; border-radius: var(--radius); border: 1.5px dashed var(--line-strong); background: #fff; cursor: pointer; transition: border-color .15s, background-color .15s; }
.dropzone:hover, .dropzone.is-drag { border-color: var(--brand); background: var(--brand-soft); }
.dropzone.has-file { border-style: solid; border-color: #1f7a4d; background: #e8f6ee; }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; z-index: 2; }
.dropzone-idle { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; width: 100%; }
.dropzone-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dropzone span { font-weight: 600; font-size: 14.5px; }
.dropzone small { width: auto; margin: 0; font-weight: 500; }
.dropzone-done { display: none; align-items: center; gap: 12px; width: 100%; }
.dropzone.has-file .dropzone-idle { display: none; }
.dropzone.has-file .dropzone-done { display: flex; }
.dropzone-thumb, .dropzone-fileicon {
    width: 64px; height: 64px; flex-shrink: 0; border-radius: 10px;
    background: #fff; box-shadow: 0 0 0 1px rgba(31, 122, 77, .28);
}
.dropzone-thumb { object-fit: cover; }
.dropzone-fileicon { display: grid; place-items: center; color: #1f7a4d; }
.dropzone-thumb[hidden], .dropzone-fileicon[hidden] { display: none !important; }
.dropzone-done-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.dropzone-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 10px; border-radius: 999px;
    background: #1f7a4d; color: #fff;
    font-size: 13px; font-weight: 700; line-height: 1.2;
}
.dropzone-name {
    display: block; max-width: 100%;
    font-size: 13px; font-weight: 600; color: var(--ink);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.dropzone-change { font-size: 12px; font-weight: 600; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }

.order-aside { position: sticky; top: calc(var(--header-h) + 16px); }
.preview-card { padding: 22px; }
.preview-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.preview-head .eyebrow { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
[dir="rtl"] .preview-head .eyebrow { letter-spacing: 0; }
.preview-model { font-size: 13px; font-weight: 600; color: var(--brand); }
.preview-stage {
    margin-top: 14px;
    display: grid;
    place-items: center;
    min-height: 150px;
    padding: 26px 14px;
    border-radius: var(--radius);
    background:
        repeating-linear-gradient(0deg, transparent 0 19px, rgba(0,0,0,.035) 19px 20px),
        repeating-linear-gradient(90deg, transparent 0 19px, rgba(0,0,0,.035) 19px 20px),
        var(--paper);
    border: 1px solid var(--line);
}
.preview-stage .plate { --pw: 330px; }
.preview-stage .plate--moto { --pw: 190px; }
.preview-stage .plate.bump { animation: bump .3s var(--ease); }
@keyframes bump { 40% { transform: scale(1.025); } }
.preview-note { margin-top: 10px; font-size: 12px; color: var(--muted); text-align: center; }

.summary { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.summary h3 { font-size: 15px; font-weight: 700; color: var(--forest); }
.summary dl { margin: 12px 0 0; display: grid; gap: 9px; }
.summary dl div { display: flex; justify-content: space-between; font-size: 14.5px; }
.summary dt { color: var(--muted); }
.summary dt span { font-size: 12.5px; }
.summary dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.free-hint { margin-top: 12px; padding: 8px 12px; border-radius: 6px; background: var(--green-soft); color: var(--green); font-size: 13px; font-weight: 500; }
.free-hint.is-reached { display: none; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; padding-top: 14px; border-top: 1.5px solid var(--ink); }
.summary-total span { font-weight: 600; }
.summary-total strong { font-family: var(--font-display); font-size: 36px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1; }
.cod-note { display: flex; align-items: center; gap: 8px; margin: 12px 0 16px; font-size: 13.5px; color: var(--ink-2); }
.cod-note svg { color: var(--green); }
.secure-note { margin-top: 12px; text-align: center; font-size: 12.5px; color: var(--muted); }
[data-submit].is-loading { opacity: .7; pointer-events: none; }

.mobile-summary { display: none; }

/* ---------- Confirmation / suivi ---------- */
.confirm-section { padding: 48px 0 90px; background: var(--paper); min-height: 75vh; }
.confirm-wrap { max-width: 720px; }
.confirm-card { padding: 40px; text-align: center; }
.confirm-card .eyebrow { font-size: 13px; font-weight: 700; color: var(--brand); }
.confirm-logo { display: inline-flex; margin-bottom: 6px; }
.confirm-logo .logo { height: 54px; width: auto; }
.confirm-card h1 { margin-top: 12px; font-family: var(--font-display); font-size: clamp(34px, 4.4vw, 48px); font-weight: 800; text-transform: uppercase; line-height: 1; color: var(--forest); }
[dir="rtl"] .confirm-card h1 { text-transform: none; line-height: 1.3; font-size: clamp(26px, 3.4vw, 36px); }
.confirm-text { margin: 12px auto 0; max-width: 480px; color: var(--ink-2); }
.confirm-check { width: 64px; height: 64px; margin: 0 auto; color: var(--green); }
.confirm-check circle { stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw .7s var(--ease) forwards; }
.confirm-check path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .45s .5s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.ref-box { margin: 26px auto 0; display: inline-flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 28px; border-radius: var(--radius); border: 1.5px dashed var(--forest); background: var(--forest-soft); }
.ref-box span { font-size: 12.5px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.ref-box strong { font-family: var(--font-plate); font-size: 34px; letter-spacing: .06em; cursor: copy; line-height: 1.1; }
.ref-box small { font-size: 12.5px; color: var(--muted); }
.track-guide {
    margin: 24px auto 0;
    max-width: 480px;
    text-align: start;
    padding: 16px 18px;
    border-radius: var(--radius);
    background: var(--paper);
    border: 1px solid var(--line);
}
.track-guide h2 {
    font-size: 15px;
    font-weight: 700;
    color: var(--forest);
    margin-bottom: 10px;
}
.track-guide ol {
    margin: 0;
    padding-inline-start: 1.2em;
    display: grid;
    gap: 6px;
    color: var(--ink-2);
    font-size: 14px;
    line-height: 1.45;
}
.confirm-sub { margin: 34px 0 14px; font-size: 17px; text-align: start; }
.confirm-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

.timeline { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.timeline::before { content: ""; position: absolute; top: 8px; left: 10%; right: 10%; height: 2px; background: var(--line); }
.timeline li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); }
.timeline-dot { position: relative; z-index: 1; width: 18px; height: 18px; border-radius: 50%; background: var(--white); border: 2px solid var(--line-strong); }
.timeline li.done .timeline-dot { background: var(--forest); border-color: var(--forest); }
.timeline li.done::before { content: ""; position: absolute; top: 8px; inset-inline-start: 50%; width: 100%; height: 2px; background: var(--forest); }
.timeline li.current .timeline-dot { border-color: var(--brand); background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.timeline li.current, .timeline li.done { color: var(--ink); font-weight: 600; }
.timeline-text { margin-top: 18px; font-size: 14.5px; color: var(--ink-2); }
.timeline-cancelled { margin-top: 26px; padding: 16px; border-radius: var(--radius); background: var(--red-soft); color: #9c231f; }

.order-recap { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; padding: 20px; border-radius: var(--radius); background: var(--paper); text-align: start; }
.order-recap-plate .plate { --pw: 230px; }
.order-recap-plate .plate--moto { --pw: 130px; }
.recap-list { margin: 0; display: grid; gap: 8px; font-size: 14.5px; }
.recap-list div { display: flex; justify-content: space-between; gap: 12px; }
.recap-list dt { color: var(--muted); }
.recap-list dd { margin: 0; font-weight: 600; text-align: end; }
.recap-total { padding-top: 8px; border-top: 1px solid var(--line-strong); }
.recap-total dd { font-size: 18px; }

.track-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; margin-top: 28px; text-align: start; }
.track-form .btn { height: 48px; }
.page-track .alert { margin-top: 18px; }
.track-result { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.track-result-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.track-result-head strong { font-family: var(--font-plate); font-size: 26px; letter-spacing: .05em; }
.track-result-head span { font-size: 13.5px; color: var(--muted); }
.track-result .order-recap { margin-top: 22px; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Tab bar app : masquée desktop, affichée ≤960px */

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .header-phone { display: none; }
    .order-layout { grid-template-columns: minmax(0, 1fr) 350px; }
    .preview-stage .plate { --pw: 290px; }
    .price-row { grid-template-columns: 240px minmax(0, 1fr) auto; gap: 28px; }
    .price-row-visual .plate { --pw: 200px; }
    .price-row-visual .plate--moto { --pw: 120px; }
}

@media (max-width: 960px) {
    .biz-grid { grid-template-columns: 1fr; gap: 28px; }
    .biz-visual { display: none; }
    .biz-section { padding: 56px 0; }
    :root { --header-h: 62px; }
    .main-nav {
        position: fixed;
        top: var(--header-h);
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 90;
        width: 100%;
        height: calc(100dvh - var(--header-h));
        min-height: calc(100svh - var(--header-h));
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: space-between;
        gap: 0;
        padding: 8px 20px calc(20px + env(safe-area-inset-bottom));
        background: #fff;
        border-top: 1px solid var(--line);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transform: translateY(12px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .22s, transform .28s var(--ease), visibility .22s;
    }
    .main-nav .nav-links {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin-top: 8px;
        padding: 0;
        background: transparent;
        border: 0;
        border-radius: 0;
    }
    .main-nav .nav-mobile-only { display: flex; }
    .main-nav .nav-links a {
        display: flex;
        align-items: center;
        padding: 14px 0;
        border: 0;
        border-bottom: 1px solid #e6e6e4;
        border-radius: 0;
        background: transparent;
        font-family: var(--font-body);
        font-size: 17px;
        font-weight: 600;
        text-transform: none;
        letter-spacing: 0;
        color: #0b0b0c;
        line-height: 1.2;
        opacity: 1;
        box-shadow: none;
    }
    .main-nav .nav-links a::after { display: none; }
    .main-nav .nav-links a:hover {
        opacity: 1;
        color: #0b0b0c;
        background: transparent;
        box-shadow: none;
    }
    [dir="rtl"] .main-nav .nav-links a { font-size: 16px; }
    .main-nav .nav-links a:last-child { border-bottom: 0; }
    .main-nav .nav-extras {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 16px;
        padding-top: 16px;
        border-top: 3px solid var(--plate-black);
    }
    .main-nav .nav-cta { width: 100%; justify-content: center; }
    .main-nav .nav-phone,
    .main-nav .nav-wa {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 48px;
        border: 2px solid var(--plate-black);
        border-radius: 8px;
        background: #fff;
        font-weight: 700;
        font-size: 16px;
        color: var(--plate-black);
    }
    .main-nav .nav-wa { background: var(--whatsapp); border-color: var(--whatsapp); color: #fff; }
    .main-nav .social { margin-top: 4px; justify-content: center; }
    .menu-open { overflow: hidden; }
    .menu-open .site-header { z-index: 100; background: #fff; }
    .menu-open .main-nav {
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    .menu-open .wa-float { opacity: 0; pointer-events: none; }
    .menu-toggle { display: block; }

    /* Mobile : clair, court — titre + plaque + CTA */
    .hero {
        padding: 14px 0 16px;
        border-bottom-width: 3px;
        background: #f7f8f7;
    }
    .hero-inner {
        grid-template-columns: 1fr;
        grid-template-areas:
            "copy"
            "plate"
            "actions";
        row-gap: 12px;
        column-gap: 0;
        text-align: center;
    }
    .hero-copy {
        align-items: center;
        text-align: center;
    }
        [dir="rtl"] .hero-inner {
        grid-template-columns: 1fr;
        grid-template-areas:
            "copy"
            "plate"
            "actions";
    }
    [dir="rtl"] .hero-copy {
        align-items: center;
        text-align: center;
    }
    [dir="rtl"] .workbench-actions {
        justify-self: stretch;
        max-width: none;
    }
    [dir="rtl"] .hero .btn-primary {
        flex-direction: row;
    }
    .hero-ma,
    .hero-title-small { display: none; }
    .hero-title { max-width: 14ch; }
    .hero-title-big {
        font-size: clamp(20px, 6vw, 24px);
        line-height: 1.1;
        color: var(--ink);
    }
    [dir="rtl"] .hero-title-big { font-size: clamp(18px, 5.6vw, 22px); }
    .workbench-plate {
        min-height: 0;
        padding: 10px 0;
        gap: 8px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }
    .plate-guide { font-size: 12px; }
    .plate-guide-arrow svg { width: 16px; height: 16px; }
    .workbench-plate .plate {
        --pw: min(300px, calc(100vw - 48px));
        box-shadow:
            0 0 0 1px #c8c4bc,
            0 8px 18px -12px rgba(30, 25, 15, .28);
    }
    .workbench-actions {
        max-width: none;
        width: 100%;
        justify-self: stretch;
    }
    .hero .btn-primary {
        --h: 44px;
        border-width: 1.5px;
        font-size: 15px;
    }
    .btn-primary, .btn-accent { border-width: 1.5px; }
    .facts { padding: 12px 0 0; }
    .wa-float {
        width: 48px;
        height: 48px;
        inset-inline-end: 14px;
        bottom: 14px;
        box-shadow: 0 4px 12px rgba(0,0,0,.14);
    }

    .facts { padding: 18px 0 0; }
    .facts-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding-inline: 10px;
        border-radius: 10px;
    }
    .fact, [dir="rtl"] .fact {
        padding: 12px 8px;
        gap: 2px;
        min-width: 0;
    }
    .fact + .fact, [dir="rtl"] .fact + .fact {
        padding-inline-start: 8px;
        border-inline-start: 1.5px solid var(--ink);
        border-top: 0;
    }
    .fact strong { font-size: 13px; line-height: 1.25; }
    .fact span { font-size: 11.5px; line-height: 1.3; }

    .section { padding: 48px 0; }
    .price-list { border-top: 0; display: grid; gap: 16px; }
    .price-row {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0;
        border: 1px solid var(--line-strong);
        border-radius: 14px;
        background: #fff;
        box-shadow: none;
        overflow: hidden;
    }
    .price-row + .price-row { border-top: 1px solid var(--line-strong); }
    .price-row-visual {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 0;
        padding: 16px 16px 8px;
        border-radius: 0;
        border-bottom: 0;
        overflow: visible;
        background: transparent;
    }
    .price-row-visual .plate {
        --pw: min(300px, calc(100vw - 72px));
        margin-inline: auto;
    }
    .price-row-visual .plate--moto {
        --pw: min(180px, calc(100vw - 140px));
    }
    .price-row-info { padding: 18px 18px 8px; }
    .price-row-info h3 { font-size: 24px; gap: 8px; }
    .price-row-info p { font-size: 15px; }
    .price-row-info ul {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 8px;
        margin-top: 14px;
    }
    .price-row-buy {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        min-width: 0;
        margin: 8px 12px 12px;
        padding: 12px 14px;
        border-radius: 10px;
        background: #fff8d6;
        border: 1px solid var(--line-strong);
    }
    .price { align-items: flex-start; }
    .price strong { font-size: 30px; }
    .price-row-buy .btn {
        flex-shrink: 0;
        background: var(--ink);
        color: #fff;
        border-color: var(--ink);
    }
    .price-row-buy .btn:hover { background: #000; color: #fff; }

    /* Étapes : 3 colonnes compactes, sans textes longs */
    #etapes.section { padding: 32px 0; }
    #etapes .section-head { margin-bottom: 16px; }
    #etapes .section-head p { display: none; }
    .steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
        border-top-width: 1.5px;
    }
    .steps li, [dir="rtl"] .steps li {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 14px 8px 4px 0;
        min-width: 0;
    }
    .steps li + li, [dir="rtl"] .steps li + li {
        padding-inline-start: 10px;
        border-inline-start: 1px solid var(--line);
        border-top: 0;
    }
    .step-n {
        min-width: 32px;
        height: 26px;
        font-size: 14px;
        border-width: 2px;
        box-shadow: inset 0 0 0 1.5px var(--forest), inset 0 0 0 2.5px #fff;
    }
    .steps h3 {
        margin-top: 0;
        font-size: 14px;
        line-height: 1.2;
        letter-spacing: 0;
    }
    [dir="rtl"] .steps h3 { font-size: 13px; }
    .steps p { display: none; }

    .quality-grid, .store-grid { grid-template-columns: 1fr; gap: 28px; }

    /* Avis mobile : même style compact, empilé */
    #avis.section { padding: 24px 0; }
    #avis .container { column-gap: 8px; row-gap: 10px; }
    #avis .reviews-title { min-width: 0; }
    #avis .rating-plate {
        height: 36px;
        border-radius: 6px;
        transition: none;
    }
    #avis .rating-plate:hover { transform: none; }
    #avis .rating-plate > * { padding: 0 5px; }
    #avis .rp-g { padding: 0 5px; }
    #avis .rp-g img { width: 16px; height: 16px; padding: 1px; }
    #avis .rp-score { font-size: 18px; }
    #avis .rating-plate .stars svg { width: 10px; height: 10px; }
    #avis .rp-count b { font-size: 13px; }
    #avis .rp-count small { font-size: 8px; }
    #avis .review-grid {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    #avis .review-grid .review:nth-child(n + 3) { display: none; }
    #avis .review-strip { padding: 8px 10px 0; }
    #avis .rs-date { font-size: 10px; }
    #avis .review blockquote { padding: 6px 10px 8px; font-size: 13px; }
    #avis .review figcaption { padding: 0 10px 8px; }
    #avis .review figcaption img { width: 22px; height: 22px; }
    #avis .review figcaption strong { font-size: 12px; }
    #avis .reviews-all {
        justify-self: center;
        font-size: 14px;
    }
    [dir="rtl"] #avis .reviews-all { justify-self: center; }

    .store-map, .store-map iframe { min-height: 300px; }
    .logo { height: 40px; }
    .faq { grid-template-columns: 1fr; gap: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 32px 24px; }
    .footer-about { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
    .footer-about p { margin-top: 0; flex: 1 1 260px; }
    .footer-about .social { margin-top: 0; }

    /* ---- Commande mobile : UX adaptée (desktop inchangé) ---- */
    .page-order .order-hero {
        padding: 18px 0 14px;
        background: #fff;
        border-bottom: 0;
    }
    .page-order .order-hero h1 {
        font-size: clamp(24px, 7vw, 30px);
        line-height: 1.1;
    }
    .page-order .order-hero p { display: none; }
    .page-order .order-section {
        padding: 0 0 calc(140px + env(safe-area-inset-bottom, 0px));
        background: #fff;
    }
    .page-order .order-layout {
        grid-template-columns: 1fr;
        gap: 0;
        width: 100%;
        max-width: none;
    }
    .page-order .order-aside {
        position: sticky;
        top: var(--header-h);
        z-index: 20;
        order: -1;
        margin: 0;
    }
    .page-order .order-aside .summary { display: none; }
    .page-order .preview-card {
        padding: 10px 16px 12px;
        border: 0;
        border-radius: 0;
        border-bottom: 1px solid var(--line);
        background: #fff;
        box-shadow: 0 6px 16px -12px rgba(0,0,0,.18);
    }
    .page-order .preview-head {
        margin-bottom: 4px;
    }
    .page-order .preview-head .eyebrow {
        font-size: 11px;
        letter-spacing: .06em;
    }
    .page-order .preview-model { font-size: 12px; }
    .page-order .preview-stage {
        min-height: 0;
        margin-top: 6px;
        padding: 10px 4px;
        border: 0;
        border-radius: 0;
        background: transparent;
    }
    .page-order .preview-stage .plate {
        --pw: min(300px, calc(100vw - 48px));
    }
    .page-order .preview-stage .plate--moto {
        --pw: min(170px, calc(100vw - 120px));
    }
    .page-order .preview-note {
        margin-top: 4px;
        font-size: 11px;
        opacity: .75;
    }
    .page-order .order-steps {
        gap: 14px;
        padding: 0 0 8px;
    }
    .page-order .step-card {
        padding: 16px;
        border: 0;
        border-radius: 0;
        border-bottom: 8px solid var(--paper-2);
        background: #fff;
        box-shadow: none;
    }
    .page-order .step-card + .step-card { margin-top: 0; }
    .page-order .step-title {
        font-size: 15px;
        margin-bottom: 8px;
        gap: 8px;
    }
    .page-order .step-title span {
        min-width: 24px;
        height: 22px;
        font-size: 12px;
        border-width: 1.5px;
        border-radius: 4px;
    }
    .page-order .step-hint {
        margin: -2px 0 12px;
        font-size: 13px;
    }
    .page-order .model-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .page-order .model-box {
        padding: 12px;
        gap: 4px 12px;
        border-radius: 10px;
    }
    .page-order .model-summary {
        padding: 0;
        gap: 10px;
    }
    .page-order .model-summary strong { font-size: 16px; }
    .page-order .segmented {
        gap: 8px;
        margin-bottom: 14px;
    }
    .page-order .segmented span {
        padding: 10px 12px;
        border-radius: 10px;
    }
    .page-order .segmented strong { font-size: 14px; }
    .page-order .segmented small { font-size: 11.5px; }
    .page-order .plate-inputs {
        grid-template-columns: minmax(0, 1.45fr) minmax(0, .85fr);
        gap: 10px;
        align-items: start;
    }
    .page-order .plate-inputs .field-number { grid-column: auto; order: 1; }
    .page-order .plate-inputs .field-region { grid-column: auto; order: 2; }
    .page-order .plate-inputs .field-letter { grid-column: 1 / -1; order: 3; }
    .page-order .plate-inputs input {
        height: 48px !important;
        font-size: 22px !important;
        border-radius: 10px;
    }
    .page-order .plate-inputs .field small {
        font-size: 11px;
        line-height: 1.25;
    }
    .page-order .letter-picker {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }
    .page-order .letter-picker span {
        height: 52px;
        border-radius: 10px;
        font-size: 18px;
    }
    .page-order .field label { font-size: 13px; }
    .page-order .field input,
    .page-order .field select,
    .page-order .field textarea {
        height: 48px;
        border-radius: 10px;
        font-size: 16px; /* évite zoom iOS */
    }
    .page-order .field textarea { height: auto; min-height: 88px; }
    .page-order [data-private-qty] > .field-label { display: none; }
    .page-order .qty-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto;
        gap: 6px;
        align-items: center;
    }
    .page-order .chips {
        display: contents;
        width: auto;
        gap: 0;
    }
    .page-order .chip { min-width: 0; }
    .page-order .chip > span {
        width: 100%;
        justify-content: center;
        height: 36px;
        padding: 0 6px;
        border-radius: 8px;
        font-size: 13px;
        white-space: nowrap;
    }
    .page-order .chip-long { display: none !important; }
    .page-order .chip-short {
        display: inline !important;
        border: 0 !important;
        background: none !important;
        padding: 0 !important;
        height: auto !important;
        box-shadow: none !important;
    }
    .page-order .stepper {
        height: 36px;
        border-radius: 8px;
        width: 110px;
        max-width: none;
    }
    .page-order .stepper button { width: 34px; font-size: 18px; }
    .page-order .stepper input { flex: 1; width: auto; font-size: 15px; }
    .page-order .options-details {
        margin-top: 8px;
        padding-top: 8px;
        border-top: 1px solid var(--line);
    }
    .page-order .options-details > summary {
        font-size: 13px;
        padding: 0;
    }
    .page-order .option-item {
        padding: 12px;
        border-radius: 10px;
        gap: 12px;
    }
    .page-order .option-text strong { font-size: 14px; }
    .page-order .option-text small { font-size: 12px; }
    .page-order .dropzone {
        min-height: 88px;
        padding: 18px 14px;
        border-radius: 12px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 6px;
        background: var(--paper);
    }
    .page-order .dropzone small {
        width: auto;
        margin: 0;
        font-size: 12px;
    }
    .page-order .dropzone-idle {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 6px;
    }
    .page-order .dropzone-text { align-items: center; }
    .page-order .dropzone.has-file {
        min-height: 0;
        align-items: stretch;
        text-align: start;
        border-style: solid;
        border-color: #1f7a4d;
        background: #e8f6ee;
    }
    .page-order .dropzone-done { gap: 14px; }
    .page-order .dropzone-thumb,
    .page-order .dropzone-fileicon { width: 76px; height: 76px; border-radius: 12px; }
    .page-order .dropzone-badge {
        font-size: 15px;
        padding: 7px 12px;
    }
    .page-order .dropzone-name { font-size: 13px; white-space: normal; word-break: break-all; }
    .page-order .dropzone-change { font-size: 13px; }
    .page-order .company-banner {
        padding: 12px 14px;
        border-radius: 10px;
    }
    .page-order .company-banner strong { font-size: 15px; }
    .page-order .options-details { margin-top: 8px; padding-top: 8px; }
    .page-order .alert { margin: 12px 16px 0; border-radius: 10px; }
    .mobile-summary {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 40;
        margin: 0;
        padding: 8px 12px max(18px, calc(8px + env(safe-area-inset-bottom, 0px)));
        background: rgba(255,255,255,.98);
        backdrop-filter: blur(10px);
        border-top: 1px solid var(--line);
        box-shadow: 0 -8px 24px -16px rgba(0,0,0,.25);
        overflow: visible;
    }
    .mobile-summary-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        min-height: 0;
        overflow: visible;
    }
    .mobile-summary-total {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 0;
        min-width: 0;
        line-height: 1.1;
    }
    .mobile-summary small {
        display: block;
        font-size: 10px;
        color: var(--muted);
        line-height: 1.15;
        white-space: nowrap;
    }
    .mobile-summary strong {
        display: block;
        font-family: var(--font-display);
        font-size: 20px;
        font-weight: 800;
        line-height: 1.1;
        letter-spacing: .01em;
        color: var(--forest);
        white-space: nowrap;
    }
    .mobile-summary .btn {
        flex-shrink: 0;
        min-height: 40px;
        height: 40px;
        padding-inline: 14px;
        border-radius: 10px;
        font-size: 13.5px;
    }
    .page-order .order-section {
        padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
    }
    .page-order .wa-float {
        bottom: calc(74px + env(safe-area-inset-bottom, 0px));
    }

    /* ========== MOBILE UI — atelier plaque (desktop inchangé) ========== */
    :root {
        --app-bg: #f7f4ee;
        --app-surface: #ffffff;
        --app-ink: var(--ink);
        --app-pad: 18px;
        --app-ease: cubic-bezier(.22, .8, .24, 1);
    }
    body {
        background: #fff;
        padding-bottom: env(safe-area-inset-bottom);
    }

    .app-tabbar { display: none !important; }
    .page-home .mobile-home-cta { display: none !important; }
    .page-order .mobile-summary {
        bottom: 0;
        padding: 8px 12px max(20px, calc(10px + env(safe-area-inset-bottom, 0px)));
    }
    .page-order .mobile-summary strong {
        font-size: 20px;
        line-height: 1.1;
    }
    .page-order .wa-float {
        bottom: calc(78px + env(safe-area-inset-bottom, 0px));
    }
    .wa-float {
        display: grid !important;
        inset-inline-end: 14px;
        bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    }
    .page-order .wa-float {
        bottom: calc(96px + env(safe-area-inset-bottom, 0px));
    }

    .btn {
        --h: 40px;
        min-height: 40px;
        border-radius: 10px;
        font-weight: 700;
        font-size: 14px;
        letter-spacing: 0;
    }
    .btn-lg { --h: 42px; min-height: 42px; font-size: 14px; }
    .btn-primary, .btn-accent {
        border-width: 2px;
        box-shadow: 0 8px 18px -12px rgba(26, 74, 60, .45);
    }
    .field input,
    .field select,
    .field textarea {
        min-height: 50px;
        border-radius: 12px;
        font-size: 16px;
        background: #f5f7f6;
        border-color: transparent;
    }
    .field input:focus,
    .field select:focus,
    .field textarea:focus {
        background: #fff;
        border-color: var(--forest);
    }

    /* Header */
    .site-header {
        background: rgba(255, 255, 255, .94);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-top-width: 3px;
        border-bottom: 0;
        box-shadow: inset 0 -2px 0 var(--forest);
    }
    .logo { height: 38px; }

    /* ---- Accueil : hero plein cadre ---- */
    .page-home .hero {
        position: relative;
        margin: 0;
        padding: 28px 0 32px;
        border: 0;
        border-radius: 0;
        overflow: hidden;
        background: #ffe08a;
        border-bottom: 3px solid var(--plate-blue);
        box-shadow: none;
        animation: m-hero-in .55s var(--app-ease) both;
    }
    .page-home .hero::before,
    .page-home .hero::after { content: none; display: none; }
    .page-home .hero-inner {
        position: relative;
        z-index: 1;
        row-gap: 22px;
    }
    .page-home .hero-ma {
        display: inline-flex !important;
        flex-direction: column;
        align-items: center;
        margin: 10px auto 0;
        gap: 6px;
    }
    .page-home .hero-signs { gap: 12px; }
    .page-home .hero-sign { height: 36px; }
    .page-home .hero-sign-flag { height: 32px; width: 48px; }
    .page-home .hero-sign-map { height: 42px; }
    .page-home .hero-sign-star { height: 36px; width: 36px; }
    .page-home .hero-sign-oval { height: 36px; width: auto; }
    .page-home .hero-copy {
        align-items: center;
        text-align: center;
        animation: m-rise .55s .05s var(--app-ease) both;
    }
    .page-home .hero-title {
        max-width: 200px;
        margin-inline: auto;
        font-size: 26px;
    }
    .page-home .hero-title-big {
        font-family: var(--font-plate);
        font-size: 26px;
        font-weight: 800;
        line-height: .9;
        letter-spacing: .04em;
        text-transform: uppercase;
        color: #111;
        text-shadow: none;
    }
    .page-home .hero-title-small { display: none !important; }
    [dir="rtl"] .page-home .hero-title {
        max-width: 14em;
    }
    [dir="rtl"] .page-home .hero-title-big {
        font-family: var(--font-display);
        font-size: 22px;
        font-weight: 800;
        line-height: 1.25;
        letter-spacing: 0;
        text-transform: none;
    }
    .page-home .workbench-plate {
        padding: 4px 0 0;
        gap: 10px;
        animation: m-rise .6s .12s var(--app-ease) both;
    }
    .page-home .workbench-plate .plate {
        --pw: min(320px, calc(100vw - 40px));
        filter: drop-shadow(0 10px 18px rgba(17, 17, 17, .12));
        box-shadow: none;
    }
    .page-home .plate-guide { display: none; }
    .page-home .plate-guide-arrow { color: var(--plate-yellow); }
    .page-home .workbench-actions {
        display: flex !important;
        max-width: none;
        width: 100%;
        justify-content: center;
        justify-self: center;
        animation: m-rise .6s .2s var(--app-ease) both;
    }
    .page-home .hero .btn-primary {
        --h: 38px;
        width: auto;
        min-width: 0;
        padding-inline: 22px;
        border: 1.5px solid #111;
        border-radius: 999px;
        font-size: 14px;
        box-shadow: none;
    }

    /* Facts — bande typographique, sans cartes */
    .page-home .facts {
        margin: 0;
        padding: 0;
        background: var(--app-surface);
        border-bottom: 1px solid var(--line);
    }
    .page-home .facts-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        padding: 0;
        margin: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        overflow: hidden;
    }
    .page-home .fact:nth-child(3) { display: none; }
    .page-home .fact,
    .page-home [dir="rtl"] .fact {
        padding: 0 8px;
        min-height: 56px;
        gap: 0;
        min-width: 0;
        border: 0 !important;
        background: transparent;
        text-align: center;
        align-items: center;
        justify-content: center;
        box-shadow: none;
    }
    .page-home .fact + .fact,
    .page-home [dir="rtl"] .fact + .fact {
        border-top: 0 !important;
        border-inline-start: 1px solid var(--line) !important;
        padding-inline-start: 10px;
    }
    .page-home .fact strong {
        font-family: var(--font-display);
        font-size: 11px;
        font-weight: 800;
        letter-spacing: .02em;
        text-transform: uppercase;
        color: var(--forest);
        line-height: 1.15;
        white-space: nowrap;
        text-align: center;
        width: 100%;
    }
    [dir="rtl"] .page-home .fact strong {
        font-family: var(--font-display);
        text-transform: none;
        letter-spacing: 0;
        font-size: 12px;
    }
    .page-home .fact span { display: none !important; }

    /* Sections plein cadre */
    .page-home .section,
    .page-home #etapes,
    .page-home #avis,
    .page-home #boutique,
    .page-home #faq,
    .page-home .help {
        margin: 0;
        padding: 18px 0;
        background: #fff;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }
    .page-home .section-paper,
    .page-home #etapes,
    .page-home #avis,
    .page-home #faq {
        background: #f7f4ee;
        border: 0;
    }
    .page-home .biz-section {
        margin: 0;
        padding: 18px 0 16px !important;
        border: 0;
        border-radius: 0;
        overflow: hidden;
        background: #fff;
        border-top: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
    }
    .page-home .biz-copy h2,
    .page-home .biz-points li { color: var(--ink); }
    .page-home .biz-text { color: var(--ink-2); }
    .page-home .biz-eyebrow {
        color: var(--muted);
        background: none;
        margin-bottom: 6px;
        font-size: 11px;
    }
    .page-home .biz-copy h2 {
        font-size: clamp(20px, 5.8vw, 24px);
        line-height: 1.15;
    }
    .page-home .biz-text {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-top: 8px;
        font-size: 13px;
        line-height: 1.35;
        max-width: none;
    }
    .page-home .biz-points {
        margin-top: 12px;
        gap: 6px;
    }
    .page-home .biz-points li {
        font-size: 12.5px;
        line-height: 1.3;
        gap: 8px;
    }
    .page-home .biz-points li::before {
        background: var(--plate-yellow);
        width: 6px;
        height: 6px;
        margin-top: 5px;
    }
    .page-home .biz-actions {
        margin-top: 14px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .page-home .biz-price small { display: none; }
    .page-home .biz-price strong {
        color: var(--ink);
        font-size: 28px;
    }
    .page-home .biz-actions .btn {
        width: 100%;
        min-height: 48px;
        font-size: 15px;
        padding-inline: 16px;
        background: #111;
        color: #fff;
        white-space: normal;
        text-align: center;
        line-height: 1.2;
    }
    .page-home .section .container,
    .page-home #etapes .container,
    .page-home #avis .container,
    .page-home #boutique .container,
    .page-home #faq .container,
    .page-home .help .container,
    .page-home .biz-section .container {
        width: calc(100% - (var(--app-pad) * 2));
    }
    .page-home .section-head { margin-bottom: 16px; max-width: none; }
    .page-home .section-head h2 {
        font-size: 18px;
        line-height: 1.2;
        letter-spacing: 0;
    }
    .page-home .section-head p,
    .page-home .price-row-info p,
    .page-home .price small,
    .page-home .biz-section,
    .page-home #etapes,
    .page-home #faq,
    .page-home .help { display: none !important; }

    /* Produits — tuiles d’action plates */
    .page-home .price-list {
        gap: 18px;
        border: 0;
    }
    .page-home .price-row {
        margin: 0;
        padding: 0;
        border: 1px solid var(--line);
        border-radius: 14px;
        background: #fff;
        overflow: hidden;
        gap: 0;
        box-shadow: none;
    }
    .page-home .price-row + .price-row { border-top: 1px solid var(--line); }
    .page-home .price-row-visual {
        padding: 12px 12px 4px;
        background: #fff;
        border-bottom: 0;
    }
    .page-home .price-row-visual .plate {
        --pw: min(210px, calc(100vw - 96px));
    }
    .page-home .price-row-info { padding: 14px 16px 4px; }
    .page-home .price-row-info h3 {
        font-size: 16px;
        align-items: center;
    }
    .page-home .price-row-info .tag {
        background: var(--forest);
        color: #fff;
        border-color: var(--forest);
    }
    .page-home .price-row-info p { display: none; }
    .page-home .price-row-info ul { display: none; }
    .page-home .price-row-buy {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin: 0;
        padding: 12px 16px 16px;
        background: transparent;
        border: 0;
        border-radius: 0;
    }
    .page-home .price-row-buy .price { align-items: flex-start; }
    .page-home .price-row-buy .price strong {
        font-size: 22px;
        color: var(--forest);
    }
    .page-home .price-row-buy .btn {
        --h: 38px;
        width: auto;
        min-width: 0;
        min-height: 38px;
        padding-inline: 12px;
        border-radius: 10px;
        font-size: 13px;
        background: var(--plate-yellow);
        color: #111;
        border-color: #111;
    }
    .page-home .price-row-buy .btn:hover {
        background: var(--plate-yellow-dark);
        color: #111;
    }
    .page-home .price-row--auto { border-inline-start: 4px solid var(--plate-yellow); }
    .page-home .price-row--auto .tag { background: var(--plate-yellow); color: #111; border-color: var(--plate-yellow); }
    .page-home .price-row--moto { border-inline-start: 4px solid #111; }
    .page-home .price-row--moto .price-row-buy .btn {
        background: #fff;
        color: #111;
        border: 2px solid #111;
    }
    .page-home .price-row--entreprise { border-inline-start: 4px solid #111; background: #f7f4ee; }
    .page-home .price-row--entreprise .tag { background: #111; color: #fff; }
    .page-home .price-row--entreprise .price-row-buy .btn {
        background: #111;
        color: #fff;
        border-color: #111;
    }
    .page-home .price-row--plexi-premium { border-inline-start: 4px solid #c1272d; }
    .page-home .price-row--plexi-premium .tag { background: #c1272d; color: #fff; border-color: #c1272d; }
    .page-home .price-row--plexi-premium .price-row-buy .btn {
        background: #c1272d;
        color: #fff;
        border-color: #c1272d;
    }

    /* Étapes — 3 colonnes compactes */
    .page-home #etapes.section,
    .page-home #etapes {
        padding: 16px 0 14px !important;
    }
    .page-home #etapes .section-head {
        margin-bottom: 10px;
    }
    .page-home #etapes .section-head h2 {
        font-size: 17px;
    }
    .page-home #etapes .section-head p { display: none; }
    .page-home .steps {
        border: 0;
        gap: 0;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        counter-reset: none;
    }
    .page-home .steps li,
    .page-home [dir="rtl"] .steps li {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 0 8px 0 0;
        border: 0 !important;
        border-radius: 0;
        background: transparent;
        min-width: 0;
    }
    .page-home .steps li + li,
    .page-home [dir="rtl"] .steps li + li {
        padding-inline-start: 10px;
        border-inline-start: 1px solid rgba(26, 74, 60, .16) !important;
        border-top: 0 !important;
    }
    .page-home .step-n {
        min-width: 26px;
        height: 22px;
        border-radius: 6px;
        background: var(--plate-yellow);
        color: var(--forest-dark);
        border: 1.5px solid var(--forest);
        box-shadow: none;
        font-size: 12px;
    }
    .page-home .steps h3 {
        margin: 0;
        font-size: 12.5px;
        line-height: 1.25;
        letter-spacing: 0;
    }
    [dir="rtl"] .page-home .steps h3 { font-size: 12px; }
    .page-home .steps p { display: none !important; }

    /* Avis */
    #avis.section { padding: 28px 0; }
    .page-home #avis .rating-plate {
        width: 100%;
        height: 44px;
        border-radius: 12px;
        margin-bottom: 12px;
    }
    .page-home #avis .review-grid { gap: 10px; }
    .page-home #avis .review {
        border: 1px solid var(--line);
        border-radius: 14px;
        background: #fff;
        overflow: hidden;
    }

    /* Boutique — compact mobile */
    .page-home #boutique.section,
    .page-home #boutique {
        padding: 18px 0 14px !important;
    }
    .page-home #boutique .section-head { margin-bottom: 10px; }
    .page-home #boutique .section-head h2 {
        font-size: 17px;
    }
    .page-home #boutique .section-head p { display: none; }
    .page-home .store-grid {
        display: grid;
        gap: 10px;
    }
    .page-home .store-info {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        border: 1px solid var(--line);
        border-radius: 12px;
        overflow: hidden;
        background: #fff;
    }
    .page-home .store-info div {
        display: flex;
        flex-direction: column;
        gap: 2px;
        grid-template-columns: none;
        padding: 10px 12px;
        border-bottom: 1px solid var(--line);
        border-inline-end: 1px solid var(--line);
        min-width: 0;
    }
    .page-home .store-info div:nth-child(2n) { border-inline-end: 0; }
    .page-home .store-info div:nth-last-child(-n + 2) { border-bottom: 0; }
    .page-home .store-info dt {
        font-size: 10.5px;
        line-height: 1.2;
        text-transform: uppercase;
        letter-spacing: .04em;
        color: var(--muted);
        padding-top: 0;
    }
    [dir="rtl"] .page-home .store-info dt {
        letter-spacing: 0;
        text-transform: none;
    }
    .page-home .store-info dd {
        font-size: 13px;
        font-weight: 700;
        line-height: 1.25;
        gap: 1px;
        color: var(--forest);
    }
    .page-home .store-info dd span {
        font-size: 11.5px;
        font-weight: 500;
        color: var(--ink-2);
    }
    .page-home .store-btn {
        --h: 38px;
        width: 100%;
        justify-content: center;
        margin-top: 2px;
        min-height: 38px;
        border-radius: 10px;
        font-size: 13px;
    }
    .page-home .store-map {
        order: -1;
        border-radius: 12px;
        border-width: 1.5px;
        min-height: 140px !important;
        max-height: 140px;
        overflow: hidden;
    }
    .page-home .store-map iframe {
        min-height: 140px !important;
        height: 140px !important;
    }

    /* FAQ — compact mobile */
    .page-home #faq.section,
    .page-home #faq {
        padding: 16px 0 8px !important;
    }
    .page-home #faq .section-head {
        margin-bottom: 4px;
    }
    .page-home #faq .section-head h2 {
        font-size: 17px;
    }
    .page-home #faq .faq {
        gap: 0;
    }
    .page-home #faq .faq-list {
        border-top-width: 1.5px;
    }
    .page-home #faq .faq-item summary {
        padding: 10px 0 !important;
        font-size: 14px !important;
        line-height: 1.25;
        gap: 8px;
    }
    .page-home #faq .faq-item p {
        padding: 0 0 10px;
        font-size: 13px;
        line-height: 1.4;
    }
    .page-home #faq .faq-icon {
        width: 12px;
        height: 12px;
    }

    /* Aide — compact mobile */
    .page-home .help {
        padding: 22px 0;
        background: #fff;
        color: var(--ink);
        border-top: 1px solid var(--line);
    }
    .page-home .help h2 {
        color: #111;
        font-size: 17px;
        line-height: 1.2;
    }
    .page-home .help p {
        margin-top: 6px;
        font-size: 13.5px;
        line-height: 1.4;
        color: #3f3c38;
        max-width: none;
    }
    .page-home .help-phone {
        color: #111;
        font-size: 16px;
        border-bottom-width: 1.5px;
        text-align: center;
    }
    .page-home .help-inner,
    .page-home .help-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 10px;
    }
    .page-home .help-inner { gap: 14px; }
    .page-home .help-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .page-home .help-actions .btn {
        width: 100%;
        justify-content: center;
        min-height: 44px;
        border-radius: 12px;
        font-size: 14.5px;
    }
    .page-home #boutique .store-btn {
        width: 100%;
        justify-content: center;
        border-radius: 12px;
    }

    /* Footer mobile — logo, liens, contact */
    .page-home .site-footer,
    .site-footer {
        margin-top: 0;
        background: #f7f4ee;
        color: var(--ink-2);
        border-top: 1px solid var(--line);
        border-radius: 0;
        padding: 22px 0 16px;
        font-size: 12px;
    }
    .site-footer .footer-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }
    .site-footer .footer-about {
        display: flex;
        justify-content: center;
    }
    .site-footer .footer-about p,
    .site-footer .social,
    .site-footer .footer-col-hours,
    .site-footer .footer-links h4,
    .site-footer .footer-col-contact h4,
    .site-footer .footer-contact:last-child,
    .site-footer .footer-contact small,
    .site-footer .footer-links a[href*="entreprises"],
    .site-footer .footer-links a[href*="etapes"],
    .site-footer .footer-links a[href*="confidentialite"],
    .site-footer .footer-links a[href*="mentions"],
    .site-footer .footer-links a[href*="cgv"] { display: none !important; }
    .site-footer .footer-grid > .footer-links {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap;
        justify-content: center !important;
        align-items: center !important;
        gap: 8px 16px;
        width: 100%;
    }
    .site-footer .footer-links a {
        width: auto;
        font-size: 13px;
        font-weight: 700;
        color: #111;
        line-height: 1.2;
    }
    .site-footer .footer-grid > .footer-col-contact {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        width: 100%;
        align-items: stretch;
    }
    .site-footer .footer-contact {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 36px;
        padding: 0 10px;
        border: 1.5px solid #111;
        border-radius: 999px;
        background: #fff;
        text-align: center;
    }
    .site-footer .footer-contact span {
        font-size: 13px;
        font-weight: 700;
        color: #111;
    }
    .site-footer .footer-contact[href*="wa.me"] {
        background: #111;
        border-color: #111;
    }
    .site-footer .footer-contact[href*="wa.me"] span { color: #fff; }
    .site-footer .logo { height: 32px; filter: none; opacity: 1; }
    .footer-credit-logo img { filter: none; opacity: .85; height: 16px; width: auto; }
    .footer-bottom {
        margin-top: 14px;
        padding-top: 12px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 4px;
        font-size: 11px;
        line-height: 1.2;
        border-top-color: var(--line);
    }
    .footer-bottom-left { justify-content: center; }

    /* Commande */
    .page-order .order-hero {
        margin: 0;
        padding: 18px 0 14px;
        background:
            linear-gradient(180deg, #f7f4ee, #fff 70%);
        border: 0;
    }
    .page-order .order-hero h1 {
        font-size: clamp(20px, 5.6vw, 24px);
        color: var(--forest);
    }
    .page-order .order-hero p { display: none; }
    .page-order .order-section {
        padding: 0 0 calc(130px + env(safe-area-inset-bottom, 0px));
        background: var(--app-bg);
    }
    .page-order .preview-card {
        margin: 0;
        padding: 14px var(--app-pad) 16px;
        border: 0;
        border-radius: 0;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: none;
    }
    .page-order .order-steps {
        gap: 16px;
        padding: 4px 0 12px;
    }
    .page-order .step-card {
        margin: 0 var(--app-pad);
        padding: 12px 14px;
        border: 1.5px solid var(--line-strong);
        border-radius: 14px;
        background: #fff;
        box-shadow: none;
    }
    .page-order .step-title {
        margin-bottom: 8px;
        font-size: 15px;
    }
    .page-order .mobile-summary {
        background: rgba(255, 255, 255, .96);
        backdrop-filter: blur(14px);
        border-top: 2px solid var(--forest);
        box-shadow: 0 -10px 28px -18px rgba(20, 40, 32, .3);
    }
    .page-order .mobile-summary .btn { border-radius: 12px; }

    /* Confirm / track / legal */
    .confirm-section { padding: 14px 0 40px; background: var(--app-bg); min-height: auto; }
    .confirm-card {
        margin-inline: var(--app-pad);
        padding: 24px 18px;
        border: 1.5px solid var(--forest);
        border-radius: 16px;
        background: #fff;
        box-shadow: 4px 4px 0 var(--plate-yellow);
    }
    .confirm-actions { flex-direction: column; gap: 10px; }
    .confirm-actions .btn,
    .track-form .btn {
        width: 100%;
        justify-content: center;
        min-height: 52px;
        border-radius: 12px;
    }
    .track-form { grid-template-columns: 1fr; gap: 12px; }
    .order-recap {
        grid-template-columns: 1fr;
        justify-items: center;
        border-radius: 14px;
    }
    .page-legal .legal-hero {
        padding: 18px 0 14px;
        background: linear-gradient(180deg, #f7f4ee, #fff 70%);
        border: 0;
    }
    .page-legal .legal-section { padding: 10px 0 36px; background: var(--app-bg); }
    .page-legal .legal-nav {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        scrollbar-width: none;
        padding-inline: var(--app-pad);
    }
    .page-legal .legal-nav::-webkit-scrollbar { display: none; }
    .page-legal .legal-nav a {
        flex: 0 0 auto;
        white-space: nowrap;
        border-radius: 999px;
        background: #fff;
        border: 1px solid var(--line);
    }
    .page-legal .legal-doc {
        margin-inline: var(--app-pad);
        padding: 16px;
        border: 1px solid var(--line);
        border-radius: 14px;
        background: #fff;
        box-shadow: none;
    }

    @keyframes m-hero-in {
        from { opacity: .72; }
        to { opacity: 1; }
    }
    @keyframes m-rise {
        from { opacity: 0; transform: translateY(12px); }
        to { opacity: 1; transform: none; }
    }
    @media (prefers-reduced-motion: reduce) {
        .page-home .hero,
        .page-home .hero-copy,
        .page-home .workbench-plate,
        .page-home .workbench-actions { animation: none; }
    }
}

.mobile-home-cta { display: none; }


@media (max-width: 640px) {
    .container { width: calc(100% - 32px); }
    h1, h2, h3 { overflow-wrap: break-word; }
    .hero-title-big { letter-spacing: 0; word-break: normal; overflow-wrap: anywhere; }
    .plate-num, .plate-region, .plate-ww,
    .plate-num-inner, .plate-region-view { font-size: calc(64 * var(--u)); }
    .plate-num, .plate-ww { --ls: calc(1.2 * var(--u)); }
    .section { padding: 36px 0; }
    .section-head { margin-bottom: 16px; }
    .section-head h2,
    .biz-copy h2,
    .help h2 { font-size: 18px; }
    [dir="rtl"] .section-head h2,
    [dir="rtl"] .biz-copy h2,
    [dir="rtl"] .help h2 { font-size: 17px; }
    .section-head p { font-size: 14px; margin-top: 8px; }
    .confirm-card h1 { font-size: clamp(20px, 5.8vw, 24px); }
    .header-cta { display: none; }
    .header-inner { gap: 10px; }
    .header-actions { gap: 8px; height: 34px; }
    .lang-switch, .menu-toggle { height: 34px; }
    .menu-toggle { width: 34px; }
    .menu-toggle span { left: 8px; right: 8px; }
    .menu-toggle span:first-child { top: 11px; }
    .menu-toggle span:last-child { top: 19px; }
    .site-header {
        border-top-width: 3px;
        box-shadow: inset 0 -2px 0 var(--forest);
    }
    .workbench-actions .btn { white-space: normal; text-align: center; }
    .price-row-buy { flex-wrap: wrap; }
    .price-row-buy .btn { width: 100%; justify-content: center; }
    .price-row-visual { padding: 12px 12px 4px; }
    .store-map, .store-map iframe { min-height: 240px; }
    .page-home .store-map,
    .page-home .store-map iframe {
        min-height: 140px !important;
        max-height: 140px;
        height: 140px !important;
    }
    .page-home .store-info div {
        grid-template-columns: none;
        padding: 10px 12px;
    }
    .page-home #boutique.section,
    .page-home #faq.section {
        padding-top: 16px !important;
        padding-bottom: 12px !important;
    }
    .site-footer { padding: 22px 0 16px; font-size: 12px; background: #f7f4ee; }
    .site-footer .logo { height: 32px; }
    .footer-bottom {
        margin-top: 14px;
        padding-top: 12px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        font-size: 11px;
        border-top-color: var(--line);
    }
    .footer-bottom > span { display: none; }
    .store-info div { grid-template-columns: 110px 1fr; }

    .form-grid { grid-template-columns: 1fr; }
    .qty-row { flex-direction: column; align-items: stretch; gap: 10px; }
    .page-order .qty-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto;
        flex-direction: unset;
        align-items: center;
        gap: 6px;
    }
    .page-order .container { width: 100%; padding-inline: 0; }
    .page-order .order-hero .container { width: calc(100% - 32px); padding-inline: 0; }
    .page-order .order-steps .alert { margin-inline: 16px; }
    .page-order .step-card { padding: 12px 14px; overflow: hidden; }
    .page-order .preview-card { padding-inline: 16px; }
    .page-order .mobile-summary { padding-inline: 14px; }

    /* ---- Mobile global : formulaires & cartes ---- */
    .btn {
        --h: 40px;
        min-height: 40px;
        border-radius: 10px;
        font-size: 14px;
    }
    .btn-lg { --h: 42px; min-height: 42px; font-size: 14px; }
    .btn-sm { min-height: 36px; font-size: 13px; }
    .card {
        border-radius: 14px;
        border-color: var(--line);
        box-shadow: none;
    }
    .field label { font-size: 13px; margin-bottom: 6px; }
    .field input,
    .field select,
    .field textarea {
        min-height: 48px;
        border-radius: 10px;
        font-size: 16px;
    }
    .field textarea { min-height: 96px; }
    .alert { border-radius: 10px; font-size: 14px; }

    .page-home #faq .faq-item summary {
        font-size: 15px;
        padding: 14px 0;
    }
    .timeline li { font-size: 10px; }
    .timeline-dot { width: 14px; height: 14px; }
    .order-recap-plate .plate { --pw: min(260px, calc(100vw - 72px)); }

    /* Accueil mobile — affiner le nouveau UI */
    .page-home .price-row-buy {
        flex-wrap: nowrap;
        align-items: center;
    }
    .page-home .price-row-buy .btn {
        --h: 38px;
        width: auto;
        min-width: 0;
        min-height: 38px;
        font-size: 13px;
        flex: 0 0 auto;
    }
    .page-home .hero-title-big {
        font-family: var(--font-plate);
        font-size: 26px;
        font-weight: 800;
        letter-spacing: .04em;
        text-transform: uppercase;
    }
    .page-home .section-head h2,
    .page-home .price-row-info h3 {
        font-size: 17px;
    }
    .page-home .workbench-plate .plate {
        --pw: min(300px, calc(100vw - 36px));
    }
    .page-home .site-footer,
    .site-footer {
        color: var(--ink-2);
        background: #f7f4ee;
    }
    .footer-bottom { border-top-color: var(--line); }
}
