/*
 * Layout: a shop window. The product's own objects (chantier cards, the
 * purchase box, « Mes chantiers ») sit over documentary photos; white, muted
 * and ink sheets alternate. Orange is kept for buying, the brand square and
 * the site tape. Tokens are those of the app (packages/tokens/tokens.json).
 * One look, light, like the app in V1.
 */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --muted: #f5f6f8;
  --line: #e4e6eb;
  --line-strong: #d5d8de;
  --line-hover: #c9cdd4;
  --ink: #111317;
  --ink-2: #3b414b;
  --ink-3: #5f6672;
  --ink-4: #9aa0a9;
  --chip: #eef0f3;
  --accent: #ff5f1f;
  --on-accent: #ffffff;
  --accent-soft: #fff1ea;
  --accent-track: #ffe3d6;
  --accent-text: #8a3a0e;
  --on-ink: #ffffff;
  --on-ink-2: #b9bec7;
  --ink-raised: #1b1e24;
  --ink-line: #2c3038;
  --to-contact-bg: #ffe9de;
  --to-contact-text: #8a3a0e;
  --quote-bg: #e7eeff;
  --quote-text: #2346a8;
  --won-bg: #e3f4ea;
  --won-text: #1c6b3e;
  --font: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
  --r-lg: 8px;
  --r-md: 6px;
  --r-sm: 4px;
  --container: 1280px;
  --gutter: 32px;
  --float: 0 28px 56px -28px rgba(17, 19, 23, 0.42), 0 2px 6px -2px rgba(17, 19, 23, 0.12);
  --ease-view: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-pop: cubic-bezier(0.2, 0.8, 0.2, 1.2);
  --ease-fill: cubic-bezier(0.6, 0, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: inherit;
}
h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
button {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.section--ink :focus-visible,
.footer :focus-visible {
  outline-color: var(--on-ink);
}
.num {
  font-variant-numeric: tabular-nums;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- Structure ---------- */
.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  padding-block: clamp(64px, 8.5vw, 124px);
}
.section--muted {
  background: var(--muted);
}
.section--ink {
  background: var(--ink);
  color: var(--on-ink);
}
.section__head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 820px;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.section__head--row {
  max-width: none;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
}
.section__head--row > div {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 760px;
}

/* ---------- Type ---------- */
/* The titles are drawn as in the app: Instrument Sans at its normal width, weight 600, barely tightened. */
.display {
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.02;
  text-wrap: balance;
}
.h1 {
  font-size: clamp(2.25rem, 5.2vw, 4.4rem);
}
.h2 {
  font-size: clamp(1.85rem, 3.7vw, 3.1rem);
  line-height: 1.04;
}
.h3 {
  font-size: clamp(1.25rem, 1.95vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.12;
  text-wrap: balance;
}
.lead {
  font-size: clamp(1.06rem, 1.4vw, 1.22rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 62ch;
  text-wrap: pretty;
}
.section--ink .lead {
  color: var(--on-ink-2);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.section--ink .eyebrow {
  color: var(--on-ink-2);
}
.sq {
  display: inline-block;
  width: 0.62em;
  height: 0.62em;
  background: var(--accent);
  flex: none;
}

/* ---------- Brand ---------- */
.wordmark {
  display: inline-flex;
  align-items: baseline;
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
  text-decoration: none;
  color: var(--ink);
}
.wordmark i {
  display: inline-block;
  width: 0.3em;
  height: 0.3em;
  margin-inline: 0.07em;
  background: var(--accent);
  transform: translateY(-0.21em);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--r-lg);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 180ms ease-out,
    border-color 180ms ease-out,
    transform 120ms ease-out;
}
.btn:active {
  transform: translateY(1px);
}
/* A long label wraps on a phone, it no longer pushes the page wider than the screen. */
@media (max-width: 480px) {
  main .btn {
    max-width: 100%;
    padding-block: 12px;
    text-align: center;
    white-space: normal;
  }
}
/* Decided on 2026-10-10: white text on the orange buttons and on the small orange marks (numbers, ticks, labels).
   The large orange grounds (the band, the panel before the footer, our side of the clicks) keep their ink text. */
.btn--accent {
  background: var(--accent);
  color: var(--on-accent);
}
.btn--accent:hover {
  background: #f0520f;
}
.btn--ink {
  background: var(--ink);
  color: var(--on-ink);
}
.btn--ink:hover {
  background: #262a31;
}
.btn--outline {
  background: var(--bg);
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn--outline:hover {
  border-color: var(--ink);
}
.btn--ghost-ink {
  border-color: var(--ink-line);
  color: var(--on-ink);
}
.btn--ghost-ink:hover {
  border-color: var(--on-ink);
}
.btn--sm {
  min-height: 44px;
  padding: 0 18px;
  font-size: 15px;
}
.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
}
.link-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform 180ms ease-out;
}
.link-arrow:hover svg {
  transform: translateX(3px);
}

/* ---------- Announcement + header ---------- */
.announce {
  background: var(--ink);
  color: var(--on-ink);
  font-size: 14px;
  line-height: 1.35;
}
.announce .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-block: 10px;
  text-align: center;
}
.announce a {
  font-weight: 600;
  text-underline-offset: 3px;
}
.header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.wordmark-link {
  text-decoration: none;
}
.header .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 72px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline: auto;
}
.nav__link,
.nav__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border: 0;
  border-radius: var(--r-md);
  background: none;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 180ms ease-out,
    color 180ms ease-out;
}
.nav__btn svg {
  width: 15px;
  height: 15px;
  transition: transform 200ms ease-out;
}
.nav__link:hover,
.nav__btn:hover,
.nav__item.is-open .nav__btn {
  background: var(--muted);
  color: var(--ink);
}
.nav__item.is-open .nav__btn svg {
  transform: rotate(180deg);
}

/* Dropdowns: the links on the left, a preview of the hovered one on the right. */
.mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding: 30px 0 34px;
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 34px 44px -34px rgba(17, 19, 23, 0.32);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity 200ms var(--ease-view),
    transform 200ms var(--ease-view),
    visibility 0s linear 200ms;
}
.nav__item.is-open .mega {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity 200ms var(--ease-view),
    transform 200ms var(--ease-view),
    visibility 0s;
}
.header .mega__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 48px;
  align-items: start;
  min-height: 0;
}
.mega__links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.mega__title {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.mega__list {
  display: grid;
  gap: 2px 20px;
  margin-left: -12px;
}
.mega__list--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.mega__list--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.mega__list a {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 9px 12px;
  border-radius: var(--r-md);
  text-decoration: none;
  transition: background-color 160ms ease-out;
}
.mega__list a:hover,
.mega__list a:focus-visible,
.mega__list a.is-on {
  background: var(--muted);
}
.mega__list b {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
}
.mega__list small {
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-3);
}
.mega__links .link-arrow {
  align-self: flex-start;
  font-size: 15px;
}
.mega__side {
  position: relative;
  aspect-ratio: 4 / 3.1;
  border-radius: var(--r-lg);
  background: var(--muted);
  overflow: hidden;
}
.preview {
  position: absolute;
  inset: 0;
  display: none;
}
.preview.is-on {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: view-in 240ms var(--ease-view) both;
}
.preview__photo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  background: #2a2d33;
  color: var(--on-ink);
}
.preview__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.preview__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 19, 23, 0.85), rgba(17, 19, 23, 0.25) 70%);
}
.preview__photo .ui-card__icon {
  top: -22%;
  width: 22%;
}
.preview__photo span {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 18px 20px;
  font-size: 14px;
  line-height: 1.4;
  color: #d5d8de;
}
.preview__photo span b {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--on-ink);
}
.preview__tile {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  padding: 26px;
  background: var(--ink);
  color: var(--on-ink-2);
  font-size: 15px;
}
.preview__tile .unit__big,
.preview__tile .h3 {
  color: var(--on-ink);
}
.preview__tile--light {
  background: var(--accent-soft);
  color: var(--ink-2);
}
.preview__tile--light .h3 {
  color: var(--ink);
}
.preview__ui {
  width: min(300px, 82%);
}
/* « Découvrir »: one small scene per link, made of the page's own photos and of pieces of the app. */
.preview__scene {
  position: absolute;
  inset: 0;
  background: #2a2d33;
}
.preview__scene > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 100% 30%;
}
.preview__scene::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(17, 19, 23, 0) 40%, rgba(17, 19, 23, 0.5));
}
.preview__toast,
.preview__got,
.preview__deal {
  position: absolute;
  z-index: 1;
  margin: 0;
  border-radius: var(--r-lg);
  background: #ffffff;
  box-shadow: 0 18px 34px -16px rgba(17, 19, 23, 0.6);
}
.preview__toast {
  left: 14px;
  top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(264px, calc(100% - 28px));
  padding: 10px 12px;
}
.preview__got {
  left: 14px;
  bottom: 14px;
  width: 212px;
  overflow: hidden;
}
.preview__got .contact__banner {
  margin: 0;
  padding: 8px 12px;
}
.preview__who {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 9px 12px 11px;
  line-height: 1.3;
}
.preview__who b {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
}
.preview__who span {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.preview__deal {
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 12px 14px;
}
.preview__deal p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 9px;
  font-size: 14.5px;
}
.preview__deal dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
  padding-top: 9px;
  border-top: 1px solid var(--line);
}
.preview__deal dt {
  font-size: 11.5px;
  color: var(--ink-3);
}
.preview__deal dd {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}
.preview__prices {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 22px;
  background: #111317;
  color: #b9bec7;
}
.preview__prices .unit__big {
  margin: 0;
  color: #ffffff;
}
.preview__prices ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.preview__prices li {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0 12px;
  padding: 9px 12px;
  border: 1px solid #2c3038;
  border-radius: var(--r-md);
  background: #1b1e24;
}
.preview__prices li.is-best {
  border-color: var(--accent);
}
.preview__prices li b {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  color: #ffffff;
}
.preview__prices li i {
  padding: 2px 6px;
  border-radius: var(--r-sm);
  background: var(--accent);
  font-size: 10.5px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--on-accent);
}
.preview__prices li small {
  grid-column: 1;
  font-size: 12.5px;
}
.preview__prices li span {
  grid-column: 2;
  grid-row: 1 / span 2;
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
}
.preview__faq {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 18px;
  background: var(--muted);
}
.preview__faq > div {
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #ffffff;
}
.preview__faq p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-2);
}
.preview__faq p:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.preview__faq b {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.preview__faq p + p {
  margin-top: 6px;
}
/* The plus of a closed question, the minus of the open one. */
.preview__faq i {
  position: relative;
  flex: none;
  width: 12px;
  height: 12px;
}
.preview__faq i::before,
.preview__faq i::after {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 12px;
  height: 2px;
  background: var(--ink);
}
.preview__faq i::after {
  transform: rotate(90deg);
}
.preview__faq .is-open i::before {
  background: var(--accent);
}
.preview__faq .is-open i::after {
  display: none;
}
.mega__side--map {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px 12px;
  background: var(--bg);
  border: 1px solid var(--line);
}
.mega__side--map .france {
  flex: 1;
  min-height: 0;
}
.mega__caption {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

/* Phone: the same links in a drawer. */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0 11px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: var(--bg);
  cursor: pointer;
}
.burger span {
  height: 2px;
  background: var(--ink);
  transition: transform 200ms ease-out;
}
.burger[aria-expanded='true'] span:first-child {
  transform: translateY(4px) rotate(45deg);
}
.burger[aria-expanded='true'] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}
.drawer {
  border-top: 1px solid var(--line);
  background: var(--bg);
  max-height: calc(100vh - 72px);
  overflow-y: auto;
}
.header .drawer .wrap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  min-height: 0;
  padding-block: 8px 20px;
}
.drawer summary,
.drawer .wrap > a:not(.btn) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  list-style: none;
}
.drawer summary::-webkit-details-marker {
  display: none;
}
.drawer summary::after {
  content: '';
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
  transition: transform 200ms ease-out;
}
.drawer details[open] summary::after {
  transform: rotate(-135deg);
}
.drawer ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
  padding: 8px 0 12px;
  border-bottom: 1px solid var(--line);
}
.drawer li a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 15.5px;
  color: var(--ink-2);
  text-decoration: none;
}
.drawer .btn {
  margin-top: 18px;
}
.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header__login {
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.header__login:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- Hero ---------- */
.hero {
  padding-block: clamp(36px, 5vw, 72px) clamp(56px, 7vw, 104px);
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 26px;
  min-width: 0;
}
.hero__sub {
  font-size: clamp(1.45rem, 2.5vw, 2.05rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--ink-3);
}
.hero__sub b {
  color: var(--ink);
  font-weight: 600;
  box-shadow: inset 0 -0.34em 0 var(--accent-track);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}
.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
}
.checks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.checks svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--ink);
}
.hero__stage {
  position: relative;
  min-width: 0;
  padding: 26px 44px 38px 54px;
}
.hero__photo {
  position: relative;
  aspect-ratio: 4 / 4.7;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--muted);
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 30%;
}
.hero__grid {
  position: absolute;
  inset: 0 0 auto auto;
  width: 46%;
  height: 46%;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 28px 28px;
  z-index: -1;
  transform: translate(18px, -6px);
}
.hero__square {
  position: absolute;
  left: 22px;
  bottom: 6px;
  width: 64px;
  height: 64px;
  background: var(--accent);
  z-index: -1;
}
.float {
  position: absolute;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--float);
}
.float--card {
  left: 0;
  top: 13%;
  width: min(238px, 46%);
}
.float--toast {
  right: 0;
  top: 0;
  width: min(292px, 62%);
}
.float--contact {
  right: 4px;
  bottom: 0;
  width: min(300px, 64%);
}

/* ---------- App replicas (values of the app's design system) ---------- */
.ui {
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
  text-align: left;
}
.ui-badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 7px;
  border-radius: var(--r-sm);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.ui-badge--ink {
  background: var(--ink);
  color: #fff;
}
.ui-badge--accent {
  background: var(--accent);
  color: var(--on-accent);
}
.ui-badge--dept {
  background: #fff;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.ui-badge--gold {
  background: #fff;
  color: var(--ink);
  gap: 5px;
}
.ui-card {
  display: flex;
  flex-direction: column;
  isolation: isolate;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.ui-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #2a2d33;
  overflow: hidden;
}
.ui-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ui-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(17, 19, 23, 0.46);
}
.ui-card__icon {
  position: absolute;
  inset: 0;
  z-index: 1;
  margin: auto;
  width: 30%;
  height: auto;
  aspect-ratio: 1;
  color: #fff;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ui-card__tags {
  position: absolute;
  z-index: 2;
  top: 9px;
  left: 9px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.ui-card__dept {
  position: absolute;
  z-index: 2;
  right: 9px;
  bottom: 9px;
}
.ui-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px 14px;
}
.ui-card__meta {
  font-size: 12.5px;
  color: var(--ink-3);
}
.ui-card__city {
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.25;
}
.ui-card__text {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 13.5px;
  color: var(--ink-2);
}
.ui-card__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
}
.ui-price {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.ui-price small {
  font-size: 13.5px;
  font-weight: 500;
}
.ui-note {
  display: block;
  font-size: 11.5px;
  color: var(--ink-3);
}
.ui-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 14px;
  border: 1px solid var(--ink);
  border-radius: var(--r-md);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.ui-btn--accent {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--on-accent);
}
.ui-btn--ink {
  background: var(--ink);
  color: #fff;
}
.ui-btn--block {
  width: 100%;
  height: 52px;
  border-radius: var(--r-lg);
  font-size: 16px;
}
.ui-pill {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 8px;
  border-radius: var(--r-sm);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.ui-pill--to-contact {
  background: var(--to-contact-bg);
  color: var(--to-contact-text);
}
.ui-pill--contacted {
  background: var(--chip);
  color: var(--ink-2);
}
.ui-pill--quote {
  background: var(--quote-bg);
  color: var(--quote-text);
}
.ui-pill--won {
  background: var(--won-bg);
  color: var(--won-text);
}

/* Toast (a notification of the app) */
.toast {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
}
.toast__icon {
  width: 34px;
  height: 34px;
  flex: none;
  overflow: hidden;
  border-radius: var(--r-md);
  background: #0c0d10;
}
.toast__icon img {
  display: block;
  width: 100%;
  height: 100%;
}
.toast__body {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  font-size: 13px;
  color: var(--ink-2);
}
.toast__body strong {
  font-size: 13.5px;
  color: var(--ink);
}
.toast__time {
  margin-left: auto;
  font-size: 12px;
  color: var(--ink-3);
  white-space: nowrap;
}

/* Contact obtained */
.contact {
  overflow: hidden;
}
.contact__banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--accent-soft);
  font-size: 13.5px;
  font-weight: 600;
}
/* As in the app: « Contact obtenu », and under it where the chantier went. */
.contact__got {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.25;
}
.contact__got small {
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-2);
}
.tick {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: none;
  background: var(--accent);
  border-radius: 3px;
  color: var(--on-accent);
}
.tick svg {
  width: 13px;
  height: 13px;
}
.contact__got ~ .tick,
.contact__banner:has(.contact__got) .tick {
  width: 28px;
  height: 28px;
  border-radius: var(--r-sm);
}
.contact__banner:has(.contact__got) .tick svg {
  width: 16px;
  height: 16px;
}
.contact__rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 12px 14px 4px;
}
.contact__rows--last {
  padding-bottom: 14px;
}
.contact__rows dt {
  font-size: 11.5px;
  line-height: 1.3;
  color: var(--ink-3);
}
.contact__rows dd {
  margin: 0;
}
.contact__name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
}
.contact__phone {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.contact__addr {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
}
.contact__actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding: 12px 14px 14px;
}
/* A button never leaves its card: it takes the card's width, whatever its words. */
.contact__actions .ui-btn {
  gap: 7px;
  min-width: 0;
  padding-inline: 8px;
}
.contact__actions .ui-btn svg {
  width: 15px;
  height: 15px;
}

/* ---------- Tape ---------- */
.tape {
  overflow: hidden;
  background: var(--accent);
  color: var(--ink);
  border-block: 1px solid var(--ink);
}
.tape__track {
  display: flex;
  width: max-content;
  animation: tape 46s linear infinite;
}
.tape__group {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 13px 13px;
  font-size: clamp(15px, 1.6vw, 19px);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tape__group i {
  width: 9px;
  height: 9px;
  background: var(--ink);
  flex: none;
}
@keyframes tape {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- « D'où viennent vos chantiers » ---------- */
.sources {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.source {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.source__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 30px;
  font-size: 15px;
  font-weight: 600;
}
.source__logo svg {
  width: 26px;
  height: 26px;
  flex: none;
}
.source p {
  font-size: 15px;
  color: var(--ink-2);
}
.source__pay {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-3);
}
.source__pay strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
}

.versus {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin-top: 16px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ink);
  color: var(--on-ink);
}
.versus__side {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: clamp(24px, 3.4vw, 44px);
  min-width: 0;
}
.versus__side + .versus__side {
  background: var(--ink-raised);
  border-left: 1px solid var(--ink-line);
}
.versus__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-ink-2);
}
.versus__logos {
  display: inline-flex;
  gap: 8px;
}
.versus__logos svg {
  width: 20px;
  height: 20px;
}
.bids {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--ink-line);
}
.bids li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--ink-line);
  font-size: 15.5px;
  color: var(--on-ink-2);
}
.bids b {
  font-size: 17px;
  font-weight: 600;
  color: var(--on-ink);
  white-space: nowrap;
}
.versus__source {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--on-ink-2);
}
.versus__price {
  font-size: clamp(3rem, 6vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
}
.versus__price small {
  display: block;
  margin-top: 10px;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.4;
  color: var(--on-ink-2);
}
.calc {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) repeat(2, minmax(0, 1fr)) repeat(2, minmax(0, 0.8fr));
  align-items: center;
  gap: 18px 28px;
  padding: clamp(20px, 2.6vw, 30px) clamp(24px, 3.4vw, 44px);
  border-top: 1px solid var(--ink-line);
  background: var(--ink);
}
.calc__title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--on-ink-2);
}
.calc__field {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14.5px;
  color: var(--on-ink-2);
}
.calc__field > span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.calc__field output {
  font-size: 17px;
  font-weight: 600;
  color: var(--on-ink);
}
.calc input[type='range'] {
  width: 100%;
  height: 24px;
  margin: 0;
  background: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.calc input[type='range']::-webkit-slider-runnable-track {
  height: 2px;
  background: var(--ink-line);
}
.calc input[type='range']::-moz-range-track {
  height: 2px;
  background: var(--ink-line);
}
.calc input[type='range']::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  margin-top: -8px;
  border: 0;
  border-radius: 0;
  background: var(--accent);
  -webkit-appearance: none;
  appearance: none;
}
.calc input[type='range']::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 0;
  background: var(--accent);
}
.calc__result {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 22px;
  border-left: 1px solid var(--ink-line);
  font-size: 13.5px;
  color: var(--on-ink-2);
}
.calc__result b {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--on-ink);
  white-space: nowrap;
}
.calc__result--here b {
  box-shadow: inset 0 -0.16em 0 var(--accent);
  align-self: flex-start;
}
.versus__claim {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.18;
  text-wrap: balance;
}
.versus__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  color: var(--on-ink-2);
}
.versus__list li {
  display: flex;
  gap: 10px;
}
.versus__list svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 3px;
  color: var(--on-ink);
}

/* ---------- A click is not a client: the meter of paid clicks beside one chantier ---------- */
.duel {
  margin-top: clamp(40px, 5vw, 72px);
}
.duel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 10px 40px;
  margin-bottom: 22px;
}
.duel__title {
  margin: 0;
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  line-height: 1.02;
}
.duel__title span {
  display: block;
}
.duel__lead {
  max-width: 48ch;
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-3);
}
.duel__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.duel__side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: clamp(18px, 2.2vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--muted);
}
/* Our side: the brand's orange and its logo, so the two ways of paying cannot be mistaken. */
.duel__side--here {
  border-color: var(--accent);
  background: var(--accent);
  color: #111317;
}
.duel__side--here .duel__brand {
  gap: 10px;
  letter-spacing: 0;
  text-transform: none;
  color: #111317;
}
.duel__logo {
  width: 34px;
  height: 34px;
}
.duel__brand .wordmark {
  font-size: 21px;
  color: #111317;
}
.duel__brand .wordmark i {
  background: #111317;
}
.duel__side--here .ticket {
  border-color: #111317;
  box-shadow: 0 18px 34px -22px rgba(17, 19, 23, 0.7);
}
.duel__side--here .duel__meter,
.duel__side--here .duel__meter > div + div {
  border-color: rgba(17, 19, 23, 0.32);
}
.duel__side--here .duel__meter dt {
  color: #111317;
}
.duel__side--here .duel__known .tick {
  background: #111317;
  color: #fff;
}
/* Between the two, the word that says they are being compared. */
.duel__grid {
  position: relative;
}
.duel__vs {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 3px solid var(--bg);
  border-radius: var(--r-lg);
  background: #111317;
  color: #fff;
  font-size: 19px;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
}
.duel__label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
/* The advertising side names its two platforms as plainly as ours names itself. */
.duel__ads {
  flex-wrap: wrap;
  gap: 8px 18px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}
.duel__ad {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.duel__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg);
}
.duel__mark svg {
  width: 20px;
  height: 20px;
}
.duel__rule {
  margin: -6px 0 2px;
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  line-height: 1.05;
}
.serp,
.ticket {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 268px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
}
/* The advertising side is a search results page as everyone knows it: the logo, the rounded field, the tabs,
   then the sponsored result that is billed at each click. Its type and colours are the search engine's, not ours. */
.serp {
  gap: 9px;
  padding-inline: 16px;
  font-family: Arial, Helvetica, sans-serif;
  color: #202124;
}
.serp__top {
  display: flex;
  align-items: center;
  flex: none;
  gap: 12px;
}
.serp__g {
  flex: none;
  width: 26px;
  height: 26px;
}
.serp__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 9px;
  min-width: 0;
  height: 38px;
  margin: 0;
  padding: 0 14px 0 17px;
  border: 1px solid #dfe1e5;
  border-radius: 19px;
  box-shadow: 0 1px 5px rgba(32, 33, 36, 0.14);
  font-size: 15px;
}
.serp__bar svg {
  width: 17px;
  height: 17px;
  flex: none;
  color: #4285f4;
}
.serp.is-typing .serp__bar span::after {
  content: '';
  display: inline-block;
  width: 1.5px;
  height: 1.05em;
  margin-left: 2px;
  vertical-align: -0.16em;
  background: #202124;
}
.serp__tabs {
  display: flex;
  flex: none;
  gap: 18px;
  margin: 0;
  padding-left: 38px;
  border-bottom: 1px solid #ebebeb;
  font-size: 12.5px;
  line-height: 1.3;
  color: #5f6368;
}
.serp__tabs > * {
  padding-bottom: 6px;
  border-bottom: 3px solid transparent;
  font-weight: 400;
}
.serp__tabs b {
  border-color: #1a73e8;
  color: #1a73e8;
}
.serp__ad {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: none;
  gap: 3px;
  padding: 8px 124px 10px 11px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition:
    background 160ms ease-out,
    border-color 160ms ease-out;
}
.serp__ad.is-hit {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.serp__tag {
  font-size: 13px;
  font-weight: 700;
}
.serp__site {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 2px 0 0;
}
.serp__site span {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}
.serp__site b {
  font-size: 13px;
  font-weight: 400;
}
.serp__site small {
  font-size: 11.5px;
  color: #4d5156;
}
.serp__fav {
  display: grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  border: 1px solid #ecedef;
  border-radius: 50%;
  background: #f1f3f4;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  color: #5f6368;
}
.serp__link {
  margin: 3px 0 0;
  overflow: hidden;
  font-size: 18px;
  line-height: 1.25;
  color: #1a0dab;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.serp__desc {
  margin: 0;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.4;
  color: #4d5156;
  white-space: nowrap;
  text-overflow: ellipsis;
}
/* The result below, unpaid: only its outline. */
.serp__row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 3px 12px 0;
}
.serp__row > span {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 7px;
  padding-top: 3px;
}
.serp__row span > i {
  display: block;
  height: 8px;
  flex: none;
  border-radius: 2px;
  background: var(--chip);
}
.serp__row > .serp__fav {
  width: 22px;
  height: 22px;
}
.serp__row span > .serp__blue {
  height: 11px;
  background: #d2e3fc;
}
.serp__cost {
  position: absolute;
  z-index: 1;
  right: 24px;
  top: 92px;
  font-family: var(--font);
  padding: 4px 10px;
  border-radius: var(--r-sm);
  background: #111317;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  opacity: 0;
}
/* How many clicks have been paid, as tall as the ad: one more at each click. */
.serp__times {
  position: absolute;
  right: 14px;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  font-size: 78px;
  line-height: 1;
  transform-origin: 100% 50%;
  pointer-events: none;
}
.serp__times.is-off {
  opacity: 0;
}
.serp__times.is-bump {
  animation: times-pop 460ms var(--ease-pop) both;
}
@keyframes times-pop {
  from {
    transform: scale(1.6);
    opacity: 0.2;
  }
}
@media (max-width: 520px) {
  .serp {
    padding-inline: 12px;
  }
  .serp__tabs {
    gap: 14px;
    padding-left: 4px;
  }
  .serp__tabs > :nth-child(n + 5) {
    display: none;
  }
  .serp__ad {
    padding-right: 92px;
  }
  .serp__desc {
    display: none;
  }
  .serp__link {
    font-size: 16.5px;
    white-space: normal;
  }
  .serp__times {
    font-size: 62px;
  }
}
.serp__cost.is-pop {
  animation: serp-cost 820ms var(--ease-view) both;
}
@keyframes serp-cost {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.8);
  }
  20%,
  70% {
    opacity: 1;
    transform: none;
  }
  100% {
    opacity: 0;
    transform: translateY(-22px);
  }
}
.ticket__lead {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  flex: none;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.ticket__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: #111317;
  color: #fff;
}
.ticket__icon svg {
  width: 20px;
  height: 20px;
}
.ticket__lead p {
  display: flex;
  flex-direction: column;
  margin: 0;
  line-height: 1.25;
}
.ticket__lead small {
  font-size: 12.5px;
  color: var(--ink-3);
}
.ticket__lead b {
  font-size: 17px;
}
.ticket__lead b span {
  font-weight: 400;
  color: var(--ink-3);
}
.ticket__lead .ticket__price {
  flex-direction: row;
  align-items: baseline;
  gap: 5px;
  font-size: 24px;
  font-weight: 700;
}
/* What the client asked for, in a line: a request, where the other side only has a click. */
.ticket__need {
  margin: 0;
  padding-inline: 2px;
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--ink-2);
}
/* The button and the contact that takes its place share one cell: the card is as tall as the taller of the two, so a
   long town name or an address on two lines (on a phone) is never cut by the foot of the card. */
.ticket {
  height: auto;
  min-height: 268px;
}
.ticket__action {
  position: relative;
  flex: 1;
  display: grid;
  align-content: start;
}
.ticket__buy {
  grid-area: 1 / 1;
  align-self: start;
  width: 100%;
  height: 50px;
  border-radius: var(--r-lg);
  font-size: 16px;
  transition: opacity 180ms ease-out;
}
.ticket__contact {
  grid-area: 1 / 1;
  align-self: start;
  overflow: hidden;
  border: 1px solid var(--accent-track);
  border-radius: var(--r-md);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 260ms ease-out,
    transform 420ms var(--ease-pop);
}
.ticket__contact p {
  margin: 0;
}
.ticket.is-bought .ticket__buy {
  opacity: 0;
}
.ticket.is-bought .ticket__contact {
  opacity: 1;
  transform: none;
}
.ticket__who {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 2px 12px;
  padding: 11px 14px 12px;
}
.ticket__who b {
  font-size: 15px;
}
.ticket__who span {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.ticket__who small {
  flex: 1 1 100%;
  font-size: 13.5px;
  color: var(--ink-3);
}
.duel__meter {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 2px 0 0;
  border-top: 1px solid var(--line-strong);
}
.duel__meter > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 13px;
}
.duel__meter > div + div {
  padding-left: 16px;
  border-left: 1px solid var(--line-strong);
}
.duel__meter dt {
  font-size: 13px;
  color: var(--ink-3);
}
.duel__meter dd {
  min-height: 1.3em;
  margin: 0;
  font-size: clamp(1.2rem, 1.9vw, 1.65rem);
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}
.duel__dots {
  display: inline-flex;
  gap: 5px;
}
.duel__dots i {
  width: 13px;
  height: 13px;
  background: var(--line-strong);
  transition: background 160ms ease-out;
}
.duel__dots i.is-on {
  background: var(--ink);
}
.duel__meter .duel__unknown {
  color: var(--ink-3);
}
.duel__meter .is-bump {
  animation: duel-bump 320ms var(--ease-pop);
}
@keyframes duel-bump {
  from {
    transform: scale(1.16);
    transform-origin: 0 60%;
  }
}
.duel__meter .duel__known {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  transition: opacity 240ms ease-out;
}
.duel__known.is-wait {
  opacity: 0;
}
.duel__source {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-3);
}
@media (max-width: 860px) {
  .duel__grid {
    grid-template-columns: 1fr;
  }
  /* The panels are stacked: the marker sits on the seam between them. */
  .duel__vs {
    position: relative;
    left: auto;
    top: auto;
    justify-self: center;
    margin-block: -31px;
    transform: none;
  }
}
@media (max-width: 420px) {
  .duel__meter {
    grid-template-columns: minmax(0, 0.84fr) minmax(0, 0.9fr) minmax(0, 1.26fr);
  }
  .duel__meter .duel__known {
    gap: 6px;
    font-size: 0.95rem;
  }
  .duel__meter dd {
    font-size: 1.05rem;
  }
  .duel__dots i {
    width: 10px;
    height: 10px;
  }
  .duel__meter > div + div {
    padding-left: 10px;
  }
}

/* ---------- Qualified requests: the app's chantier page read zone by zone, then what the purchase adds ---------- */
.qualif__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
  align-items: center;
  gap: clamp(32px, 5vw, 76px);
}
.qualif__stage {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
/* The site's own captions over the app's screens: what is read before, what comes with the purchase. */
.qualif__when {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  margin: 0;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.qualif__when--after {
  margin-top: 12px;
}
.qualif__sheet {
  padding: 16px 20px 4px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--float);
}
.qualif__sheet .crumbs {
  margin-bottom: 12px;
  font-size: 12.5px;
}
.qualif__sheet .fiche__top {
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 34px;
}
.qualif__excl,
.qualif__dept {
  position: absolute;
}
.qualif__excl {
  left: 8px;
  top: 8px;
}
.qualif__dept {
  right: 8px;
  bottom: 8px;
}
.qualif__stage h4 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
}
.qualif__sheet .fiche__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}
.qualif__stage .qualif__h {
  margin: 18px 0 0;
}
.qualif__sheet .qualif__specs {
  margin-top: 8px;
  font-size: 14px;
}
.qualif__sheet .qualif__specs div {
  padding-block: 9px;
}
.qualif__specs div:last-child {
  border-bottom: 0;
}
.qualif__specs dd {
  text-align: right;
}
/* A zone of the screen and its number, the same as in the list beside. */
.qualif__zone {
  position: relative;
  border-radius: 2px;
  outline: 2px solid transparent;
  outline-offset: 6px;
  transition:
    outline-color 220ms ease-out,
    background 220ms ease-out,
    box-shadow 220ms ease-out;
}
.qualif__zone::after {
  content: attr(data-n);
  position: absolute;
  left: -15px;
  top: -15px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: var(--r-sm);
  background: var(--accent);
  color: var(--on-accent);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  opacity: 0;
  transform: scale(0.5);
  transition:
    opacity 200ms ease-out,
    transform 320ms var(--ease-pop);
}
.qualif__zone.is-done::after {
  opacity: 1;
  transform: none;
}
.qualif__sheet .fiche__top .qualif__zone::after {
  left: -29px;
  top: -2px;
}
.qualif__zone.is-lit {
  outline-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 0 0 6px var(--accent-soft);
}
/* On the rows, the number rides the edge of the sheet, like a tab. */
.qualif__specs .qualif__zone::after {
  left: -32px;
  top: 50%;
  margin-top: -12px;
}
.qualif__after {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 14px;
}
[data-qualif-after] {
  transition:
    opacity 320ms ease-out,
    transform 520ms var(--ease-pop);
}
.qualif__stage.is-before [data-qualif-after] {
  opacity: 0;
  transform: translateY(16px);
}
.qualif__after > .ui {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--float);
}
/* The ring of a zone is drawn outside it: these two are cards, theirs hugs the card. */
.qualif__after > .qualif__zone {
  outline-offset: 2px;
  border-radius: var(--r-lg);
  overflow: visible;
}
.qualif__after > .qualif__zone.is-lit {
  background: #fff;
  box-shadow: var(--float);
}
.qualif__after > .contact .contact__banner {
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.qualif__photos {
  margin-top: 30px;
  padding: 14px 14px 12px;
}
.qualif__photos ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.qualif__photos li {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.qualif__photos img {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  object-fit: cover;
}
.qualif__photos span {
  overflow: hidden;
  font-size: 11.5px;
  color: var(--ink-2);
  white-space: nowrap;
  text-overflow: ellipsis;
}
.qualif__copy .lead {
  margin-top: 16px;
}
.qualif__list {
  display: flex;
  flex-direction: column;
  margin: 26px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.qualif__list li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.qualif__list i {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  color: var(--ink-3);
  transition:
    background 220ms ease-out,
    border-color 220ms ease-out,
    color 220ms ease-out;
}
.qualif__list li.is-on i {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--on-accent);
}
.qualif__list p {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 1px 10px;
  margin: 0;
}
.qualif__list b {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink-3);
  transition: color 220ms ease-out;
}
.qualif__list li.is-on b {
  color: var(--ink);
}
.qualif__list span {
  font-size: 15px;
  color: var(--ink-3);
}
@media (max-width: 900px) {
  .qualif__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .qualif__copy {
    order: -1;
  }
}
@media (max-width: 520px) {
  .qualif__sheet {
    padding: 14px 16px 2px;
  }
  .qualif__sheet .fiche__top {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .qualif__sheet .fiche__photo {
    aspect-ratio: 5 / 2;
  }
  .qualif__after {
    grid-template-columns: minmax(0, 1fr);
  }
  .qualif__photos {
    margin-top: 0;
  }
  .qualif__sheet .fiche__top .qualif__zone::after {
    left: -28px;
    top: -1px;
  }
  .qualif__specs .qualif__zone::after {
    left: -28px;
  }
}

/* ---------- How it works: steps + diving screen ---------- */
.how {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.steps {
  display: flex;
  flex-direction: column;
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 4px 16px;
  width: 100%;
  padding: 22px 0 22px;
  border: 0;
  border-top: 1px solid var(--line-strong);
  background: none;
  text-align: left;
  cursor: pointer;
}
.step:last-child {
  border-bottom: 1px solid var(--line-strong);
}
.step__n {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--bg);
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  transition:
    background-color 200ms ease-out,
    color 200ms ease-out,
    border-color 200ms ease-out;
}
.step__title {
  padding-top: 3px;
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink-3);
  transition: color 200ms ease-out;
}
.step__text {
  grid-column: 2;
  display: grid;
  grid-template-rows: 0fr;
  font-size: 15.5px;
  color: var(--ink-2);
  transition: grid-template-rows 320ms var(--ease-view);
}
.step__text > span {
  overflow: hidden;
}
.step__text > span > span {
  display: block;
  padding-top: 8px;
}
.step[aria-selected='true'] .step__n {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.step[aria-selected='true'] .step__title {
  color: var(--ink);
}
.step[aria-selected='true'] .step__text {
  grid-template-rows: 1fr;
}
.step__bar {
  position: absolute;
  left: 0;
  top: -1px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
}
.step[aria-selected='true'] .step__bar.is-running {
  animation: step-bar var(--step-ms, 9000ms) linear forwards;
}
@keyframes step-bar {
  to {
    transform: scaleX(1);
  }
}

/* The window the app plays in: the screen alone, turned a little toward the text beside it. */
.browser {
  position: relative;
  border-radius: 14px;
  background: #ffffff;
  box-shadow:
    0 0 0 1px #d5d8de,
    -46px 60px 90px -54px rgba(17, 19, 23, 0.6),
    -14px 20px 36px -22px rgba(17, 19, 23, 0.3);
  transform: perspective(1900px) rotateY(-8deg) rotateX(2.5deg);
  transform-origin: 100% 50%;
}
.browser .viewport {
  border-radius: inherit;
}
@media (max-width: 900px) {
  .browser {
    border-radius: 12px;
    box-shadow:
      0 0 0 1px #d5d8de,
      0 40px 70px -44px rgba(17, 19, 23, 0.55),
      0 14px 28px -20px rgba(17, 19, 23, 0.3);
    transform: none;
  }
}

.viewport {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg);
}
.camera {
  position: absolute;
  left: 0;
  top: 0;
  width: 1200px;
  height: 750px;
  transform-origin: 0 0;
  transition: transform 1100ms var(--ease-view);
  will-change: transform;
}
.screen {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 320ms ease-out,
    visibility 0s linear 320ms;
}
.screen.is-on {
  opacity: 1;
  visibility: visible;
  transition:
    opacity 320ms ease-out,
    visibility 0s;
}
.caption {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink-3);
}

/* App chrome */
.app-head {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
  padding: 0 32px;
  border-bottom: 1px solid var(--line);
}
.app-search {
  display: flex;
  flex: 1;
  gap: 8px;
}
.app-search span {
  display: flex;
  align-items: center;
  flex: 1;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  font-size: 14.5px;
  color: var(--ink-3);
}
.app-balance {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  font-size: 14.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.app-avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-lg);
  background: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.app-tabs {
  display: flex;
  gap: 28px;
  height: 48px;
  padding: 0 32px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-3);
}
.app-tabs span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid transparent;
}
.app-tabs .is-active {
  color: var(--ink);
  font-weight: 600;
  border-bottom-color: var(--accent);
}
.app-tabs b {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
}
.app-body {
  position: absolute;
  inset: 116px 0 0;
  padding: 26px 32px;
}
.app-title {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* Screen 1: activities and zones */
.setup {
  display: grid;
  grid-template-columns: 500px 1fr;
  gap: 40px;
  height: 100%;
}
.setup__label {
  margin: 18px 0 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.tile {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 58px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  font-size: 15px;
  font-weight: 600;
  transition:
    border-color 180ms ease-out,
    box-shadow 180ms ease-out;
}
.tile--wide {
  grid-column: span 2;
}
.tile__box {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-left: auto;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  color: transparent;
  transition:
    background-color 160ms ease-out,
    border-color 160ms ease-out;
}
.tile__box svg {
  width: 13px;
  height: 13px;
}
.tile.is-on {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.tile.is-on .tile__box {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.tile svg.tile__icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.zone {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.zone__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 30px;
}
.zone__chips span {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 9px;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  animation: pop 360ms var(--ease-pop) both;
}
.france {
  flex: 1;
  min-height: 0;
  width: 100%;
}
.france path {
  fill: var(--muted);
  stroke: var(--line-strong);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  transition: fill 240ms ease-out;
}
.france path.is-on {
  fill: var(--ink);
  stroke: var(--ink);
}
.france path.is-new {
  fill: var(--accent);
  stroke: var(--ink);
}

/* Screen 2: catalogue, then the chantier and its purchase box */
.cat {
  display: grid;
  grid-template-columns: 196px 1fr;
  gap: 28px;
  height: 100%;
}
.cat__filters {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13.5px;
  color: var(--ink-2);
}
.cat__filters h4 {
  margin: 0 0 2px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.cat__filters hr {
  width: 100%;
  margin: 8px 0;
  border: 0;
  border-top: 1px solid var(--line);
}
.cat__check {
  display: flex;
  align-items: center;
  gap: 9px;
}
.cat__check i {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  color: #fff;
}
.cat__check.is-on i {
  background: var(--ink);
  border-color: var(--ink);
}
.cat__check i svg {
  width: 11px;
  height: 11px;
}
.cat__top {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 16px;
}
.cat__top small {
  font-size: 14px;
  color: var(--ink-3);
}
.cat__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cat__grid .ui-card {
  transition:
    transform 520ms var(--ease-view),
    opacity 320ms ease-out,
    border-color 180ms ease-out,
    box-shadow 180ms ease-out;
}
.cat__grid .ui-card.is-new {
  border-color: var(--ink);
  box-shadow: 0 10px 24px -14px rgba(17, 19, 23, 0.45);
}
.cat__grid .ui-card.is-entering {
  opacity: 0;
  transform: translateY(-14px) scale(0.97);
}
.cat__grid .ui-card.is-shifted {
  transform: translateX(8px);
}
.pointer {
  position: absolute;
  z-index: 6;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  opacity: 0;
  transition:
    transform 700ms var(--ease-view),
    opacity 200ms ease-out;
  pointer-events: none;
}
.pointer.is-on {
  opacity: 1;
}
.pointer svg {
  position: relative;
  width: 34px;
  height: 34px;
  transition: transform 120ms ease-out;
  filter: drop-shadow(0 2px 3px rgba(17, 19, 23, 0.35));
}
.pointer.is-down svg {
  transform: scale(0.84);
}
/* A halo under the tip so the eye finds the pointer, and a ring at each click. */
.pointer__halo,
.pointer__ring {
  position: absolute;
  left: -21px;
  top: -24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
}
.pointer__halo {
  background: rgba(255, 95, 31, 0.24);
}
.pointer__ring {
  border: 3px solid var(--accent);
  opacity: 0;
}
.pointer.is-ring .pointer__ring {
  animation: pointer-ring 560ms ease-out;
}
@keyframes pointer-ring {
  from {
    opacity: 0.95;
    transform: scale(0.35);
  }
  to {
    opacity: 0;
    transform: scale(1.7);
  }
}
/* What is happening, said in a few words at the bottom of the window. */
.say {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  max-width: calc(100% - 24px);
  margin: 0;
  padding: 9px 15px;
  border-radius: var(--r-lg);
  background: #111317;
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.3;
  box-shadow: 0 14px 30px -14px rgba(17, 19, 23, 0.7);
  transform: translateX(-50%);
}
.say::before {
  content: '';
  width: 0.62em;
  height: 0.62em;
  flex: none;
  background: var(--accent);
}
.say:empty {
  display: none;
}
.say.is-swap {
  animation: say-swap 380ms var(--ease-pop);
}
@keyframes say-swap {
  from {
    opacity: 0;
    transform: translate(-50%, 10px);
  }
}
.sheet {
  position: absolute;
  z-index: 4;
  inset: 116px 0 0;
  padding: 22px 32px;
  background: var(--bg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 280ms var(--ease-view),
    transform 280ms var(--ease-view),
    visibility 0s linear 280ms;
}
.sheet.is-on {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity 280ms var(--ease-view),
    transform 280ms var(--ease-view),
    visibility 0s;
}
.crumbs {
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--ink-3);
}
.sheet__inner {
  max-width: 880px;
  margin-inline: auto;
}
.fiche {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
}
.fiche__top {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 18px;
}
.fiche__photo {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #2a2d33;
}
.fiche__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fiche h4 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 600;
}
.fiche__desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
}
.masked {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 7px;
  border-radius: var(--r-sm);
  background: var(--chip);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
}
.specs {
  margin-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
}
.specs div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.specs dt {
  color: var(--ink-3);
}
.specs dd {
  margin: 0;
  font-weight: 500;
}
.buy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg);
}
.buy__meta {
  font-size: 14px;
  color: var(--ink-3);
}
.buy__city {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.buy__city span {
  font-weight: 400;
  color: var(--ink-3);
}
.buy__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.buy__price small {
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-3);
}
.buy__q {
  font-size: 14px;
  font-weight: 600;
}
.choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.choice {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  font-size: 14.5px;
  font-weight: 600;
}
.choice small {
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.choice.is-on {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.fill {
  position: relative;
  display: grid;
  place-items: center;
  height: 52px;
  border-radius: var(--r-lg);
  background: var(--accent-track);
  font-size: 16px;
  font-weight: 600;
  overflow: hidden;
}
.fill::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
}
.fill.is-filling::before {
  transform: scaleX(1);
  transition: transform 1200ms var(--ease-fill);
}
.fill span {
  position: relative;
}
.buy__after {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-2);
}
.buy__after u {
  font-weight: 600;
  color: var(--ink);
  text-underline-offset: 3px;
}
.reassure {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-2);
}
.reassure li {
  display: flex;
  gap: 9px;
}
.reassure svg {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 2px;
  color: var(--ink);
}
.buy [data-state] {
  display: none;
}
.buy[data-step='choose'] [data-state~='choose'],
.buy[data-step='confirm'] [data-state~='confirm'],
.buy[data-step='processing'] [data-state~='processing'],
.buy[data-step='done'] [data-state~='done'] {
  display: flex;
}
.buy [data-state].col {
  flex-direction: column;
  gap: 12px;
}
.buy .contact__banner {
  margin: -26px -26px 0;
  padding: 12px 26px;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  animation: view-in 280ms var(--ease-view) both;
}
.buy .contact__phone {
  font-size: 24px;
}
.buy__contact {
  flex-direction: column;
  gap: 3px;
  animation: view-in 280ms var(--ease-view) 80ms both;
}
.buy__contact p {
  font-size: 14.5px;
  color: var(--ink-2);
}
.buy__actions {
  flex-direction: column;
  gap: 8px;
}

/* Screen 3: Mes chantiers */
.table {
  width: 100%;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  font-size: 14.5px;
}
.table__row {
  display: grid;
  grid-template-columns: 2.2fr 1.9fr 1.3fr 1.1fr 1.2fr 104px;
  align-items: center;
  gap: 16px;
  padding: 13px 18px;
  border-top: 1px solid var(--line);
  transition: background-color 2400ms ease-out;
}
.table__row--head {
  border-top: 0;
  padding-block: 10px;
  background: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.table__row.is-fresh {
  background: var(--accent-soft);
  transition: none;
}
.table__job {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.table__thumb {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: var(--r-md);
  object-fit: cover;
}
.table__job b,
.table__client b {
  display: block;
  font-weight: 600;
}
.table__job small,
.table__client small,
.table__row small {
  font-size: 13px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.table .ui-pill {
  justify-self: start;
}
.pill-swap {
  animation: pop 360ms var(--ease-pop) both;
}
.won-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  font-size: 15px;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 280ms var(--ease-view),
    transform 280ms var(--ease-view);
}
.won-note.is-on {
  opacity: 1;
  transform: none;
}

@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.7);
  }
}
@keyframes view-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

/* ---------- Bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.cell {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
  padding: clamp(20px, 2.4vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg);
  overflow: hidden;
}
.cell--3 {
  grid-column: span 3;
}
.cell--2 {
  grid-column: span 2;
}
.cell--4 {
  grid-column: span 4;
}
.cell--ink {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--on-ink);
}
.cell--photo {
  position: relative;
  justify-content: flex-end;
  min-height: 340px;
  padding: 0;
  border: 0;
  color: var(--on-ink);
  background: #2a2d33;
}
.cell--photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cell--photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 19, 23, 0.82) 0%, rgba(17, 19, 23, 0.1) 62%);
}
.cell--photo .cell__copy {
  position: relative;
  z-index: 1;
  padding: clamp(20px, 2.4vw, 30px);
}
.cell--photo .float {
  z-index: 2;
  top: 22px;
  right: 22px;
  width: min(300px, calc(100% - 44px));
  color: var(--ink);
}
.cell__copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cell__copy p {
  font-size: 15.5px;
  color: var(--ink-2);
  max-width: 46ch;
}
.cell--ink .cell__copy p,
.cell--photo .cell__copy p {
  color: var(--on-ink-2);
}
.cell__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 200px;
  padding: 22px;
  border-radius: var(--r-md);
  background: var(--muted);
}
.cell--ink .cell__visual {
  background: var(--ink-raised);
}
/* The three small cells share one height of visual: none stretches around a small object. */
.cell--2 .cell__visual {
  flex: none;
  height: 272px;
  min-height: 0;
  overflow: hidden;
}
.cell--2 .cell__visual:has(.gold) {
  align-items: flex-start;
  padding-bottom: 0;
}
.cell--2 .gold {
  -webkit-mask-image: linear-gradient(#000 80%, transparent);
  mask-image: linear-gradient(#000 80%, transparent);
}

/* Exclusivity */
.excl {
  width: min(440px, 100%);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg);
}
.excl .buy__q {
  margin-bottom: 10px;
}
.excl .choice {
  transition:
    border-color 200ms ease-out,
    box-shadow 200ms ease-out;
}
.excl__after {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--ink-2);
}

/* Gold: a greyed card with its countdown */
.gold {
  position: relative;
  width: min(250px, 100%);
}
.gold .ui-card {
  transition: filter 500ms ease-out;
}
.gold.is-locked .ui-card {
  filter: grayscale(1);
}
.gold .ui-card__body {
  transition: opacity 500ms ease-out;
}
.gold.is-locked .ui-card__body {
  opacity: 0.55;
}
.gold.is-locked .ui-card__tags,
.gold.is-locked .ui-card__icon {
  opacity: 0;
}
.gold__veil {
  position: absolute;
  inset: 0 0 auto;
  aspect-ratio: 4 / 3;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  background: rgba(17, 19, 23, 0.78);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transition: opacity 400ms ease-out;
}
.gold:not(.is-locked) .gold__veil {
  opacity: 0;
}
.gold__veil svg {
  width: 22px;
  height: 22px;
}
.gold__veil b {
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

/* Follow-up: the label of a chantier moves one step forward at each click, as in « Mes chantiers » */
.suivi {
  position: relative;
  display: flex;
  flex-direction: column;
  align-self: center;
  gap: 10px;
  width: min(380px, 100%);
}
.suivi__row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg);
  font-size: 14px;
}
.suivi__row .table__thumb {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  object-fit: cover;
}
.suivi__row b {
  display: block;
  overflow: hidden;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.suivi__row small {
  display: block;
  overflow: hidden;
  font-size: 12.5px;
  color: var(--ink-3);
  white-space: nowrap;
  text-overflow: ellipsis;
}
.suivi__pill {
  position: relative;
  display: inline-flex;
}
.suivi .is-bump {
  animation: duel-bump 320ms var(--ease-pop);
}
.burst {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.burst i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  background: var(--accent);
  opacity: 0;
}
.burst.is-on i {
  animation: burst 760ms var(--ease-view) both;
}
@keyframes burst {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.4);
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1);
  }
}

/* SIRET check */
.siret {
  width: min(360px, 100%);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.siret label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--on-ink);
}
.siret__field {
  display: flex;
  align-items: center;
  height: 56px;
  padding: 0 16px;
  border: 1px solid var(--ink-line);
  border-radius: var(--r-lg);
  background: var(--ink);
  color: var(--on-ink);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.siret__field i {
  width: 2px;
  height: 20px;
  margin-left: 2px;
  background: var(--accent);
  animation: caret 900ms steps(2) infinite;
}
@keyframes caret {
  50% {
    opacity: 0;
  }
}
.siret__ok {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--on-ink-2);
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 280ms var(--ease-view),
    transform 280ms var(--ease-view);
}
.siret.is-ok .siret__ok {
  opacity: 1;
  transform: none;
}
.siret.is-ok .siret__ok--next {
  transition-delay: 320ms;
}
.siret__ok strong {
  color: var(--on-ink);
}

/* Ledger */
.ledger {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg);
  overflow: hidden;
  font-size: 14px;
}
.ledger div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  padding: 11px 14px;
  border-top: 1px solid var(--line);
}
.ledger div:first-child {
  border-top: 0;
  background: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.ledger span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ledger em {
  font-style: normal;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.ledger small {
  font-size: 12.5px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

/* ---------- Trades ---------- */
.trades {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.trade {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 220px;
  padding: 18px;
  border-radius: var(--r-lg);
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background: #2a2d33;
}
.trade--wide {
  grid-column: span 2;
}
.trade img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-view);
}
.trade::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 19, 23, 0.86), rgba(17, 19, 23, 0.18) 70%);
}
.trade:hover img {
  transform: scale(1.04);
}
.trade > span {
  position: relative;
  z-index: 1;
}
.trade__name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.trade__name svg {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform 180ms ease-out;
}
.trade:hover .trade__name svg {
  transform: translateX(3px);
}
.trade__list {
  margin-top: 4px;
  font-size: 13.5px;
  color: #d5d8de;
}

/* ---------- Pricing ---------- */
.pricing {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 2.15fr);
  gap: 16px;
}
.unit {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(22px, 2.6vw, 32px);
  border-radius: var(--r-lg);
  background: var(--ink);
  color: var(--on-ink);
}
.unit__big {
  font-size: clamp(2.6rem, 4.6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
}
.unit__big small {
  font-size: 0.34em;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--on-ink-2);
}
.unit .eyebrow {
  color: var(--on-ink-2);
}
.unit__text {
  font-size: 15.5px;
  color: var(--on-ink-2);
}
.unit ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--ink-line);
  font-size: 15px;
  color: var(--on-ink-2);
}
.unit li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}
.unit li b {
  color: var(--on-ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.plan {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(20px, 2.2vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg);
}
.plan--best {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.plan__name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
}
.plan__price {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.plan__price small {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ink-3);
}
.plan__then {
  font-size: 13.5px;
  color: var(--ink-3);
}
.plan ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--ink-2);
}
.plan li {
  display: flex;
  gap: 9px;
}
.plan li svg {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 3px;
  color: var(--ink);
}
.plan .btn {
  margin-top: auto;
}
.pricing__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  margin-top: 16px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg);
  font-size: 15px;
  color: var(--ink-2);
}
.pricing__foot strong {
  color: var(--ink);
}
.pay-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  color: var(--ink-2);
}
.pay-logos svg {
  width: auto;
  height: 22px;
}

/* ---------- Business introducers ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.split__photo {
  position: relative;
  padding: 0 0 28px 28px;
}
.split__photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-lg);
}
.split__photo::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46%;
  height: 46%;
  background: var(--accent);
  z-index: 0;
}
.split__photo img,
.split__photo .float {
  position: relative;
  z-index: 1;
}
.split__photo .float {
  position: absolute;
  right: -14px;
  bottom: 52px;
  width: min(290px, 70%);
  padding: 14px 16px;
  color: var(--ink);
}
.chain {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
}
.chain div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.chain small {
  color: var(--ink-3);
}
.chain hr {
  width: 100%;
  margin: 2px 0;
  border: 0;
  border-top: 1px solid var(--line);
}
.split__copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.numbered {
  display: flex;
  flex-direction: column;
  counter-reset: n;
  border-top: 1px solid var(--ink-line);
}
.numbered li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--ink-line);
  font-size: 16px;
  color: var(--on-ink-2);
  counter-increment: n;
}
.numbered li::before {
  content: counter(n);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--ink-line);
  border-radius: var(--r-md);
  color: var(--on-ink);
  font-size: 14px;
  font-weight: 700;
}
.numbered strong {
  display: block;
  color: var(--on-ink);
  font-weight: 600;
}

/* ---------- Local ---------- */
.local {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
/* The map as a panel of the app: nothing is chosen in advance, every department is picked with a click. */
.local__map {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: var(--bg);
  box-shadow: var(--float);
  overflow: hidden;
}
.local__bar,
.local__foot {
  display: flex;
  align-items: center;
  gap: 10px 14px;
  padding: 12px 14px;
}
.local__bar {
  justify-content: space-between;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
}
.local__modes {
  display: flex;
  padding: 3px;
  border-radius: var(--r-md);
  background: var(--chip);
}
.local__modes button {
  padding: 7px 12px;
  border: 0;
  border-radius: var(--r-sm);
  background: none;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-3);
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 200ms ease-out,
    color 200ms ease-out;
}
.local__modes button[aria-pressed='true'] {
  background: var(--ink);
  color: var(--on-ink);
}
.local__all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--bg);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition:
    background 200ms ease-out,
    border-color 200ms ease-out,
    color 200ms ease-out;
}
.local__all:hover {
  border-color: var(--ink);
}
.local__all[aria-pressed='true'] {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--on-accent);
}
.local__all[aria-pressed='true'] .sq {
  background: var(--on-accent);
}
.local__stage {
  position: relative;
  padding: clamp(14px, 2.4vw, 30px) clamp(14px, 4vw, 54px);
  background:
    radial-gradient(var(--line-strong) 1px, transparent 1.4px) 0 0 / 18px 18px,
    var(--muted);
}
/* The whole panel stays in a low window: the map never grows past what the screen can show. */
.local__map .france {
  display: block;
  max-height: min(52vh, 540px);
  margin-inline: auto;
}
.local__map .france path {
  fill: var(--bg);
  stroke: var(--line-hover);
  cursor: pointer;
  transition: fill 260ms ease-out;
}
.local__map .france path.is-peek {
  fill: var(--accent-track);
}
.local__map .france path.is-on {
  fill: var(--accent);
  stroke: #111317;
}
.local__map .france path.is-on.is-peek {
  fill: color-mix(in srgb, var(--accent) 80%, #111317);
}
.local__tag {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 9px 13px;
  border-radius: var(--r-md);
  background: var(--ink);
  color: var(--on-ink);
  font-size: 14.5px;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: var(--float);
  pointer-events: none;
  transition: transform 420ms var(--ease-view);
}
.local__tag[hidden] {
  display: none;
}
.local__tag small {
  font-size: 13px;
  color: var(--on-ink-2);
}
.local__foot {
  min-height: 58px;
  border-top: 1px solid var(--line);
}
/* What the pointer is doing, or what a click would do. */
.local__say {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  margin: 0;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.3;
}
.local__say::before {
  content: '';
  flex: none;
  width: 8px;
  height: 8px;
  background: var(--accent);
}
.local__say.is-swap {
  animation: near-say 360ms var(--ease-pop);
}
@keyframes near-say {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
.local__count {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0;
  font-size: 14px;
  color: var(--ink-3);
  white-space: nowrap;
}
.local__count b {
  min-width: 2ch;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  text-align: right;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.local__none {
  padding: 6px 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
  cursor: pointer;
}
.local__none:hover {
  color: var(--ink);
}
.local__none:disabled {
  color: var(--ink-3);
  text-decoration: none;
  cursor: default;
}
.cities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  margin-top: 28px;
  border-top: 1px solid var(--line-strong);
}
.cities a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
  font-weight: 500;
  text-decoration: none;
}
.cities a {
  position: relative;
  transition: padding-left 260ms var(--ease-view);
}
.cities a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  background: var(--accent);
  transform: scale(0);
  transition: transform 260ms var(--ease-pop);
}
.cities a:hover,
.cities a.is-on {
  padding-left: 18px;
}
.cities a:hover::before,
.cities a.is-on::before {
  transform: none;
}
.cities small {
  min-width: 30px;
  padding: 2px 6px;
  border-radius: var(--r-sm);
  background: var(--chip);
  font-size: 13px;
  text-align: center;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
  transition:
    background 200ms ease-out,
    color 200ms ease-out;
}
.cities a:hover small,
.cities a.is-on small {
  background: var(--ink);
  color: var(--on-ink);
}
.cities__more {
  margin: 16px 0 0;
  font-size: 14.5px;
  color: var(--ink-3);
}
@media (max-width: 520px) {
  .local__foot {
    flex-wrap: wrap;
  }
  .local__say {
    flex-basis: 100%;
    min-height: 2.6em;
  }
  .local__count {
    flex: 1;
  }
  .local__modes,
  .local__all {
    flex: 1 1 100%;
  }
  .local__modes button {
    flex: 1;
  }
  .local__all {
    justify-content: center;
  }
}
/* Split sections alternate down the home page: the window, then the photo, then the map change side. */
@media (min-width: 901px) {
  .home .how {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  }
  .home .how .steps {
    order: 2;
  }
  .home .how .browser {
    box-shadow:
      0 0 0 1px #d5d8de,
      46px 60px 90px -54px rgba(17, 19, 23, 0.6),
      14px 20px 36px -22px rgba(17, 19, 23, 0.3);
    transform: perspective(1900px) rotateY(8deg) rotateX(2.5deg);
    transform-origin: 0 50%;
  }
  .home #apporteurs .split__photo {
    order: 2;
    padding: 0 28px 28px 0;
  }
  .home #apporteurs .split__photo::before {
    left: auto;
    right: 0;
  }
  .home #apporteurs .split__photo .float {
    right: auto;
    left: -14px;
  }
  .home .local__map {
    order: -1;
  }
}

/* ---------- A phone showing the app ---------- */
.phone {
  position: relative;
  flex: none;
  width: 268px;
  padding: 9px;
  border-radius: 42px;
  background: #111317;
  box-shadow: 0 34px 60px -30px rgba(17, 19, 23, 0.6);
}
.phone::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 2;
  width: 76px;
  height: 21px;
  margin-left: -38px;
  border-radius: 12px;
  background: #111317;
}
.phone__screen {
  height: 524px;
  border-radius: 34px;
  background: #ffffff;
  overflow: hidden;
}
/* The app's own header on a phone: the icon, the balance, the bell, the account. */
.phone__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 44px 14px 10px;
}
.phone__balance {
  gap: 6px;
  height: 34px;
  margin-left: auto;
  padding: 0 10px;
  font-size: 13px;
}
.phone__balance svg,
.phone__bell svg {
  width: 15px;
  height: 15px;
}
.phone__bell {
  display: grid;
  place-items: center;
  width: 26px;
  height: 34px;
}
.phone__avatar {
  width: 34px;
  height: 34px;
  font-size: 12px;
}
.phone__tabs {
  display: flex;
  gap: 16px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-3);
}
.phone__tabs span {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}
.phone__tabs .is-active {
  border-bottom-color: var(--accent);
  font-weight: 600;
  color: var(--ink);
}
.phone__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 14px;
}
.phone__list .ui-card__media {
  aspect-ratio: 16 / 8;
}
.phone__list .ui-card__text {
  -webkit-line-clamp: 1;
}
.phone__pad {
  padding: 14px;
}
.phone__pad--lead {
  padding: 2px 14px 12px;
}
.phone .contact__banner {
  padding: 10px 14px;
}
.phone__follow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-3);
}

/* ---------- Pre-footer: the same orange panel on every page, its words and its screen set by the page ---------- */
.px-pre {
  padding-block: clamp(36px, 5vw, 80px);
}
.px-pre__panel {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(20px, 3vw, 48px);
  padding: clamp(26px, 4.6vw, 72px);
  border-radius: 12px;
  background: var(--accent);
  color: var(--ink);
  overflow: hidden;
}
.px-pre__panel::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(17, 19, 23, 0.1) 1px, transparent 1px) 0 0 / 100% 60px,
    linear-gradient(90deg, rgba(17, 19, 23, 0.1) 1px, transparent 1px) 0 0 / 60px 100%;
  -webkit-mask-image: radial-gradient(60% 90% at 84% 50%, #000, transparent);
  mask-image: radial-gradient(60% 90% at 84% 50%, #000, transparent);
}
.px-pre__copy {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 26px);
  align-self: center;
}
.px-pre .eyebrow {
  color: var(--ink);
}
.px-pre .eyebrow .sq {
  background: var(--ink);
}
.px-pre__title {
  font-size: clamp(2.4rem, 5.2vw, 4.7rem);
}
.px-btn-line {
  border-color: var(--ink);
  color: var(--ink);
}
.px-btn-line:hover {
  background: rgba(17, 19, 23, 0.08);
}
.px-pre__steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}
.px-pre__steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid rgba(17, 19, 23, 0.24);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.3;
}
.px-pre__steps b {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 4px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
}
.px-pre__visual {
  position: relative;
  min-height: clamp(380px, 38vw, 520px);
  margin: calc(-1 * clamp(26px, 4.6vw, 72px));
  margin-left: 0;
  --p: 0.5;
}
.px-pre__photo {
  position: absolute;
  inset: 0 0 0 16%;
  margin: 0;
  overflow: hidden;
}
.px-pre__photo img {
  width: 100%;
  height: 116%;
  object-fit: cover;
  transform: translateY(calc(var(--p) * -12%));
}
.px-pre__phone {
  position: absolute;
  left: 0;
  bottom: -150px;
  transform: translateY(calc((1 - var(--p)) * 90px)) rotate(-5deg);
}
.px-pre__toast {
  right: 5%;
  top: 9%;
  width: min(300px, 70%);
  transform: translateY(calc((0.5 - var(--p)) * 60px));
}
@media (max-width: 900px) {
  .px-pre__panel {
    grid-template-columns: 1fr;
    padding-bottom: 0;
  }
  .px-pre__visual {
    min-height: 360px;
    margin: 0 calc(-1 * clamp(26px, 4.6vw, 72px));
  }
  .px-pre__photo {
    inset: 0;
  }
  .px-pre__phone {
    left: 6%;
    bottom: -210px;
  }
}
@media (max-width: 620px) {
  .px-pre__steps {
    grid-template-columns: 1fr;
  }
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.faq__list {
  border-top: 1px solid var(--line-strong);
}
.faq details {
  border-bottom: 1px solid var(--line-strong);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '';
  width: 12px;
  height: 12px;
  flex: none;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat;
  transition: transform 200ms ease-out;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  max-width: 68ch;
  padding: 0 0 22px;
  color: var(--ink-2);
}

/* ---------- Final call + footer ---------- */
.final {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}
.final__copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.final__steps {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--ink-line);
  font-size: 15.5px;
  color: var(--on-ink-2);
}
.final__steps li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--ink-line);
}
.final__steps b {
  color: var(--on-ink);
  font-weight: 600;
}
.footer {
  background: var(--ink);
  color: var(--on-ink-2);
  border-top: 1px solid var(--ink-line);
  padding-block: clamp(40px, 5vw, 64px) 28px;
  overflow: hidden;
}
.footer__cols {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.footer__about {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 34ch;
  font-size: 14.5px;
}
.footer .wordmark {
  color: var(--on-ink);
}
.footer h3 {
  margin-bottom: 12px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-ink);
}
.footer li + li {
  margin-top: 8px;
}
.footer a {
  font-size: 14.5px;
  text-decoration: none;
}
.footer a:hover {
  color: var(--on-ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer__giant {
  margin: clamp(36px, 6vw, 72px) 0 18px;
  font-size: clamp(3.1rem, 14.6vw, 14.2rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.8;
  color: var(--on-ink);
  white-space: nowrap;
  user-select: none;
}
.footer__giant i {
  display: inline-block;
  width: 0.26em;
  height: 0.26em;
  margin-inline: 0.05em;
  background: var(--accent);
  transform: translateY(-0.18em);
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 28px;
  padding-top: 20px;
  border-top: 1px solid var(--ink-line);
  font-size: 13px;
}
.mock-note {
  background: var(--accent-soft);
  color: var(--accent-text);
  font-size: 13px;
  text-align: center;
  padding: 8px 16px;
}

/* ---------- Responsive ---------- */
.menu-btn {
  display: none;
}
/* Just above the burger's width, the menu tightens instead of breaking onto two lines. */
@media (max-width: 1240px) {
  .nav {
    gap: 0;
  }
  .nav__link,
  .nav__btn {
    padding-inline: 9px;
    font-size: 14.5px;
  }
  .header__actions {
    white-space: nowrap;
  }
}
@media (max-width: 1180px) {
  .calc {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .calc__title {
    grid-column: 1 / -1;
  }
}
@media (max-width: 1080px) {
  .nav {
    display: none;
  }
  .burger {
    display: flex;
  }
  .header__actions {
    margin-left: auto;
  }
  .sources {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .trades {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pricing {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer__about {
    grid-column: 1 / -1;
  }
}
@media (max-width: 900px) {
  :root {
    --gutter: 16px;
  }
  .hero .wrap,
  .how,
  .split,
  .local,
  .faq,
  .final,
  .versus {
    grid-template-columns: minmax(0, 1fr);
  }
  .versus__side + .versus__side {
    border-left: 0;
    border-top: 1px solid var(--ink-line);
  }
  .hero__stage {
    padding: 22px 12px 34px 20px;
  }
  .cell--3,
  .cell--2,
  .cell--4 {
    grid-column: 1 / -1;
  }
  .plans {
    grid-template-columns: minmax(0, 1fr);
  }
  .viewport {
    aspect-ratio: 4 / 5;
  }
  .calc {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .calc__title,
  .calc__field {
    grid-column: 1 / -1;
  }
  .calc__result {
    padding-left: 14px;
  }
  .split__photo .float {
    right: 0;
  }
  .header__login {
    display: none;
  }
}
@media (max-width: 560px) {
  .sources,
  .trades {
    grid-template-columns: minmax(0, 1fr);
  }
  .trade--wide {
    grid-column: auto;
  }
  .cities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero__cta .btn {
    flex: 1 1 100%;
  }
  .float--card {
    display: none;
  }
  .hero__stage {
    padding: 34px 0 44px 0;
  }
  .float--toast {
    left: 12px;
    right: auto;
    width: min(300px, 84%);
  }
  .float--contact {
    right: 12px;
    width: min(270px, 74%);
  }
  .hero__square {
    left: -16px;
    bottom: 16px;
  }
  .float--contact .contact__actions .ui-btn + .ui-btn,
  .float--contact .contact__rows div:has(.contact__addr) {
    display: none;
  }
  .footer__cols {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px 20px;
  }
  .announce .wrap {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .tape__track,
  .siret__field i {
    animation: none;
  }
  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }
}


/* ---------- Inner pages ---------- */
.h1--inner {
  font-size: clamp(2.4rem, 5.2vw, 4.5rem);
}
.split__photo--hero .float {
  right: -8px;
}
.cards3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.card3 {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: clamp(20px, 2.4vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg);
}
.card3 > p {
  font-size: 15.5px;
  color: var(--ink-2);
}
.card3__n {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--r-md);
  background: var(--ink);
  color: var(--on-ink);
  font-size: 15px;
  font-weight: 700;
}
.card3__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 190px;
  margin-top: 10px;
  padding: 18px;
  border-radius: var(--r-md);
  background: var(--muted);
}
.ba {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.72fr);
  gap: 16px;
  align-items: stretch;
}
.ba__col {
  padding: clamp(20px, 2.4vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg);
}
.ba__col--after {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.ba__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.ba ul {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.ba li {
  display: flex;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
}
.ba li svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 3px;
}
.ba__card {
  align-self: center;
}
.earn {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) repeat(2, minmax(0, 0.7fr));
  align-items: center;
  gap: 20px 32px;
  padding: clamp(22px, 3vw, 38px);
  border: 1px solid var(--ink-line);
  border-radius: var(--r-lg);
  background: var(--ink-raised);
}
.earn input[type='range'] {
  width: 100%;
  height: 24px;
  margin: 0;
  background: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.earn input[type='range']::-webkit-slider-runnable-track {
  height: 2px;
  background: var(--ink-line);
}
.earn input[type='range']::-moz-range-track {
  height: 2px;
  background: var(--ink-line);
}
.earn input[type='range']::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  margin-top: -8px;
  border: 0;
  border-radius: 0;
  background: var(--accent);
  -webkit-appearance: none;
  appearance: none;
}
.earn input[type='range']::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 0;
  background: var(--accent);
}
.caption--ink {
  color: var(--on-ink-2);
  max-width: 78ch;
}
@media (max-width: 900px) {
  .cards3,
  .ba {
    grid-template-columns: minmax(0, 1fr);
  }
  .ba__card {
    max-width: 280px;
  }
  .earn {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .earn .calc__field {
    grid-column: 1 / -1;
  }
  .earn .calc__result {
    padding-left: 14px;
  }
}
@media (max-width: 560px) {
  /* The note hangs under the photo instead of covering the person. */
  .split__photo .float {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(300px, 88%);
    margin: -30px 0 0 auto;
  }
}
.split__photo--card .float {
  right: -8px;
  bottom: -18px;
  width: min(240px, 52%);
  padding: 0;
  border: 0;
}
.examples {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 900px;
}
.more {
  margin-top: 26px;
}
@media (max-width: 900px) {
  .examples {
    grid-template-columns: minmax(0, 1fr);
    max-width: 320px;
  }
}
@media (max-width: 560px) {
  .split__photo--card .float {
    width: min(240px, 70%);
    margin-top: -60px;
  }
}
@media (max-width: 560px) {
  .split__photo::before {
    width: 40%;
    height: 110px;
  }
}

/* ---------- Local pages ---------- */
.zonebox {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg);
  box-shadow: var(--float);
}
.zonebox__title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.zonebox__chips span {
  animation: none;
}
.zonebox__chips .is-main {
  background: var(--accent);
  color: var(--on-accent);
}
.zonebox__note {
  font-size: 14px;
  color: var(--ink-3);
}
.france--zone {
  aspect-ratio: 132 / 110.9;
  border-radius: var(--r-md);
  background: var(--muted);
}
.france--zone path.is-near {
  fill: var(--line-strong);
  stroke: var(--bg);
}
.france--zone text {
  font-size: 4.6px;
  font-weight: 700;
  text-anchor: middle;
  fill: var(--ink);
  font-family: var(--font);
}
.rates {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.rates table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  font-size: 15.5px;
}
.rates thead th {
  padding: 12px 18px;
  background: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: left;
  text-transform: uppercase;
  color: var(--ink-3);
}
.rates tbody th,
.rates tbody td {
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  text-align: left;
  font-weight: 400;
}
.rates tbody th {
  font-weight: 600;
}
.rates tbody td:nth-child(2) {
  color: var(--ink-3);
}
.rates th:last-child,
.rates td:last-child {
  text-align: right;
  font-weight: 600;
  white-space: nowrap;
}
.rates__here {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(22px, 2.6vw, 32px);
  border-radius: var(--r-lg);
  background: var(--ink);
  color: var(--on-ink);
}
.rates__here .eyebrow {
  color: var(--on-ink-2);
}
.cities--wide {
  margin-top: 0;
}
@media (max-width: 900px) {
  .rates {
    grid-template-columns: minmax(0, 1fr);
  }
  .rates__here {
    position: static;
  }
  .rates tbody td:nth-child(2),
  .rates thead th:nth-child(2) {
    display: none;
  }
}

@media (min-width: 1081px) {
  .drawer {
    display: none;
  }
}

@media (max-width: 560px) {
  .header .wrap {
    gap: 10px;
  }
  .header__actions {
    gap: 8px;
  }
  .header__actions .btn--sm {
    padding: 0 13px;
  }
}

/* ---------- Reviews: one row of photo cards that slides on its own; the text lies in white over a shade rising from the foot ---------- */
.avis__rail {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.avis__track {
  display: flex;
  width: max-content;
  animation: avis-run var(--avis-time, 90s) linear infinite;
}
.avis__rail:hover .avis__track {
  animation-play-state: paused;
}
.avis__group {
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0 16px 0 0;
  list-style: none;
}
.avis__card {
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  flex: none;
  width: clamp(320px, 29vw, 384px);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: #14161a;
  color: #ffffff;
}
.avis__card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
  transition: transform 700ms ease-out;
}
.avis__card:hover img {
  transform: scale(1.04);
}
.avis__card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(to top, rgba(10, 11, 14, 1) 0%, rgba(10, 11, 14, 0.98) 36%, rgba(10, 11, 14, 0.9) 56%, rgba(10, 11, 14, 0.6) 74%, rgba(10, 11, 14, 0.28) 90%, rgba(10, 11, 14, 0.16) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
/* A review we wrote ourselves says so, on its card. */
.avis__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 10px;
  border-radius: var(--r-sm);
  background: #ffffff;
  color: #111317;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}
.avis__body {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 22px;
}
.avis__mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: var(--r-sm);
  background: var(--accent);
  color: var(--on-accent);
}
.avis__mark svg {
  width: 17px;
  height: 17px;
}
.avis__card blockquote {
  margin: 0;
  /* The text follows the width of its card, so it climbs to the same height on every screen. */
  font-size: 27px;
  font-size: 8.1cqw;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.26;
  text-wrap: pretty;
}
.avis__who {
  align-self: stretch;
  margin: 2px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}
.avis__who b,
.avis__who small {
  display: block;
}
.avis__who b {
  font-size: 17px;
}
.avis__who small {
  margin-top: 2px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}
@keyframes avis-run {
  to {
    transform: translateX(-50%);
  }
}
/* A touch screen, a phone, or motion unwanted: the row is swiped by hand, the next card shows at the edge. */
@media (hover: none), (max-width: 640px), (prefers-reduced-motion: reduce) {
  .avis__rail {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .avis__rail::-webkit-scrollbar {
    display: none;
  }
  .avis__track {
    padding-inline: var(--gutter);
    animation: none;
  }
  .avis__group {
    gap: 12px;
    padding-right: 0;
  }
  .avis__group[aria-hidden] {
    display: none;
  }
  .avis__card {
    width: min(86vw, 340px);
    scroll-snap-align: start;
  }
}
