:root {
  --bg: #fcf6ec;
  --paper: #fffdf7;
  --ink: #2d1d14;
  --muted: #715f53;
  --line: #e1d6c6;
  --accent: #ae5528;
  --accent-dark: #ae5528;
  --primary-fg: #fdfaf3;
  --secondary: #f3e6d2;
  --wheat: #e9ca89;
  --crust: #352118;
  --crust-fg: #f6ede0;
  --ok: #2f6b3a;
  --ok-bg: #e7f3e9;
  --shadow: 0 1px 2px rgba(45, 29, 20, 0.06);
  --shadow-photo: 0 25px 50px -12px rgba(45, 29, 20, 0.28);
  --radius: 0.75rem;
  --radius-card: 1rem;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Figtree", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--sans);
  color: var(--ink);
}

a {
  color: inherit;
}

/* ——— Site vitrine ——— */

.site {
  background: var(--bg);
  color: var(--ink);
}

.wrap {
  width: min(72rem, calc(100% - 40px));
  margin: 0 auto;
}

.mast {
  position: sticky;
  top: 0;
  z-index: 20;
  overflow: visible;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(16px);
}

.mast::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--line) 8%,
    var(--accent) 36%,
    var(--wheat) 58%,
    color-mix(in srgb, var(--accent) 72%, var(--ink)) 80%,
    transparent 100%
  );
  background-size: 180% 100%;
  animation: mast-line 2.5s ease-in-out infinite alternate;
}

@keyframes mast-line {
  from {
    background-position: 0% 0;
  }
  to {
    background-position: 100% 0;
  }
}

.mast-in,
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  position: relative;
}

.site .brand {
  margin-right: auto;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}

.nav-toggle span {
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  transform-origin: center;
}

.nav-toggle span::before {
  top: -7px;
}

.nav-toggle span::after {
  top: 7px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--ink);
  overflow: visible;
}

.brand-dot {
  display: inline-block;
  color: var(--accent);
  letter-spacing: 0;
  margin-left: -0.08em;
  transform-origin: 50% 100%;
  animation: brand-dot-in 1.25s linear 0.2s both;
}

@keyframes brand-dot-in {
  0% {
    transform: translateY(-2.4em);
    animation-timing-function: cubic-bezier(0.55, 0.06, 0.85, 0.24);
  }
  36% {
    transform: translateY(0);
    animation-timing-function: cubic-bezier(0.22, 0.9, 0.36, 1);
  }
  52% {
    transform: translateY(-0.48em);
    animation-timing-function: cubic-bezier(0.55, 0.06, 0.85, 0.24);
  }
  64% {
    transform: translateY(0);
    animation-timing-function: cubic-bezier(0.22, 0.9, 0.36, 1);
  }
  76% {
    transform: translateY(-0.16em);
    animation-timing-function: cubic-bezier(0.55, 0.06, 0.85, 0.24);
  }
  86% {
    transform: translateY(0);
    animation-timing-function: cubic-bezier(0.22, 0.9, 0.36, 1);
  }
  93% {
    transform: translateY(-0.05em);
    animation-timing-function: cubic-bezier(0.55, 0.06, 0.85, 0.24);
  }
  100% {
    transform: none;
  }
}

.brand-mark,
.brand-logo {
  width: 40px;
  height: 40px;
  margin-right: 12px;
  border-radius: 0;
  display: block;
  align-self: center;
}

.brand-mark {
  background: var(--accent);
  box-shadow: inset 0 -10px 0 rgba(255, 255, 255, 0.18);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  align-items: center;
}

.nav-panel,
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  align-items: center;
}

.nav-extra {
  display: none;
}

.nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--ink);
}

.nav .nav-links a.is-act {
  color: var(--accent);
}

.nav .btn-fill,
.mast-cta {
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-fg) !important;
}

.nav .btn-fill:hover,
.mast-cta:hover {
  color: var(--primary-fg) !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  border: 1px solid transparent;
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.28s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-fill {
  background: var(--accent);
  color: var(--primary-fg) !important;
}

.btn-fill:hover {
  background: var(--crust);
}

.btn-line {
  background: var(--paper);
  border-color: var(--line);
  color: var(--ink) !important;
}

.btn-line:hover {
  border-color: var(--ink);
}

.btn-light {
  background: var(--paper);
  color: var(--ink) !important;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink) !important;
}

.btn.mast-cta {
  display: none;
}

.hero-pro {
  position: relative;
  overflow: visible;
  padding: 64px 0 48px;
  background: var(--bg);
}

@keyframes intro-rise {
  from {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes intro-phone {
  from {
    opacity: 0;
    transform: translate3d(0, 32px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes intro-mast {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.site .mast {
  animation: intro-mast 0.65s ease both;
}

.hero-pro .badge {
  animation: intro-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both;
}

.hero-pro h1 {
  animation: intro-rise 0.78s cubic-bezier(0.22, 1, 0.36, 1) 0.14s both;
}

.hero-pro .lead {
  animation: intro-rise 0.78s cubic-bezier(0.22, 1, 0.36, 1) 0.26s both;
}

.hero-pro .cta-row {
  animation: intro-rise 0.78s cubic-bezier(0.22, 1, 0.36, 1) 0.38s both;
}

.hero-pro .device-wrap {
  animation: intro-phone 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both;
}

.site .trust {
  animation: intro-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.56s both;
}

@media (prefers-reduced-motion: reduce) {
  .site .mast,
  .mast::after,
  .hero-pro .badge,
  .hero-pro h1,
  .hero-pro .lead,
  .hero-pro .cta-row,
  .hero-pro .device-wrap,
  .home-hero .eyebrow,
  .home-hero h1,
  .home-hero .hero-pitch,
  .home-hero .lead,
  .home-hero .cta-row,
  .home-stats,
  .mail-sheet,
  .brand-dot,
  .site .trust {
    animation: none;
  }

  .mast::after {
    background-size: 100% 100%;
    background-position: center;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.badge {
  display: inline-flex;
  margin: 0 0 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--accent);
}

.hero-pro .badge {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-pro h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}

.hero-pro h1,
.block h2,
.band h2,
.qr-title,
.plan .amount {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.plan h3,
.shot h3,
.split-card h3,
.ledger h3,
.faults h3,
.path h3,
.steps h3 {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0;
}

.hero-pro h1 {
  margin: 0;
  font-size: clamp(38px, 5.2vw, 62px);
  line-height: 1.12;
  color: var(--ink);
}

.lead {
  margin: 22px 0 28px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 36rem;
}

.hero-pro .lead {
  color: var(--ink);
  max-width: 28rem;
}

.hero-points {
  margin: 22px 0 28px;
  padding: 0;
  list-style: none;
  max-width: 32rem;
}

.hero-points li {
  position: relative;
  padding: 6px 0 6px 22px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-note {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.hero-qr-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}

.hero-qr-row .hero-note {
  margin: 0;
}

.hero-qr {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  padding: 8px;
  flex-shrink: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
}

.hero-qr img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-pro .cta-row {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.hero-pro .cta-row .btn {
  min-width: 260px;
  padding: 14px 28px;
}

.hero-pro .btn-line {
  background: var(--paper);
  border-color: var(--ink);
}

.hero-shot {
  margin: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-photo);
}

.hero-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 28%;
}

.device-wrap {
  position: relative;
  justify-self: end;
  width: min(340px, 100%);
}

.device {
  width: 290px;
  height: 590px;
  border-radius: 38px;
  padding: 10px;
  background: var(--crust);
  box-shadow: var(--shadow-photo);
  overflow: hidden;
}

.device iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 28px;
  background: var(--paper);
}

.trust {
  background: transparent;
}

.trust-in {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 28px;
  margin: 0;
  padding: 20px 0;
  list-style: none;
}

.trust-in li {
  position: relative;
  margin: 0;
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
}

.trust-in li + li::before {
  content: "·";
  position: absolute;
  left: -18px;
  color: var(--accent);
  font-style: normal;
}

.stats {
  padding: 8px 0 24px;
}

.stats-in {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 40px;
  margin: 0;
  padding: 8px 0 0;
  list-style: none;
}

.stats-in li {
  margin: 0;
}

.stats-in strong {
  display: block;
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
}

.stats-in span {
  display: block;
  max-width: 24ch;
  font-size: 15px;
  line-height: 1.45;
  color: var(--muted);
}

.block {
  padding: 64px 0;
}

.block-tight {
  padding-top: 24px;
}

.block.tone {
  background: transparent;
}

.block.is-crust {
  background: var(--crust);
  color: var(--crust-fg);
}

.block.is-crust h2,
.block.is-crust h3 {
  color: var(--crust-fg);
}

.block.is-crust .intro,
.block.is-crust .faults p {
  color: color-mix(in srgb, var(--crust-fg) 72%, transparent);
}

.eyebrow-pro,
.kicker {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--accent);
}

.eyebrow-pro.light {
  color: var(--accent);
}

.block h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
  max-width: 22ch;
}

.intro {
  margin: 0 0 36px;
  color: var(--muted);
  max-width: 40rem;
  line-height: 1.6;
  font-size: 17px;
}

.site p br,
.site h2 br,
.site h3 br,
.demo p br,
.note br {
  display: block;
  content: "";
  margin-top: 0.55em;
}

.site h2 br,
.site h3 br {
  margin-top: 0.18em;
}

.grid-3,
.grid-2 {
  display: grid;
  gap: 16px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: 1fr 1fr;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 26px;
  box-shadow: var(--shadow);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.card.lift:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(20, 14, 11, 0.08);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-family: var(--sans);
  font-weight: 600;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 15px;
}

.icon-dot,
.num {
  display: block;
  min-width: 0;
  height: auto;
  padding: 0;
  margin-bottom: 12px;
  border-radius: 0;
  background: transparent;
  color: var(--wheat);
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}

.card-cta {
  margin-top: 16px !important;
}

.card-cta a {
  font-weight: 500;
  color: var(--accent);
}

.center-link {
  margin: 28px 0 0;
  text-align: center;
}

.site .badge {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: none;
  background: transparent;
  border: 0;
  padding: 0;
  margin-bottom: 14px;
}

.site .hero-pro .badge {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ledger,
.faults,
.path,
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.ledger,
.steps,
.path {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.ledger li,
.faults li,
.path li,
.steps li {
  display: block;
  padding: 0;
  border: 0;
}

.ledger span,
.faults li::before,
.path span,
.steps span {
  display: block;
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 500;
  font-style: normal;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--wheat);
  text-align: left;
  padding: 0;
  margin: 0 0 14px;
}

.faults {
  counter-reset: fault;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.faults li {
  position: relative;
}

.faults li::before {
  counter-increment: fault;
  content: counter(fault, decimal-leading-zero);
}

.ledger h3,
.faults h3,
.path h3,
.steps h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.steps .step-time {
  display: inline-block;
  margin: 0 0 10px;
  padding: 4px 10px;
  background: var(--secondary);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
}

.ledger p,
.faults p,
.path p,
.steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 16px;
}

.qr-stage {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 48px;
}

.qr-title {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.qr-stage .intro {
  margin-bottom: 22px;
}

.qr-card {
  margin: 0;
  justify-self: end;
  width: min(300px, 100%);
  padding: 28px 24px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  text-align: center;
  box-shadow: var(--shadow);
}

.qr-card img.qr-shop {
  width: 72px;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  margin: 0 auto 6px;
  display: block;
}

.qr-card strong {
  display: block;
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.qr-card img.qr-code {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  background: var(--paper);
  border-radius: var(--radius);
}

.qr-card p {
  margin: 12px 0 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.split.is-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.split-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow);
}

.split-card.is-dark,
.split-card.is-mid {
  background: var(--paper);
  border-color: var(--line);
  color: var(--ink);
}

.split-kicker {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--accent);
}

.split-card.is-dark .split-kicker {
  color: var(--accent);
}

.split-card h3 {
  margin: 0 0 10px;
  font-size: 26px;
}

.split-card > p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.55;
}

.split-card.is-dark > p {
  color: var(--muted);
}

.ticks {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.ticks li {
  position: relative;
  padding: 7px 0 7px 22px;
  font-size: 15px;
  font-weight: 500;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.product-grid figure {
  margin: 0;
  aspect-ratio: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
}

.product-grid img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.shot {
  background: var(--paper);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.shot img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.shot:hover img {
  transform: scale(1.05);
}

.shot div {
  padding: 22px;
}

.shot h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.shot p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.who {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
}

.tag.is-main {
  border-color: var(--line);
  background: var(--secondary);
  color: var(--accent);
}

.plan {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.plan.is-hot {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line);
}

.plan.is-hot p,
.plan.is-hot .amount span {
  color: var(--muted);
}

.plan-flag {
  position: absolute;
  top: 16px;
  right: 16px;
  margin: 0 !important;
  font-size: 13px !important;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
  color: var(--accent) !important;
}

.plan .amount {
  margin: 4px 0 8px !important;
  font-size: 40px;
  font-weight: 700;
  font-family: var(--serif);
  letter-spacing: -0.02em;
  color: var(--ink);
}

.plan.is-hot .amount {
  color: var(--accent);
}

.plan .amount span {
  font-size: 15px;
  font-weight: 500;
  font-family: var(--sans);
  letter-spacing: 0;
}

.plan p {
  flex: 1;
}

.plan .ticks {
  margin: 8px 0 0;
}

.plan-promise {
  margin: 32px 0 0;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.45;
}

.plan-promise em {
  display: block;
  margin-top: 8px;
  font-family: var(--serif);
  font-size: clamp(22px, 3.2vw, 32px);
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.02em;
  color: var(--accent);
  line-height: 1.25;
}

.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 16px 20px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq details p {
  margin: 10px 0 4px;
  color: var(--muted);
  line-height: 1.55;
}

.band {
  padding: 64px 0;
  background: var(--bg);
  color: var(--ink);
}

.band h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 44px);
  max-width: 16ch;
}

.band p {
  margin: 0 0 22px;
  color: var(--muted);
  max-width: 36rem;
  font-size: 17px;
  line-height: 1.55;
}

.contact-cta {
  margin-bottom: 22px;
}

.contact-box {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
}

.foot {
  background: var(--bg);
  color: var(--muted);
  font-size: 14px;
  padding: 64px 0 48px;
}

.foot-in {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.foot-mark {
  display: block;
  line-height: 0;
}

.foot-mark img {
  width: 72px;
  height: 72px;
}

.foot-url,
.foot-legal {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.foot-url {
  letter-spacing: 0.01em;
}

.foot-url:hover,
.foot-legal:hover {
  color: var(--accent);
}

.test-page .nav a,
.test-page .brand {
  color: var(--ink);
}

.poster {
  max-width: 420px;
  margin: 40px auto 64px;
  padding: 28px 24px 32px;
  background: var(--paper);
  border-radius: 24px;
  text-align: center;
  box-shadow: var(--shadow);
}

.poster h1 {
  font-family: var(--serif);
  font-size: 34px;
  margin: 0 0 6px;
}

.poster img {
  width: min(280px, 80vw);
  height: auto;
  margin: 18px 0;
  background: var(--paper);
  padding: 12px;
  border-radius: var(--radius-card);
}

.qr-poster-logo {
  width: 140px;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  margin: 8px auto 0;
  display: block;
  padding: 0;
  background: transparent;
}

.qr-poster-sub {
  margin-bottom: 0;
}

.poster code {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
  word-break: break-all;
}

.mail-main {
  padding-bottom: 40px;
}

.mail-list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.mail-item {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.mail-item.is-unread {
  border-color: var(--accent);
  background: #fff6f1;
}

.mail-item span,
.mail-item em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.mail-reader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 5;
  overflow: auto;
}

.mail-body {
  white-space: pre-wrap;
  font: inherit;
  font-size: 15px;
  line-height: 1.5;
  background: #fff;
  border: 1px dashed #d7c4ab;
  border-radius: 14px;
  padding: 16px;
  margin: 0;
}

@media (max-width: 1100px) {
  .split.is-3 {
    grid-template-columns: 1fr;
  }

  .hero-shot img {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 860px) {
  .brand {
    font-size: 24px;
  }

  .brand-logo,
  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero-grid,
  .grid-3,
  .grid-2,
  .split,
  .qr-stage,
  .path,
  .ledger,
  .faults,
  .steps,
  .stats-in,
  .trust-in {
    grid-template-columns: 1fr;
  }

  .btn.mast-cta {
    display: inline-flex;
    position: relative;
    z-index: 2;
    padding: 8px 14px;
    font-size: 13px;
  }

  body.nav-open .btn.mast-cta {
    visibility: hidden;
    pointer-events: none;
  }

  .product-grid {
    gap: 16px;
  }

  .product-grid figure {
    padding: 12px;
  }

  .device-wrap {
    width: auto;
    justify-self: center;
  }

  .trust-in li + li::before {
    display: none;
  }

  .ledger li,
  .faults li,
  .steps li,
  .path li {
    padding: 0;
    border: 0;
  }

  .shot img {
    height: 220px;
  }

  .qr-card {
    justify-self: center;
  }

  .hero-shot {
    justify-self: stretch;
  }

  .hero-pro .cta-row .btn {
    width: 100%;
    min-width: 0;
  }

  .hero-pro h1,
  .block h2,
  .band h2 {
    max-width: none;
  }

  .hero-pro {
    padding-top: 32px;
  }

  .block {
    padding: 64px 0;
  }

  html.nav-open,
  body.nav-open {
    overflow: hidden;
    overflow-x: hidden;
  }

  body.nav-open {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
  }

  .mast {
    overflow: visible;
    background: var(--paper);
    backdrop-filter: none;
  }

  body.nav-open .mast {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 40;
    background: var(--bg);
  }

  body.nav-open .mast::after {
    opacity: 0;
  }

  .brand,
  .nav-toggle {
    position: relative;
    z-index: 2;
  }

  body.nav-open .brand,
  body.nav-open .nav-toggle {
    position: fixed;
    top: 16px;
    z-index: 50;
  }

  body.nav-open .brand {
    left: 16px;
  }

  body.nav-open .nav-toggle {
    right: 16px;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    background: var(--bg);
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
    pointer-events: none;
    transition:
      clip-path 0.5s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0.5s;
  }

  .nav.is-open {
    clip-path: inset(0);
    visibility: visible;
    pointer-events: auto;
    transition:
      clip-path 0.5s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s;
  }

  .nav-panel {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 28px;
    height: 100%;
    max-width: 100%;
    padding: 88px 8px 28px;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 2px;
    width: 100%;
    min-width: 0;
    flex-shrink: 0;
  }

  .nav-links a {
    padding: 14px 12px;
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--ink);
    opacity: 0;
    transform: translateY(12px);
    transition:
      opacity 0.32s ease,
      transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .nav.is-open .nav-links a {
    opacity: 1;
    transform: none;
  }

  .nav.is-open .nav-links a:nth-child(1) { transition-delay: 0.12s; }
  .nav.is-open .nav-links a:nth-child(2) { transition-delay: 0.16s; }
  .nav.is-open .nav-links a:nth-child(3) { transition-delay: 0.2s; }
  .nav.is-open .nav-links a:nth-child(4) { transition-delay: 0.24s; }
  .nav.is-open .nav-links a:nth-child(5) { transition-delay: 0.28s; }

  .nav-links .btn {
    width: 100%;
    margin-top: 14px;
    padding: 14px 22px;
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0;
  }

  .nav-extra {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 14px;
    width: 100%;
    min-width: 0;
    flex-shrink: 0;
    padding: 0 12px 8px;
    opacity: 0;
    transform: translateY(16px);
    transition:
      opacity 0.35s ease 0.28s,
      transform 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.28s;
  }

  .nav.is-open .nav-extra {
    opacity: 1;
    transform: none;
  }

  .nav-pitch {
    margin: 0;
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 500;
    font-style: italic;
    letter-spacing: -0.02em;
    line-height: 1.35;
    color: var(--ink);
  }

  .nav-points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .nav-points li {
    padding: 8px 12px;
    background: var(--secondary);
    border: 0;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
  }

  .nav-points li:last-child {
    background: var(--accent);
    color: var(--primary-fg);
  }

  .nav-kicker {
    margin: 4px 0 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: var(--accent);
  }

  .nav-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .nav-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    text-decoration: none;
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .nav-card:first-child {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--primary-fg);
  }

  .nav-card:last-child {
    background: var(--secondary);
    border-color: transparent;
  }

  .nav-card span {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
  }

  .nav-card:first-child span {
    color: var(--primary-fg);
    opacity: 0.82;
  }

  .nav-card:last-child span {
    color: var(--accent);
  }

  .nav-card strong {
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
  }

  .nav-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    padding-top: 4px;
  }

  .nav-foot a {
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    text-decoration: none;
  }

  .nav-foot a:first-child {
    color: var(--accent);
  }

  .nav .hide-s {
    display: block;
  }

  @media (prefers-reduced-motion: reduce) {
    .nav,
    .nav-links a,
    .nav-extra,
    .nav-toggle span,
    .nav-toggle span::before,
    .nav-toggle span::after {
      transition: none;
    }
  }
}

/* ——— Démo téléphone ——— */

.demo {
  background: var(--bg);
  font-family: var(--sans);
  color: var(--ink);
}

html.in-frame,
.in-frame {
  background: var(--paper);
}

html.in-frame .mast,
.in-frame .mast,
.in-frame .demo-back {
  display: none;
}

.in-frame .phone {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.demo-back {
  display: block;
  width: min(430px, 100%);
  margin: 0 auto;
  padding: 12px 20px 0;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}

.phone {
  width: min(430px, 100%);
  margin: 28px auto 64px;
  min-height: calc(100vh - 140px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(20, 14, 11, 0.08);
  overflow: hidden;
}

.lab-sheet {
  width: min(520px, calc(100% - 32px));
}

#patron-lock-form {
  display: grid;
  gap: 8px;
}

#patron-lock-form .pay {
  margin-top: 8px;
}

.week-days {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 12px;
  padding-bottom: 4px;
}

.week-day {
  flex: 0 0 auto;
  min-width: 58px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: inherit;
  border-radius: 14px;
  padding: 8px 10px;
  font: inherit;
  cursor: pointer;
  text-align: center;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease, background 0.2s ease;
}

.week-day:hover {
  transform: translateY(-2px);
}

.week-day span,
.week-day em {
  display: block;
  font-size: 11px;
  color: var(--muted);
  text-transform: capitalize;
}

.week-day strong {
  display: block;
  margin: 2px 0;
  font-size: 16px;
}

.week-day.is-on {
  border-color: var(--accent);
  background: #fff4ec;
}

.order-status {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-dark);
}

.order.is-done .order-status {
  color: #1f7a4d;
}

.mail-ok {
  margin: 12px 0 0;
  padding: 12px 14px;
  background: #e8f6ee;
  border-radius: 12px;
  color: #1f7a4d;
  font-size: 13px;
  line-height: 1.45;
}

.phone header,
.shop-head {
  padding: 22px 20px 16px;
  border-bottom: 1px solid var(--line);
}

.shop-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
}

.cart-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: inherit;
  border-radius: 999px;
  padding: 8px 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  z-index: 2;
}

.cart-count {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  line-height: 20px;
  text-align: center;
}

.cart-peek {
  width: 100%;
  margin-bottom: 8px;
  border: 0;
  background: transparent;
  color: var(--accent-dark);
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cart-lines {
  display: grid;
  gap: 8px;
}

.cart-line {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.cart-line img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 10px;
  background: #f4eee6;
}

.cart-line strong,
.cart-line span {
  display: block;
}

.cart-line strong {
  font-size: 14px;
  line-height: 1.3;
}

.cart-line span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.cart-remove {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cart-empty,
.field-hint {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.chips-hours {
  margin-top: 8px;
}

.field-error {
  min-height: 1.2em;
  margin: 6px 0 0;
  color: #b42318;
  font-size: 12px;
}

.phone input.is-bad,
.phone select.is-bad {
  border-color: #b42318;
}

.pay.is-added {
  background: #1f7a4d;
  box-shadow: none;
}

.shop-logo,
.shop-logo-seal {
  width: 72px;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
  display: block;
  border-radius: 0;
}

.shop-head.is-seal {
  flex-direction: column;
  text-align: center;
  gap: 10px;
  padding: 48px 20px 18px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.shop-head.is-seal .shop-logo-seal {
  width: 168px;
  height: auto;
}

.in-frame .shop-head.is-seal .shop-logo-seal {
  width: 132px;
  height: auto;
}

.eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.phone h1,
.ok h1 {
  margin: 0;
  font-family: var(--sans);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.sub {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.phone main {
  padding: 18px 20px 110px;
}

#cart-view main {
  padding-bottom: 170px;
}

.phone section + section {
  margin-top: 22px;
}

.phone h2 {
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.choices {
  display: grid;
  gap: 8px;
}

.choice {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 14px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.choice:hover,
.choice:focus-visible {
  border-color: #e4d5c4;
  outline: none;
  transform: translateY(-1px);
}

.choice.is-on {
  border-color: var(--accent);
  background: #fff4ec;
  transform: none;
}

.choice strong {
  display: block;
  font-size: 15px;
}

.choice span {
  color: var(--muted);
  font-size: 13px;
}

.choice .price {
  flex-shrink: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  font-size: 16px;
  display: block;
  color: var(--ink);
}

.choice-photo {
  justify-content: flex-start;
}

.choice-photo img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  background: #f4eee6;
}

.flavor-list {
  display: grid;
  gap: 10px;
}

.flavor-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  width: 100%;
  padding: 10px;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.flavor-card img {
  width: 120px;
  height: 92px;
  object-fit: contain;
  border-radius: 12px;
  background: #f7f9fb;
}

.flavor-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}

.flavor-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.flavor-card li {
  position: relative;
  padding: 2px 0 2px 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.flavor-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #e4d5c4;
}

.flavor-card:hover,
.flavor-card:focus-visible {
  border-color: #e4d5c4;
  outline: none;
  transform: translateY(-1px);
}

.flavor-card.is-on {
  border-color: var(--accent);
  background: #fff4ec;
  transform: none;
}

.flavor-card.is-on li::before {
  background: var(--accent);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  border: 1.5px solid var(--line);
  background: #fff;
  color: inherit;
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.chip.is-on {
  border-color: var(--accent);
  background: #fff4ec;
  color: var(--accent-dark);
}

.phone label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--muted);
}

.phone input,
.phone select {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 13px 12px;
  font: inherit;
  font-size: 16px;
  background: #fff;
  color: inherit;
}

.phone select {
  min-height: 50px;
}

.phone input:focus,
.phone select:focus {
  outline: 2px solid #f3c4aa;
  border-color: var(--accent);
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.note {
  margin: 14px 0 0;
  padding: 12px 14px;
  background: #f4eee6;
  border-radius: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.bar {
  position: sticky;
  bottom: 0;
  padding: 12px 20px 18px;
  background: var(--paper);
}

.bar .ghost {
  width: 100%;
  margin-bottom: 8px;
}

.pay {
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 16px;
  background: var(--accent);
  color: var(--primary-fg);
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: background 0.2s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
}

.pay:hover {
  background: var(--crust);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.pay small {
  display: block;
  margin-top: 3px;
  font-weight: 500;
  opacity: 0.9;
}

.hidden {
  display: none !important;
}

.ok {
  padding: 28px 20px 40px;
  text-align: center;
}

.ok-badge {
  width: 56px;
  height: 56px;
  margin: 12px auto 16px;
  border-radius: 50%;
  background: var(--ok-bg);
  color: var(--ok);
  display: grid;
  place-items: center;
  font-size: 26px;
}

.ok h1 {
  font-size: 26px;
}

.ticket {
  margin: 22px 0;
  padding: 16px;
  border: 1px dashed #e4d5c4;
  border-radius: 14px;
  text-align: left;
  background: #fff;
}

.ticket p {
  margin: 0 0 8px;
  font-size: 15px;
}

.ticket p:last-child {
  margin-bottom: 0;
}

.links {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.links a,
.ghost {
  display: block;
  padding: 12px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  background: #fff;
  font: inherit;
  cursor: pointer;
  text-align: center;
}

.lab-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}

.totals {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.totals div {
  display: flex;
  justify-content: space-between;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

.totals div:first-child {
  border-top: 0;
  background: #f4eee6;
  font-weight: 700;
}

.list {
  display: grid;
  gap: 8px;
}

.order {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
}

.order header {
  padding: 0;
  border: 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.order h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 650;
}

.order p {
  margin: 6px 0 10px;
  color: var(--muted);
  font-size: 14px;
}

.order-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.done,
.order-delete {
  border: 0;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  cursor: pointer;
}

.done {
  background: var(--ok);
  color: #fff;
}

.order-delete {
  background: #fff;
  color: #b42318;
  border: 1.5px solid #f0d0cc;
}

.order-delete.is-ask {
  background: #b42318;
  color: #fff;
  border-color: #b42318;
}

.order.is-done {
  opacity: 0.55;
}

.order.is-done .done {
  background: #8a8178;
}

/* ——— Motion ——— */

.js-motion .block > .wrap > .eyebrow-pro,
.js-motion .block > .wrap > h2,
.js-motion .block > .wrap > .intro,
.js-motion .block > .wrap > .section-title,
.js-motion .ledger li,
.js-motion .faults li,
.js-motion .home-faults li,
.js-motion .steps li,
.js-motion .home-steps .step,
.js-motion .stats-in li,
.js-motion .path li,
.js-motion .split-card,
.js-motion .shot,
.js-motion .product-grid,
.js-motion .plan,
.js-motion .faq details,
.js-motion .qr-stage,
.js-motion .home-demo,
.js-motion .home-aside,
.js-motion .home-price,
.js-motion .home-quote,
.js-motion .center-link,
.js-motion .plan-promise,
.js-motion .band > .wrap > *,
.js-motion body.demo .phone,
.js-motion .poster,
.js-motion .test-page .card {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-motion .ledger li:nth-child(2),
.js-motion .faults li:nth-child(2),
.js-motion .steps li:nth-child(2),
.js-motion .stats-in li:nth-child(2),
.js-motion .path li:nth-child(2),
.js-motion .split-card:nth-child(2),
.js-motion .shot:nth-child(2),
.js-motion .plan:nth-child(2),
.js-motion .faq details:nth-of-type(2) {
  transition-delay: 0.08s;
}

.js-motion .ledger li:nth-child(3),
.js-motion .faults li:nth-child(3),
.js-motion .steps li:nth-child(3),
.js-motion .stats-in li:nth-child(3),
.js-motion .path li:nth-child(3),
.js-motion .faq details:nth-of-type(3) {
  transition-delay: 0.16s;
}

.js-motion .faq details:nth-of-type(n+4) {
  transition-delay: 0.22s;
}

.js-motion .block > .wrap > h2 {
  transition-delay: 0.05s;
}

.js-motion .block > .wrap > .intro {
  transition-delay: 0.1s;
}

.js-motion .is-in,
html.in-frame.js-motion .phone,
html.in-frame.js-motion .mast {
  opacity: 1 !important;
  transform: none !important;
}

.faq details[open] p {
  animation: intro-rise 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.choice,
.flavor-card {
  animation: intro-rise 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.choice:nth-child(1),
.flavor-card:nth-child(1) { animation-delay: 0.04s; }
.choice:nth-child(2),
.flavor-card:nth-child(2) { animation-delay: 0.1s; }
.choice:nth-child(3),
.flavor-card:nth-child(3) { animation-delay: 0.16s; }
.choice:nth-child(4),
.flavor-card:nth-child(4) { animation-delay: 0.22s; }
.choice:nth-child(5),
.flavor-card:nth-child(5) { animation-delay: 0.28s; }
.choice:nth-child(6),
.flavor-card:nth-child(6) { animation-delay: 0.34s; }
.choice:nth-child(n+7),
.flavor-card:nth-child(n+7) { animation-delay: 0.4s; }

.order {
  animation: intro-rise 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.order:nth-child(1) { animation-delay: 0.04s; }
.order:nth-child(2) { animation-delay: 0.1s; }
.order:nth-child(3) { animation-delay: 0.16s; }
.order:nth-child(n+4) { animation-delay: 0.22s; }

.hero-qr {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.hero-qr:hover {
  transform: translateY(-3px) scale(1.03);
}

@media (prefers-reduced-motion: reduce) {
  .js-motion .block > .wrap > .eyebrow-pro,
  .js-motion .block > .wrap > h2,
  .js-motion .block > .wrap > .intro,
  .js-motion .block > .wrap > .section-title,
  .js-motion .ledger li,
  .js-motion .faults li,
  .js-motion .home-faults li,
  .js-motion .steps li,
  .js-motion .home-steps .step,
  .js-motion .stats-in li,
  .js-motion .path li,
  .js-motion .split-card,
  .js-motion .shot,
  .js-motion .product-grid,
  .js-motion .plan,
  .js-motion .faq details,
  .js-motion .qr-stage,
  .js-motion .home-demo,
  .js-motion .home-aside,
  .js-motion .home-price,
  .js-motion .home-quote,
  .js-motion .center-link,
  .js-motion .plan-promise,
  .js-motion .band > .wrap > *,
  .js-motion body.demo .phone,
  .js-motion .poster,
  .js-motion .test-page .card,
  .choice,
  .flavor-card,
  .order,
  .faq details[open] p {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }

  .btn:hover,
  .pay:hover,
  .choice:hover,
  .flavor-card:hover,
  .week-day:hover,
  .hero-qr:hover,
  .qr-card:hover,
  .shot:hover img {
    transform: none;
  }
}

@media print {
  .bar,
  .done,
  .order-delete,
  .links,
  .demo-back,
  .phone header .eyebrow {
    display: none !important;
  }

  .phone {
    box-shadow: none;
    width: 100%;
  }
}

/* ——— Accueil refonte (7 sections) ——— */

body.home .topbar {
  background: color-mix(in srgb, var(--bg) 85%, transparent);
}

body.home .nav-toggle {
  display: none;
}

body.home .eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

body.home .section-title {
  margin: 0 0 28px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 36px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 18ch;
}

body.home .intro {
  margin: 0 0 28px;
  max-width: 40rem;
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
}

body.home .paper {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: var(--shadow);
}

body.home .link {
  color: var(--accent);
  font-weight: 600;
  text-underline-offset: 3px;
}

body.home .btn-main {
  background: var(--accent);
  color: var(--primary-fg) !important;
}

#probleme,
#fonctionnement,
#catalogue,
#demo,
#tarif,
#faq,
#contact {
  scroll-margin-top: 80px;
}

.home-hero {
  padding: 64px 0;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.home-hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(38px, 5.2vw, 62px);
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.home-hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}

.home-hero .hero-pitch {
  margin: 24px 0 0;
  max-width: 34rem;
  padding: 20px 24px;
  background: var(--secondary);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.02em;
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  line-height: 1.35;
  color: var(--ink);
}

.home-hero .hero-pitch-ask {
  display: block;
  margin: 0 0 8px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.home-hero .hero-pitch em {
  font-style: italic;
  font-weight: 700;
  color: var(--accent);
}

.home-hero .lead {
  margin: 28px 0 28px;
  padding: 0;
  max-width: 32rem;
  list-style: none;
  counter-reset: hero-step;
  font-size: 17px;
  line-height: 1.45;
  color: var(--ink);
}

.home-hero .lead li {
  position: relative;
  margin: 0;
  padding: 6px 0 6px 2rem;
  counter-increment: hero-step;
}

.home-hero .lead li::before {
  content: counter(hero-step) ".";
  position: absolute;
  left: 0;
  top: 6px;
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.home-hero .cta-row {
  margin-bottom: 32px;
}

.home-hero .eyebrow {
  animation: intro-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both;
}

.home-hero h1 {
  animation: intro-rise 0.78s cubic-bezier(0.22, 1, 0.36, 1) 0.14s both;
}

.home-hero .hero-pitch {
  animation: intro-rise 0.78s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.home-hero .lead {
  animation: intro-rise 0.78s cubic-bezier(0.22, 1, 0.36, 1) 0.26s both;
}

.home-hero .cta-row {
  animation: intro-rise 0.78s cubic-bezier(0.22, 1, 0.36, 1) 0.38s both;
}

.home-stats {
  animation: intro-rise 0.78s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
}

.home-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-stats strong {
  display: block;
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.home-stats span {
  display: block;
  max-width: 16ch;
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
}

@keyframes intro-mail {
  from {
    opacity: 0;
    transform: translate3d(0, 32px, 0) rotate(-1.8deg);
  }
  to {
    opacity: 1;
    transform: rotate(-1.8deg);
  }
}

.mail-sheet {
  justify-self: end;
  width: min(380px, 100%);
  padding: 28px 26px 22px;
  transform: rotate(-1.8deg);
  animation: intro-mail 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both;
}

.mail-sheet h2 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mail-sheet ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mail-sheet li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.35;
}

.mail-sheet li span {
  color: var(--ink);
}

.mail-sheet li strong {
  flex-shrink: 0;
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.mail-sheet-foot {
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.home-faults {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-faults h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
}

.home-faults p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

.block.is-crust .home-faults p {
  color: color-mix(in srgb, var(--crust-fg) 72%, transparent);
}

.home-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.home-steps .step {
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: var(--shadow);
}

.home-steps .step span {
  display: block;
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--accent);
}

.home-steps .step h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
}

.home-steps .step p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}

.home-aside {
  margin: 0;
  max-width: 42rem;
  padding: 20px 24px;
  background: var(--secondary);
  border-radius: 1rem;
  font-size: 16px;
  line-height: 1.5;
}

.home-aside strong {
  font-weight: 600;
}

.home-band {
  background: var(--secondary);
}

body.home .home-band .product-grid {
  grid-template-columns: repeat(4, 1fr);
}

.home-demo {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.home-demo-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 18px;
  counter-reset: demo;
}

.home-demo-list li {
  position: relative;
  padding: 0 0 0 32px;
}

.home-demo-list li::before {
  content: counter(demo);
  counter-increment: demo;
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.home-demo-list p {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 500;
}

.home-demo .qr-card {
  justify-self: end;
}

.home-tarif {
  display: grid;
  justify-content: center;
}

.home-price {
  width: min(36rem, 100%);
}

.home-price,
.home-quote {
  padding: 32px 28px;
}

.home-price h2 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  max-width: none;
}

.home-price-then {
  margin: 0 0 6px;
  font-size: 18px;
  color: var(--ink);
}

.home-price-note {
  margin: 0 0 22px;
  font-size: 15px;
  color: var(--muted);
}

.home-price .ticks {
  margin: 0;
}

.home-quote {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
}

.home-quote p {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.home-quote footer {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.home-faq {
  max-width: 40rem;
}

body.home .faq summary {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
}

body.home .faq summary::-webkit-details-marker {
  display: none;
}

body.home .faq summary::after {
  content: "+";
  flex: none;
  font-family: var(--serif);
  font-weight: 500;
  color: var(--accent);
  font-size: 1.35rem;
  line-height: 1;
}

body.home .faq details[open] summary::after {
  content: "–";
}

.home-contact {
  text-align: left;
}

.home-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 22rem);
  gap: 48px 56px;
  align-items: start;
}

.home-contact .section-title {
  margin: 0 0 22px;
  max-width: 12ch;
}

.home-contact-text p {
  margin: 0 0 18px;
  max-width: 38rem;
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
}

.home-contact-text p:last-child {
  margin-bottom: 0;
}

.home-contact-text strong {
  font-weight: 600;
  color: var(--ink);
}

.home-contact-text em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.home-lead {
  width: 100%;
  margin: 0;
  padding: 32px 28px;
  text-align: left;
  position: relative;
}

.home-lead .field {
  margin: 0 0 14px;
}

.home-lead label {
  display: block;
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.home-lead .optional {
  font-weight: 400;
}

.home-lead input,
.home-lead textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  font: inherit;
  font-size: 16px;
  background: var(--bg);
  color: var(--ink);
}

.home-lead textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.home-lead input:focus,
.home-lead textarea:focus {
  outline: 2px solid var(--secondary);
  border-color: var(--accent);
}

.home-lead input.is-bad {
  border-color: var(--accent);
}

.home-lead .field-error {
  color: var(--accent);
}

.home-lead .btn {
  width: 100%;
  margin-top: 18px;
}

.home-lead .btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.home-lead-status {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.home-lead-title {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.home-lead-ok p:last-child {
  margin: 0;
  color: var(--muted);
}

.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

body.home .foot a,
body.legal .foot a {
  color: var(--muted);
  text-decoration: none;
}

body.home .foot a:hover,
body.legal .foot a:hover {
  color: var(--accent);
}

.legal-sheet {
  max-width: 40rem;
}

.legal-sheet h1 {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0 0 32px;
}

body.legal .legal-sheet h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  font-size: 1.25rem;
  line-height: 1.3;
  max-width: none;
  margin: 28px 0 10px;
}

.legal-sheet p {
  margin: 0 0 8px;
  color: var(--ink);
}

.legal-sheet a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.legal-sheet a:hover {
  text-decoration: underline;
}

@media (max-width: 860px) {
  body.home .nav {
    display: none !important;
  }

  body.home .home-hero-grid,
  body.home .home-faults,
  body.home .home-steps,
  body.home .home-demo,
  body.home .home-tarif,
  body.home .home-contact-grid,
  body.home .home-band .product-grid {
    grid-template-columns: 1fr;
  }

  body.home .home-band .product-grid {
    grid-template-columns: 1fr 1fr;
  }

  body.home .home-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .mail-sheet,
  .home-demo .qr-card {
    justify-self: center;
    transform: none;
  }

  .home-hero .cta-row .btn {
    width: 100%;
  }
}
