/* ═══════════════════════════════════════════════════════════════════
   Renta212 — site public
   Majorelle (bleu) + safran ; Bricolage Grotesque (titres latins) +
   Readex Pro (texte, latin et arabe). Le seul ornement : l'étoile à
   huit branches du zellige, sur le bouton vocal.
   ═══════════════════════════════════════════════════════════════════ */

@font-face { font-family: "Readex"; src: url(/assets/fonts/readex-latin.woff2) format("woff2"); font-weight: 300 700; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Readex"; src: url(/assets/fonts/readex-latin-ext.woff2) format("woff2"); font-weight: 300 700; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Readex"; src: url(/assets/fonts/readex-arabic.woff2) format("woff2"); font-weight: 300 700; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Bricolage"; src: url(/assets/fonts/bricolage-latin.woff2) format("woff2"); font-weight: 500 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF; }
@font-face { font-family: "Bricolage"; src: url(/assets/fonts/bricolage-latin-ext.woff2) format("woff2"); font-weight: 500 800; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --sol: #F3F4FA;          /* fond, neutre légèrement bleuté */
  --sol-2: #E9EBF6;
  --carte: #FFFFFF;
  --carte-2: #F7F8FD;
  --encre: #11162B;        /* nuit de l'Atlas */
  --encre-2: #4C5376;
  --encre-3: #7A809E;
  --trait: #E0E3F0;
  --maj: #3A3ED6;          /* bleu Majorelle */
  --maj-fort: #2B2EB3;
  --maj-doux: #E8E9FD;
  --safran: #F2B33D;
  --safran-encre: #6B4500;
  --sur-maj: #FFFFFF;
  --ok: #167E55; --ok-doux: #E2F5EC;
  --att: #A25F00; --att-doux: #FFF2DC;
  --err: #C23A3E; --err-doux: #FDE8E8;
  --voile: rgba(10, 13, 30, .52);
  --ombre: 0 1px 2px rgba(17,22,43,.06), 0 8px 28px -12px rgba(17,22,43,.18);
  --ombre-forte: 0 24px 60px -20px rgba(17,22,43,.38);
  --r: 16px; --r-s: 10px; --r-xs: 8px;
  --police: "Readex", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Arabic", Tahoma, sans-serif;
  --titre: "Bricolage", "Readex", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --sol: #0A0D1A; --sol-2: #10142A; --carte: #141A31; --carte-2: #19203B;
    --encre: #ECEEFA; --encre-2: #A6ACCB; --encre-3: #7C82A3; --trait: #262E52;
    --maj: #8286FF; --maj-fort: #A2A5FF; --maj-doux: #1F2350; --safran: #F6C35C; --safran-encre: #F6C35C; --sur-maj: #0A0D1A;
    --ok: #4CD39A; --ok-doux: #10332A; --att: #F3B44B; --att-doux: #3A2A0D; --err: #FF7B7F; --err-doux: #3C1517;
    --voile: rgba(0, 0, 0, .62);
    --ombre: 0 1px 2px rgba(0,0,0,.4), 0 10px 30px -14px rgba(0,0,0,.7);
    --ombre-forte: 0 28px 70px -18px rgba(0,0,0,.85);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --sol: #0A0D1A; --sol-2: #10142A; --carte: #141A31; --carte-2: #19203B;
  --encre: #ECEEFA; --encre-2: #A6ACCB; --encre-3: #7C82A3; --trait: #262E52;
  --maj: #8286FF; --maj-fort: #A2A5FF; --maj-doux: #1F2350; --safran: #F6C35C; --safran-encre: #F6C35C; --sur-maj: #0A0D1A;
  --ok: #4CD39A; --ok-doux: #10332A; --att: #F3B44B; --att-doux: #3A2A0D; --err: #FF7B7F; --err-doux: #3C1517;
  --voile: rgba(0, 0, 0, .62);
  --ombre: 0 1px 2px rgba(0,0,0,.4), 0 10px 30px -14px rgba(0,0,0,.7);
  --ombre-forte: 0 28px 70px -18px rgba(0,0,0,.85);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--sol); color: var(--encre); font: 400 16px/1.6 var(--police); overflow-x: clip; -webkit-font-smoothing: antialiased; }
[dir="rtl"] body { font-size: 16.5px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--maj); text-underline-offset: 3px; }
a:hover { color: var(--maj-fort); }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--maj); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--titre); line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; margin: 0 0 .5em; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { font-family: var(--police); letter-spacing: 0; line-height: 1.35; }
h1 { font-size: clamp(30px, 6.2vw, 56px); font-weight: 800; }
h2 { font-size: clamp(22px, 3.4vw, 32px); font-weight: 750; }
h3 { font-size: 18px; font-weight: 700; }
p { margin: 0 0 1em; }
.ico { width: 20px; height: 20px; flex: none; vertical-align: middle; }
.ico-xl { width: 48px; height: 48px; opacity: .35; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.evitement { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--maj); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.evitement:focus { top: 12px; }
[hidden] { display: none !important; }

/* ── Étoile à huit branches (khatam) ─────────────────────────────── */
.etoile8, .logo-etoile {
  display: inline-block; width: 1em; height: 1em; background: currentColor;
  clip-path: polygon(50% 0, 61% 26%, 85% 15%, 74% 39%, 100% 50%, 74% 61%, 85% 85%, 61% 74%, 50% 100%, 39% 74%, 15% 85%, 26% 61%, 0 50%, 26% 39%, 15% 15%, 39% 26%);
}

/* ── Boutons ─────────────────────────────────────────────────────── */
.btn-principal, .btn-fantome, .btn-clair, .btn-lien, .btn-installer {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px;
  border-radius: 12px; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .15s, transform .15s, border-color .15s;
}
.btn-principal { background: var(--maj); color: var(--sur-maj); }
.btn-principal:hover { background: var(--maj-fort); color: var(--sur-maj); }
.btn-principal:active { transform: translateY(1px); }
.btn-principal:disabled { opacity: .55; cursor: not-allowed; }
.btn-fantome { background: var(--carte); color: var(--encre); border-color: var(--trait); }
.btn-fantome:hover { border-color: var(--maj); color: var(--maj); }
.btn-danger { color: var(--err); }
.btn-danger:hover { border-color: var(--err); color: var(--err); }
.btn-clair { background: #fff; color: #11162B; }
.btn-clair:hover { background: var(--safran); color: #11162B; }
.btn-lien { background: none; padding: 0; min-height: 36px; color: var(--maj); border: 0; }
.btn-petit { min-height: 36px; padding: 0 12px; font-size: 14px; }
.btn-icone { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--trait); background: var(--carte); color: var(--encre); cursor: pointer; }
.btn-icone:hover { color: var(--maj); border-color: var(--maj); }
.btn-installer { background: var(--safran); color: #11162B; min-height: 40px; padding: 0 14px; font-size: 14px; }

/* ── Cadre commun : une seule largeur pour tout le site ──────────────
   1280 px utiles, gouttières fluides ; plus de colonnes étroites
   perdues au milieu d'un grand écran. */
:root { --larg: 1440px; --gout: clamp(16px, 4vw, 48px); --nuit: #0E1330; --nuit-2: #161C42; }
.cadre, .bloc, .entete-in, .pied-in, .pied-bas, .fil-ariane { width: min(var(--larg), 100% - 2 * var(--gout)); margin-inline: auto; }

/* ── En-tête ─────────────────────────────────────────────────────── */
.entete { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--sol) 84%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--trait); }
.entete-in { min-height: 64px; padding-block: 10px; display: flex; align-items: center; gap: 12px; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--encre); font-family: var(--titre); font-weight: 800; font-size: 22px; letter-spacing: -.02em; white-space: nowrap; }
.logo:hover { color: var(--encre); }
.logo .logo-etoile { color: var(--maj); font-size: 22px; }
.logo b { background: var(--safran); color: #11162B; border-radius: 6px; padding: 0 5px; margin-inline-start: 2px; font-weight: 800; }
.nav { display: none; gap: 2px; margin-inline-start: 18px; }
.nav a { color: var(--encre-2); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 10px; white-space: nowrap; }
.nav a:hover, .nav a[aria-current] { color: var(--encre); background: var(--sol-2); }
.entete-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.btn-suivi { min-height: 42px; padding: 0 12px; }
.btn-suivi span { display: none; white-space: nowrap; }
.langues { position: relative; }
.langues summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 10px; border-radius: 12px; border: 1px solid var(--trait); background: var(--carte); cursor: pointer; font-weight: 700; font-size: 13px; }
.langues summary::-webkit-details-marker { display: none; }
.langues ul { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); list-style: none; margin: 0; padding: 6px; background: var(--carte); border: 1px solid var(--trait); border-radius: 12px; box-shadow: var(--ombre-forte); min-width: 170px; z-index: 50; }
.langues a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--encre); text-decoration: none; }
.langues a:hover, .langues a[aria-current] { background: var(--maj-doux); color: var(--maj); }
.btn-installer span { white-space: nowrap; }
@media (min-width: 960px) { .nav { display: flex; } }
@media (min-width: 1180px) { .btn-suivi span { display: inline; } }
@media (max-width: 1279px) { .btn-installer span { display: none; } .btn-installer { padding: 0 11px; } }
@media (max-width: 380px) { .entete-in { gap: 6px; } .logo { font-size: 20px; } .entete-actions { gap: 6px; } .btn-icone, .btn-suivi, .langues summary { width: 40px; height: 40px; min-height: 40px; padding: 0; justify-content: center; } .langues summary span { display: none; } }

/* ── Héros : texte + aperçu réel de l'assistant ──────────────────── */
.heros { position: relative; overflow: clip; padding-block: clamp(28px, 5vw, 76px) clamp(36px, 5vw, 72px); }
.heros-grille { position: relative; z-index: 1; display: grid; gap: clamp(32px, 4vw, 64px); align-items: center; }
@media (min-width: 1080px) { .heros-grille { grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); } }
.surtitre { display: inline-flex; align-items: center; gap: 8px; font-family: var(--titre); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--maj); margin: 0 0 16px; }
[dir="rtl"] .surtitre { letter-spacing: .04em; }
.surtitre-pastille { padding: 6px 12px 6px 10px; border-radius: 999px; background: var(--carte); border: 1px solid var(--trait); letter-spacing: .1em; font-size: 12px; }
.point-direct { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 50%, transparent); animation: pouls 2s ease-out infinite; flex: none; }
@keyframes pouls { 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.heros h1 { font-size: clamp(32px, 4.4vw, 60px); line-height: 1.04; letter-spacing: -.028em; margin-bottom: 18px; }
[dir="rtl"] .heros h1 { line-height: 1.32; letter-spacing: 0; font-size: clamp(30px, 4vw, 52px); }
.heros-sous { font-size: clamp(16px, 1.5vw, 19px); color: var(--encre-2); max-width: 58ch; margin: 0 0 28px; }
.heros-motif { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(48% 60% at 78% 34%, color-mix(in srgb, var(--maj) 15%, transparent), transparent 72%),
    radial-gradient(34% 44% at 96% 90%, color-mix(in srgb, var(--safran) 16%, transparent), transparent 70%),
    radial-gradient(40% 40% at 0% 0%, color-mix(in srgb, var(--maj) 7%, transparent), transparent 70%); }
.heros-centre .heros-texte { text-align: center; max-width: 900px; margin-inline: auto; }
.heros-centre .heros-sous { margin-inline: auto; }
.heros-centre .puces-exemples, .heros-centre .garanties { justify-content: center; }

.compositeur { position: relative; background: var(--carte); border: 1px solid var(--trait); border-radius: 22px; box-shadow: var(--ombre-forte); padding: 14px; text-align: start; transition: border-color .2s, box-shadow .2s; }
.compositeur:focus-within { border-color: var(--maj); box-shadow: var(--ombre-forte), 0 0 0 4px var(--maj-doux); }
.compositeur textarea { width: 100%; border: 0; background: transparent; resize: none; outline: none; font-size: 18px; line-height: 1.5; padding: 6px 8px; min-height: 64px; max-height: 220px; }
.compositeur textarea::placeholder { color: var(--encre-3); }
.compositeur-bas { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 8px; }
.compositeur-aide { display: none; align-items: center; gap: 6px; color: var(--encre-3); font-size: 13px; margin-inline-end: auto; }
.compositeur-bas .btn-principal { margin-inline-start: auto; }
@media (min-width: 640px) { .compositeur-aide { display: inline-flex; } .compositeur-bas .btn-principal { margin-inline-start: 0; } }
[dir="rtl"] .ico-fleche, [dir="rtl"] .btn-principal .ico:last-child, [dir="rtl"] .btn-clair .ico:last-child, [dir="rtl"] .btn-lien .ico:last-child, [dir="rtl"] .lien-suite .ico, [dir="rtl"] .ville-fleche, [dir="rtl"] .fil-ariane .ico, [dir="rtl"] .auto-carte .btn-lien .ico { transform: scaleX(-1); }

/* Bouton vocal : l'étoile */
.btn-etoile { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 16px 0 6px; border-radius: 999px; border: 1px solid var(--trait); background: var(--carte-2); color: var(--encre); font-weight: 700; cursor: pointer; }
[dir="rtl"] .btn-etoile { padding: 0 6px 0 16px; }
.btn-etoile .etoile8 { position: relative; font-size: 36px; color: var(--maj); }
.btn-etoile > .ico { position: absolute; inset-inline-start: 14px; width: 18px; height: 18px; color: var(--sur-maj); }
.btn-etoile:hover { border-color: var(--maj); }
.btn-etoile:hover .etoile8 { animation: tourner 6s linear infinite; }
@keyframes tourner { to { transform: rotate(45deg); } }
.btn-etoile-txt { font-size: 15px; }
@media (max-width: 420px) { .btn-etoile-txt { display: none; } .btn-etoile { padding: 0 4px; } }

.puces-exemples { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.puces-exemples button { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--trait); background: color-mix(in srgb, var(--carte) 80%, transparent); color: var(--encre-2); border-radius: 999px; padding: 8px 14px; font-size: 14px; cursor: pointer; text-align: start; }
.puces-exemples button:hover { color: var(--maj); border-color: var(--maj); background: var(--carte); }
.puces-exemples .ico { width: 16px; height: 16px; }
.garanties { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--encre-2); font-size: 14px; }
.garanties li { display: inline-flex; align-items: center; gap: 6px; }
.garanties .ico { color: var(--ok); width: 18px; height: 18px; }

/* Aperçu de l'assistant (vraies voitures, conversation d'exemple) */
.heros-demo { position: relative; isolation: isolate; }
.heros-demo::before { content: ""; position: absolute; z-index: -1; width: 78%; aspect-ratio: 1; inset-inline-end: -14%; top: -16%; background: var(--safran); opacity: .16; transform: rotate(12deg);
  clip-path: polygon(50% 0, 61% 26%, 85% 15%, 74% 39%, 100% 50%, 74% 61%, 85% 85%, 61% 74%, 50% 100%, 39% 74%, 15% 85%, 26% 61%, 0 50%, 26% 39%, 15% 15%, 39% 26%); }
.demo { position: relative; background: var(--carte); border: 1px solid var(--trait); border-radius: 26px; box-shadow: var(--ombre-forte); overflow: hidden; max-width: 560px; margin-inline: auto; }
.demo-tete { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--trait); }
.demo-tete .asst-avatar { width: 38px; height: 38px; font-size: 20px; border-radius: 11px; }
.demo-tete b { display: block; font-size: 15px; line-height: 1.2; }
.demo-tete small { display: inline-flex; align-items: center; gap: 6px; color: var(--ok); font-size: 12.5px; }
.demo-etiquette { margin-inline-start: auto; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--encre-3); border: 1px solid var(--trait); padding: 3px 8px; border-radius: 999px; }
.demo-fil { padding: 16px; display: grid; gap: 10px; background: var(--sol); }
.demo-fil .msg { font-size: 14.5px; max-width: 88%; }
.demo-fil .msg-client { justify-self: end; }
.demo-fil .msg-assistant { justify-self: start; }
.demo-voitures { display: grid; gap: 8px; }
.demo-voiture { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 12px; align-items: center; background: var(--carte); border: 1px solid var(--trait); border-radius: 14px; padding: 8px; }
.demo-voiture .demo-photo { width: 92px; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: var(--sol-2); display: grid; place-items: center; }
.demo-voiture img { width: 100%; height: 100%; object-fit: cover; }
.demo-voiture b { display: block; font-size: 14.5px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-voiture small { color: var(--encre-3); font-size: 12.5px; }
.demo-prix { text-align: end; font-weight: 800; font-size: 15px; white-space: nowrap; font-variant-numeric: tabular-nums; padding-inline-end: 6px; }
.demo-prix small { display: block; font-weight: 600; }
.demo-saisie { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--trait); color: var(--encre-3); font-size: 14px; }
.demo-saisie span { flex: 1; }
.demo-saisie i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--maj); color: var(--sur-maj); }
.demo-saisie i .ico { width: 16px; height: 16px; }
[dir="rtl"] .demo-saisie i .ico { transform: scaleX(-1); }
.demo-fil > * { animation: apparaitre .5s cubic-bezier(.2, .8, .3, 1) both; }
.demo-fil > :nth-child(2) { animation-delay: .5s; } .demo-fil > :nth-child(3) { animation-delay: 1s; } .demo-fil > :nth-child(4) { animation-delay: 1.5s; }
@keyframes apparaitre { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 1079px) { .heros-demo { max-width: 560px; width: 100%; margin-inline: auto; } }
@media (max-width: 520px) { .demo-voiture { grid-template-columns: 74px minmax(0, 1fr) auto; } .demo-voiture .demo-photo { width: 74px; } .demo-fil { padding: 12px; } }

/* ── Chiffres : une bande, pas quatre boîtes vides ───────────────── */
.chiffres { display: grid; grid-template-columns: repeat(2, 1fr); background: var(--carte); border: 1px solid var(--trait); border-radius: 20px; overflow: hidden; }
.chiffres div { padding: 18px 22px; display: grid; gap: 2px; border-top: 1px solid var(--trait); }
.chiffres div:nth-child(-n+2) { border-top: 0; }
.chiffres div:nth-child(2n) { border-inline-start: 1px solid var(--trait); }
.chiffres b { font-family: var(--titre); font-size: clamp(26px, 3vw, 34px); font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.1; }
.chiffres span { color: var(--encre-2); font-size: 14px; }
@media (min-width: 760px) {
  .chiffres { grid-template-columns: repeat(4, 1fr); }
  .chiffres div { border-top: 0; }
  .chiffres div + div { border-inline-start: 1px solid var(--trait); }
}

/* ── Blocs ───────────────────────────────────────────────────────── */
.bloc { padding-block: clamp(52px, 7vw, 96px) 0; }
.bloc-etroit { width: min(820px, 100% - 2 * var(--gout)); }
.bloc-tete { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 28px; }
.bloc-tete h2 { margin: 0; }
.bloc-tete p { color: var(--encre-2); margin: 8px 0 0; max-width: 62ch; }
.bloc-tete .lien-suite { margin: 0; }
h2 { font-size: clamp(24px, 2.8vw, 36px); letter-spacing: -.02em; }
[dir="rtl"] h2 { letter-spacing: 0; }
.bloc-intro { color: var(--encre-2); font-size: 17px; max-width: 65ch; }

/* Voitures (vitrine de l'accueil et page ville) */
.autos { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 272px), 1fr)); }
.auto-carte { height: 100%; background: var(--carte); border: 1px solid var(--trait); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s, transform .2s; }
.auto-carte:hover { border-color: color-mix(in srgb, var(--maj) 50%, var(--trait)); box-shadow: var(--ombre); transform: translateY(-2px); }
.auto-photo { position: relative; aspect-ratio: 16 / 10; background: var(--sol-2); display: grid; place-items: center; overflow: hidden; }
.auto-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.auto-carte:hover .auto-photo img { transform: scale(1.04); }
.auto-photo .ico { width: 46px; height: 46px; opacity: .3; }
.auto-cat { position: absolute; top: 12px; inset-inline-start: 12px; background: color-mix(in srgb, var(--carte) 90%, transparent); backdrop-filter: blur(6px); color: var(--encre); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.auto-ville { position: absolute; bottom: 12px; inset-inline-start: 12px; display: inline-flex; align-items: center; gap: 4px; background: rgba(14, 19, 48, .72); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.auto-ville .ico { width: 13px; height: 13px; }
.auto-corps { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.auto-corps h3 { font-size: 17px; margin: 0; font-family: var(--police); font-weight: 700; letter-spacing: 0; }
.auto-carac { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--encre-2); font-size: 13.5px; margin: 0; }
.auto-carac span { display: inline-flex; align-items: center; gap: 5px; }
.auto-carac .ico { width: 16px; height: 16px; color: var(--encre-3); }
.auto-pied { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--trait); }
.auto-prix { margin: 0; line-height: 1.15; }
.auto-prix small { display: block; color: var(--encre-3); font-size: 12px; }
.auto-prix b { font-size: 19px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.auto-prix span { color: var(--encre-3); font-size: 13px; }
.auto-carte .btn-lien { min-height: 40px; padding: 0 12px; border-radius: 10px; background: var(--maj-doux); font-size: 14px; white-space: nowrap; }
.auto-carte .btn-lien:hover { background: var(--maj); color: var(--sur-maj); }

/* Étapes : un vrai déroulé (1 → 2 → 3) */
.etapes { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: etape; }
.etapes li { position: relative; background: var(--carte); border: 1px solid var(--trait); border-radius: 20px; padding: 24px; }
.etapes h3, .etapes h2 { font-size: 19px; margin-bottom: 6px; }
.etapes p { color: var(--encre-2); margin: 0; }
.etape-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--maj); color: var(--sur-maj); font-family: var(--titre); font-weight: 800; margin-bottom: 16px; }
@media (min-width: 860px) {
  .etapes:not(.etapes-longues) { grid-template-columns: repeat(3, 1fr); }
  .etapes:not(.etapes-longues) li:not(:last-child)::after { content: ""; position: absolute; top: 44px; inset-inline-start: calc(24px + 40px + 12px); inset-inline-end: -10px; border-top: 2px dashed color-mix(in srgb, var(--maj) 35%, var(--trait)); }
}
.etapes-longues li { display: grid; grid-template-columns: auto 1fr; gap: 0 18px; align-items: start; }
.etapes-longues .etape-num { grid-row: span 2; margin: 0; }

/* Pourquoi : quatre garanties */
.grille-4 { display: grid; gap: 16px; }
.grille-4 article { background: var(--carte); border: 1px solid var(--trait); border-radius: 20px; padding: 24px; }
.grille-4 p { color: var(--encre-2); margin: 0; }
.grille-4 h2, .grille-4 h3 { font-size: 18px; font-family: var(--police); letter-spacing: 0; }
@media (min-width: 640px) { .grille-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .grille-4:not(.grille-2) { grid-template-columns: repeat(4, 1fr); } }
.pastille { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--maj-doux); color: var(--maj); margin-bottom: 14px; }
.pastille .ico { width: 22px; height: 22px; }

/* Villes */
.villes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.villes a { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 2px; padding: 18px; padding-inline-end: 44px; border-radius: 18px; background: var(--carte); border: 1px solid var(--trait); text-decoration: none; color: var(--encre); min-height: 92px; transition: border-color .2s, transform .2s; }
.villes a::before { content: ""; position: absolute; width: 74px; height: 74px; inset-inline-end: -22px; bottom: -26px; background: var(--maj-doux);
  clip-path: polygon(50% 0, 61% 26%, 85% 15%, 74% 39%, 100% 50%, 74% 61%, 85% 85%, 61% 74%, 50% 100%, 39% 74%, 15% 85%, 26% 61%, 0 50%, 26% 39%, 15% 15%, 39% 26%); transition: transform .4s; }
.villes a:hover { border-color: var(--maj); transform: translateY(-2px); }
.villes a:hover::before { transform: rotate(45deg); }
.villes b { font-size: 17px; }
.villes span { color: var(--encre-2); font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.villes .ville-active span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.ville-fleche { position: absolute; inset-inline-end: 16px; top: 18px; color: var(--maj); }
@media (min-width: 820px) { .villes { grid-template-columns: repeat(4, 1fr); } }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--carte); border: 1px solid var(--trait); border-radius: 16px; padding: 0 20px; transition: border-color .2s; }
.faq details[open] { border-color: color-mix(in srgb, var(--maj) 40%, var(--trait)); }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 700; list-style: none; display: flex; gap: 12px; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--maj-doux); color: var(--maj); font-size: 18px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--encre-2); margin: 0 0 18px; }
.lien-suite { margin-top: 18px; }
.lien-suite a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }

/* Deux colonnes : présentation à gauche (fixe), contenu à droite */
.page-deux { display: grid; gap: clamp(28px, 4vw, 64px); align-items: start; }
.page-deux > * { min-width: 0; }
@media (min-width: 1000px) {
  .page-deux { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .page-deux > .colle { position: sticky; top: 96px; }
}
.colle h1 { font-size: clamp(32px, 3.6vw, 48px); }
.colle .encadre { margin-top: 22px; }
.colle .actions-ligne { margin-top: 18px; }

/* Bande agences : pleine largeur */
.bande-agences { margin-top: clamp(56px, 8vw, 104px); background: var(--nuit); color: #ECEEFA; position: relative; overflow: hidden; }
.bande-agences::before { content: ""; position: absolute; inset: 0; opacity: .07; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 100 100'%3E%3Cpath fill='%23ffffff' d='M50 0 61 26 85 15 74 39 100 50 74 61 85 85 61 74 50 100 39 74 15 85 26 61 0 50 26 39 15 15 39 26z'/%3E%3C/svg%3E");
  background-size: 64px 64px; }
.bande-agences-in { position: relative; width: min(var(--larg), 100% - 2 * var(--gout)); margin-inline: auto; padding-block: clamp(36px, 5vw, 64px); display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; justify-content: space-between; }
.bande-agences h2 { color: #fff; margin-bottom: 8px; }
.bande-agences p { color: #B9BEDA; margin: 0; max-width: 62ch; font-size: 17px; }
.bande-agences + .pied { margin-top: 0; }

.fil-ariane { padding-top: 16px; display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--encre-3); flex-wrap: wrap; }
.fil-ariane a { color: var(--encre-2); }
.fil-ariane .ico { width: 14px; height: 14px; }
.heros-ville { padding-top: clamp(20px, 3vw, 40px); }
.fiche-ville { background: var(--carte); border: 1px solid var(--trait); border-radius: 24px; box-shadow: var(--ombre); padding: 22px; }
.fiche-ville h2 { font-size: 15px; font-family: var(--police); text-transform: uppercase; letter-spacing: .1em; color: var(--encre-3); margin-bottom: 14px; }
.fiche-chiffres { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.fiche-chiffres div { background: var(--carte-2); border: 1px solid var(--trait); border-radius: 14px; padding: 14px; }
.fiche-chiffres dt { color: var(--encre-2); font-size: 13px; }
.fiche-chiffres dd { margin: 2px 0 0; font-family: var(--titre); font-weight: 800; font-size: 24px; font-variant-numeric: tabular-nums; }
.fiche-chiffres .large { grid-column: 1 / -1; }
.fiche-chiffres .large dd { font-family: var(--police); font-size: 16px; font-weight: 700; }
.fiche-ville .etiquettes { margin-top: 14px; }
.modeles { list-style: none; padding: 0; margin: 0; }
.bloc-deux { display: grid; gap: 20px; }
@media (min-width: 900px) { .bloc-deux { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.encadre { background: var(--carte); border: 1px solid var(--trait); border-radius: 20px; padding: 24px; margin-top: 18px; }
.etiquettes { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.etiquettes li { padding: 6px 12px; border-radius: 999px; background: var(--carte); border: 1px solid var(--trait); font-size: 14px; }
.etiquettes b { color: var(--maj); margin-inline-start: 4px; }
.liens-villes { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 24px; font-size: 15px; }
.liens-villes li { margin-bottom: 8px; break-inside: avoid; }
@media (min-width: 820px) { .liens-villes { columns: 4; } }
.liste-coches { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.liste-coches li { display: flex; gap: 10px; align-items: flex-start; }
.liste-coches .ico { color: var(--ok); margin-top: 3px; }
.texte-legal h2 { margin-top: 1.6em; font-size: 21px; }
.texte-legal p, .texte-legal li { color: var(--encre-2); }
.page-404 { text-align: center; padding-top: 70px; }
.etoile-404 { font-size: 72px; color: var(--maj); margin-bottom: 18px; }
.actions-ligne { display: flex; flex-wrap: wrap; gap: 10px; justify-content: inherit; }
.page-404 .actions-ligne { justify-content: center; }
.page-404 .bloc-intro { margin-inline: auto; }

/* ── Formulaires ─────────────────────────────────────────────────── */
.formulaire { display: grid; gap: 14px; margin-top: 20px; background: var(--carte); border: 1px solid var(--trait); border-radius: 20px; padding: 24px; }
.formulaire label:not(.case) { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.formulaire input:not([type="checkbox"]), .formulaire textarea { width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--trait); background: var(--carte-2); font-weight: 400; font-size: 16px; }
.formulaire input:focus, .formulaire textarea:focus { border-color: var(--maj); outline: none; box-shadow: 0 0 0 3px var(--maj-doux); }
.form-2 { display: grid; gap: 14px; }
@media (min-width: 640px) { .form-2 { grid-template-columns: 1fr 1fr; } }
.case { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.case input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--maj); }
.form-msg:empty { display: none; }
.form-msg { margin: 0; padding: 10px 14px; border-radius: 10px; background: var(--err-doux); color: var(--err); font-weight: 600; }
.form-msg.ok { background: var(--ok-doux); color: var(--ok); }
.note { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--encre-2); background: var(--carte-2); border: 1px solid var(--trait); border-radius: 12px; padding: 12px 14px; }
.note .ico { color: var(--maj); width: 18px; height: 18px; margin-top: 2px; }
.note-att { background: var(--att-doux); color: var(--att); border-color: transparent; }

/* ── Suivi ───────────────────────────────────────────────────────── */
.progression { list-style: none; padding: 0; margin: 22px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; font-size: 13px; color: var(--encre-3); text-align: center; }
.progression span { display: block; height: 6px; border-radius: 4px; background: var(--trait); margin-bottom: 8px; }
.progression .fait { color: var(--encre); }
.progression .fait span { background: var(--ok); }
.progression .actif { color: var(--maj); font-weight: 700; }
.progression .actif span { background: linear-gradient(90deg, var(--maj) 50%, var(--trait) 50%); background-size: 200% 100%; animation: avancer 1.6s ease-in-out infinite alternate; }
@keyframes avancer { from { background-position: 100% 0; } to { background-position: 0 0; } }
.carte-suivi { background: var(--carte); border: 1px solid var(--trait); border-radius: 20px; padding: 22px; margin-top: 14px; }
.carte-suivi h2 { font-size: 19px; display: flex; gap: 8px; align-items: center; font-family: var(--police); letter-spacing: 0; }
.suivi-grille { display: grid; gap: 0 28px; align-items: start; }
@media (min-width: 1000px) { .suivi-grille { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.lignes { margin: 0; display: grid; gap: 8px; }
.lignes div { display: flex; justify-content: space-between; gap: 12px; }
.lignes dt { color: var(--encre-2); display: inline-flex; gap: 6px; align-items: center; }
.lignes dd { margin: 0; font-weight: 600; text-align: end; font-variant-numeric: tabular-nums; }
.lignes .total { border-top: 1px dashed var(--trait); padding-top: 10px; margin-top: 4px; }
.lignes .total dt { color: var(--encre); font-weight: 700; }
.lignes .total dd { font-size: 20px; font-weight: 800; color: var(--maj); }
.docs-liste { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.docs-liste li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--trait); border-radius: 12px; }
.pastille-ok { display: inline-flex; align-items: center; gap: 4px; color: var(--ok); font-size: 14px; }
.chrono { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.chrono li { display: grid; gap: 2px; padding-inline-start: 16px; border-inline-start: 2px solid var(--trait); }
.chrono time { font-size: 13px; color: var(--encre-3); }
.actions-suivi { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.suivi .surtitre b { color: var(--encre); letter-spacing: .06em; }

/* ── Pied de page ────────────────────────────────────────────────── */
.pied { margin-top: clamp(56px, 8vw, 104px); border-top: 1px solid var(--trait); background: var(--carte); }
.pied-in { padding-block: 44px 14px; display: grid; gap: 28px; grid-template-columns: repeat(2, 1fr); }
.pied-marque { grid-column: 1 / -1; }
.pied-marque p { color: var(--encre-2); font-size: 14px; max-width: 42ch; margin-top: 12px; }
.pied-col h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--encre-3); font-family: var(--police); margin-bottom: 12px; }
.pied-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 15px; }
.pied-col a { color: var(--encre-2); text-decoration: none; }
.pied-col a:hover { color: var(--maj); }
.pied-bas { padding-block: 16px 92px; color: var(--encre-3); font-size: 13px; border-top: 1px solid var(--trait); display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between; }
@media (min-width: 820px) { .pied-in { grid-template-columns: 1.5fr 1fr 1fr 1fr; } .pied-marque { grid-column: auto; } }

/* ── Lanceur de l'assistant ──────────────────────────────────────── */
.lanceur { position: fixed; inset-inline-end: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 45; display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 20px 0 16px; border-radius: 999px; border: 0; background: var(--encre); color: var(--sol); font-weight: 700; box-shadow: var(--ombre-forte); cursor: pointer; }
.lanceur .logo-etoile { color: var(--safran); font-size: 22px; }
.lanceur:hover .logo-etoile { animation: tourner 4s linear infinite; }
.asst-ouvert .lanceur { display: none; }

/* ── Fenêtre de l'assistant ──────────────────────────────────────── */
.asst { position: fixed; inset: 0; z-index: 60; display: flex; justify-content: center; align-items: flex-end; }
.asst-voile { position: absolute; inset: 0; background: var(--voile); animation: fondu .2s ease; }
.asst-panneau { position: relative; width: 100%; height: 100%; max-height: 100dvh; background: var(--sol); display: flex; flex-direction: column; animation: monter .28s cubic-bezier(.2, .9, .3, 1.1); }
@media (min-width: 760px) {
  .asst { align-items: center; padding: 24px; }
  .asst-panneau { max-width: 900px; height: min(900px, calc(100dvh - 48px)); border-radius: 24px; box-shadow: var(--ombre-forte); overflow: hidden; border: 1px solid var(--trait); }
}
@keyframes fondu { from { opacity: 0; } }
@keyframes monter { from { transform: translateY(24px); opacity: 0; } }
.asst-tete { display: flex; align-items: center; gap: 10px; padding: 12px 14px; padding-top: calc(12px + env(safe-area-inset-top)); background: var(--carte); border-bottom: 1px solid var(--trait); }
.asst-avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--encre); color: var(--safran); font-size: 22px; flex: none; }
.asst-tete-txt { flex: 1; min-width: 0; }
.asst-tete h2 { font-size: 17px; margin: 0; }
.asst-tete h2 span { color: var(--encre-3); font-weight: 600; font-family: var(--police); font-size: 14px; }
.asst-tete p { margin: 0; font-size: 13px; color: var(--ok); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.asst-fil { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 18px 14px 8px; display: flex; flex-direction: column; gap: 12px; scroll-behavior: smooth; }
.msg { max-width: 86%; padding: 11px 15px; border-radius: 18px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15.5px; line-height: 1.55; }
.msg-client { align-self: flex-end; background: var(--maj); color: var(--sur-maj); border-end-end-radius: 6px; }
.msg-assistant { align-self: flex-start; background: var(--carte); border: 1px solid var(--trait); border-end-start-radius: 6px; }
.msg-voix::before { content: "◉ "; color: var(--maj); }
.msg-erreur { align-self: center; background: var(--err-doux); color: var(--err); font-size: 14px; }
.msg-systeme { align-self: center; color: var(--encre-3); font-size: 13px; background: none; padding: 2px; }
.ecrit { align-self: flex-start; display: inline-flex; gap: 5px; padding: 14px 16px; background: var(--carte); border: 1px solid var(--trait); border-radius: 18px; }
.ecrit i { width: 7px; height: 7px; border-radius: 50%; background: var(--encre-3); animation: point 1.2s infinite ease-in-out; }
.ecrit i:nth-child(2) { animation-delay: .15s; } .ecrit i:nth-child(3) { animation-delay: .3s; }
@keyframes point { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.accueil-asst { text-align: center; padding: 22px 10px 6px; }
.accueil-asst .etoile8 { font-size: 44px; color: var(--maj); }
.accueil-asst h3 { margin: 10px 0 6px; font-size: 20px; }
.accueil-asst p { color: var(--encre-2); max-width: 46ch; margin: 0 auto; }
.asst-sugg { display: flex; gap: 8px; overflow-x: auto; padding: 4px 14px 8px; scrollbar-width: none; }
.asst-sugg::-webkit-scrollbar { display: none; }
.asst-sugg button { flex: none; border: 1px solid var(--trait); background: var(--carte); color: var(--encre-2); border-radius: 999px; padding: 7px 13px; font-size: 14px; cursor: pointer; white-space: nowrap; }
.asst-sugg button:hover { color: var(--maj); border-color: var(--maj); }
.asst-saisie { display: flex; align-items: flex-end; gap: 8px; margin: 0 12px; padding: 8px; background: var(--carte); border: 1px solid var(--trait); border-radius: 18px; }
.asst-saisie:focus-within { border-color: var(--maj); }
.asst-saisie textarea { flex: 1; border: 0; outline: none; background: transparent; resize: none; font-size: 16px; line-height: 1.45; padding: 8px 6px; max-height: 140px; min-height: 40px; }
.btn-envoyer, .btn-micro { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 0; cursor: pointer; flex: none; }
.btn-envoyer { background: var(--maj); color: var(--sur-maj); }
.btn-envoyer:disabled { opacity: .5; }
[dir="rtl"] .btn-envoyer .ico { transform: scaleX(-1); }
.btn-micro { background: var(--maj-doux); color: var(--maj); }
.asst-mention { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0; padding: 8px 14px calc(10px + env(safe-area-inset-bottom)); font-size: 12px; color: var(--encre-3); text-align: center; }
.asst-mention .ico { width: 14px; height: 14px; }

/* Cartes dans la conversation */
.cartes { align-self: stretch; display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.v-carte { flex: 0 0 min(78%, 270px); scroll-snap-align: start; background: var(--carte); border: 1px solid var(--trait); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.v-photo { position: relative; aspect-ratio: 16/10; background: var(--sol-2); display: grid; place-items: center; }
.v-photo img { width: 100%; height: 100%; object-fit: cover; }
.v-photo .ico { width: 42px; height: 42px; opacity: .3; }
.v-badge { position: absolute; top: 10px; inset-inline-start: 10px; background: var(--safran); color: #11162B; font-size: 12px; font-weight: 800; padding: 3px 8px; border-radius: 999px; }
.v-corps { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.v-nom { font-weight: 800; font-size: 16px; line-height: 1.3; }
.v-nom small { color: var(--encre-3); font-weight: 600; }
.v-carac { display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--encre-2); font-size: 13px; }
.v-carac span { display: inline-flex; align-items: center; gap: 4px; }
.v-carac .ico { width: 15px; height: 15px; }
.v-prix { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.v-prix b { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.v-prix span { color: var(--encre-3); font-size: 13px; }
.v-agence { font-size: 12px; color: var(--encre-3); display: flex; align-items: center; gap: 5px; }
.v-agence .ico { width: 14px; height: 14px; color: var(--ok); }
.v-carte .btn-principal { min-height: 40px; width: 100%; }
.c-carte { align-self: stretch; background: var(--carte); border: 1px solid var(--trait); border-radius: 18px; padding: 16px; }
.c-tete { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.c-tete img { width: 84px; height: 56px; object-fit: cover; border-radius: 10px; }
.c-tete b { display: block; font-size: 16px; }
.c-tete span { color: var(--encre-2); font-size: 13px; }
.c-titre { font-weight: 800; font-size: 16px; display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.c-titre .ico { color: var(--maj); }
.c-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.c-actions > * { flex: 1 1 auto; }
.geste { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 6px 10px; border-radius: 999px; background: var(--ok-doux); color: var(--ok); font-weight: 700; font-size: 13px; }
.galerie { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; margin-bottom: 12px; }
.galerie img { flex: 0 0 82%; aspect-ratio: 16/10; object-fit: cover; border-radius: 12px; scroll-snap-align: start; background: var(--sol-2); }
.liste-opts { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; font-size: 14px; }
.liste-opts li { display: flex; justify-content: space-between; gap: 10px; color: var(--encre-2); }
.doc-slots { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; }
.doc-slot { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 92px; padding: 10px; border: 1.5px dashed var(--trait); border-radius: 14px; text-align: center; font-size: 13px; font-weight: 600; color: var(--encre-2); cursor: pointer; background: var(--carte-2); }
.doc-slot:hover { border-color: var(--maj); color: var(--maj); }
.doc-slot input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.doc-slot.ok { border-style: solid; border-color: var(--ok); color: var(--ok); background: var(--ok-doux); }
.doc-slot.douteux { border-style: solid; border-color: var(--att); color: var(--att); background: var(--att-doux); }
.doc-slot.charge { opacity: .6; pointer-events: none; }
.doc-slot small { font-weight: 400; color: inherit; opacity: .85; }
.recap-champs { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; margin: 10px 0; }
.recap-champs label { display: grid; gap: 4px; font-size: 12px; font-weight: 600; color: var(--encre-3); }
.recap-champs input { min-height: 40px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--trait); background: var(--carte-2); font-size: 15px; }
.recap-champs .large { grid-column: 1 / -1; }
.confirme { text-align: center; }
.confirme .etoile8 { font-size: 40px; color: var(--ok); }
.confirme .ref { display: inline-block; font-family: var(--titre); font-size: 22px; font-weight: 800; letter-spacing: .06em; padding: 4px 12px; border-radius: 10px; background: var(--sol-2); margin: 6px 0 10px; }

/* Appel vocal */
.appel { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--encre); color: var(--sol); }
.appel-orbe { position: relative; display: grid; place-items: center; width: 44px; height: 44px; flex: none; }
.appel-orbe .etoile8 { font-size: 40px; color: var(--safran); transition: transform .2s; }
.appel.parle .appel-orbe .etoile8 { animation: respirer 1s ease-in-out infinite; }
.appel.ecoute .appel-orbe::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--safran); opacity: .5; animation: onde 1.8s ease-out infinite; }
@keyframes respirer { 50% { transform: scale(1.14) rotate(22.5deg); } }
@keyframes onde { from { transform: scale(.7); opacity: .7; } to { transform: scale(1.4); opacity: 0; } }
.appel-txt { flex: 1; min-width: 0; display: grid; }
.appel-txt b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appel-txt span { font-size: 12px; opacity: .7; font-variant-numeric: tabular-nums; }
.btn-rond { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: inherit; cursor: pointer; flex: none; }
:root[data-theme="dark"] .btn-rond { border-color: rgba(0,0,0,.2); background: rgba(0,0,0,.08); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-rond { border-color: rgba(0,0,0,.2); background: rgba(0,0,0,.08); } }
.btn-rond[aria-pressed="true"] { background: var(--safran); color: #11162B; }
.btn-rond.rouge { background: #D9383C; border-color: #D9383C; color: #fff; }
.voix-depart { flex: 1; overflow-y: auto; padding: 26px 18px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.voix-orbe-grand .etoile8 { font-size: 96px; color: var(--maj); animation: tourner 18s linear infinite; }
.voix-depart h3 { font-size: 22px; margin: 14px 0 6px; }
.voix-depart p { color: var(--encre-2); max-width: 44ch; }
.voix-langues { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 6px 0 16px; }
.voix-langues button { border: 1px solid var(--trait); background: var(--carte); border-radius: 999px; padding: 8px 14px; cursor: pointer; font-weight: 600; }
.voix-langues button[aria-pressed="true"] { background: var(--maj); border-color: var(--maj); color: var(--sur-maj); }
.voix-accord { display: flex; gap: 10px; align-items: flex-start; text-align: start; font-size: 14px; color: var(--encre-2); max-width: 46ch; background: var(--carte); border: 1px solid var(--trait); padding: 12px; border-radius: 12px; }
.voix-accord input { width: 20px; height: 20px; flex: none; accent-color: var(--maj); margin-top: 1px; }
.voix-msg { color: var(--err); font-weight: 600; min-height: 1.4em; margin: 10px 0; }
.voix-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* Notifications discrètes */
.toasts { position: fixed; z-index: 80; inset-inline: 16px; bottom: calc(84px + env(safe-area-inset-bottom)); display: grid; gap: 8px; justify-items: center; pointer-events: none; }
.toast { pointer-events: auto; max-width: 440px; background: var(--encre); color: var(--sol); padding: 12px 16px; border-radius: 14px; box-shadow: var(--ombre-forte); font-size: 14px; animation: monter .25s ease; }
.toast.err { background: var(--err); color: #fff; }
.toast.ok { background: var(--ok); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print { .entete, .lanceur, .asst, .pied, .actions-suivi { display: none !important; } body { background: #fff; color: #000; } }

/* Fenêtres dessinées (jamais confirm() du navigateur) */
dialog.fenetre { border: 1px solid var(--trait); border-radius: 18px; padding: 22px; width: min(440px, calc(100vw - 32px)); background: var(--carte); color: var(--encre); box-shadow: var(--ombre-forte); }
dialog.fenetre::backdrop { background: var(--voile); }
dialog.fenetre h2 { font-size: 20px; }
dialog.fenetre p { color: var(--encre-2); }
dialog.fenetre textarea { width: 100%; border: 1px solid var(--trait); border-radius: 12px; padding: 10px; background: var(--carte-2); margin-bottom: 8px; resize: vertical; }

/* Correctifs de rendu (essais navigateur 13/11) */
.asst-fil > * { flex-shrink: 0; }                      /* les cartes défilantes ne rétrécissent plus */
.v-prix { flex-wrap: wrap; row-gap: 0; }
.v-prix b { white-space: nowrap; }
.recap-champs input { color: var(--encre); font-weight: 600; }
.lignes .total dd { white-space: nowrap; }
@media (max-width: 600px) {
  .lanceur { width: 58px; height: 58px; padding: 0; justify-content: center; border-radius: 50%; }
  .lanceur span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .lanceur .logo-etoile { font-size: 26px; }
}

/* Mise en page v2 (13/11) : compléments */
@media (min-width: 1000px) { .page-deux.inverse { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.page-deux.inverse .grille-4 { margin-top: 26px; }
.page-deux.inverse .colle .formulaire { margin-top: 12px; }
.titre-section { margin-top: 40px; font-size: clamp(22px, 2.4vw, 28px); }
.colle > .pastille { margin-bottom: 18px; }
.auto-annee { color: var(--encre-3); font-weight: 600; font-size: 14px; }
main:has(> .bande-agences:last-child) + .pied { margin-top: 0; }
.faq-grande summary { font-size: 16.5px; }
.suivi .carte-suivi:first-child { margin-top: 0; }
@media (min-width: 1000px) { .suivi-grille > div > .carte-suivi:first-child { margin-top: 14px; } }
/* Le compositeur s'adapte à sa propre largeur (colonne du héros, page ville, téléphone) */
.compositeur { container-type: inline-size; }
@container (max-width: 820px) { .compositeur-aide { display: none !important; } .compositeur-bas .btn-principal { margin-inline-start: auto; } }
/* Photo absente ou refusée : jamais le texte de remplacement à l'écran, l'icône voiture à la place */
.auto-photo img, .demo-photo img, .v-photo img { color: transparent; font-size: 0; }
.photo-ko img { display: none; }
.photo-ko::after { content: ""; width: 46px; height: 46px; opacity: .3; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 16H4a1 1 0 0 1-1-1v-3.2a2 2 0 0 1 .6-1.4L6 8h12l2.4 2.4a2 2 0 0 1 .6 1.4V15a1 1 0 0 1-1 1h-1'/%3E%3Ccircle cx='7.5' cy='16.5' r='1.8'/%3E%3Ccircle cx='16.5' cy='16.5' r='1.8'/%3E%3Cpath d='M9.3 16.5h5.4M6 8l1.6-3h8.8L18 8'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 16H4a1 1 0 0 1-1-1v-3.2a2 2 0 0 1 .6-1.4L6 8h12l2.4 2.4a2 2 0 0 1 .6 1.4V15a1 1 0 0 1-1 1h-1'/%3E%3Ccircle cx='7.5' cy='16.5' r='1.8'/%3E%3Ccircle cx='16.5' cy='16.5' r='1.8'/%3E%3Cpath d='M9.3 16.5h5.4M6 8l1.6-3h8.8L18 8'/%3E%3C/svg%3E") center / contain no-repeat; }
.demo-photo.photo-ko::after { width: 28px; height: 28px; }
/* Téléphone : la vitrine défile au doigt au lieu d'allonger la page */
@media (max-width: 639px) {
  .autos-defile { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; margin-inline: calc(-1 * var(--gout)); padding-inline: var(--gout); scroll-padding-inline: var(--gout); scrollbar-width: none; }
  .autos-defile::-webkit-scrollbar { display: none; }
  .autos-defile > li { scroll-snap-align: start; }
  .heros-demo .demo-fil > .msg-assistant:last-child { display: none; }
}
.auto-pied { flex-wrap: wrap; row-gap: 10px; }
@media (max-width: 639px) {
  .heros .puces-exemples { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gout)); padding-inline: var(--gout); padding-bottom: 4px; scrollbar-width: none; }
  .heros .puces-exemples::-webkit-scrollbar { display: none; }
  .heros .puces-exemples button { white-space: nowrap; }
}
/* Les colonnes de grille peuvent rétrécir : un enfant qui défile (puces) n'élargit plus la colonne */
.heros-grille > *, .bloc-tete > *, .suivi-grille > * { min-width: 0; }

/* ═══════════════════════════════════════════════════════════════════
   Thème v3 (13/11) — identité du logo Renta212 (Higgsfield, vectorisé)
   Bleu nuit pour le texte et les actions ; rouge et vert du Maroc pour
   les deux étoiles et les accents. Plus Jakarta Sans (latin) + Readex
   (arabe). Sobre et professionnel : plus d'étoiles qui tournent.
   Ce bloc, placé en dernier, remplace les jetons et styles précédents.
   ═══════════════════════════════════════════════════════════════════ */
@font-face { font-family: "Jakarta"; src: url(/assets/fonts/jakarta-latin.woff2) format("woff2"); font-weight: 400 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jakarta"; src: url(/assets/fonts/jakarta-latin-ext.woff2) format("woff2"); font-weight: 400 800; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --sol: #F5F6F9; --sol-2: #ECEEF3; --carte: #FFFFFF; --carte-2: #F8F9FB;
  --encre: #101828; --encre-2: #475467; --encre-3: #7A8499; --trait: #E3E6ED;
  --maj: #1D3A8A; --maj-fort: #142C6E; --maj-doux: #EAEFFA; --sur-maj: #FFFFFF;
  --rouge-ma: #C1272D; --vert-ma: #0E9F4E; --vert-ma-texte: #0A7A3B;
  --safran: #C1272D; --safran-encre: #9E1F25;
  --ok: #0A7A3B; --ok-doux: #E3F4EA;
  --ombre: 0 1px 2px rgba(16,24,40,.05), 0 6px 20px -10px rgba(16,24,40,.16);
  --ombre-forte: 0 22px 50px -22px rgba(16,24,40,.32);
  --r: 14px;
  --police: "Jakarta", "Readex", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Arabic", Tahoma, sans-serif;
  --titre: "Jakarta", "Readex", system-ui, sans-serif;
  --embleme: url(/assets/img/emblem-clair.svg);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --sol: #0B1020; --sol-2: #111831; --carte: #131B33; --carte-2: #182141;
    --encre: #EEF1F8; --encre-2: #AAB3C9; --encre-3: #7F89A3; --trait: #263052;
    --maj: #8FA8FF; --maj-fort: #B3C3FF; --maj-doux: #1C2750; --sur-maj: #0B1020;
    --rouge-ma: #F0565C; --vert-ma: #2FCB74; --vert-ma-texte: #4ADE8C; --safran: #F0565C; --safran-encre: #F0565C;
    --ok: #4ADE8C; --ok-doux: #0F3324;
    --embleme: url(/assets/img/emblem-sombre.svg);
  }
}
:root[data-theme="dark"] {
  --sol: #0B1020; --sol-2: #111831; --carte: #131B33; --carte-2: #182141;
  --encre: #EEF1F8; --encre-2: #AAB3C9; --encre-3: #7F89A3; --trait: #263052;
  --maj: #8FA8FF; --maj-fort: #B3C3FF; --maj-doux: #1C2750; --sur-maj: #0B1020;
  --rouge-ma: #F0565C; --vert-ma: #2FCB74; --vert-ma-texte: #4ADE8C; --safran: #F0565C; --safran-encre: #F0565C;
  --ok: #4ADE8C; --ok-doux: #0F3324;
  --embleme: url(/assets/img/emblem-sombre.svg);
}

body { font-family: var(--police); }
h1, h2, h3 { font-family: var(--titre); font-weight: 800; letter-spacing: -.025em; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { font-family: var(--police); letter-spacing: 0; }
h3 { font-weight: 700; letter-spacing: -.01em; }
.heros h1 { font-weight: 800; letter-spacing: -.035em; line-height: 1.06; }

/* Logo : l'emblème (deux étoiles + la route) + le mot, sans fond coloré */
.logo { gap: 9px; font-family: var(--titre); font-weight: 800; letter-spacing: -.03em; }
.logo .logo-etoile, .logo-etoile, .etoile8 {
  clip-path: none; background: var(--embleme) center / contain no-repeat; color: transparent;
  width: 1.5em; height: 1.125em; animation: none !important; transform: none;
}
.logo .logo-etoile { font-size: 24px; }
.logo b { background: none; color: inherit; padding: 0; margin: 0; border-radius: 0; font-weight: 800; }
.asst-avatar { background: var(--carte); border: 1px solid var(--trait); }
.asst-avatar .logo-etoile { font-size: 20px; }
.demo-tete .asst-avatar .logo-etoile { font-size: 17px; }
.lanceur { background: var(--encre); color: var(--sol); }
.lanceur .logo-etoile { background-color: #FFFFFF; border-radius: 8px; padding: 3px; width: 1.9em; height: 1.5em; background-size: 80%; font-size: 18px; }
.btn-etoile { padding: 0 16px; gap: 8px; background: var(--carte); }
[dir="rtl"] .btn-etoile { padding: 0 16px; }
.btn-etoile .etoile8 { display: none; }
.btn-etoile > .ico { position: static; color: var(--maj); width: 18px; height: 18px; }
.btn-etoile:hover { border-color: var(--maj); color: var(--maj); }
@media (max-width: 420px) { .btn-etoile { padding: 0; width: 46px; justify-content: center; } }
.voix-orbe-grand .etoile8 { font-size: 64px; }
.accueil-asst .etoile8 { font-size: 40px; }
.appel-orbe .etoile8 { font-size: 34px; background-color: #FFFFFF; border-radius: 10px; background-size: 78%; }
@keyframes respirer { 50% { transform: scale(1.1); } }
.etoile-404 { font-size: 80px; display: inline-block; }
.confirme .etoile8 { font-size: 44px; }

/* Boutons : sobres, angles moins ronds */
.btn-principal, .btn-fantome, .btn-clair, .btn-installer { border-radius: 10px; }
.btn-principal { background: var(--maj); box-shadow: 0 1px 2px rgba(16,24,40,.12); }
.btn-installer { background: var(--carte); color: var(--encre); border: 1px solid var(--trait); }
.btn-installer:hover { border-color: var(--vert-ma); color: var(--vert-ma-texte); }
.btn-installer .ico { color: var(--vert-ma-texte); }
.btn-clair { background: #FFFFFF; color: #101828; }
.btn-clair:hover { background: #F0F2F7; color: #101828; }
.v-badge { background: var(--rouge-ma); color: #FFFFFF; }

/* Héros : fond calme, deux étoiles discrètes (rouge et verte) près de l'aperçu */
.heros-motif { background:
    radial-gradient(52% 60% at 80% 30%, color-mix(in srgb, var(--maj) 9%, transparent), transparent 70%),
    linear-gradient(180deg, color-mix(in srgb, var(--carte) 70%, transparent), transparent 70%); }
.heros-demo::before, .heros-demo::after { content: "★"; position: absolute; z-index: 1; clip-path: none; background: none; width: auto; aspect-ratio: auto; opacity: 1; transform: none;
  font-size: 18px; line-height: 1; animation: scintille 3.2s ease-in-out infinite; }
.heros-demo::before { color: var(--rouge-ma); top: -14px; inset-inline-end: 22%; }
.heros-demo::after { color: var(--vert-ma); bottom: 18%; inset-inline-end: -14px; font-size: 15px; animation-delay: 1.1s; }
@keyframes scintille { 0%, 100% { opacity: .55; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.08); } }
.surtitre { color: var(--encre-2); }
.surtitre-pastille { color: var(--encre); }
.demo { border-radius: 18px; }
.demo-etiquette { border-radius: 6px; }

/* Séparateur de section : un trait, une étoile rouge, le libellé, une étoile verte, un trait */
.separateur { display: flex; align-items: center; gap: clamp(10px, 2vw, 18px); margin: 0 0 22px; }
.separateur i { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--trait) 30%, var(--trait) 70%, transparent); }
.separateur b { font-size: 13px; line-height: 1; font-weight: 400; }
.separateur b:first-of-type { color: var(--rouge-ma); }
.separateur b:last-of-type { color: var(--vert-ma); }
.separateur span { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--encre-3); white-space: nowrap; }
[dir="rtl"] .separateur span { letter-spacing: .04em; }
.bloc > .separateur:first-child + .bloc-tete, .bloc > .separateur:first-child + .colle { margin-top: 0; }

/* Cartes et blocs : bordures nettes, ombres légères */
.auto-carte, .etapes li, .grille-4 article, .villes a, .faq details, .encadre, .formulaire, .carte-suivi, .fiche-ville, .chiffres { border-radius: var(--r); }
.auto-carte:hover { transform: none; box-shadow: var(--ombre); }
.etape-num { background: var(--encre); color: var(--sol); border-radius: 10px; }
.etapes:not(.etapes-longues) li:not(:last-child)::after { border-top-color: var(--trait); }
.villes a::before { display: none; }
.villes a:hover { transform: none; }
.villes .ville-active span::before { background: var(--vert-ma); }
.ville-fleche { color: var(--encre-3); }
.villes a:hover .ville-fleche { color: var(--maj); }
.pastille { border-radius: 10px; }
.faq summary::after { border-radius: 6px; }

/* Bande des agences : bleu nuit, liseré rouge et vert */
.bande-agences { background: #101828; }
.bande-agences::before { opacity: 1; inset: 0 0 auto 0; height: 4px; background-image: none; background: linear-gradient(90deg, #C1272D 0 50%, #0E9F4E 50% 100%); }
.point-direct { background: var(--vert-ma); }
.pied { background: var(--carte); }

/* Administration : même identité */
.adm-initiales { background: var(--encre); color: var(--sol); }
.adm-menu .logo .logo-etoile { font-size: 22px; }
.heros h1 { letter-spacing: -.028em; }
@media (min-width: 1080px) { .heros-demo .demo { max-width: none; } }

/* ── Lot 4 : toutes les photos de l'agence (vignette à flèches + visionneuse plein écran) ── */
.v-fleche { position: absolute; top: 50%; translate: 0 -50%; width: 34px; height: 34px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(16, 24, 40, .55); color: #fff; cursor: pointer; opacity: .9; }
.v-fleche:hover, .v-fleche:focus-visible { background: rgba(16, 24, 40, .8); opacity: 1; }
.v-fleche .ico { width: 18px; height: 18px; opacity: 1; }
.v-prec { inset-inline-start: 8px; } .v-suiv { inset-inline-end: 8px; }
.v-prec .ico, [dir="rtl"] .v-suiv .ico { transform: scaleX(-1); }
[dir="rtl"] .v-prec .ico { transform: none; }
.v-nb-photos, .auto-nb-photos { position: absolute; bottom: 8px; inset-inline-end: 8px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; background: rgba(16, 24, 40, .62); color: #fff; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.auto-nb-photos .ico { width: 14px; height: 14px; }
.auto-photo[data-photos] { cursor: zoom-in; }
.auto-photo[data-photos]:focus-visible { outline: 3px solid var(--maj); outline-offset: -3px; }
.visionneuse { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 11, 22, .94); color: #fff; display: grid; place-items: center; overflow: hidden; }
.visionneuse::backdrop { background: rgba(8, 11, 22, .7); }
.visionneuse img { max-width: min(1280px, 94vw); max-height: 82dvh; object-fit: contain; border-radius: 12px; user-select: none; -webkit-user-drag: none; touch-action: pan-y; }
.vis-cpt { position: absolute; bottom: max(16px, env(safe-area-inset-bottom)); inset-inline: 0; text-align: center; margin: 0; font-size: 14px; font-weight: 600; opacity: .85; padding: 0 16px; }
.vis-fermer, .vis-fleche { position: absolute; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; cursor: pointer; }
.vis-fermer:hover, .vis-fleche:hover, .vis-fermer:focus-visible, .vis-fleche:focus-visible { background: rgba(255,255,255,.22); }
.vis-fermer { top: max(14px, env(safe-area-inset-top)); inset-inline-end: 14px; }
.vis-fleche { top: 50%; translate: 0 -50%; }
.vis-prec { inset-inline-start: 14px; } .vis-suiv { inset-inline-end: 14px; }
.vis-prec .ico, [dir="rtl"] .vis-suiv .ico { transform: scaleX(-1); }
[dir="rtl"] .vis-prec .ico { transform: none; }
.vis-fermer .ico, .vis-fleche .ico { width: 22px; height: 22px; }
@media (max-width: 640px) { .vis-fleche { top: auto; bottom: max(52px, calc(env(safe-area-inset-bottom) + 40px)); translate: none; } }
/* Emblème v4 (route vers l'étoile, tuile carrée) */
.logo .logo-etoile, .logo-etoile, .etoile8 { width: 1.3em; height: 1.3em; border-radius: .28em; }
.lanceur .logo-etoile { background-color: transparent; padding: 0; width: 1.5em; height: 1.5em; background-size: contain; border-radius: .32em; }

/* ══ Lot 5 : typographie (Sora titres · Geist texte · Geist Mono codes), pied de page, filtres ══ */
@font-face { font-family: "Sora"; src: url(/assets/fonts/sora-latin.woff2) format("woff2"); font-weight: 400 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Sora"; src: url(/assets/fonts/sora-latin-ext.woff2) format("woff2"); font-weight: 400 800; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist"; src: url(/assets/fonts/geist-latin.woff2) format("woff2"); font-weight: 300 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist"; src: url(/assets/fonts/geist-latin-ext.woff2) format("woff2"); font-weight: 300 800; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; src: url(/assets/fonts/geistmono-latin.woff2) format("woff2"); font-weight: 400 600; font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2212; }
:root {
  --police: "Geist", "Readex", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Arabic", Tahoma, sans-serif;
  --titre: "Sora", "Geist", "Readex", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
body { font-family: var(--police); font-size: 16px; letter-spacing: -.003em; }
h1, h2, h3 { font-family: var(--titre); font-weight: 700; letter-spacing: -.022em; }
h3 { font-weight: 600; letter-spacing: -.012em; }
.heros h1 { font-weight: 700; letter-spacing: -.035em; line-height: 1.06; }
.logo, .logo-mot { font-family: var(--titre); font-weight: 700; letter-spacing: -.03em; }
.logo b { color: var(--rouge-ma); }
.surtitre, .separateur span { font-family: var(--police); font-weight: 600; }
code, kbd, .ref { font-family: var(--mono); }
.chiffres b, .fiche-chiffres dd, .auto-prix b { font-family: var(--titre); font-weight: 700; letter-spacing: -.02em; }
.auto-corps h3 { font-family: var(--titre); font-size: 16.5px; font-weight: 600; letter-spacing: -.015em; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] .auto-corps h3 { font-family: var(--police); letter-spacing: 0; font-weight: 700; }
[dir="rtl"] body { letter-spacing: 0; }

/* Équipe connectée pendant une maintenance */
.bandeau-maint { position: sticky; top: 0; z-index: 60; background: #B42318; color: #fff; text-align: center; font-size: 14px; padding: 9px 16px; }
.bandeau-maint a { color: #fff; font-weight: 700; }

/* Filtres des listes de voitures */
.filtres-autos { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 18px; }
.filtres-autos .puce { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--trait); background: var(--carte); color: var(--encre-2); font: 600 14px/1 var(--police); cursor: pointer; transition: border-color .15s, color .15s, background .15s; }
.filtres-autos .puce span { font-size: 12px; color: var(--encre-3); font-variant-numeric: tabular-nums; }
.filtres-autos .puce:hover { border-color: var(--maj); color: var(--maj); }
.filtres-autos .puce[aria-pressed="true"] { background: var(--encre); border-color: var(--encre); color: var(--sol); }
.filtres-autos .puce[aria-pressed="true"] span { color: inherit; opacity: .7; }
.filtres-autos .puce:focus-visible { outline: 3px solid var(--maj-doux); outline-offset: 2px; }
.filtres-sep { width: 1px; height: 22px; background: var(--trait); margin-inline: 4px; }
.filtres-vide { flex-basis: 100%; margin: 6px 0 0; color: var(--encre-2); font-size: 14.5px; }
@media (max-width: 640px) {
  .filtres-autos { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; margin-inline: calc(-1 * var(--gout)); padding-inline: var(--gout); scrollbar-width: none; }
  .filtres-autos .puce { flex: none; }
  .filtres-vide { flex: none; width: 76vw; white-space: normal; }
}

/* Villes sans agence pour le moment */
.villes a.ville-bientot { background: var(--carte-2); border-style: dashed; }
.villes a.ville-bientot b { color: var(--encre-2); }
.villes a.ville-bientot span { color: var(--encre-3); font-size: 13px; }

/* Pied de page */
.pied { margin-top: clamp(56px, 8vw, 104px); background: #0B1020; color: #C9D0E4; border-top: 0; position: relative; }
.pied::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, #C1272D 0 50%, #0E9F4E 50% 100%); }
.bande-agences + .pied::before, main:has(> .bande-agences:last-child) + .pied::before { display: none; }
.bande-agences + .pied, main:has(> .bande-agences:last-child) + .pied { border-top: 1px solid rgba(255,255,255,.08); }
.pied-in { padding-block: clamp(44px, 5vw, 64px) 28px; gap: 36px 28px; }
.pied .logo { color: #fff; }
.pied .logo b { color: #F0565C; }
.pied-marque p { color: #9AA4BF; font-size: 14.5px; line-height: 1.65; max-width: 46ch; }
.btn-pied-ia { margin-top: 18px; display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 20px; border-radius: 999px; border: 0; cursor: pointer;
  background: #fff; color: #0B1020; font: 600 15px/1 var(--police); box-shadow: 0 0 0 4px rgba(143,168,255,.16); transition: transform .15s, box-shadow .15s; }
.btn-pied-ia:hover { transform: translateY(-1px); box-shadow: 0 0 0 6px rgba(143,168,255,.22); }
.btn-pied-ia:focus-visible { outline: 3px solid #8FA8FF; outline-offset: 3px; }
.btn-pied-ia .ico { width: 18px; height: 18px; color: #1D3A8A; }
.pied-contact { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.pied-contact a { display: inline-flex; align-items: center; gap: 8px; color: #DCE2F2; text-decoration: none; font-size: 14px; }
.pied-contact a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.pied-contact .ico { width: 16px; height: 16px; color: #8FA8FF; }
.pied-reseaux { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.pied-reseaux a { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); color: #DCE2F2; text-decoration: none; font-size: 13px; font-weight: 600; }
.pied-reseaux a:hover { border-color: #8FA8FF; color: #fff; }
.pied-col h2 { color: #7F89A3; font-family: var(--police); font-size: 12px; font-weight: 600; letter-spacing: .14em; }
.pied-col a { color: #C9D0E4; font-size: 14.5px; }
.pied-col a:hover { color: #fff; }
.pied-confiance { list-style: none; margin: 0 auto; padding: 18px 0; display: grid; gap: 12px 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 1px solid rgba(255,255,255,.08); }
.pied-confiance li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: #AAB3C9; }
.pied-confiance .ico { width: 18px; height: 18px; flex: none; color: #2FCB74; }
.pied-bas { border-top: 1px solid rgba(255,255,255,.08); color: #7F89A3; padding-block: 18px 96px; align-items: center; }
.pied-bas p { margin: 0; }
.pied-devise b { font-weight: 400; }
.pied-devise .r { color: #F0565C; }
.pied-devise .v { color: #2FCB74; }
.pied-langues { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.pied-langues a { color: #9AA4BF; text-decoration: none; font-size: 13px; }
.pied-langues a:hover, .pied-langues a[aria-current] { color: #fff; }
.pied-langues a[aria-current] { font-weight: 700; }
@media (min-width: 980px) { .pied-in { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
