/* =====================================================
   PAGE APPLICATION DE CAISSE : zBilling.net POS
   Motif : le terminal de paiement et son ticket thermique.
   ===================================================== */

:root {
  --pos-forest: #005f2e;
  --pos-forest-deep: #003a1c;
  --pos-leaf: #59ae34;
  --pos-ink: #0f2f22;
  --pos-muted: #4d5f55;
  --pos-mist: #f1f6f2;
  --pos-paper: #fbfaf6;
  --pos-amber: #b8730c;
  --pos-amber-dark: #8a5406;
  --pos-graphite: #232826;
  --pos-mono: 'IBM Plex Mono', ui-monospace, 'Courier New', monospace;
}

.pos-wrap {
  width: 92%;
  max-width: 1160px;
  margin: 0 auto;
}

.pos-hero li,
.pos-paths li,
.pos-section li,
.pos-bottom li { margin-left: 0; }
.pos-paths ul,
.pos-section ul,
.pos-section ol,
.pos-bottom ul { padding-left: 0; }

/* ---------- Boutons ---------- */

.pos-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 56px;
  padding: .9rem 1.6rem;
  border-radius: 14px;
  background: var(--pos-forest);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  transition: background-color .2s, transform .2s;
}
.pos-download i { font-size: 1.35rem; }
.pos-download:hover { background: var(--pos-forest-deep); }
.pos-download:active { transform: translateY(1px); }
.pos-download:focus-visible,
.pos-btn-secondary:focus-visible,
.pos-section a:focus-visible,
.pos-bottom a:focus-visible,
.pos-faq-item summary:focus-visible,
.pos-sha summary:focus-visible,
.pos-previous summary:focus-visible {
  outline: 3px solid var(--pos-leaf);
  outline-offset: 3px;
}

.pos-hero .pos-download,
.pos-download--light {
  background: #fff;
  color: var(--pos-forest);
}
.pos-hero .pos-download:hover,
.pos-download--light:hover { background: #e6f3e9; }

.pos-download.is-disabled {
  background: rgba(255,255,255,.14);
  color: rgba(255,255,255,.85);
  cursor: default;
}

.pos-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-top: 2rem;
  padding: .8rem 1.3rem;
  border: 2px solid var(--pos-forest);
  border-radius: 12px;
  color: var(--pos-forest);
  font-weight: 600;
  text-decoration: none;
}
.pos-btn-secondary:hover { background: var(--pos-mist); }

/* ---------- 1. En-tête ---------- */

.pos-hero {
  padding: 120px 0 0;
  background:
    radial-gradient(60% 70% at 78% 60%, rgba(89,174,52,.38), transparent 70%),
    linear-gradient(115deg, var(--pos-forest-deep) 0%, var(--pos-forest) 100%);
  color: #fff;
  overflow: hidden;
}

.pos-hero-grid {
  display: grid;
  gap: 3rem;
  align-items: end;
}

.pos-hero-copy { padding-bottom: 4.5rem; }

.pos-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: #a6e08b;
}
.pos-hero-kicker i { font-size: 1.3rem; }

.pos-hero h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.9rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -.02em;
  max-width: 12ch;
  margin-bottom: 1.25rem;
}

.pos-hero-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.6;
  max-width: 34rem;
  color: rgba(255,255,255,.88);
  margin-bottom: 2.25rem;
}

.pos-hero-get {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.pos-hero-cta { display: flex; flex-direction: column; align-items: flex-start; }

.pos-hero-meta {
  margin-top: .7rem;
  font-size: .88rem;
  color: rgba(255,255,255,.75);
}

.pos-sha { margin-top: .35rem; font-size: .8rem; color: rgba(255,255,255,.7); max-width: 22rem; }
.pos-sha summary { cursor: pointer; }
.pos-sha code {
  display: block;
  margin-top: .35rem;
  font-family: var(--pos-mono);
  font-size: .72rem;
  word-break: break-all;
  color: rgba(255,255,255,.85);
}

/* Code QR : ordinateur uniquement */
.pos-qr { display: none; }
@media (min-width: 900px) and (hover: hover) {
  .pos-qr {
    display: flex;
    align-items: center;
    gap: .9rem;
    max-width: 21rem;
    padding: .6rem 1rem .6rem .6rem;
    border-radius: 14px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.16);
  }
  .pos-qr[hidden] { display: none; }
}
.pos-qr-code {
  flex: 0 0 92px;
  width: 92px;
  height: 92px;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.pos-qr-code svg { display: block; width: 100%; height: 100%; }
.pos-qr p { font-size: .82rem; line-height: 1.45; color: rgba(255,255,255,.85); }

/* Terminal + ticket qui sort de l'imprimante */
.pos-hero-visual {
  display: flex;
  justify-content: center;
}

.pos-terminal {
  position: relative;
  width: min(300px, 78vw);
  margin-top: 190px;
}

.pos-terminal::before { /* corps du terminal */
  content: "";
  position: absolute;
  inset: 0 0 -40px;
  z-index: 1;
  border-radius: 34px 34px 0 0;
  background: linear-gradient(180deg, #2c322f, var(--pos-graphite));
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.07), 0 30px 60px rgba(0,0,0,.35);
}

.pos-terminal-slot {
  position: relative;
  z-index: 3;
  height: 12px;
  margin: 18px 13% 0;
  border-radius: 6px;
  background: #0d0f0e;
}

.pos-terminal-screen {
  position: relative;
  z-index: 2;
  margin: 22px 14px 0;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  background: #fff;
}
.pos-terminal-screen img { display: block; width: 100%; height: auto; }

.pos-receipt {
  position: absolute;
  z-index: 0;
  left: 16%;
  right: 16%;
  bottom: calc(100% - 30px);
  height: 230px;
  overflow: hidden;
}

.pos-receipt-paper {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding: 1.1rem .85rem 1.6rem;
  background: var(--pos-paper);
  color: #1d2a23;
  font-family: var(--pos-mono);
  font-size: .72rem;
  line-height: 1.35;
  box-shadow: 0 0 18px rgba(0,0,0,.2);
  /* bord supérieur déchiré */
  -webkit-mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / 12px 7px repeat-x,
                linear-gradient(#000 0 0) 0 6px / 100% calc(100% - 6px) no-repeat;
          mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / 12px 7px repeat-x,
                linear-gradient(#000 0 0) 0 6px / 100% calc(100% - 6px) no-repeat;
  animation: pos-print 2.2s cubic-bezier(.3,.7,.3,1) .5s both;
}
.pos-receipt-paper span { display: flex; justify-content: space-between; gap: .5rem; }
.pos-receipt-paper b { font-weight: 500; }
.pos-receipt-paper .c { justify-content: center; font-weight: 600; }
.pos-receipt-paper .c:last-child { font-weight: 500; margin-top: .3rem; }
.pos-receipt-paper .rule { border-top: 1px dashed #9aa59f; margin: .2rem 0; }
.pos-receipt-paper .total b { font-weight: 600; }

@keyframes pos-print {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

@media (min-width: 900px) {
  .pos-hero { padding-top: 140px; }
  .pos-hero-grid { grid-template-columns: 1.15fr .85fr; }
  .pos-terminal { margin-top: 210px; }
}

/* ---------- Sections communes ---------- */

.pos-section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  background: #fff;
  color: var(--pos-ink);
}
.pos-section--mist { background: var(--pos-mist); }

.pos-head { max-width: 46rem; margin-bottom: 3rem; }
.pos-head h2,
.pos-updates-copy h2,
.pos-bottom h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.01em;
  margin-bottom: .9rem;
}
.pos-head p,
.pos-updates-copy p { font-size: 1.06rem; color: var(--pos-muted); line-height: 1.65; }

.pos-section h4,
.pos-section h3 { color: var(--pos-ink); }
.pos-section p { color: var(--pos-muted); }

.pos-screen {
  margin: 0;
  padding: 7px;
  border-radius: 22px;
  background: var(--pos-graphite);
  box-shadow: 0 14px 30px rgba(15,47,34,.16);
}
.pos-screen img { display: block; width: 100%; height: auto; border-radius: 15px; }

/* ---------- Deux chemins ---------- */

.pos-paths {
  padding: 2.5rem 0;
  background: #fff;
  border-bottom: 1px solid #e3ece6;
}
.pos-paths-grid { display: grid; gap: 1.25rem; }
@media (min-width: 900px) {
  .pos-paths-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}
.pos-path {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.6rem 1.7rem;
  border-radius: 18px;
  border: 1px solid #dde8e0;
  color: var(--pos-ink);
}
.pos-path h2 {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: .45rem;
}
.pos-path h2 i { color: var(--pos-leaf); }
.pos-path > p { color: var(--pos-muted); margin-bottom: .9rem; }
.pos-path ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.3rem;
  margin-bottom: 1.3rem;
}
.pos-path ul a { color: var(--pos-forest); font-weight: 600; font-size: .95rem; }
.pos-path a:focus-visible { outline: 3px solid var(--pos-leaf); outline-offset: 3px; }
.pos-path-cta,
.pos-path .pos-download { margin-top: auto; }
.pos-path-cta {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: .8rem 1.4rem;
  border-radius: 14px;
  border: 2px solid var(--pos-forest);
  color: var(--pos-forest);
  font-weight: 700;
  text-decoration: none;
}
.pos-path-cta:hover { background: var(--pos-mist); }
.pos-path .pos-download.is-disabled { background: var(--pos-mist); color: var(--pos-muted); }

/* ---------- Vente sans réseau ---------- */

.pos-offline-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) {
  .pos-offline-grid { grid-template-columns: 1.35fr .65fr; gap: 4rem; }
}
.pos-offline h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -.015em;
  margin-bottom: 1rem;
  max-width: 16ch;
}
.pos-section .pos-offline-lead { font-size: 1.1rem; line-height: 1.65; max-width: 36rem; margin-bottom: 2.2rem; color: var(--pos-ink); }

.pos-offline-steps { list-style: none; display: grid; gap: 1rem; margin-bottom: 2.2rem; }
.pos-offline-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 13.5rem 1fr;
  gap: 1.2rem;
  align-items: center;
}
.pos-offline-steps li:not(:last-child)::after { /* liaison entre les états */
  content: "";
  position: absolute;
  left: 1.4rem;
  top: 100%;
  height: 1rem;
  border-left: 2px dashed #b9cbbf;
}
.pos-offline-steps p { line-height: 1.55; }

.pos-pill {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .95rem;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 700;
  white-space: nowrap;
}
.pos-pill--amber { background: var(--pos-amber-dark); color: #fff; }
.pos-pill--outline { background: #fff; color: var(--pos-amber-dark); border: 2px solid var(--pos-amber); }
.pos-pill--green { background: var(--pos-forest); color: #fff; }

.pos-offline-limits h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
.pos-offline-limits ul { list-style: none; display: grid; gap: .35rem; margin-bottom: 1.4rem; }
.pos-offline-limits li { position: relative; padding-left: 1.1rem; color: var(--pos-muted); line-height: 1.55; }
.pos-offline-limits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: .4rem;
  height: .4rem;
  border-radius: 50%;
  background: var(--pos-leaf);
}

.pos-warning {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  padding: 1.1rem 1.3rem;
  border-radius: 14px;
  background: #fdf1dc;
  border-left: 5px solid var(--pos-amber);
  max-width: 40rem;
}
.pos-warning i { color: var(--pos-amber-dark); font-size: 1.2rem; margin-top: .2rem; }
.pos-section .pos-warning p { color: #4d3a17; line-height: 1.6; }
.pos-warning strong { color: #3a2a0c; }

.pos-offline-visual { display: flex; justify-content: center; }
.pos-offline-visual .pos-screen { width: min(270px, 70vw); }

@media (max-width: 560px) {
  .pos-offline-steps li { grid-template-columns: 1fr; gap: .45rem; }
  .pos-offline-steps li:not(:last-child)::after { display: none; }
}

/* ---------- 2. Fonctionnalités ---------- */

.pos-group-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 1.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--pos-mist);
}
.pos-group-title:not(:first-of-type) { margin-top: 4rem; }

/* Une vente en 4 temps : séquence réelle, donc numérotée */
.pos-flow {
  list-style: none;
  counter-reset: flow;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(68vw, 250px);
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 4vw;
  padding: .5rem 4vw 1.5rem;
  margin: 0 -4vw;
}
.pos-flow li { counter-increment: flow; scroll-snap-align: start; }
.pos-flow h4 {
  display: flex;
  align-items: baseline;
  gap: .55rem;
  margin: 1.25rem 0 .4rem;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.3;
}
.pos-flow h4::before {
  content: counter(flow);
  flex: 0 0 1.7rem;
  height: 1.7rem;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--pos-forest);
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  transform: translateY(-.1rem);
}
.pos-flow p { font-size: .95rem; line-height: 1.6; }

@media (min-width: 1000px) {
  .pos-flow {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, 1fr);
    overflow: visible;
    padding: .5rem 0 0;
    margin: 0;
  }
}

/* Captures + texte, par paires */
.pos-pairs {
  display: grid;
  gap: 2rem 3rem;
}
.pos-pair {
  display: grid;
  grid-template-columns: minmax(110px, 38%) 1fr;
  gap: 1.4rem;
  align-items: center;
}
.pos-pair h4 { font-size: 1.12rem; font-weight: 700; margin-bottom: .45rem; line-height: 1.3; }
.pos-pair p { font-size: .97rem; line-height: 1.6; }
@media (min-width: 900px) {
  .pos-pairs { grid-template-columns: 1fr 1fr; }
}
/* Trois captures côte à côte, texte dessous ; la capture plus haute (320×616) est réduite pour aligner les titres */
@media (min-width: 1000px) {
  .pos-pairs--trio { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .pos-pairs--trio .pos-pair { grid-template-columns: 1fr; align-content: start; align-items: start; }
  .pos-pairs--trio .pos-screen { width: 240px; max-width: 100%; }
  .pos-pairs--trio .pos-pair--tall .pos-screen { width: 198px; }
}

.pos-extra {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  margin-top: 2rem;
  padding: 1.3rem 1.5rem;
  border-radius: 16px;
  background: var(--pos-mist);
}
.pos-extra i { font-size: 1.5rem; color: var(--pos-forest); margin-top: .2rem; }
.pos-extra h4 { font-size: 1.08rem; font-weight: 700; margin-bottom: .25rem; }

.pos-sync {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 2px solid var(--pos-mist);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 700;
  line-height: 1.45;
}
.pos-section .pos-sync { color: var(--pos-forest); }
.pos-sync i { margin-top: .35rem; color: var(--pos-leaf); }
.pos-sync span { max-width: 44rem; }

/* ---------- 3. Terminaux ---------- */

.pos-devices {
  list-style: none;
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 800px) {
  .pos-devices { grid-template-columns: repeat(3, 1fr); }
}

.pos-device {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.5rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #dde8e0;
}
.pos-device h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.3; margin-bottom: .35rem; }
.pos-device p { font-size: .95rem; line-height: 1.55; margin-bottom: 1.1rem; }

.pos-device-art {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  width: 100%;
  height: 180px;
  margin-bottom: 1.25rem;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.pos-device-art img { display: block; width: auto; max-height: 160px; height: auto; }
.pos-device-art--other { font-size: 2.4rem; color: var(--pos-forest); background: var(--pos-mist); }

.pos-status {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .3rem .75rem;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--pos-forest);
  border: 1.5px solid var(--pos-forest);
}
.pos-status--ok { background: var(--pos-forest); color: #fff; }
.pos-status--check { color: var(--pos-amber-dark); border-color: var(--pos-amber); background: #fdf6e8; }

.pos-devices-note { margin-top: 1.5rem; font-size: 1rem; }
.pos-devices-note a { color: var(--pos-forest); font-weight: 700; }

.pos-needs {
  margin-top: 3rem;
  max-width: 46rem;
}
.pos-needs h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 1rem; }
.pos-needs ul { list-style: none; display: grid; gap: .85rem; }
.pos-needs li { display: flex; gap: .9rem; align-items: flex-start; color: var(--pos-muted); }
.pos-needs i {
  flex: 0 0 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #fff;
  color: var(--pos-forest);
}
.pos-needs span { padding-top: .2rem; }

/* ---------- 4. Installation ---------- */

.pos-steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 0 3rem;
}
@media (min-width: 900px) {
  .pos-steps { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, auto); grid-auto-flow: column; }
}
.pos-steps li {
  counter-increment: step;
  position: relative;
  display: flex;
  gap: 1.1rem;
  padding-bottom: 2rem;
}
.pos-steps li::after { /* fil entre les étapes */
  content: "";
  position: absolute;
  left: 1.5rem;
  top: 3.3rem;
  bottom: .3rem;
  width: 2px;
  background: #d6e5da;
}
.pos-steps li:last-child::after { display: none; }
@media (min-width: 900px) {
  .pos-steps li:nth-child(3)::after { display: none; }
}

.pos-step-icon {
  position: relative;
  flex: 0 0 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--pos-mist);
  color: var(--pos-forest);
  font-size: 1.15rem;
}
.pos-step-icon::after {
  content: counter(step);
  position: absolute;
  right: -.3rem;
  top: -.3rem;
  width: 1.35rem;
  height: 1.35rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--pos-forest);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
}
.pos-steps h3 { font-size: 1.1rem; font-weight: 700; margin: .55rem 0 .3rem; }
.pos-steps p { font-size: .98rem; line-height: 1.6; }
.pos-steps code,
.pos-section code {
  font-family: var(--pos-mono);
  font-size: .86em;
  padding: .05rem .35rem;
  border-radius: 6px;
  background: var(--pos-mist);
  color: var(--pos-ink);
  word-break: break-all;
}
.pos-steps strong { color: var(--pos-ink); }

.pos-callout {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  margin-top: 1rem;
  padding: 1.3rem 1.5rem;
  border-radius: 16px;
  background: #fdf6e8;
  border-left: 5px solid var(--pos-amber);
  max-width: 46rem;
}
.pos-callout i { font-size: 1.4rem; color: var(--pos-amber); margin-top: .2rem; }
.pos-callout h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: .25rem; }
.pos-section .pos-callout p { color: #5a4a2c; }

/* ---------- 5. Mises à jour : la version sur un ticket ---------- */

.pos-updates {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 900px) {
  .pos-updates { grid-template-columns: 1fr minmax(300px, 380px); gap: 5rem; }
}
.pos-updates-copy p { max-width: 36rem; }

.pos-ticket {
  position: relative;
  padding: 1.6rem 1.5rem 2.2rem;
  background: var(--pos-paper);
  color: #1d2a23;
  font-family: var(--pos-mono);
  font-size: .9rem;
  box-shadow: 0 12px 30px rgba(15,47,34,.12);
  /* bord inférieur déchiré */
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 14px 8px repeat-x,
                linear-gradient(#000 0 0) 0 0 / 100% calc(100% - 7px) no-repeat;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 14px 8px repeat-x,
                linear-gradient(#000 0 0) 0 0 / 100% calc(100% - 7px) no-repeat;
}
.pos-ticket-title {
  text-align: center;
  font-weight: 600;
  padding-bottom: .9rem;
  margin-bottom: .9rem;
  border-bottom: 1px dashed #9aa59f;
}
.pos-ticket dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .2rem 0; }
.pos-ticket dt { color: #5d6b63; }
.pos-ticket dd { font-weight: 600; text-align: right; }
.pos-ticket-sub {
  margin: 1rem 0 .5rem;
  padding-top: .9rem;
  border-top: 1px dashed #9aa59f;
  font-weight: 600;
}
.pos-ticket ul { list-style: none; display: grid; gap: .4rem; }
.pos-ticket li { padding-left: 1.1rem; position: relative; line-height: 1.5; }
.pos-ticket li::before { content: "+"; position: absolute; left: 0; color: var(--pos-forest); font-weight: 600; }
.pos-ticket-hash { font-size: .72rem; word-break: break-all; color: #5d6b63; }
.pos-previous { margin-top: 1rem; padding-top: .9rem; border-top: 1px dashed #9aa59f; }
.pos-previous summary { cursor: pointer; font-weight: 600; color: var(--pos-forest); }
.pos-previous ul { margin-top: .6rem; }
.pos-previous li { display: flex; justify-content: space-between; padding-left: 0; }
.pos-previous li::before { content: none; }
.pos-previous a { color: var(--pos-forest); }

/* ---------- 6. FAQ ---------- */

.pos-faq-list { max-width: 860px; border-top: 1px solid #dde8e0; }
.pos-faq-item { border-bottom: 1px solid #dde8e0; }
.pos-faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.25rem 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.04rem;
  line-height: 1.45;
  color: var(--pos-ink);
}
.pos-faq-item summary::-webkit-details-marker { display: none; }
.pos-faq-item summary i {
  flex: 0 0 auto;
  margin-top: .3rem;
  color: var(--pos-forest);
  transition: transform .2s;
}
.pos-faq-item[open] summary i { transform: rotate(45deg); }
.pos-faq-item p { padding: 0 2.5rem 1.4rem 0; line-height: 1.7; }

/* ---------- 7. Bas de page ---------- */

.pos-bottom {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background: linear-gradient(115deg, var(--pos-forest-deep), var(--pos-forest));
  color: #fff;
}
.pos-bottom-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 900px) {
  .pos-bottom-grid { grid-template-columns: 1.3fr 1fr; gap: 5rem; }
}
.pos-bottom-support > p { color: rgba(255,255,255,.85); max-width: 34rem; margin-bottom: 1.5rem; }
.pos-contact { list-style: none; display: grid; gap: .7rem; }
.pos-contact a {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.pos-contact a:hover { text-decoration: underline; }
.pos-contact i { width: 1.2rem; text-align: center; color: #a6e08b; }
.pos-hours { margin-top: 1.2rem; font-size: .92rem; color: rgba(255,255,255,.75); }
.pos-hours i { margin-right: .4rem; }

.pos-bottom-get {
  padding: 2rem;
  border-radius: 20px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
}
.pos-bottom-get > p:first-child { font-size: 1.2rem; font-weight: 700; margin-bottom: 1.1rem; }
.pos-bottom-get .pos-download { width: 100%; }
.pos-bottom-prospect {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.16);
  font-size: .92rem;
  color: rgba(255,255,255,.85);
}
.pos-bottom-prospect a { color: #fff; font-weight: 600; }

/* ---------- Bouton fixe sur mobile ---------- */

.pos-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  padding: .7rem 4% calc(.7rem + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96);
  box-shadow: 0 -6px 20px rgba(15,47,34,.12);
}
.pos-sticky .pos-download { width: 100%; }
.pos-sticky[hidden] { display: none; }
@media (min-width: 900px) {
  .pos-sticky { display: none; }
}

/* ---------- Mobile ---------- */

@media (max-width: 899px) {
  .pos-hero-copy { padding-bottom: 0; }
  .pos-hero-cta,
  .pos-hero .pos-download { width: 100%; }
  .pos-terminal { margin-top: 200px; }
}

@media (prefers-reduced-motion: reduce) {
  .pos-receipt-paper { animation: none; }
  .pos-download, .pos-faq-item summary i { transition: none; }
}
