/* Jenko — home, prototype v13 over home-v12.css (owner, 2026-09-27, on v12): « on the phone the last two screens are badly
   built — useless empty space, the form not plainly a form »; « on the computer, the form and the number: no clear form,
   much information at once, a big number beside the form — gaudy ». The request block rebuilt around one thing, the form:
   - the form is a card of its own — the title, one line of what happens, the two fields, the button, and under a hairline
     the number as the other way in, at the text's size (no longer the page's biggest figure);
   - the four steps come after it in their short words (the facts of jenko.fr, fewer words);
   - on the phone: title, card, steps — one screen, no hole; the number waits in the footer (« Questions? Call us »);
   - on laptops and monitors: the building on the left, the card and the steps on the right, their lines on its lines.
   Two grounds for the card, as ?fin=a|b (the html's data-v-fin13):
   A — the request stays the graphite panel (the v11 choice), the card is the page's warm paper inside it;
   B — the request stands on the warm ground like the other blocks, and the card itself is the graphite panel. */

/* the dark values before any block re-maps them (custom properties inherit the root's computed colour) */
:root { --g-dark: var(--graphite); --g-dark-2: var(--graphite-2); --g-on: var(--on-graphite); --g-on-2: var(--on-graphite-2); }

/* ——— 1. Parts, every device ——— */
html[data-v-fin13] .s5-fin13 .fin13 { grid-column: 1 / -1; min-width: 0; }
.s5-fin13 .fin13__ph { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--graphite-2); min-height: 0; }
.s5-fin13 .fin13__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.s5-fin13 .fin13__ph figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--s-6) var(--s-4) var(--s-3);
  background: linear-gradient(transparent, rgb(var(--shade) / 0.8)); color: var(--on-photo); font-size: var(--t-small); line-height: var(--lh-small); }

/* the card: one surface, one column of parts; rectangles inside it (the site's controls), a small radius on the card */
.s5-fin13 .fin13__card { display: grid; gap: var(--s-4); align-content: start; min-width: 0; padding: var(--s-5); border-radius: 6px; }
.s5-fin13 .fin13__intro { margin: 0; max-width: none; font-size: var(--t-body); line-height: var(--lh-body); text-wrap: pretty; }
html[data-v-fin13] .s5-fin13 .fin13__form { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-3); margin: 0; }
html[data-v-fin13] .s5-fin13 .fin13__form .field { display: grid; gap: var(--s-1); min-width: 0; }
html[data-v-fin13] .s5-fin13 .fin13__form .field label { font-size: var(--t-small); line-height: var(--lh-small); font-weight: 560; }
html[data-v-fin13] .s5-fin13 .fin13__form .field input { min-height: 52px; margin: 0; padding: 0 var(--s-3); border: 1px solid; border-radius: 0;
  font-size: var(--t-body); outline: none; transition: border-color var(--dur-s), box-shadow var(--dur-s); }
html[data-v-fin13] .s5-fin13 .fin13__form .field input:focus-visible { padding-bottom: 0; border-bottom-width: 1px; }
html[data-v-fin13] .s5-fin13 .fin13__form .field__err { min-height: 0; font-size: var(--t-small); line-height: var(--lh-small); font-weight: 560; }
html[data-v-fin13] .s5-fin13 .fin13__form .field__err:empty { display: none; }
html[data-v-fin13] .s5-fin13 .fin13__form .btn { grid-column: 1 / -1; justify-self: stretch; justify-content: space-between; margin: 0; }
.s5-fin13 .fin13__form .fin__done:empty { position: absolute; }
/* the other way in: the number at the text's size, the hours beside it */
.s5-fin13 .fin13__call { margin: 0; max-width: none; display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-1) var(--s-3);
  padding-top: var(--s-3); border-top: 1px solid; font-size: var(--t-small); line-height: var(--lh-small); }
.s5-fin13 .fin13__call a { font-size: var(--t-body); font-weight: 560; letter-spacing: 0.01em; font-variant-numeric: tabular-nums; text-decoration: none;
  min-height: 44px; display: inline-flex; align-items: center; margin-block: -12px; }
.s5-fin13 .fin13__call a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* the steps in their short words, the number on the name's line */
html[data-v-fin13] .s5-fin13 .fin5__steps { display: grid; gap: var(--s-2); align-content: start; min-width: 0; }
html[data-v-fin13] .s5-fin13 .fin5__steps h3 { margin: 0; font-size: var(--t-small); line-height: var(--lh-small); font-weight: 600; letter-spacing: 0.01em; }
html[data-v-fin13] .s5-fin13 .fin5__steps ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gutter); }
html[data-v-fin13] .s5-fin13 .fin5__steps li { display: block; padding-block: var(--s-2) var(--s-3); }
html[data-v-fin13] .s5-fin13 .fin5__steps li::before { display: inline-block; min-width: 1.6em; }
html[data-v-fin13] .s5-fin13 .fin5__steps b { display: inline; font-size: var(--t-body); line-height: var(--lh-body); font-weight: 520; }
html[data-v-fin13] .s5-fin13 .fin5__steps span { display: none; }
html[data-v-fin13] .s5-fin13 .fin5__steps-s { display: block; margin-top: var(--s-1); font-style: normal; font-size: var(--t-small); line-height: var(--lh-small); }

/* ——— 2. A — the card is the warm paper inside the graphite panel ——— */
html[data-v-fin13="a"] .s5-fin13 .fin13__card { background: var(--paper); color: var(--ink); --on-graphite: var(--ink); --on-graphite-2: var(--ink-2); --err-on-dark: #8c1c0c; }
html[data-v-fin13="a"] .s5-fin13 .fin13__form .field label { color: var(--ink-2); }
html[data-v-fin13="a"] .s5-fin13 .fin13__form .field input { background: var(--paper-hi); color: var(--ink); caret-color: var(--ink); border-color: var(--rule-strong); }
html[data-v-fin13="a"] .s5-fin13 .fin13__form .field input:hover { border-color: var(--ink-2); }
html[data-v-fin13="a"] .s5-fin13 .fin13__form .field input:focus-visible { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
html[data-v-fin13="a"] .s5-fin13 .fin13__form .field input[aria-invalid="true"] { border-color: #8c1c0c; box-shadow: 0 0 0 1px #8c1c0c; }
html[data-v-fin13="a"] .s5-fin13 .fin13__form .field__err { color: #8c1c0c; }
html[data-v-fin13="a"] .s5-fin13 .fin13__card :focus-visible { outline-color: var(--ink); }
html[data-v-fin13="a"] .s5-fin13 .fin13__call { border-top-color: var(--rule); color: var(--ink-2); }
html[data-v-fin13="a"] .s5-fin13 .fin13__call a { color: var(--ink); }
html[data-v-fin13="a"] .s5-fin13 .fin__done { color: var(--ink); }

/* ——— 3. B — the request on the warm ground like every block; the card is the graphite ——— */
html[data-v-fin13="b"] .s5-fin13 { --graphite: var(--paper); --graphite-2: var(--stone); --on-graphite: var(--ink); --on-graphite-2: var(--ink-2); --err-on-dark: #8c1c0c; color: var(--ink); }
html[data-v-fin13="b"][data-v-ground] main[data-screens] .s5-fin13 .s5__in { background: none; border-radius: 0; }
html[data-v-fin13="b"][data-v-ground] main[data-screens] .s5-fin13 .s5__head { border-top: 1px solid var(--rule-strong); padding-top: var(--s-3); }
html[data-v-fin13="b"] .s5-fin13 .s5__title { color: var(--ink); }
html[data-v-fin13="b"] .s5-fin13 .fin13__card { background: var(--g-dark); color: var(--g-on); --on-graphite: var(--g-on); --on-graphite-2: var(--g-on-2); }
html[data-v-fin13="b"] .s5-fin13 .fin13__form .field label { color: var(--g-on-2); }
html[data-v-fin13="b"] .s5-fin13 .fin13__form .field input { background: color-mix(in srgb, var(--g-on) 8%, transparent); color: var(--g-on); caret-color: var(--g-on);
  border-color: color-mix(in srgb, var(--g-on) 38%, transparent); }
html[data-v-fin13="b"] .s5-fin13 .fin13__form .field input:hover { border-color: color-mix(in srgb, var(--g-on) 60%, transparent); }
html[data-v-fin13="b"] .s5-fin13 .fin13__form .field input:focus-visible { border-color: var(--g-on); box-shadow: 0 0 0 1px var(--g-on); }
html[data-v-fin13="b"] .s5-fin13 .fin13__form .field input[aria-invalid="true"] { border-color: #ffb4a2; box-shadow: 0 0 0 1px #ffb4a2; }
html[data-v-fin13="b"] .s5-fin13 .fin13__form .field__err { color: #ffb4a2; }
html[data-v-fin13="b"] .s5-fin13 .fin13__card :focus-visible { outline-color: var(--jaune); }
html[data-v-fin13="b"] .s5-fin13 .fin13__call { border-top-color: color-mix(in srgb, var(--g-on) 20%, transparent); color: var(--g-on-2); }
html[data-v-fin13="b"] .s5-fin13 .fin13__call a { color: var(--g-on); }
html[data-v-fin13="b"] .s5-fin13 .fin__done { color: var(--g-on); }
/* the footer follows on the same ground: its hairline comes back */
html[data-v-fin13="b"][data-v-ground="panel"] main[data-screens] + .footer .footer__grid { border-top: 1px solid var(--rule-strong); }

/* ——— 4. Phones: title, card, steps — one screen with no hole (the block may grow when the messages come after sending);
   no building (its address is in the footer), no number in the card (the footer opens with it) ——— */
@media (max-width: 600px) {
  html[data-v-fin13] main[data-screens] .s5-fin13 { height: auto; min-height: calc(var(--n, 1) * var(--screen)); display: flex; flex-direction: column; }
  html[data-v-fin13] main[data-screens] .s5-fin13 .s5__in { flex: 1 0 auto; display: flex; flex-direction: column; }
  html[data-v-fin13] .s5-fin13 .fin13 { flex: 1 0 auto; display: flex; flex-direction: column; gap: var(--s-5); padding-top: var(--s-4); }
  .s5-fin13 .fin13__ph, .s5-fin13 .fin13__call { display: none; }
  .s5-fin13 .fin13__card { padding: var(--s-4); gap: var(--s-3); }
  html[data-v-fin13] .s5-fin13 .fin13__form .field input { min-height: 48px; }
  html[data-v-fin13] .s5-fin13 .fin5__steps { margin-top: auto; }
  html[data-v-fin13] .s5-fin13 .fin5__steps li { padding-block: var(--s-2); }
  html[data-v-fin13] .s5-fin13 .fin5__steps b { line-height: var(--lh-sub); }
  html[data-v-fin13] .s5-fin13 .fin5__steps li { line-height: var(--lh-sub); }
  /* the card's one line of what happens, in the small role: two lines under the title's weight, not three */
  .s5-fin13 .fin13__intro { font-size: var(--t-small); line-height: var(--lh-small); }
  /* the title and the card: the block's own gap between a head and its content, nothing added */
  html[data-v-fin13] .s5-fin13 .fin13 { padding-top: 0; }
}

/* ——— 5. Tablets and wider: the building on the left takes the height; on the right the card, then the steps at the
   building's foot — the free height stands between them ——— */
@media (min-width: 601px) {
  html[data-v-fin13] .s5-fin13 .fin13 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter);
    grid-template-rows: auto minmax(0, 1fr); row-gap: var(--s-5); padding-top: var(--s-4); }
  .s5-fin13 .fin13__ph { grid-column: 1 / span 5; grid-row: 1 / -1; }
  .s5-fin13 .fin13__card { grid-column: 6 / -1; grid-row: 1; }
  html[data-v-fin13] .s5-fin13 .fin5__steps { grid-column: 6 / -1; grid-row: 2; align-self: end; }
}
/* laptops and monitors: the two fields side by side, one line kept under them for a message, the button across; the four
   steps in one row */
@media (min-width: 901px) and (min-aspect-ratio: 1/1) {
  html[data-v-fin13] .s5-fin13 .fin13__form { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-4); row-gap: var(--s-2); }
  html[data-v-fin13] .s5-fin13 .fin13__form .field .field__err, html[data-v-fin13] .s5-fin13 .fin13__form .field .field__err:empty { display: block; min-height: calc(var(--lh-small) * 1em); }
  html[data-v-fin13] .s5-fin13 .fin5__steps ol { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--s-4); }
}
/* tablets: the building narrower, the card wider — the two fields side by side, its line of what happens in the small role */
@media (min-width: 601px) and (max-aspect-ratio: 1/1), (min-width: 601px) and (max-width: 900px) {
  .s5-fin13 .fin13__ph { grid-column: 1 / span 4; }
  .s5-fin13 .fin13__card, html[data-v-fin13] .s5-fin13 .fin5__steps { grid-column: 5 / -1; }
  .s5-fin13 .fin13__card { padding: var(--s-4); }
  .s5-fin13 .fin13__intro { font-size: var(--t-small); line-height: var(--lh-small); }
  html[data-v-fin13] .s5-fin13 .fin13__form { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-3); }
}
/* low laptop windows (the browser under a bar: 1280×689, 1366×657, 1024×768): the card and the steps a step tighter, so the
   request and the footer stay one window */
@media (min-width: 901px) and (min-aspect-ratio: 1/1) and (max-height: 780px) {
  .s5-fin13 .fin13__card { padding: var(--s-4); gap: var(--s-3); }
  .s5-fin13 .fin13__call { padding-top: var(--s-2); }
  html[data-v-fin13] .s5-fin13 .fin5__steps { gap: var(--s-1); }
  html[data-v-fin13] .s5-fin13 .fin5__steps li { padding-block: var(--s-1) var(--s-2); }
  html[data-v-fin13] .s5-fin13 .fin13 { row-gap: var(--s-4); padding-top: var(--s-2); }
  html[data-v-fin13="b"][data-v-ground] main[data-screens] .s5-fin13 .s5__head { padding-top: var(--s-2); }
}

/* ——— 6. Owner, 2026-09-27: B chosen. Phones — the steps come right under the card (no free height above them), and the
   call moves up from the footer into the request, after the steps: the question, the number, the hours and the address
   (the company line goes). The request keeps its own length, the footer starts with the logo: the last two screens hold
   no empty band ——— */
.s5-fin13 .fin13__callout { display: none; }
@media (max-width: 600px) {
  html[data-v-fin13] main[data-screens] .s5-fin13, html[data-v-fin13] main[data-screens] .s5-fin13.is-with-foot { height: auto; min-height: 0; }
  html[data-v-fin13] .s5-fin13 .fin5__steps { margin-top: 0; }
  /* one step between the card, the steps and the call: they read as one request */
  html[data-v-fin13] .s5-fin13 .fin13 { gap: var(--s-4); }
  .s5-fin13 .fin13__callout { display: grid; gap: var(--s-1); justify-items: start; }
  .s5-fin13 .fin13__callout .footer__call-info { max-width: none; }
  html[data-v-fin13] main[data-screens] + .footer .footer__call { display: none; }
  /* without the call the footer opens with the logo, as on the other devices */
  html[data-v-fin13] main[data-screens] + .footer .footer__brand { grid-row: 1; }
}
