/* ProxiFroid — accueil : « la descente ».
   Ce qui n'appartient qu'à l'accueil : la caméra thermique du hero, les cinq
   étapes et leurs écrans, la section frigoristes, les garanties, les stores
   et le final. Jetons, en-tête et pied de page sont partagés (styles.css).
   La position de lecture est une température : la sonde de l'en-tête
   descend de +12,4 à 4,0 °C, le long de la rampe ambre → givre → glace
   (jamais par l'olive, docs/BRAND.md). */

/* ── Lumière d'ambiance ─────────────────────────────────── */
.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  --warm: 1;
}
.ambient__warm,
.ambient__cold {
  position: absolute;
  inset: 0;
}
.ambient__warm {
  background: radial-gradient(
    70% 55% at 12% 100%,
    var(--amb-warm),
    transparent 70%
  );
  opacity: var(--warm);
}
.ambient__cold {
  background: radial-gradient(
    70% 55% at 88% 0%,
    var(--amb-cold),
    transparent 70%
  );
  opacity: calc(1 - var(--warm));
}

/* ── Hero · la caméra thermique ─────────────────────────── */
/* En haut, la vue de la caméra (canvas, home.js) qui se fond dans le sol de
   la page ; en bas, le texte, posé sur le fond uni. --view-h est la hauteur
   de la vue, calculée pour s'arrêter juste sous le début du texte. */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: max(680px, 100svh);
  padding: 120px 0 var(--s10);
  overflow: hidden;
}
@media (min-width: 960px) {
  .hero {
    min-height: clamp(760px, 100svh, 1040px);
    padding-bottom: var(--s12);
  }
}
.thermal,
.thermal__veil {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: var(--view-h, 62%);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent);
  mask-image: linear-gradient(to bottom, #000 62%, transparent);
}
.thermal {
  filter: blur(14px) saturate(1.05);
  transform: scale(1.06);
}
/* Lignes de balayage du capteur, très discrètes. */
.thermal__veil {
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.03) 0 1px,
    transparent 1px 3px
  );
}
:root[data-theme="light"] .thermal__veil {
  background: repeating-linear-gradient(
    to bottom,
    rgba(11, 22, 34, 0.035) 0 1px,
    transparent 1px 3px
  );
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
}
.js .thermal,
.js .hud {
  animation: fade-in 1.4s var(--ease) both;
}

/* L'interface du viseur : coins, ligne d'état, échelle, réticule. */
.hud {
  position: absolute;
  top: 84px;
  right: var(--s4);
  left: var(--s4);
  z-index: 0;
  height: var(--hud-h, 40vh);
  direction: ltr;
  color: var(--fg-2);
  pointer-events: none;
}
@media (min-width: 640px) {
  .hud {
    right: var(--s6);
    left: var(--s6);
  }
}
.hud__c {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 0 solid color-mix(in srgb, var(--fg) 45%, transparent);
}
.hud__c--tl {
  top: 0;
  left: 0;
  border-top-width: 1.5px;
  border-left-width: 1.5px;
  border-top-left-radius: 6px;
}
.hud__c--tr {
  top: 0;
  right: 0;
  border-top-width: 1.5px;
  border-right-width: 1.5px;
  border-top-right-radius: 6px;
}
.hud__c--bl {
  bottom: 0;
  left: 0;
  border-bottom-width: 1.5px;
  border-left-width: 1.5px;
  border-bottom-left-radius: 6px;
}
.hud__c--br {
  right: 0;
  bottom: 0;
  border-right-width: 1.5px;
  border-bottom-width: 1.5px;
  border-bottom-right-radius: 6px;
}
.hud__top {
  position: absolute;
  top: 12px;
  right: 36px;
  left: 36px;
  display: flex;
  align-items: center;
  gap: var(--s4);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.hud__rec {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--hot);
}
.hud__rec i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  animation: blink 1.6s steps(1) infinite;
}
@keyframes blink {
  50% {
    opacity: 0.2;
  }
}
.hud__label {
  overflow: hidden;
  text-overflow: ellipsis;
  unicode-bidi: isolate;
}
.hud__fill {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--hair), transparent);
}
.hud__eps {
  text-transform: none;
}
.hud__clock,
.hud__emis {
  font-variant-numeric: tabular-nums;
  color: var(--fg-3);
}
@media (max-width: 639px) {
  .hud__emis,
  .hud__fill {
    display: none;
  }
  .hud__top {
    gap: var(--s3);
    justify-content: space-between;
  }
}
/* L'échelle de la caméra : −18 → +20 °C, zone conforme 0–4 en pointillé,
   repère au maximum mesuré (+12,4 : 80 % de l'échelle). */
.hud__scale {
  position: absolute;
  top: 50%;
  right: 14px;
  display: grid;
  justify-items: center;
  gap: var(--s2);
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1;
  color: var(--fg-3);
}
@media (max-width: 759px) {
  .hud__scale {
    display: none;
  }
}
.hud__bar {
  position: relative;
  width: 6px;
  height: 168px;
  border-radius: 3px;
  background: linear-gradient(to top, var(--ramp-cold), var(--ramp-mid), var(--ramp-hot));
}
.hud__zone {
  position: absolute;
  right: -4px;
  bottom: 47.37%;
  left: -4px;
  height: 10.53%;
  border: 1px dashed color-mix(in srgb, var(--fg) 55%, transparent);
  border-radius: 2px;
}
.hud__mark {
  position: absolute;
  bottom: 80%;
  left: -12px;
  width: 30px;
  height: 2px;
  border-radius: 1px;
  background: var(--hot-2);
  box-shadow: 0 0 10px var(--hot-2);
}

/* Le réticule suit le point le plus chaud (home.js écrit --rx, --ry). */
.reticle {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(var(--rx, 60vw), var(--ry, 200px));
  will-change: transform;
}
.reticle__cross {
  position: absolute;
  top: -32px;
  left: -32px;
  width: 64px;
  height: 64px;
  fill: none;
  stroke: var(--fg);
  stroke-width: 1.5;
  stroke-linecap: round;
  opacity: 0.9;
}
.reticle__cross circle {
  transform-box: fill-box;
  transform-origin: center;
  animation: breathe 2.4s var(--ease) infinite alternate;
}
@keyframes breathe {
  to {
    transform: scale(0.82);
  }
}
.reticle__tag {
  position: absolute;
  top: -30px;
  left: 34px;
  display: grid;
  gap: 2px;
  padding: 7px 11px 8px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--bg) 60%, transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--hot-2) 45%, transparent);
  font-family: var(--mono);
  color: var(--hot-2);
  white-space: nowrap;
}
.reticle__row {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.reticle__k {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--fg-3);
}
.reticle__v {
  font-size: 22px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.04em;
}
.reticle__u {
  font-size: 12px;
}
.reticle__delta {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 16px;
  color: var(--fg-2);
}

/* Le texte, en bas. La marge du haut garantit une bande de caméra même
   quand le texte est long (téléphone, arabe) : jamais de chevauchement. */
.hero__body {
  position: relative;
  margin-top: clamp(260px, 40svh, 440px);
}
.hero h1 {
  max-width: 17ch;
  margin-top: var(--s4);
  font-size: 38px;
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.045em;
  color: var(--fg);
}
@media (min-width: 640px) {
  .hero h1 {
    font-size: 52px;
    line-height: 1.02;
  }
}
@media (min-width: 1024px) {
  .hero h1 {
    max-width: none;
  }
}
@media (min-width: 1200px) {
  .hero h1 {
    font-size: 64px;
  }
}
.h1__a,
.h1__b {
  display: block;
}
.h1__b {
  color: var(--fg-2);
}
.hero__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s8);
  margin-top: var(--s8);
}
@media (min-width: 960px) {
  .hero__row {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: var(--s16);
  }
}
.hero__lede {
  max-width: 50ch;
  font-size: 18px;
  line-height: 28px;
  color: var(--fg-2);
}
.hero .cta-row {
  margin-top: 0;
}
.hero__note {
  margin-top: var(--s3);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 16px;
  color: var(--fg-3);
}
@media (min-width: 960px) {
  .hero__act {
    display: grid;
    justify-items: end;
    text-align: end;
  }
}

/* La barre de données : trois relevés, séparés par des filets. */
.facts {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s3);
  margin-top: var(--s10);
  padding-top: var(--s4);
  border-top: 1px solid var(--hair);
}
@media (min-width: 760px) {
  .facts {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: var(--s8);
  }
}
.facts__title {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.facts__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s2);
}
@media (min-width: 760px) {
  .facts__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }
  .facts__list li + li {
    padding-inline-start: var(--s6);
    border-inline-start: 1px solid var(--hair);
  }
  .facts__list li:not(:last-child) {
    padding-inline-end: var(--s6);
  }
}
.facts__list li {
  display: flex;
  align-items: baseline;
  gap: var(--s3);
}
.facts__n {
  flex: none;
  direction: ltr;
  font-family: var(--mono);
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--cold);
}
.facts__cap {
  font-size: 14px;
  line-height: 20px;
  color: var(--fg-2);
}

/* L'afficheur (utilisé par le final) : chiffres tabulaires, segments éteints
   « 88,8 » exactement sous les chiffres. */
.readout {
  position: relative;
  display: flex;
  align-items: flex-start;
  width: max-content;
  font-family: var(--mono);
  line-height: 0.8;
  font-weight: 500;
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
/* En chasse fixe, la virgule occupe une cellule entière : on la resserre. */
.sep {
  margin-inline: -0.2em;
}
.readout__ghost {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--ghost-digits);
}
.readout__val {
  position: relative;
}
.readout__unit {
  position: relative;
  margin: 0.06em 0 0 0.1em;
  font-size: 0.26em;
  letter-spacing: 0;
}

/* ── Titres de section ──────────────────────────────────── */
.head {
  max-width: 680px;
  margin-bottom: var(--s12);
}
.head h2 {
  font-size: 30px;
  line-height: 36px;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--fg);
}
@media (min-width: 768px) {
  .head h2 {
    font-size: 48px;
    line-height: 1.04;
  }
}
.head p:not(.eyebrow) {
  margin-top: var(--s4);
  font-size: 18px;
  line-height: 28px;
  color: var(--fg-2);
}

/* ── La descente ────────────────────────────────────────── */
.descent {
  padding: var(--s24) 0;
}
.descent__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s12);
}
.stops {
  margin: 0;
  padding: 0;
  list-style: none;
}
.stop {
  padding: var(--s10) 0;
}
.stop + .stop {
  border-top: 1px solid var(--hair);
}
.stop__meta {
  display: flex;
  align-items: center;
  gap: var(--s3);
  margin-bottom: var(--s4);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 16px;
}
.stop__i {
  color: var(--fg-2);
}
.stop__of {
  color: var(--fg-3);
}
.stop__t {
  padding: 2px var(--s2);
  border: 1px solid;
  border-color: color-mix(in srgb, currentColor 45%, transparent);
  border-radius: var(--r-full);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 20px;
  font-weight: 500;
  color: var(--c, var(--frost));
}
.stop > h3 {
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--fg);
}
.stop > p {
  max-width: 50ch;
  margin-top: var(--s3);
  color: var(--fg-2);
}
@media (min-width: 768px) {
  .stop > h3 {
    font-size: 30px;
    line-height: 36px;
  }
  .stop > p {
    font-size: 18px;
    line-height: 28px;
  }
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin-top: var(--s6);
}
.tags li {
  padding: var(--s1) var(--s3);
  border: 1px solid var(--hair);
  border-radius: var(--r-full);
  font-size: 12px;
  line-height: 16px;
  color: var(--fg-2);
}

/* Mobile et tablette : chaque étape reçoit sa copie de l'écran (home.js). */
.stop__device {
  display: none;
}
@media (max-width: 959px) {
  .js .stop__device {
    display: block;
    width: min(320px, 100%);
    margin-top: var(--s8);
  }
}
/* Tablette : l'écran se range à côté du texte de l'étape. */
@media (min-width: 700px) and (max-width: 959px) {
  .stop {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    align-items: center;
    column-gap: var(--s10);
  }
  .stop > :not(.stop__device) {
    grid-column: 1;
  }
  .js .stop__device {
    grid-column: 2;
    grid-row: 1 / span 5;
    width: 100%;
    margin-top: 0;
  }
}
.phone-col {
  display: none;
}
@media (min-width: 960px) {
  .descent__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--s16);
  }
  .stop {
    min-height: 76vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--s16) 0;
  }
  .stop + .stop {
    border-top: 0;
  }
  /* 0,65 garde le texte courant au-dessus de 4,5:1 sur l'encre. */
  .js .stop {
    opacity: 0.65;
    transition: opacity 0.6s var(--ease);
  }
  .js .stop.is-active {
    opacity: 1;
  }
  .phone-col {
    display: block;
  }
  .stops {
    padding-bottom: 12vh;
  }
  .phone {
    position: sticky;
    top: calc(50vh - var(--dh, 720px) / 2);
    width: max-content;
    margin-inline: auto;
  }
  .phone .device {
    width: min(360px, 26vw, calc((84vh - 20px) * 0.4621 + 20px));
  }
}

/* ── L'appareil ─────────────────────────────────────────── */
/* Rayons emboîtés : 54 dehors, 10 d'écart, 44 pour l'écran. */
.device {
  position: relative;
  container-type: inline-size;
  padding: 10px;
  border-radius: 54px;
  background: linear-gradient(145deg, #2c3845 0%, #0c1218 42%, #1b242d 100%);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.09),
    inset 0 0 0 7px #05090d, 0 2px 4px rgba(0, 0, 0, 0.5),
    0 60px 120px -48px rgba(0, 0, 0, 0.95),
    0 0 80px -20px color-mix(in srgb, var(--probe) 22%, transparent);
}
.device::before,
.device::after {
  content: "";
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: #1f2831;
}
.device::before {
  top: 20%;
  left: -3px;
  height: 11%;
  box-shadow: 0 -64px 0 #1f2831;
}
.device::after {
  top: 26%;
  right: -3px;
  height: 15%;
}
.device__screen {
  position: relative;
  container-type: inline-size;
  aspect-ratio: 390 / 844;
  overflow: hidden;
  isolation: isolate;
  border-radius: 44px;
  background: #f6f8fb;
}
/* Reflet de verre, très discret. */
.device__screen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0) 30%
  );
}
.device__island {
  position: absolute;
  z-index: 7;
  top: calc(10px + 2.8cqw);
  left: 50%;
  width: 30cqw;
  height: 8.6cqw;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #000;
}
.device__home {
  position: absolute;
  z-index: 7;
  bottom: calc(10px + 2.2cqw);
  left: 50%;
  width: 34cqw;
  height: 1.3cqw;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(11, 22, 34, 0.8);
}

/* ── Entrée du hero ─────────────────────────────────────── */
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(8px);
  }
}
.js .hero [data-enter] {
  animation: enter 0.9s var(--ease) both;
  animation-delay: calc(0.1s + var(--i, 0) * 0.09s);
}

/* L'afficheur du final : le même instrument, revenu dans la plage. */
.readout--end {
  margin: var(--s8) auto var(--s4);
  font-size: clamp(72px, 13vw, 152px);
}
.readout--end .readout__val,
.readout--end .readout__unit {
  color: var(--cold);
}
.readout--end .readout__val {
  text-shadow: 0 0 80px color-mix(in srgb, var(--cold) 30%, transparent);
}

/* ── La promesse ────────────────────────────────────────── */
.tagline {
  padding: var(--s24) 0;
}
.tagline__text {
  max-width: 1000px;
  font-family: var(--display);
  font-size: 36px;
  line-height: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--fg);
  text-wrap: balance;
}
@media (min-width: 768px) {
  .tagline__text {
    font-size: 48px;
    line-height: 1.08;
  }
}
@media (min-width: 1200px) {
  .tagline__text {
    font-size: 60px;
  }
}
.js .tagline__text .w {
  color: var(--ghost-words);
  transition: color 0.7s var(--ease);
}
.js .tagline__text .w.is-lit {
  color: var(--fg);
}
.js .tagline__text .w.w--end.is-lit {
  color: var(--cold);
}

/* ── Frigoristes · +4,6 °C ──────────────────────────────── */
/* Typographie seule : l'argument à gauche, les engagements à droite. */
.techs {
  padding: var(--s24) 0;
}
.techs__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s12);
}
@media (min-width: 960px) {
  .techs__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--s24);
    align-items: start;
  }
  .techs__intro {
    position: sticky;
    top: 120px;
  }
}
.techs__intro h2 {
  font-size: 30px;
  line-height: 36px;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--fg);
}
@media (min-width: 768px) {
  .techs__intro h2 {
    font-size: 44px;
    line-height: 1.06;
  }
}
.techs__lede {
  max-width: 40ch;
  margin-top: var(--s4);
  font-size: 18px;
  line-height: 28px;
  color: var(--fg-2);
}
.techs__intro .btn {
  margin-top: var(--s8);
}
.techs__req {
  max-width: 40ch;
  margin-top: var(--s4);
  font-size: 13px;
  line-height: 20px;
  color: var(--fg-3);
}
.tlist {
  margin: 0;
  border-bottom: 1px solid var(--hair);
}
.trow {
  padding: var(--s8) 0;
  border-top: 1px solid var(--hair);
}
.trow dt {
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.trow dd {
  max-width: 46ch;
  margin: var(--s2) 0 0;
  font-size: 16px;
  line-height: 26px;
  color: var(--fg-2);
}

/* ── Garanties · la paperasse, sur fond clair ────────────── */
/* Le bleu institutionnel (deep) dit « document sur lequel on peut compter ». */
.paper {
  color-scheme: light;
  position: relative;
  padding: var(--s24) 0;
  background: var(--canvas);
  color: var(--text);
}
.paper ::selection {
  background: rgba(20, 196, 220, 0.22);
  color: var(--text);
}
.paper .eyebrow {
  color: var(--brand);
}
.paper .head h2 {
  color: var(--text);
}
.paper .head p:not(.eyebrow) {
  color: var(--text-2);
}
.faq-wrap {
  display: grid;
  gap: var(--s8);
  margin-top: var(--s24);
}
@media (min-width: 960px) {
  .faq-wrap {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: var(--s16);
  }
}
.faq__title {
  font-size: 30px;
  line-height: 36px;
  letter-spacing: -0.025em;
}
.faq__intro {
  margin-top: var(--s3);
  color: var(--text-2);
}
.faq__intro a {
  color: var(--brand);
  font-weight: 500;
}
.paper .faq {
  max-width: none;
  border-top: 1px solid var(--line);
}
.paper .faq details {
  border-bottom: 1px solid var(--line);
}
.paper .faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  padding: var(--s6) 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
  transition: color 0.3s var(--ease);
}
.paper .faq summary:hover {
  color: var(--brand);
}
.paper .faq summary::-webkit-details-marker {
  display: none;
}
.paper .faq summary::after {
  content: "+";
  flex: none;
  font-family: var(--body);
  font-size: 24px;
  line-height: 24px;
  font-weight: 400;
  color: var(--brand);
  transition: transform 0.4s var(--ease);
}
.paper .faq details[open] summary::after {
  transform: rotate(45deg);
}
.paper .faq details p {
  max-width: 64ch;
  padding-bottom: var(--s6);
  color: var(--text-2);
}
.paper :where(a, button, summary):focus-visible {
  outline-color: var(--brand);
}

/* ── L'application : bientôt sur les stores ─────────────── */
.apps {
  padding: var(--s24) 0;
}
.apps__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s10);
  align-items: end;
}
@media (min-width: 960px) {
  .apps__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--s24);
  }
}
.apps__intro h2 {
  font-size: 30px;
  line-height: 36px;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--fg);
}
@media (min-width: 768px) {
  .apps__intro h2 {
    font-size: 44px;
    line-height: 1.06;
  }
}
.apps__lede {
  max-width: 44ch;
  margin-top: var(--s4);
  font-size: 18px;
  line-height: 28px;
  color: var(--fg-2);
}
.apps__notify {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  margin-top: var(--s6);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--hair);
  color: var(--fg);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.apps__notify:hover {
  border-color: var(--cold);
  color: var(--cold);
}
.apps__notify:hover .btn__arrow {
  transform: translateX(3px);
}
[dir="rtl"] .apps__notify:hover .btn__arrow {
  transform: scaleX(-1) translateX(3px);
}
/* Deux cartes silencieuses : pas des boutons, rien à cliquer avant le
   lancement. */
.stores {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s3);
}
@media (min-width: 560px) {
  .stores {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.store {
  display: grid;
  gap: 2px;
  padding: var(--s6);
  border: 1px solid var(--hair);
  border-radius: var(--r-card);
}
.store__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
}
/* Les icônes des deux stores, en tuile de 40 px comme une icône d'app. */
.store__icon {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 9px;
  box-shadow: 0 0 0 1px var(--glass-line);
}
.store__top {
  margin-bottom: var(--s6);
}
.store__os {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.04em;
  color: var(--fg-3);
}
.store__soon {
  flex: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  border-radius: var(--r-full);
  border: 1px solid var(--hair);
  font-size: 12px;
  line-height: 18px;
  color: var(--fg-2);
}
.store__soon::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cold);
}
.store__name {
  direction: ltr;
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--fg);
}
[dir="rtl"] .store__name {
  text-align: right;
}
[dir="rtl"] .apps__intro h2 {
  line-height: 1.35;
}

/* ── Conforme · 4,0 °C ──────────────────────────────────── */
.finale {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(100svh, 960px);
  padding: calc(var(--s24) + var(--s8)) 0 var(--s24);
  overflow: hidden;
  text-align: center;
}
.finale__snow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.finale__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.flake {
  width: 120px;
  height: 120px;
  color: var(--cold);
}
@media (min-width: 768px) {
  .flake {
    width: 160px;
    height: 160px;
  }
}
.flake svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.finale__status {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  margin-top: var(--s4);
  padding: var(--s1) var(--s3);
  border-radius: var(--r-full);
  border: 1px solid rgba(107, 233, 247, 0.35);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cold);
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.finale__status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.finale__status.is-alert {
  color: var(--hot);
  border-color: rgba(255, 122, 26, 0.4);
}
.finale h2 {
  margin-top: var(--s10);
  font-size: 36px;
  line-height: 40px;
  letter-spacing: -0.03em;
  color: var(--fg);
}
@media (min-width: 768px) {
  .finale h2 {
    font-size: 60px;
    line-height: 1.02;
  }
}
.finale__lede {
  max-width: 52ch;
  margin: var(--s4) auto 0;
  font-size: 18px;
  line-height: 28px;
  color: var(--fg-2);
}
/* La neige passe derrière le texte ; le bouton secondaire garde un fond. */
.finale .btn--ghost {
  background: var(--bg);
}
.finale .btn--ghost:hover {
  background: var(--bg-raised);
}
.finale__note {
  margin-top: var(--s6);
  font-size: 14px;
  line-height: 20px;
  color: var(--fg-3);
}
.finale__note a {
  color: var(--fg-2);
}


/* ── Feuille « échelle » (mobile) ───────────────────────── */
.sheet {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(3, 8, 14, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.sheet[hidden] {
  display: none;
}
.sheet.is-open {
  opacity: 1;
}
.sheet__panel {
  position: absolute;
  top: 76px;
  inset-inline: var(--s4);
  max-width: 440px;
  max-height: calc(100svh - 96px);
  margin-inline: auto;
  padding: var(--s3);
  overflow: auto;
  border-radius: var(--r-sheet);
  background: var(--panel);
  border: 1px solid var(--hair);
  box-shadow: var(--shadow-float);
  transform: translateY(-8px) scale(0.98);
  transform-origin: top center;
  transition: transform 0.4s var(--ease);
}
.sheet.is-open .sheet__panel {
  transform: none;
}
.sheet__title {
  padding: var(--s2) var(--s3) var(--s3);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.sheet__list {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}
/* La colonne du thermomètre, derrière les pastilles. */
.sheet__list::before {
  content: "";
  position: absolute;
  top: 22px;
  bottom: 22px;
  inset-inline-start: 23px;
  width: 2px;
  border-radius: 1px;
  background: linear-gradient(
    to bottom,
    rgba(255, 122, 26, 0.7),
    rgba(237, 243, 249, 0.5) 50%,
    rgba(107, 233, 247, 0.7)
  );
}
.sheet__list a {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--s3);
  min-height: 44px;
  padding-block: var(--s2);
  padding-inline: 48px var(--s3);
  border-radius: var(--r-control);
  color: var(--fg-1);
  text-decoration: none;
  transition: background-color 0.2s var(--ease);
}
.sheet__list a::before {
  content: "";
  position: absolute;
  top: 50%;
  inset-inline-start: 18px;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--fg-3);
}
.sheet__list a:hover,
.sheet__list a:focus-visible {
  background: var(--tint);
}
.sheet__list a.is-current {
  background: rgba(107, 233, 247, 0.08);
}
.sheet__list a.is-current::before {
  background: var(--probe);
  border-color: var(--probe);
  box-shadow: 0 0 12px var(--probe);
}
/* Les relevés restent « +4,6 » (gauche → droite) ; leur marge automatique
   est donc physique, pour les pousser au bout de la ligne en arabe aussi. */
.sheet__t {
  margin-left: auto;
  direction: ltr;
  unicode-bidi: isolate;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--c, var(--fg-3));
}

/* ── Confirmation e-mail ────────────────────────────────── */
.toast {
  position: fixed;
  left: 50%;
  bottom: var(--s4);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: var(--s3);
  width: min(600px, calc(100% - 2 * var(--s4)));
  padding-block: var(--s3);
  padding-inline: var(--s4) var(--s2);
  border-radius: var(--r-card);
  background: var(--panel);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--hair);
  box-shadow: var(--shadow-float);
  opacity: 0;
  transform: translate(-50%, 16px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.toast[hidden] {
  display: none;
}
.toast.is-open {
  opacity: 1;
  transform: translate(-50%, 0);
}
.toast__msg {
  flex: 1;
  font-size: 14px;
  line-height: 20px;
  color: var(--fg-1);
}
.toast__sub {
  display: block;
  color: var(--fg-3);
}
.toast__copy {
  flex: none;
  min-height: 40px;
  padding: 0 var(--s4);
  border-radius: var(--r-control);
  border: 1px solid rgba(107, 233, 247, 0.35);
  background: transparent;
  color: var(--cold);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s var(--ease);
}
.toast__copy:hover {
  background: rgba(107, 233, 247, 0.08);
}
.toast__copy:active {
  transform: scale(0.98);
}
.toast__copy-done,
.toast__copy.is-done .toast__copy-idle {
  display: none;
}
.toast__copy.is-done .toast__copy-done {
  display: inline;
}
.toast__close {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--fg-3);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.toast__close:hover {
  background: var(--tint);
  color: var(--fg);
}
.toast__close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
@media (max-width: 559px) {
  .toast {
    flex-wrap: wrap;
  }
  .toast__msg {
    flex-basis: calc(100% - 52px);
  }
  .toast__copy {
    order: 3;
    width: 100%;
  }
}

/* ── Garanties en bento ─────────────────────────────────── */
.bento {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s4);
}
@media (min-width: 720px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .card--escrow {
    grid-row: span 2;
  }
  .card--reviews {
    grid-column: 1 / -1;
  }
}
@media (min-width: 1100px) {
  .bento {
    grid-template-columns: minmax(0, 1.15fr) repeat(2, minmax(0, 1fr));
  }
  .card--escrow {
    grid-column: 1;
    grid-row: 1 / span 2;
  }
  .card--reviews {
    grid-column: 2 / span 2;
  }
}
.card {
  padding: var(--s6);
  border-radius: var(--r-card);
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color 0.3s var(--ease);
}
.card:hover {
  border-color: #c3ceda;
}
.card__i {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--brand);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card h3 {
  margin-top: var(--s4);
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
}
.card p {
  margin-top: var(--s2);
  font-size: 14px;
  line-height: 20px;
  color: var(--text-2);
}
.card p.card__figure {
  display: flex;
  align-items: baseline;
  gap: var(--s2);
  margin-top: var(--s3);
  font-family: var(--display);
  font-size: 60px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--brand);
}
.card__figure > span {
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 0;
  color: var(--text-2);
}

/* Le séquestre en trois états : fait, en cours, à venir. */
.escrow {
  display: grid;
  margin: var(--s6) 0 0;
  padding: var(--s6) 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.escrow__step {
  position: relative;
  display: flex;
  gap: var(--s3);
  padding-bottom: var(--s6);
}
.escrow__step:last-child {
  padding-bottom: 0;
}
.escrow__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 32px;
  bottom: 4px;
  inset-inline-start: 13px;
  width: 2px;
  border-radius: 1px;
  background: var(--line);
}
.escrow__step.is-done::after {
  background: var(--brand);
}
.escrow__node {
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #c3ceda;
  background: #fff;
}
.is-done .escrow__node {
  background: var(--brand);
  border-color: var(--brand);
}
.is-done .escrow__node svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.is-now .escrow__node {
  border-color: var(--ice);
  box-shadow: 0 0 0 4px rgba(20, 196, 220, 0.14);
}
.is-now .escrow__node::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ice);
  animation: pulse-ice 1.8s var(--ease) infinite;
}
.escrow__txt {
  display: grid;
  padding-top: 2px;
  font-size: 14px;
  line-height: 20px;
  color: var(--text-2);
}
.escrow__txt b {
  font-family: var(--display);
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  color: var(--text);
}

.docs {
  display: grid;
  gap: var(--s2);
  margin-top: var(--s4);
}
.docs li {
  display: flex;
  align-items: center;
  gap: var(--s2);
  padding: var(--s2) var(--s3);
  border-radius: var(--r-control);
  background: var(--canvas);
  font-size: 14px;
  line-height: 20px;
}
.docs svg {
  flex: none;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--brand);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card--reviews {
  display: grid;
  gap: var(--s6);
  align-items: center;
}
@media (min-width: 720px) {
  .card--reviews {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  }
}
.ways {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s3);
  padding: var(--s4);
  border-radius: var(--r-control);
  background: var(--canvas);
}
.ways__who {
  padding: var(--s2) var(--s3);
  border-radius: var(--r-full);
  background: #fff;
  border: 1px solid var(--line);
  font-family: var(--display);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  white-space: nowrap;
}
.ways__arrows {
  flex: 1 1 auto;
  min-width: 40px;
  max-width: 96px;
}
.ways__arrows svg {
  display: block;
  width: 100%;
  height: auto;
  fill: none;
  stroke: var(--brand);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Questions : ouverture en douceur là où c'est pris en charge ── */
@supports selector(::details-content) {
  .paper .faq details {
    interpolate-size: allow-keywords;
  }
  .paper .faq details::details-content {
    block-size: 0;
    overflow-y: clip;
    transition: block-size 0.45s var(--ease),
      content-visibility 0.45s allow-discrete;
  }
  .paper .faq details[open]::details-content {
    block-size: auto;
  }
}

/* ── Les écrans de l'application ────────────────────────── */
/* Conçus sur 390 × 844 points : 1em = 16 points, quelle que soit la taille
   de l'appareil (unités de conteneur). Les couleurs sont celles de l'app :
   canvas, surface blanche, filets, bleu institutionnel, glace, ambre. */
.screens {
  position: absolute;
  inset: 0;
  font-size: calc(100cqw / 24.375);
}
.scr {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: #f6f8fb;
  color: #0b1622;
  font-family: var(--body);
  font-size: 1em;
  line-height: 1.35;
  letter-spacing: -0.005em;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.scr.is-on {
  opacity: 1;
}
.scr b {
  font-weight: 600;
}
@keyframes scr-in {
  from {
    opacity: 0;
    transform: translateY(0.75em);
  }
}
.js .scr .a {
  opacity: 0;
}
.js .scr.is-live .a {
  opacity: 1;
  animation: scr-in 0.6s var(--ease) both;
  animation-delay: calc(0.15s + var(--d, 0) * 0.08s);
}

/* Barre d'état et barre d'app */
.st {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 3.25em;
  padding: 0.5em 1.9em 0 2.2em;
  flex: none;
}
.st__time {
  font-size: 1.0625em;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.st__sys {
  display: flex;
  align-items: center;
  gap: 0.375em;
}
.st__sys svg {
  width: auto;
  height: 0.75em;
  fill: currentColor;
}
.st--dark {
  color: #fff;
}
.ab {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0.25em 1em 0.75em;
  flex: none;
}
.ab > :last-child {
  justify-self: end;
}
.ab__back {
  justify-self: start;
  display: grid;
  place-items: center;
  width: 2.25em;
  height: 2.25em;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1px #dde4ec;
}
.ab__back svg,
.scr svg.i {
  width: 1.125em;
  height: 1.125em;
  fill: none;
  stroke: #0b1622;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ab__title {
  font-size: 1.0625em;
  letter-spacing: -0.02em;
}
.ab__step {
  font-family: var(--mono);
  font-size: 0.8125em;
  color: #8494a3;
}
.ok-pill {
  padding: 0.25em 0.625em;
  border-radius: 999px;
  background: rgba(20, 196, 220, 0.14);
  color: #06707e;
  font-size: 0.75em;
  font-weight: 600;
}
.scr__body {
  display: flex;
  flex-direction: column;
  gap: 0.625em;
  flex: 1;
  min-height: 0;
  padding: 0.25em 1em 1em;
  overflow: hidden;
}
.lbl {
  margin: 0.375em 0 0;
  font-size: 0.8125em;
  font-weight: 600;
  color: #4c5c6d;
}
.cardu {
  padding: 1em;
  border-radius: 1.25em;
  background: #fff;
  box-shadow: inset 0 0 0 1px #dde4ec;
}
.av {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.75em;
  height: 2.75em;
  border-radius: 0.875em;
  background: #10336e;
  color: #fff;
  font-size: 0.8125em;
  font-weight: 600;
}

/* 1 · Nouvelle demande */
.equip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5em;
}
.equip__t {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  padding: 0.75em;
  border-radius: 0.875em;
  background: #fff;
  box-shadow: inset 0 0 0 1px #dde4ec;
  font-size: 0.875em;
  font-weight: 500;
  line-height: 1.2;
}
.equip__t > svg {
  width: 1.5em;
  height: 1.5em;
  fill: none;
  stroke: #10336e;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.equip__t.is-sel {
  background: #f1f5fb;
  box-shadow: inset 0 0 0 2px #10336e;
}
.equip__ok {
  position: absolute;
  top: 0.625em;
  right: 0.625em;
  display: grid;
  place-items: center;
  width: 1.375em;
  height: 1.375em;
  border-radius: 50%;
  background: #14c4dc;
}
.equip__ok svg {
  width: 0.875em;
  height: 0.875em;
  fill: none;
  stroke: #06101b;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.field {
  min-height: 4.25em;
  padding: 0.75em 0.875em;
  border-radius: 0.875em;
  background: #fff;
  box-shadow: inset 0 0 0 2px #14c4dc, 0 0 0 0.25em rgba(20, 196, 220, 0.15);
  font-size: 0.9375em;
  line-height: 1.4;
}
.field__caret {
  display: inline-block;
  width: 2px;
  height: 1.15em;
  margin-left: 1px;
  vertical-align: text-bottom;
  background: #14c4dc;
  animation: caret 1s steps(1) infinite;
}
@keyframes caret {
  50% {
    opacity: 0;
  }
}
.photos {
  display: grid;
  grid-template-columns: repeat(3, 4.75em);
  gap: 0.5em;
}
.photo {
  display: grid;
  place-items: center;
  height: 4.75em;
  overflow: hidden;
  border-radius: 0.875em;
}
/* Une photo de l'afficheur de la chambre froide : +11,8 °C. */
.photo--display {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 1.35em;
  background: radial-gradient(circle at 50% 45%, #1a2733, #06090d 75%);
  color: #ff7a1a;
  font-family: var(--mono);
  letter-spacing: -0.04em;
}
.photo--display b {
  font-size: 1.125em;
  font-weight: 500;
  text-shadow: 0 0 0.75em rgba(255, 122, 26, 0.6);
}
.photo--display small {
  margin: 0.15em 0 0 0.1em;
  font-size: 0.5em;
}
.photo--unit {
  background: linear-gradient(160deg, #66778a, #2a3540);
}
.photo--unit svg {
  width: 72%;
  fill: none;
  stroke: #d3dce4;
  stroke-width: 2.5;
}
.photo--add {
  background: #fff;
  border: 1.5px dashed #c3ceda;
}
.photo--add svg {
  width: 1.5em;
  height: 1.5em;
  fill: none;
  stroke: #8494a3;
  stroke-width: 2;
  stroke-linecap: round;
}
.seg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0.25em;
  border-radius: 0.875em;
  background: #e9eef4;
}
.seg > span {
  display: grid;
  place-items: center;
  height: 2.25em;
  border-radius: 0.625em;
  font-size: 0.875em;
  font-weight: 500;
  color: #4c5c6d;
}
.seg > .is-sel {
  background: #10336e;
  color: #fff;
  box-shadow: 0 1px 2px rgba(6, 16, 27, 0.2);
}
.est {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5em;
  padding: 0.75em 0.875em;
  border-radius: 0.875em;
  background: rgba(20, 196, 220, 0.1);
  box-shadow: inset 0 0 0 1px rgba(20, 196, 220, 0.28);
}
.est__k {
  font-size: 0.8125em;
  color: #06707e;
}
.est__v {
  font-size: 0.8125em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.scr__foot {
  flex: none;
  padding: 0.5em 1em 2.25em;
}
.abtn {
  display: grid;
  place-items: center;
  height: 3.25em;
  border-radius: 0.875em;
  font-weight: 600;
}
.abtn--accent {
  background: #ff7a1a;
  color: #06101b;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 0.5em 1.25em -0.5em rgba(255, 122, 26, 0.7);
}

/* 2 · Frigoristes à proximité */
.scr--map {
  background: #edf1f6;
}
.scr--map .st {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
}
.map {
  position: relative;
  flex: none;
  height: 47%;
}
.map__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.map__park {
  fill: #dcebe0;
}
.map__road {
  fill: none;
  stroke: #fff;
  stroke-width: 7;
  stroke-linecap: round;
}
.map__road--minor {
  stroke-width: 3.5;
}
.map__river {
  fill: none;
  stroke: #bfe0ec;
  stroke-width: 16;
  stroke-linecap: round;
}
.map__river--wide {
  stroke-width: 22;
}
.map__lbl {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  fill: #5e8ea3;
}
.map__search {
  position: absolute;
  top: 3.6em;
  right: 1em;
  left: 1em;
  display: flex;
  align-items: center;
  gap: 0.5em;
  height: 2.75em;
  padding: 0 1em;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(11, 22, 34, 0.08),
    0 0.5em 1.5em -0.5em rgba(11, 22, 34, 0.25);
  font-size: 0.875em;
  font-weight: 500;
}
.map__search svg {
  width: 1.125em;
  height: 1.125em;
  fill: none;
  stroke: #4c5c6d;
  stroke-width: 2;
  stroke-linecap: round;
}
.pin {
  position: absolute;
  z-index: 1;
}
.pin--me {
  width: 1.125em;
  height: 1.125em;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #14c4dc;
  border: 3px solid #fff;
  animation: pulse-ice 2s var(--ease) infinite;
}
.pin--tech {
  display: grid;
  place-items: center;
  width: 2.5em;
  height: 2.5em;
  transform: translate(-50%, -100%);
  border-radius: 50%;
  background: #10336e;
  border: 2px solid #fff;
  box-shadow: 0 0.25em 0.75em rgba(11, 22, 34, 0.3);
  color: #fff;
  font-size: 0.75em;
  font-weight: 700;
}
.pin--tech::after {
  content: "";
  position: absolute;
  bottom: -0.55em;
  left: 50%;
  transform: translateX(-50%);
  border: 0.35em solid transparent;
  border-top-color: #fff;
}
.pin--tech.is-best {
  background: #14c4dc;
  color: #06101b;
  font-size: 0.875em;
}
@keyframes pin-drop {
  from {
    opacity: 0;
    transform: translate(-50%, -160%);
  }
}
.js .scr .pin--tech {
  opacity: 0;
}
.js .scr.is-live .pin--tech {
  opacity: 1;
  animation: pin-drop 0.5s var(--ease) both;
  animation-delay: calc(0.25s + var(--d, 0) * 0.12s);
}
.map__chips {
  position: absolute;
  right: 1em;
  bottom: 1.75em;
  left: 1em;
  display: flex;
  gap: 0.375em;
}
.fchip {
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
  height: 2.25em;
  padding: 0 0.875em;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(11, 22, 34, 0.08), inset 0 0 0 1px #dde4ec;
  font-size: 0.75em;
  font-weight: 600;
}
.fchip.is-on {
  background: #10336e;
  color: #fff;
  box-shadow: none;
}
.fchip svg {
  width: 1.1em;
  height: 1.1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bs {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  flex: 1;
  margin-top: -1.25em;
  padding: 0.5em 1em 1em;
  border-radius: 1.5em 1.5em 0 0;
  background: #fff;
  box-shadow: 0 -0.5em 1.5em -0.75em rgba(11, 22, 34, 0.2);
}
.bs__handle {
  align-self: center;
  width: 2.5em;
  height: 0.3125em;
  margin-bottom: 0.25em;
  border-radius: 999px;
  background: #dde4ec;
}
.bs__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0 0.25em 0.25em;
}
.bs__head b {
  letter-spacing: -0.02em;
}
.bs__head > span {
  font-size: 0.75em;
  color: #8494a3;
}
.tc {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75em;
  padding: 0.75em;
  border-radius: 1em;
  box-shadow: inset 0 0 0 1px #dde4ec;
}
.tc.is-best {
  background: #f3fcfd;
  box-shadow: inset 0 0 0 2px #14c4dc;
}
.tc__main {
  display: grid;
  gap: 0.125em;
  min-width: 0;
}
.tc__main > b {
  overflow: hidden;
  font-size: 0.9375em;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.tc__meta {
  font-size: 0.75em;
  color: #4c5c6d;
  white-space: nowrap;
}
.tc__meta .star {
  font-style: normal;
  color: #10336e;
}
.tc__meta em {
  font-style: normal;
  color: #8494a3;
}
.ok-badge {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 0.25em;
  margin-top: 0.25em;
  padding: 0.125em 0.5em 0.125em 0.375em;
  border-radius: 999px;
  background: rgba(20, 196, 220, 0.14);
  color: #06707e;
  font-size: 0.6875em;
  font-weight: 600;
}
.ok-badge svg {
  width: 1.1em;
  height: 1.1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tc__dist {
  display: grid;
  justify-items: end;
}
.tc__dist b {
  font-family: var(--mono);
  font-size: 0.875em;
  font-weight: 500;
}
.tc__dist span {
  font-size: 0.75em;
  color: #1a7f4b;
}

/* 3 · Diagnostic en visio */
.scr--call {
  background: #0b121a;
  color: #fff;
}
.scr--call .st {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
}
.call__scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.call__mark {
  fill: none;
  stroke: #6be9f7;
  stroke-width: 3;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.js .scr:not(.is-live) .call__mark {
  stroke-dashoffset: 1;
}
.js .scr.is-live .call__mark {
  animation: draw 1s var(--ease) 0.35s both;
}
@keyframes draw {
  from {
    stroke-dashoffset: 1;
  }
}
.call__top {
  position: absolute;
  top: 3.6em;
  left: 1em;
}
.live {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.375em 0.75em;
  border-radius: 999px;
  background: rgba(6, 16, 27, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-family: var(--mono);
  font-size: 0.75em;
}
.live i {
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: #6be9f7;
  animation: pulse-ice 1.8s var(--ease) infinite;
}
.call__pip {
  position: absolute;
  top: 3.6em;
  right: 1em;
  display: grid;
  justify-items: center;
  gap: 0.5em;
  width: 7em;
  padding: 1.25em 0.5em 0.75em;
  border-radius: 1em;
  background: linear-gradient(160deg, #22406f, #10336e);
  box-shadow: 0 0.5em 1.5em rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  font-size: 0.75em;
}
.av--lg {
  width: 3.5em;
  height: 3.5em;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  font-size: 1.125em;
}
.call__tag {
  position: absolute;
  top: 67.5%;
  left: 2.6em;
  display: grid;
  gap: 0.125em;
  padding: 0.625em 0.875em;
  border-radius: 0.875em;
  background: rgba(6, 16, 27, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(107, 233, 247, 0.5);
}
.call__tag > b {
  font-size: 0.875em;
  color: #6be9f7;
}
.call__tag > span {
  font-size: 0.75em;
  color: #c9d6e2;
}
.call__ctl {
  position: absolute;
  right: 0;
  bottom: 2.75em;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 1em;
}
.cc {
  display: grid;
  place-items: center;
  width: 3.5em;
  height: 3.5em;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.cc svg {
  width: 1.375em;
  height: 1.375em;
  fill: none;
  stroke: #fff;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cc--end {
  background: #e5484d;
}
.cc--end svg {
  fill: #fff;
  stroke: none;
}

/* 4 · Devis et suivi */
.q__head {
  display: flex;
  align-items: center;
  gap: 0.75em;
  margin-bottom: 0.25em;
  padding-bottom: 0.75em;
  border-bottom: 1px solid #edf1f6;
}
.q__head b {
  display: block;
  font-size: 0.9375em;
}
.q__head b + span {
  display: block;
  font-size: 0.75em;
  color: #8494a3;
}
.q__line {
  display: flex;
  justify-content: space-between;
  gap: 1em;
  padding: 0.5em 0;
  border-bottom: 1px dashed #e3e9f0;
  font-size: 0.875em;
  color: #4c5c6d;
}
.q__line b {
  font-family: var(--mono);
  font-weight: 500;
  color: #0b1622;
  white-space: nowrap;
}
.q__sum {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.25em 1em;
  padding-top: 0.75em;
  font-size: 0.8125em;
  color: #4c5c6d;
}
.q__sum > :nth-child(even) {
  font-family: var(--mono);
  text-align: right;
}
.q__sum > b {
  margin-top: 0.25em;
  font-size: 1.15em;
  color: #0b1622;
}
.q__sum > b.q__total {
  color: #10336e;
}
.q__war {
  display: flex;
  align-items: center;
  gap: 0.375em;
  margin: 0.75em 0 0;
  font-size: 0.75em;
  color: #06707e;
}
.q__war svg,
.rd__ok svg {
  width: 1.1em;
  height: 1.1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.trk {
  display: grid;
  margin: 0;
  padding: 0.25em 0 0;
  list-style: none;
}
.trk li {
  position: relative;
  display: grid;
  grid-template-columns: 1.5em 1fr auto;
  align-items: center;
  gap: 0.75em;
  padding: 0.5em 0;
  font-size: 0.875em;
}
.trk li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 2.1em;
  bottom: -0.6em;
  left: 0.75em;
  width: 2px;
  margin-left: -1px;
  background: #dde4ec;
}
.trk li.is-done::after {
  background: #10336e;
}
.trk i {
  display: grid;
  place-items: center;
  width: 1.5em;
  height: 1.5em;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 2px #c3ceda;
}
.trk .is-done i {
  background: #10336e;
  box-shadow: none;
}
.trk i svg {
  width: 0.9em;
  height: 0.9em;
  fill: none;
  stroke: #fff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.trk .is-now i {
  box-shadow: inset 0 0 0 2px #14c4dc, 0 0 0 0.25em rgba(20, 196, 220, 0.18);
}
.trk .is-now i::after {
  content: "";
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  background: #14c4dc;
}
.trk b {
  font-weight: 500;
}
.trk li:not(.is-done):not(.is-now) b {
  color: #8494a3;
}
.trk li > span {
  font-family: var(--mono);
  font-size: 0.8125em;
  color: #8494a3;
}

/* 5 · Rapport signé, paiement libéré */
.done {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.125em;
  padding: 0.5em 0 0.25em;
  text-align: center;
}
.done__ok {
  display: grid;
  place-items: center;
  width: 3.25em;
  height: 3.25em;
  margin-bottom: 0.5em;
  border-radius: 50%;
  background: rgba(20, 196, 220, 0.14);
}
.done__ok svg {
  width: 1.625em;
  height: 1.625em;
  fill: none;
  stroke: #06707e;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.done > b {
  font-size: 1.125em;
  letter-spacing: -0.02em;
}
.done > span {
  font-size: 0.8125em;
  color: #8494a3;
}
.rd {
  display: grid;
  justify-items: center;
  gap: 0.375em;
  text-align: center;
}
.rd .lbl {
  margin: 0;
}
.rd__v {
  display: flex;
  align-items: flex-start;
  margin: 0;
  font-family: var(--mono);
  font-size: 3em;
  line-height: 0.9;
  font-weight: 500;
  letter-spacing: -0.06em;
  color: #10336e;
}
.rd__v small {
  margin: 0.1em 0 0 0.1em;
  font-size: 0.34em;
  letter-spacing: 0;
}
.rd__ok {
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
  padding: 0.25em 0.625em 0.25em 0.5em;
  border-radius: 999px;
  background: rgba(20, 196, 220, 0.14);
  color: #06707e;
  font-size: 0.75em;
  font-weight: 600;
}
.pay__row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75em;
}
.pay__ico {
  display: grid;
  place-items: center;
  width: 2.5em;
  height: 2.5em;
  border-radius: 0.75em;
  background: #edf3f9;
}
.pay__ico svg {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: #10336e;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pay__txt b {
  display: block;
  font-size: 0.9375em;
}
.pay__txt > span {
  font-size: 0.75em;
  color: #8494a3;
}
.pay__amt {
  font-family: var(--mono);
  font-size: 0.9375em;
  font-weight: 500;
}
.pay__file {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.625em;
  margin-top: 0.75em;
  padding-top: 0.75em;
  border-top: 1px solid #edf1f6;
  font-size: 0.8125em;
}
.pdf {
  display: grid;
  place-items: center;
  width: 2.5em;
  height: 2.5em;
  border-radius: 0.5em;
  background: #fdecec;
  color: #c4302b;
  font-family: var(--mono);
  font-size: 0.75em;
  font-weight: 600;
}
.pay__size {
  font-family: var(--mono);
  font-size: 0.9em;
  color: #8494a3;
}
.pay__file > svg {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: #10336e;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.rate {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.rate > b {
  font-size: 0.9375em;
}
.stars {
  display: flex;
  gap: 0.25em;
}
.stars i {
  width: 1.375em;
  height: 1.375em;
  background: #10336e;
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.stars i:nth-child(2) {
  --n: 1;
}
.stars i:nth-child(3) {
  --n: 2;
}
.stars i:nth-child(4) {
  --n: 3;
}
.stars i:nth-child(5) {
  --n: 4;
}
@keyframes star {
  from {
    background: #dde4ec;
    transform: scale(0.6);
  }
}
.js .scr .stars i {
  background: #dde4ec;
}
.js .scr.is-live .stars i {
  background: #10336e;
  animation: star 0.45s var(--ease) both;
  animation-delay: calc(0.9s + var(--n, 0) * 0.12s);
}

/* ── Mouvement réduit ───────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .js .hero [data-enter],
  .js .scr .a,
  .js .scr .pin--tech,
  .js .scr .stars i {
    opacity: 1;
    animation: none;
  }
  .js .scr .stars i {
    background: #10336e;
  }
  .js .scr:not(.is-live) .call__mark {
    stroke-dashoffset: 0;
  }
}

/* Barres du bas des écrans */
.scr__foot--sheet {
  background: #fff;
}
.abtn--line {
  background: #fff;
  box-shadow: inset 0 0 0 1px #c3ceda;
  color: #10336e;
}
.eta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.625em;
  padding: 0.75em;
  border-radius: 1.25em;
  background: #fff;
  box-shadow: inset 0 0 0 1px #dde4ec, 0 0.5em 1.5em -0.75em rgba(11, 22, 34, 0.25);
}
.eta__txt {
  display: grid;
  min-width: 0;
}
.eta__txt > b {
  font-size: 0.9375em;
}
.eta__txt > span {
  font-size: 0.75em;
  color: #06707e;
}
.eta__btn {
  display: grid;
  place-items: center;
  width: 2.5em;
  height: 2.5em;
  border-radius: 50%;
  background: #10336e;
}
.eta__btn svg {
  width: 1.125em;
  height: 1.125em;
  fill: none;
  stroke: #fff;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Feuille : réglages mobiles, liste déroulante sur grand écran ── */
.sheet__prefs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  margin-top: var(--s2);
  padding: var(--s3) var(--s2) var(--s1);
  border-top: 1px solid var(--hair);
}
@media (min-width: 760px) {
  .sheet__prefs {
    display: none;
  }
  /* Sous la sonde, alignée sur le bord de l'en-tête. */
  .sheet {
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .sheet__panel {
    top: 80px;
    inset-inline: auto max(var(--s4), calc((100vw - 1216px) / 2));
    width: 360px;
    margin: 0;
    transform-origin: top right;
  }
  [dir="rtl"] .sheet__panel {
    transform-origin: top left;
  }
}

/* ── Arabe : lecture de droite à gauche ─────────────────── */
/* Les instruments (relevé, tracé, jauge) restent gauche → droite : ce sont
   des nombres et une échelle de temps. Les écrans de l'app aussi : elle
   existe en français et en anglais. */
.readout,
.stop__t,
.card__figure {
  direction: ltr;
}
[dir="rtl"] .readout--end {
  margin-inline: auto;
}
[dir="rtl"] .card__figure {
  justify-content: flex-end;
}
/* L'arabe se lie : pas d'approche négative, et plus d'interligne. */
[dir="rtl"] :is(h1, h2, h3, p, a, button, li, dt, dd, summary, .btn, .hdr__brand, .ft__h, .eyebrow, .facts__k, .stop__meta) {
  letter-spacing: 0;
}
[dir="rtl"] .hero h1 {
  line-height: 1.3;
}
[dir="rtl"] .techs__intro h2,
[dir="rtl"] .head h2,
[dir="rtl"] .tagline__text,
[dir="rtl"] .finale h2 {
  line-height: 1.35;
}
[dir="rtl"] .readout,
[dir="rtl"] .ft__word,
[dir="rtl"] .nav__val {
  letter-spacing: -0.06em;
}

/* ── Thème clair : détails ──────────────────────────────── */
:root[data-theme="light"] .paper {
  background: var(--paper-bg);
}
.ramp-hot {
  stop-color: var(--ramp-hot);
}
.ramp-mid {
  stop-color: var(--ramp-mid);
}
.ramp-cold {
  stop-color: var(--ramp-cold);
}
:root[data-theme="light"] .finale__status {
  border-color: color-mix(in srgb, var(--cold) 40%, transparent);
}
:root[data-theme="light"] .device {
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.09),
    inset 0 0 0 7px #05090d, 0 2px 4px rgba(11, 22, 34, 0.2),
    0 60px 100px -48px rgba(11, 22, 34, 0.55);
}

/* L'arabe n'existe pas en chasse fixe : les petites étiquettes « instrument »
   passent au texte courant, sans approche ni capitales. Le tracé reste
   gauche → droite, mais sa légende se lit de droite à gauche. */
[dir="rtl"] :is(.hero__note, .facts__k, .facts__title, .hud__label, .reticle__delta,
  .ft__h, .ft__base, .eyebrow, .stop__meta, .sheet__title, .finale__status) {
  font-family: var(--body);
  letter-spacing: 0;
  text-transform: none;
}
[dir="rtl"] :is(.eyebrow, .facts__k, .facts__title, .ft__h) {
  font-size: 13px;
  font-weight: 500;
}

[dir="rtl"] .sheet__t {
  margin-left: 0;
  margin-right: auto;
}
