@font-face { font-family: "Gloock"; src: url("fonts/gloock.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("fonts/hanken.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --navy: #1e3352;
  --navy-deep: #13223a;
  --canvas: #f2f3f1;
  --canvas-2: #e4e6e4;
  --wall: #c9ccd2;
  --strap: #e2662b;
  --accent: #bf4d17;
  --accent-press: #a8420f;
  --gold: #b49559;
  --gold-text: #7a5f2c;
  --ink: #1b2433;
  --muted: #4b5668;
  --line: rgba(30, 51, 82, .16);

  --stripe: 18px;              /* largeur d'un lé de toile = un feston */
  --festoon: 9px;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --gutter: clamp(20px, 5vw, 64px);
  --rope-x: clamp(14px, 2.6vw, 34px);
  --bar-h: 64px;
  --top-h: calc(var(--bar-h) + 22px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--canvas); }
body {
  margin: 0; background: var(--canvas); color: var(--ink);
  font: 400 17px/1.6 "Hanken Grotesk", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
::selection { background: var(--navy); color: var(--canvas); }
:focus-visible { outline: 2px solid var(--strap); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: "Gloock", Georgia, serif; font-weight: 400; color: var(--navy); margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.nowrap { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }

/* ---------- Le lambrequin : rayures de toile, bord festonné ---------- */
.valance {
  height: 22px;
  background: repeating-linear-gradient(90deg, var(--navy) 0 var(--stripe), var(--canvas) var(--stripe) calc(var(--stripe) * 2));
  /* bande droite en haut, demi-cercles qui pendent en bas : un feston par lé */
  -webkit-mask:
    linear-gradient(#000 0 0) top / 100% calc(100% - var(--festoon)) no-repeat,
    radial-gradient(circle calc(var(--festoon) + .5px) at 50% 0, #000 calc(var(--festoon) - .5px), transparent var(--festoon)) bottom / var(--stripe) var(--festoon) repeat-x;
          mask:
    linear-gradient(#000 0 0) top / 100% calc(100% - var(--festoon)) no-repeat,
    radial-gradient(circle calc(var(--festoon) + .5px) at 50% 0, #000 calc(var(--festoon) - .5px), transparent var(--festoon)) bottom / var(--stripe) var(--festoon) repeat-x;
  filter: drop-shadow(0 3px 2px rgba(19, 34, 58, .12));
}

.top {
  position: fixed; inset: 0 0 auto 0; z-index: 30;
  transition: transform .35s var(--ease-out);
}
.top .valance { position: relative; z-index: 2; }
.bar {
  height: var(--bar-h); margin-top: -10px; padding: 10px var(--gutter) 0;
  display: flex; align-items: center; gap: 28px;
  background: rgba(242, 243, 241, .9);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand-mark { width: 38px; height: 29px; }
.brand-name { white-space: nowrap; font-family: "Gloock", serif; font-size: 21px; text-transform: uppercase; letter-spacing: .04em; line-height: 1; }
.nav { display: flex; gap: 26px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; color: var(--muted); padding: 6px 0; position: relative; transition: color .2s ease; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out); }
.call {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; color: var(--navy);
  padding: 9px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--navy);
  transition: background-color .2s ease, color .2s ease, transform .16s var(--ease-out);
}
.call svg { width: 17px; height: 17px; fill: currentColor; }
.call:active { transform: scale(.97); }

/* ---------- Boutons ---------- */
.btn {
  appearance: none; border: 0; cursor: pointer; font: inherit; font-weight: 600; font-size: 16px;
  min-height: 52px; padding: 0 22px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: transform .16s var(--ease-out), background-color .2s ease, box-shadow .2s ease;
}
.btn:active { transform: scale(.97); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 6px 16px -8px rgba(191, 77, 23, .7); }
.btn-line { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }

/* ---------- Ouverture : la porte de la tente ---------- */
.door { height: 190vh; height: 190svh; position: relative; }
.door-stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  background: var(--navy-deep);
}
.door-photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%;
  transform: scale(1.12); transform-origin: 50% 55%; will-change: transform;
}
.door-stage::after { /* lisibilité du texte sur la photo */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(19, 34, 58, .35) 0%, rgba(19, 34, 58, 0) 30%, rgba(19, 34, 58, .15) 60%, rgba(19, 34, 58, .55) 100%);
}
.flap {
  position: absolute; top: 0; bottom: 0; width: 50.5%; z-index: 2;
  background:
    linear-gradient(90deg, rgba(0,0,0,.12), rgba(0,0,0,0) 12%, rgba(0,0,0,0) 88%, rgba(0,0,0,.18)),
    repeating-linear-gradient(90deg, var(--canvas) 0 46px, var(--navy) 46px 58px, var(--canvas) 58px 64px);
  will-change: transform;
}
.flap-left { left: 0; transform-origin: 0 50%; box-shadow: 18px 0 40px -18px rgba(0,0,0,.6); }
.flap-right { right: 0; transform-origin: 100% 50%; box-shadow: -18px 0 40px -18px rgba(0,0,0,.6); }

.welcome {
  position: absolute; z-index: 3; left: var(--gutter); top: calc(var(--top-h) + 5vh);
  width: min(600px, calc(100% - 2 * var(--gutter)));
  padding: clamp(26px, 4vw, 44px);
  background: var(--canvas); color: var(--ink); border-radius: 16px;
  box-shadow: 0 30px 60px -24px rgba(9, 18, 33, .65), 0 2px 0 rgba(255,255,255,.6) inset;
}
.welcome::before { /* le panneau est accroché sous un feston */
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 14px; border-radius: 16px 16px 0 0;
  background: repeating-linear-gradient(90deg, var(--navy) 0 var(--stripe), var(--canvas) var(--stripe) calc(var(--stripe) * 2));
  -webkit-mask: radial-gradient(circle 9.5px at 50% 0, #000 8.5px, transparent 9px) 0 0 / var(--stripe) 9px repeat-x, linear-gradient(#000 0 0) top / 100% 5px no-repeat;
          mask: radial-gradient(circle 9.5px at 50% 0, #000 8.5px, transparent 9px) 0 0 / var(--stripe) 9px repeat-x, linear-gradient(#000 0 0) top / 100% 5px no-repeat;
}
.welcome h1 { font-size: clamp(3rem, 7.4vw, 5.6rem); line-height: .95; letter-spacing: -.02em; margin-top: 6px; }
.lede { margin-top: 18px; font-size: clamp(16px, 1.4vw, 18px); color: var(--muted); max-width: 46ch; }
.quick { display: grid; grid-template-columns: 1.3fr .8fr auto; gap: 10px; margin-top: 24px; align-items: end; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--navy); }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; font-weight: 400; color: var(--ink);
  background: #fff; border: 0; border-radius: 10px; min-height: 52px; padding: 12px 14px;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .15s ease;
}
.field textarea { min-height: 112px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--navy); }
.field input::placeholder, .field textarea::placeholder { color: #687181; }
.field input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--accent); }
.or { margin-top: 14px; font-size: 15px; color: var(--muted); }
.or a { font-weight: 600; color: var(--navy); font-variant-numeric: tabular-nums; }

/* ---------- Le parcours, tenu par la corde ---------- */
.run { position: relative; background: var(--canvas); }
.rope { position: absolute; left: 0; top: 0; width: calc(var(--rope-x) * 2 + 12px); height: 100%; pointer-events: none; overflow: visible; }
.rope path { fill: none; stroke-linecap: round; }
.rope-a { stroke: var(--navy); stroke-width: 3; }
.rope-b { stroke: var(--canvas); stroke-width: 1.2; stroke-dasharray: 3 5; opacity: .75; } /* torsade */
.rope-knot { fill: var(--navy); stroke: var(--canvas); stroke-width: 2; }

.section { padding: clamp(84px, 11vw, 150px) var(--gutter) 0 calc(var(--gutter) + var(--rope-x)); max-width: 1320px; margin: 0 auto; position: relative; }
.head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 64px); }
.head h2, .maxime h2 { font-size: clamp(2.3rem, 4.8vw, 3.9rem); line-height: 1.02; letter-spacing: -.02em; }
.head p { margin-top: 16px; color: var(--muted); font-size: 18px; max-width: 52ch; }

/* Matériel */
.item {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center;
  padding: clamp(28px, 4vw, 48px) 0; border-top: 1px solid var(--line);
}
.item:nth-of-type(even) .item-photo { order: 2; }
.item-photo { margin: 0; aspect-ratio: 4 / 3; border-radius: 4px 4px 14px 14px; overflow: hidden; position: relative; background: var(--canvas-2); }
.item-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.canvas-edge::before { /* chaque photo pend sous un bout de lambrequin */
  content: ""; position: absolute; z-index: 1; left: 0; right: 0; top: 0; height: 18px;
  background: repeating-linear-gradient(90deg, var(--navy) 0 var(--stripe), var(--canvas) var(--stripe) calc(var(--stripe) * 2));
  -webkit-mask: linear-gradient(#000 0 0) top / 100% 9px no-repeat, radial-gradient(circle 9.5px at 50% 0, #000 8.5px, transparent 9px) bottom / var(--stripe) 9px repeat-x;
          mask: linear-gradient(#000 0 0) top / 100% 9px no-repeat, radial-gradient(circle 9.5px at 50% 0, #000 8.5px, transparent 9px) bottom / var(--stripe) 9px repeat-x;
}
.item-text h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.05; letter-spacing: -.015em; }
.item-text p { margin-top: 14px; color: var(--muted); max-width: 44ch; }

.pick {
  appearance: none; font: inherit; cursor: pointer; margin-top: 22px;
  display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 18px 0 14px;
  border: 0; border-radius: 999px; background: transparent; color: var(--navy); font-weight: 600; font-size: 15px;
  box-shadow: inset 0 0 0 1.5px var(--navy);
  transition: transform .16s var(--ease-out), background-color .25s var(--ease-out), color .25s var(--ease-out), box-shadow .25s ease;
}
.pick:active { transform: scale(.97); }
.pick-box { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; position: relative; flex: none; transition: background-color .25s ease; }
.pick-box::after { content: ""; position: absolute; left: 6.5px; top: 3.5px; width: 5px; height: 10px; border: solid var(--navy); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(.4); opacity: 0; transition: transform .25s var(--ease-out), opacity .2s ease; }
.pick[aria-pressed="true"] { background: var(--navy); color: var(--canvas); }
.pick[aria-pressed="true"] .pick-box { background: var(--canvas); box-shadow: none; }
.pick[aria-pressed="true"] .pick-box::after { opacity: 1; transform: rotate(45deg) scale(1); }

.extras { border-top: 1px solid var(--line); padding-top: clamp(28px, 4vw, 48px); }
.extras h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.extras-list { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pick-chip { margin-top: 0; font-weight: 500; }

/* Réception */
.album { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.shot { margin: 0; overflow: hidden; border-radius: 6px; background: var(--canvas-2); aspect-ratio: 4 / 3; }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot-wide { grid-column: 1 / -1; aspect-ratio: 16 / 8; border-radius: 4px 4px 14px 14px; position: relative; }

/* Fêtes */
.occasions-line { font-family: "Gloock", serif; color: var(--navy); font-size: clamp(1.9rem, 4.6vw, 3.6rem); line-height: 1.18; letter-spacing: -.015em; max-width: 22ch; }
.occasions-line span { white-space: nowrap; }
.occasions-line span:not(:last-child)::after { content: ""; display: inline-block; width: .26em; height: .26em; margin: 0 .3em .14em .34em; border-radius: 50%; background: var(--gold); }
.occasions-note { margin-top: 28px; color: var(--muted); max-width: 52ch; font-size: 18px; }

/* Déroulé */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.step { position: relative; padding-top: 28px; border-top: 2px solid var(--navy); }
.step-n { font-family: "Gloock", serif; font-size: 3.4rem; line-height: 1; color: var(--gold-text); display: block; margin-bottom: 14px; }
.step h3 { font-size: 1.6rem; line-height: 1.1; }
.step p { margin-top: 10px; color: var(--muted); }
.tip { margin-top: 36px; padding-left: 18px; position: relative; color: var(--ink); max-width: 60ch; }
.tip::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--navy); }

/* Maxime */
.maxime { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.maxime-photo { margin: 0; position: relative; overflow: hidden; border-radius: 4px 4px 14px 14px; aspect-ratio: 18 / 13; }
.maxime-photo img { width: 100%; height: 100%; object-fit: cover; }
.maxime-text p { margin-top: 18px; color: var(--muted); font-size: 18px; max-width: 46ch; }
.maxime-text p + p { color: var(--ink); font-weight: 500; }

/* Devis */
.devis { max-width: none; padding-left: 0; padding-right: 0; margin-top: clamp(84px, 11vw, 150px); padding-top: 0; background: var(--navy); color: var(--canvas); }
.valance-inline { height: 26px; background: repeating-linear-gradient(90deg, var(--canvas) 0 var(--stripe), var(--wall) var(--stripe) calc(var(--stripe) * 2)); }
.devis-inner { max-width: 1320px; margin: 0 auto; padding: clamp(56px, 8vw, 110px) var(--gutter) clamp(64px, 8vw, 110px) calc(var(--gutter) + var(--rope-x)); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 24px clamp(32px, 6vw, 96px); align-items: start; }
.devis .head { grid-column: 1; margin: 0; }
.devis .head h2 { color: var(--canvas); }
.devis .head p { color: #c3cbd8; }
.quote { grid-column: 2; grid-row: 1 / span 2; background: var(--canvas); color: var(--ink); border-radius: 16px; padding: clamp(22px, 3vw, 36px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.quote-picks { border: 0; padding: 0; margin: 0 0 22px; }
.quote-picks legend { font-size: 13px; font-weight: 600; color: var(--navy); padding: 0; margin-bottom: 10px; }
.chosen { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chosen li { display: inline-flex; align-items: center; gap: 4px; padding: 6px 6px 6px 14px; border-radius: 999px; background: var(--navy); color: var(--canvas); font-size: 14px; font-weight: 500; animation: chipIn .35s var(--ease-out); }
.chosen button { appearance: none; border: 0; background: transparent; color: inherit; cursor: pointer; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; }
.chosen button svg { width: 12px; height: 12px; stroke: currentColor; stroke-width: 2; }
@keyframes chipIn { from { opacity: 0; transform: translateY(4px) scale(.96); } }
.chosen-empty { color: var(--muted); font-size: 15px; }
.chosen:not(:empty) + .chosen-empty { display: none; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field-wide { grid-column: 1 / -1; }
.form-error { margin-top: 16px; color: var(--accent-press); font-weight: 600; font-size: 15px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.form-note { margin-top: 12px; font-size: 14px; color: var(--muted); }
.contacts { grid-column: 1; list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 2px; align-self: start; }
.contacts a { display: flex; flex-direction: column; text-decoration: none; padding: 14px 0; border-top: 1px solid rgba(242, 243, 241, .18); }
.contacts strong { font-family: "Gloock", serif; font-weight: 400; font-size: 1.5rem; color: var(--canvas); }
.contacts span { color: #c3cbd8; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

/* Ma demande */
.tally {
  position: fixed; z-index: 25; left: 50%; bottom: max(16px, env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 14px; text-decoration: none;
  padding: 8px 8px 8px 8px; border-radius: 999px; background: var(--navy); color: var(--canvas);
  box-shadow: 0 16px 34px -12px rgba(9, 18, 33, .7);
  transform: translate(-50%, 0); transition: transform .4s var(--ease-out), opacity .25s ease;
}
body.at-quote .tally, body.in-door .tally, .tally[hidden] { display: flex; opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-50%, 24px); transition: transform .3s var(--ease-out), opacity .2s ease, visibility 0s .3s; }
.tally-canvas { display: flex; height: 36px; border-radius: 999px; overflow: hidden; background: rgba(242, 243, 241, .12); padding: 0 6px; align-items: stretch; gap: 0; }
.tally-canvas i { width: 9px; background: var(--canvas); transform-origin: top; animation: tension .5s var(--ease-out); }
.tally-canvas i:nth-child(even) { background: var(--wall); }
@keyframes tension { from { transform: scaleY(0); } }
.tally-text { font-size: 15px; white-space: nowrap; }
.tally-text strong { font-variant-numeric: tabular-nums; }
.tally-go { background: var(--accent); color: #fff; font-weight: 600; font-size: 15px; padding: 9px 16px; border-radius: 999px; }

/* Pied */
.foot { background: var(--navy-deep); color: #aeb8c8; font-size: 14px; }
.foot-inner { max-width: 1320px; margin: 0 auto; padding: 48px var(--gutter) calc(48px + env(safe-area-inset-bottom)) calc(var(--gutter) + var(--rope-x)); display: grid; gap: 6px; }
.foot-brand { font-family: "Gloock", serif; color: var(--canvas); font-size: 24px; text-transform: uppercase; letter-spacing: .04em; display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px; margin-bottom: 8px; }
.foot-brand span { font-family: "Hanken Grotesk", sans-serif; text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--gold); }
.foot-small { margin-top: 10px; }

/* Survol, seulement à la souris */
@media (hover: hover) and (pointer: fine) {
  .nav a:hover { color: var(--navy); }
  .nav a:hover::after { transform: scaleX(1); }
  .call:hover { background: var(--navy); color: var(--canvas); }
  .btn-accent:hover { background: var(--accent-press); }
  .btn-line:hover { background: rgba(30, 51, 82, .06); }
  .pick:not([aria-pressed="true"]):hover { background: rgba(30, 51, 82, .06); }
  .item:hover .item-photo img { transform: scale(1.03); }
  .contacts a:hover strong { text-decoration: underline; text-underline-offset: .15em; }
}

/* ---------- Téléphone ---------- */
@media (max-width: 860px) {
  :root { --bar-h: 58px; --stripe: 14px; --festoon: 7px; }
  .nav { display: none; }
  .call { margin-left: auto; width: 44px; height: 44px; padding: 0; justify-content: center; }
  .call span { display: none; }
  .brand-name { font-size: 18px; }
  .brand-mark { width: 32px; height: 24px; }
  .door-photo { top: calc(var(--top-h) - 12px); height: 52%; object-position: 50% 50%; }
  .door-stage::after { background: linear-gradient(180deg, rgba(19,34,58,.25), rgba(19,34,58,0) 30%); }
  .welcome h1 br { display: none; }
  .welcome { top: auto; bottom: max(14px, env(safe-area-inset-bottom)); padding: 26px 22px 22px; }
  .welcome h1 { font-size: clamp(2.3rem, 10.5vw, 3.2rem); line-height: 1; }
  .lede { font-size: 15px; line-height: 1.5; margin-top: 10px; }
  .quick { margin-top: 16px; }
  .or { margin-top: 10px; font-size: 14px; }
  .quick { grid-template-columns: 1fr 1fr; }
  .quick .btn { grid-column: 1 / -1; }
  .item { grid-template-columns: 1fr; gap: 22px; }
  .item:nth-of-type(even) .item-photo { order: 0; }
  .album { grid-template-columns: 1fr 1fr; gap: 8px; }
  .shot-wide { aspect-ratio: 4 / 3; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .maxime { grid-template-columns: 1fr; }
  .devis-inner { grid-template-columns: 1fr; }
  .quote, .contacts, .devis .head { grid-column: 1; grid-row: auto; }
  .grid { grid-template-columns: 1fr; }
  .actions .btn { flex: 1 1 100%; }
  .tally-text { font-size: 14px; }
}
@media (max-width: 600px) {
  :root { --rope-x: 12px; }
  .section { padding-left: calc(var(--gutter) + 26px); padding-right: calc(var(--gutter) + 6px); }
  .devis-inner, .foot-inner { padding-left: calc(var(--gutter) + 26px); }
}
@media (max-width: 380px) {
  .tally-text span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
