:root {
  --blanc: #ffffff; --mur: #f4f5f6; --perle: #e9ecee; --alu: #c9cfd4; --alu-2: #9aa3ab;
  --anthracite: #23272b; --anthracite-2: #2b3037; --encre: #1c2024; --graphite: #5f6770; --craie: #f5c21b; --craie-b: #e2ac0b;
  --fond: #f4f5f6; --fond-2: #ffffff; --fond-3: #e9ecee; --fond-image: #e3e6e9;
  --texte: #1c2024; --texte-2: rgba(28, 32, 36, .78); --texte-3: #5f6770;
  --trait: #d4d8dd; --trait-fort: rgba(28, 32, 36, .24);
  --accent: #2b3037; --accent-2: #5f6770; --genius: #f5c21b;
  --bouton-fond: #23272b; --bouton-texte: #ffffff; --bouton-trait: rgba(28, 32, 36, .34);
  --carte-fond: #ffffff; --carte-trait: #dde1e5;
  --entete-fond: rgba(255, 255, 255, .9); --entete-texte: #1c2024;
  --voile: 244, 245, 246;
  --police-titre: "IBM Plex Sans Condensed", "IBM Plex Sans", "Arial Narrow", sans-serif;
  --police-texte: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --police-chiffres: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --police-main: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  --surtitre-police: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --titre-graisse: 700; --titre-espace: -.018em; --titre-hauteur: 1.0;
  --surtitre-espace: .14em; --surtitre-taille: .7rem;
  --rayon: 6px; --rayon-carte: 10px; --rayon-bouton: 6px;
  --trait-craie: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 16' preserveAspectRatio='none'%3E%3Cfilter id='g' x='-5%25' y='-60%25' width='110%25' height='220%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' seed='3' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='3.5'/%3E%3C/filter%3E%3Cpath d='M4 10 C60 6 112 11 164 8 S252 7 296 9' fill='none' stroke='%23F5C21B' stroke-width='5.5' stroke-linecap='round' filter='url(%23g)' opacity='.96'/%3E%3C/svg%3E");
  --biffe-craie: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 75' preserveAspectRatio='none'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' seed='5' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='3'/%3E%3C/filter%3E%3Cpath d='M12 64 C34 48 58 33 88 12' fill='none' stroke='%23F5C21B' stroke-width='6' stroke-linecap='round' filter='url(%23g)'/%3E%3C/svg%3E");
  --cercle-craie: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 90' preserveAspectRatio='none'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' seed='9' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='3'/%3E%3C/filter%3E%3Cpath d='M70 8 C30 5 6 22 7 45 C8 70 40 84 70 82 C100 80 116 62 113 40 C110 18 86 7 58 10' fill='none' stroke='%23F5C21B' stroke-width='5' stroke-linecap='round' filter='url(%23g)'/%3E%3C/svg%3E");
  --coche-craie: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 32'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' seed='2' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='2.5'/%3E%3C/filter%3E%3Cpath d='M5 17 L15 27 L36 5' fill='none' stroke='%23F5C21B' stroke-width='5' stroke-linecap='round' stroke-linejoin='round' filter='url(%23g)'/%3E%3C/svg%3E");
}
html { color-scheme: light; }
body { font-variant-numeric: tabular-nums; }
::selection { background: var(--anthracite); color: var(--blanc); }
:focus-visible { outline-color: var(--anthracite); }


h1 em, h2 em, .une-titre em, .legende-titre em, .pied-signature em, .appel-in em { font-style: normal; padding-bottom: .06em; background: var(--trait-craie) left 100% / 100% .2em no-repeat; }


.surtitre { font-weight: 600; color: var(--graphite); }
.surtitre::before { content: ""; display: inline-block; width: 14px; height: 2px; background: var(--craie); vertical-align: .3em; margin-right: 9px; border-radius: 1px; }
.une-titre { font-size: clamp(2.4rem, 1.2rem + 3.8vw, 5.2rem); letter-spacing: -.03em; }
.section-tete h2, .voeu-intro h2, .genius-grille h2, .deuxieme h2, .fiche-bloc h2 { font-size: clamp(1.9rem, 1.1rem + 2.5vw, 3.3rem); }
.page-tete h1, .showroom-tete h1, .parcours-intro h1 { font-size: clamp(2.2rem, 1.1rem + 3.6vw, 4.5rem); letter-spacing: -.03em; }
.portail-intro h1 { font-size: clamp(1.9rem, 1.1rem + 2.8vw, 3.7rem); }
.appel-in h2 { font-size: clamp(2.1rem, 1.1rem + 3.2vw, 4.2rem); max-width: 18ch; }
.fiche-titre { font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.4rem); }
.carte-titre { font-size: 1.22rem; }
.pied-signature { font-family: var(--police-titre); font-weight: 700; letter-spacing: -.02em; }
.chiffre, .mono { font-family: var(--police-chiffres); font-weight: 500; letter-spacing: 0; }
.bouton { font-weight: 600; letter-spacing: .01em; }
.bouton:hover { box-shadow: 0 10px 24px -12px rgba(28, 32, 36, .55); }
.bouton-trait:hover { border-color: var(--anthracite); }


.entete { border-bottom-color: var(--trait); }

.menu a { color: var(--texte-2); font-weight: 500; }
.menu a[aria-current="page"]::after { height: 3px; border-radius: 2px; background: var(--craie); }
@media (max-width: 1180px) { .menu { background: var(--blanc); } }
.specimen { border-color: rgba(28, 32, 36, .3); color: var(--graphite); }


.voeu-bande { background: var(--blanc); }
.voeu textarea { background: var(--mur); border-color: rgba(28, 32, 36, .2); border-radius: 8px; font-family: var(--police-texte); }
.voeu textarea:focus { border-color: var(--anthracite); box-shadow: 0 0 0 4px rgba(245, 194, 27, .28); }
.puce { color: var(--texte); border-color: rgba(28, 32, 36, .24); font-weight: 500; }
.puce[aria-pressed="true"] { background: var(--anthracite); border-color: var(--anthracite); color: var(--blanc); }
.criteres span { border: 1.5px solid var(--craie); background: var(--blanc); font-size: .84rem; }


.genius-bulle { background: var(--blanc); border: 1px solid var(--trait); box-shadow: inset 4px 0 0 var(--craie); }
.genius-bulle .qui { color: var(--encre); font-family: var(--police-chiffres); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .72rem; }
.genius-bulle.client { background: transparent; border: 1.5px dashed rgba(28, 32, 36, .28); box-shadow: none; }
.genius-bulle.client .qui { color: var(--graphite); }
.genius-signe { border-radius: 8px; }
.genius-section .dialogue .genius-signe { display: none; }
.genius-portrait { background: var(--anthracite); border-color: var(--anthracite); }
.genius-portrait img { width: 56%; }
.genius-voix { font-size: 1.16rem; font-weight: 500; color: var(--encre); }
.genius-vendeurs { font-family: var(--police-titre); font-weight: 700; }


.chasse { background: var(--blanc); }
.compteurs { border-top-color: rgba(28, 32, 36, .3); }
.compteurs li > span { color: var(--texte-2); font-weight: 500; }
.temps li::before { font-family: var(--police-chiffres); font-weight: 600; color: var(--encre); }
.temps li { border-top: 3px solid var(--anthracite); }
.carte { box-shadow: 0 1px 0 rgba(28, 32, 36, .04); }
.carte:hover { box-shadow: 0 26px 50px -30px rgba(28, 32, 36, .45); border-color: rgba(28, 32, 36, .2); }
.carte-etiquette { border-radius: 4px; font-family: var(--police-chiffres); font-weight: 600; letter-spacing: .04em; }
.carte-vedette .carte-etiquette { background: var(--anthracite); color: var(--blanc); }
.carte-faits span { font-size: .92rem; }
.carte-pied { color: var(--graphite); }


.prix-bloc { background: var(--blanc); border-color: rgba(28, 32, 36, .18); }
.prix-total { font-family: var(--police-chiffres); font-weight: 600; font-size: clamp(2.4rem, 1.9rem + 1.6vw, 3.3rem); }
.tampon { color: var(--encre); }
.rang li.nous { background: var(--blanc); box-shadow: inset 4px 0 0 var(--craie); }
.rang-barre { background: var(--perle); }
.rang-barre i { background: var(--alu-2); }
.confiance li { background: var(--blanc); }
.remise-grille li { background: var(--blanc); }
.faits li { background: var(--blanc); }


.appel-bande { background: var(--anthracite); color: var(--blanc); border-top: 0; }
.appel-bande .bouton { background: var(--blanc); color: var(--encre); }


.point::before { box-shadow: 0 0 0 5px rgba(245, 194, 27, .38), 0 0 0 6.5px rgba(28, 32, 36, .35); }
.point.actif::before { background: var(--anthracite); box-shadow: 0 0 0 5px rgba(245, 194, 27, .92); }
.showroom-vues button { font-weight: 500; color: var(--texte); border-color: rgba(28, 32, 36, .22); }
.showroom-vues button[aria-pressed="true"] { background: var(--anthracite); color: var(--blanc); border-color: var(--anthracite); }
.showroom-bulle .genius-bulle { background: rgba(255, 255, 255, .96); box-shadow: inset 4px 0 0 var(--craie), 0 20px 50px -24px rgba(28, 32, 36, .5); }
.couverture-bande { background: var(--blanc); border-top: 2px solid var(--anthracite); }
.couverture-bande b { color: var(--encre); }
.suivi li.fait { border-top-color: var(--anthracite); }
.suivi li.fait::before { background: var(--anthracite); border-color: var(--anthracite); color: var(--blanc); }
.suivi li.actif { border-top-color: var(--anthracite); border-top-style: dashed; }
.suivi li.actif::before { background: var(--blanc); color: var(--encre); border: 2px solid var(--anthracite); box-shadow: 0 0 0 5px rgba(245, 194, 27, .35); }
.espace-cote { background: var(--blanc); }
.espace-cote a[aria-current="page"] { background: var(--anthracite); color: var(--blanc); }
.espace-cote a[aria-current="page"] em { color: var(--alu); }
.espace-qui { border: 2px solid var(--craie); background: var(--blanc); }
.espace-qui b { color: var(--encre); }
.espace-tete { align-items: center; }
.chiffres li, .colonne, .detail { background: var(--blanc); }
.chiffres b { font-family: var(--police-chiffres); font-weight: 600; font-size: 2.5rem; }
.dossier { background: #fff; }
.fil-dossier .qui-genius b { color: var(--encre); }
.fil-dossier .qui-genius b::before { content: ""; display: inline-block; width: 10px; height: 3px; border-radius: 2px; background: var(--craie); margin-right: 6px; vertical-align: .25em; }
.pied { background: var(--blanc); }


.trait-voiture { position: absolute; z-index: 2; height: 16px; pointer-events: none; background: var(--trait-craie) center / 100% 100% no-repeat; transform-origin: left center; transform: scaleX(0); transition: transform .9s cubic-bezier(.3, .7, .2, 1) .15s; }
.trait-voiture.trace { transform: scaleX(1); }



.arrivee .imm-colle { background: var(--mur); }
.arrivee-decor { position: absolute; inset: 0; background: linear-gradient(180deg, #fbfbfc 0%, #f1f3f4 52%, #e6e9eb 100%); }
.imm-colle.portrait .imm-cadre { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 9%, #000 91%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 9%, #000 91%, transparent 100%); }
.plan-hall, .plan-hall-natif { opacity: 0; }
.plan-reflet { display: none; }
.plan-ombre { pointer-events: none; }
.plan-ombre i { position: absolute; left: var(--ombre-x, 22%); width: var(--ombre-l, 56%); top: var(--ombre-y, 76%); height: 7%; border-radius: 50%; background: radial-gradient(closest-side, rgba(28, 32, 36, .34), rgba(28, 32, 36, 0)); opacity: var(--ombre-o, .5); transform: translateY(-50%) scaleX(var(--ombre-s, 1)); }
.craie-imm { pointer-events: none; overflow: visible; }
.craie-imm path { fill: none; stroke: var(--craie); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.craie-imm text { fill: var(--craie); font-family: var(--police-main); font-weight: 700; font-size: 58px; paint-order: stroke; stroke: rgba(28, 32, 36, .35); stroke-width: 1.2px; }
.arrivee .imm-voile { background: linear-gradient(180deg, rgba(244, 245, 246, .82) 0%, rgba(244, 245, 246, .5) 24%, rgba(244, 245, 246, 0) 44%); }
.imm-colle.portrait .imm-voile { background: linear-gradient(180deg, rgba(244, 245, 246, .97) 0, rgba(244, 245, 246, .9) 240px, rgba(244, 245, 246, 0) 330px), linear-gradient(0deg, rgba(244, 245, 246, .92) 0%, rgba(244, 245, 246, 0) 20%); }
body.imm.sur-scene .entete { background: linear-gradient(180deg, rgba(255, 255, 255, .86), rgba(255, 255, 255, 0)); }
@media (min-width: 761px) and (min-aspect-ratio: 4/5) {
  
  .arrivee-texte { top: calc(var(--entete-h) + 4vh); bottom: 64px; transform: none; display: flex; flex-direction: column; }
  .arrivee-texte > * { max-width: min(520px, 38vw); }
  .arrivee-texte .une-titre { max-width: 12ch; }
  .arrivee-texte .une-chapo { margin-top: auto; padding: 12px 16px 12px 18px; border-radius: 6px; background: rgba(255, 255, 255, .88); box-shadow: inset 4px 0 0 var(--craie), 0 14px 30px -22px rgba(28, 32, 36, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
  .arrivee .craie-legende { top: auto; bottom: 70px; }
  .arrivee .imm-voile { background: linear-gradient(180deg, rgba(244, 245, 246, .8) 0%, rgba(244, 245, 246, .35) 22%, rgba(244, 245, 246, 0) 36%), radial-gradient(62% 36% at 10% 100%, rgba(244, 245, 246, .9), rgba(244, 245, 246, 0) 72%); }
}
.arrivee-texte { transition: opacity .35s ease; }
.arrivee-texte .une-titre { letter-spacing: -.035em; }
.arrivee-texte .une-chapo { color: rgba(28, 32, 36, .82); }
.craie-legende { position: absolute; z-index: 5; left: max(var(--gouttiere), calc((100% - var(--enveloppe)) / 2 + var(--gouttiere))); top: calc(var(--entete-h) + 5vh); max-width: min(520px, 42vw); opacity: 0; pointer-events: none; }
.craie-legende .legende-titre { font-family: var(--police-titre); font-weight: 700; font-size: clamp(2rem, 1.1rem + 3vw, 4rem); line-height: 1; letter-spacing: -.03em; color: var(--encre); margin-top: 10px; }
.craie-legende .legende-texte { margin-top: 14px; font-size: 1rem; color: rgba(28, 32, 36, .82); max-width: 28em; }
@media (max-width: 760px), (max-aspect-ratio: 4/5) {
  .craie-legende { left: var(--gouttiere); right: var(--gouttiere); max-width: none; top: calc(var(--entete-h) + 48px); }
  .craie-legende .legende-titre { font-size: clamp(2rem, 1.2rem + 6vw, 3.2rem); }
  .craie-legende .legende-texte { font-size: .95rem; }
}
.arrivee-fiche { background: rgba(255, 255, 255, .94); border-color: rgba(28, 32, 36, .14); border-radius: 10px; box-shadow: inset 4px 0 0 var(--craie), 0 18px 40px -24px rgba(28, 32, 36, .5); }
.arrivee-fiche .tag { color: var(--graphite); font-family: var(--police-chiffres); font-weight: 600; }
.arrivee-fiche .prix { font-family: var(--police-chiffres); font-weight: 600; font-size: 1.1rem; }
.imm-mention { color: rgba(28, 32, 36, .72); }
.imm-invite { color: rgba(28, 32, 36, .78); font-family: var(--police-chiffres); }
.imm-invite i::after { background: var(--craie); }


.chasse-imm .imm-colle { background: var(--mur); }
.chasse-grille .t::after { content: ""; position: absolute; inset: -6% -4%; background: var(--biffe-craie) center / 100% 100% no-repeat; opacity: 0; transform: scale(.6); transform-origin: 12% 85%; transition: opacity .2s ease, transform .35s cubic-bezier(.3, .7, .2, 1); pointer-events: none; }
.chasse-grille .t.ecartee { opacity: .5; filter: grayscale(1) contrast(.85); transform: none; }
.chasse-grille .t.ecartee::after { opacity: 1; transform: none; }
.chasse-grille .t.triee { opacity: .24; filter: grayscale(1); }
.chasse-grille .t.retenue { box-shadow: 0 14px 30px -10px rgba(28, 32, 36, .55); }
.chasse-grille .t.retenue::before { content: ""; position: absolute; inset: -22% -18%; z-index: 3; background: var(--cercle-craie) center / 100% 100% no-repeat; pointer-events: none; }
.chasse-compte b { font-weight: 600; }
.chasse-compte li:last-child.on b { background: var(--trait-craie) left 100% / 100% .22em no-repeat; padding-bottom: .08em; }
.chasse-retenues span { border-color: var(--craie); background: var(--blanc); font-family: var(--police-chiffres); font-weight: 600; }


.provenance { background: var(--blanc); }
.plateforme::before { color: var(--encre); font-weight: 600; }
.plateforme.nette h3, .plateforme:hover h3 { background: var(--trait-craie) left 100% / 100% .18em no-repeat; }
.provenance-total > div { background: var(--mur); border-color: var(--trait); box-shadow: inset 4px 0 0 var(--anthracite); }


.usine-imm .imm-colle { background: var(--mur); }
.usine-panneau { box-shadow: 0 24px 50px -30px rgba(28, 32, 36, .55); }
.usine-panneau .etape { background: linear-gradient(0deg, rgba(28, 32, 36, .9) 0%, rgba(28, 32, 36, .6) 60%, rgba(28, 32, 36, 0) 100%); color: #f6f7f8; }
.usine-panneau .etape p { color: rgba(246, 247, 248, .86); }
.usine-panneau .etape .n { display: inline-block; padding: 3px 8px; border-radius: 4px; background: var(--craie); color: var(--encre); font-family: var(--police-chiffres); font-weight: 600; letter-spacing: .06em; }
.usine-jauge i { background: var(--craie); }
.standard-ligne { box-shadow: inset 4px 0 0 var(--craie); padding-left: 14px; }


.conversation .imm-msg.de-genius .bulle { border: 1px solid var(--trait); background: var(--blanc); box-shadow: inset 4px 0 0 var(--craie); border-radius: 8px; }
.conversation .imm-msg.du-client .bulle { background: var(--anthracite); color: var(--blanc); }
.conversation .imm-msg.du-client .qui { color: rgba(255, 255, 255, .64); }
.conversation .imm-msg.de-genius .qui { color: var(--encre); font-family: var(--police-chiffres); }
.conversation .piece { border-color: var(--craie); }


.showroom-entree .fenetre::after { background: linear-gradient(90deg, rgba(244, 245, 246, .96) 0%, rgba(244, 245, 246, .55) 40%, rgba(244, 245, 246, 0) 68%); }
@media (max-width: 760px) { .showroom-entree .fenetre::after { background: linear-gradient(0deg, rgba(244, 245, 246, .97) 0%, rgba(244, 245, 246, .6) 48%, rgba(244, 245, 246, .1) 100%); } }


.releve-page { position: fixed; z-index: 40; right: 14px; top: calc(var(--entete-h) + 12px); display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 6px; background: var(--anthracite); color: #f6f7f8; font-family: var(--police-chiffres); font-size: max(11px, .7rem); letter-spacing: .06em; box-shadow: 0 12px 30px -16px rgba(28, 32, 36, .8); pointer-events: none; transition: opacity .5s, transform .5s; }
.releve-page .coche { width: 18px; height: 14px; background: var(--coche-craie) center / contain no-repeat; }
.releve-page .n { color: var(--craie); font-weight: 600; }
.releve-page.pose .coche { animation: coche-pose .5s ease; }
@keyframes coche-pose { 0% { transform: scale(.4); opacity: 0; } 100% { transform: none; opacity: 1; } }
body.sur-scene .releve-page { opacity: 0; transform: translateY(-10px); }
@media (max-width: 760px) { .releve-page { display: none; } }


.cour-entrer .cour-360 { background: var(--craie); color: var(--encre); font-family: var(--police-chiffres); }
.cour-ui .specimen { background: rgba(255, 255, 255, .9); }


.coulisses h1 em { font-style: normal; }


.imm-reduit .craie-legende { display: none; }


.cour-mention { font-size: max(11px, .66rem); }
.carte-etiquette, .arrivee-fiche .tag, .imm-invite { font-size: max(11px, .66rem); }


.partenaire .sur-sombre { display: none; }
.partenaire .sur-clair { display: inline-block; }
.arrivee-fiche .faits { background: none; border: 0; }
