/* Kanbai — full pastel. Les tickets-papier sont la signature du site. */
:root {
  --ink: #2a2638;
  --muted: #5d5868;
  --paper: #fbf8f1;
  --card: #fffdf8;
  --line: #ddd6c9;
  --lilac: #ded2f3;
  --lilac-deep: #75609c;
  --peach: #f9dccb;
  --mint: #d2ecdf;
  --sky: #d6e6f5;
  --butter: #f7ecbe;
  --radius: 18px;
  --shadow: 4px 5px 0 #2a26381a;
  --display: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
  --serif: "Iowan Old Style", Georgia, serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  color: var(--ink);
  background: var(--paper);
  font: 17px/1.6 var(--display);
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-font-smoothing: antialiased;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  overflow-x: clip;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
:focus-visible {
  outline: 3px solid var(--lilac-deep);
  outline-offset: 3px;
  border-radius: 6px;
}
h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}
h1,
h2 {
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.98;
}
h1 em,
h2 em {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.03em;
  color: var(--lilac-deep);
}
h1 {
  font-size: clamp(50px, 7.2vw, 104px);
}
h2 {
  font-size: clamp(36px, 4.4vw, 64px);
}
h3 {
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
code {
  font: 0.85em var(--mono);
  background: #2a26380d;
  padding: 2px 6px;
  border-radius: 6px;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--ink);
  color: white;
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 20;
}
.skip:focus {
  top: 12px;
}

/* Tons pastel partagés */
.tone-lilac {
  --tone: var(--lilac);
}
.tone-peach {
  --tone: var(--peach);
}
.tone-mint {
  --tone: var(--mint);
}
.tone-sky {
  --tone: var(--sky);
}
.tone-butter {
  --tone: var(--butter);
}

/* Éléments communs */
.eyebrow,
.tag,
.meta,
.label,
.ticket-id,
.ticket-label,
.step-status,
.agent-vendor,
time,
figcaption b,
.hb-card em,
.jc-top {
  font: 600 12px/1.5 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow {
  color: var(--lilac-deep);
  margin-bottom: 14px;
}
.lead {
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.5;
  color: var(--muted);
  max-width: 54ch;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: white;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 650;
  text-decoration: none;
  border: 1.5px solid var(--ink);
  transition:
    transform 0.15s,
    background 0.15s;
}
.button:hover {
  background: #4a3f5c;
  transform: translateY(-2px);
}
.button.ghost {
  background: transparent;
  color: var(--ink);
}
.button.ghost:hover {
  background: var(--lilac);
}
.button.small {
  padding: 9px 16px;
  font-size: 15px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.pill {
  display: inline-block;
  background: var(--tone);
  border: 1px solid #2a263833;
  border-radius: 999px;
  padding: 2px 10px;
  font: 600 11px/1.6 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.checks {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
}
.checks li {
  position: relative;
  padding-left: 30px;
}
.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--mint);
  border: 1px solid #2a263840;
  font-size: 12px;
  display: grid;
  place-items: center;
}

/* Bandeau de changement de nom */
.rename {
  background: var(--lilac);
  text-align: center;
  font-size: 14px;
  padding: 9px 5%;
  border-bottom: 1px solid #2a263826;
}
.rename a {
  text-decoration: none;
}
.rename b {
  font: 700 11px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--card);
  padding: 2px 8px;
  border-radius: 999px;
  margin-right: 8px;
}

/* En-tête */
header.site {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 max(5%, calc((100% - 1240px) / 2));
  height: 76px;
  background: #fbf8f1e6;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -0.07em;
  text-decoration: none;
}
.mark {
  display: flex;
  gap: 3px;
  transform: rotate(-10deg);
}
.mark i {
  width: 8px;
  height: 24px;
  background: #c9b8ec;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
}
.mark i:nth-child(2) {
  background: #f6c6a8;
  margin-top: 5px;
}
.mark i:nth-child(3) {
  background: #a9dcc2;
  margin-top: 2px;
}
nav.primary {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 15px;
  font-weight: 550;
}
nav.primary a,
.menu nav a {
  text-decoration: none;
}
nav.primary a:hover,
nav.primary a[aria-current] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--lilac-deep);
}
.menu {
  display: none;
}

main {
  width: min(1240px, 90%);
  margin: auto;
}
.section {
  padding: 96px 0 0;
}
.section.flush {
  padding-top: 24px;
}
.section-head {
  display: grid;
  gap: 18px;
  margin-bottom: 44px;
  max-width: 900px;
}
.section-head p:not(.eyebrow) {
  max-width: 62ch;
}
.section-head p:not(.eyebrow) {
  color: var(--muted);
  font-size: 19px;
}
.more {
  margin-top: 32px;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.two h3 {
  margin-bottom: 16px;
}
.fine {
  margin-top: 20px;
  font-size: 14px;
  color: var(--muted);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 5%;
  align-items: center;
  padding: 70px 0 40px;
}
.hero h1 {
  margin-bottom: 26px;
}
.note {
  margin-top: 24px;
  font-size: 14px;
  color: var(--muted);
}

.hero-board {
  container-type: inline-size;
  position: relative;
  aspect-ratio: 1 / 0.86;
  border: 1.5px solid var(--ink);
  border-radius: 26px;
  background: var(--card);
  box-shadow: 10px 12px 0 var(--lilac);
  overflow: hidden;
}
.hb-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4cqw;
  height: 11cqw;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  font-size: max(12px, 2.8cqw);
}
.live {
  font: 600 max(10px, 2cqw) var(--mono);
  display: flex;
  gap: 8px;
  align-items: center;
}
.live b {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5cb58a;
  animation: pulse 1.6s infinite;
}
.hb-cols {
  position: absolute;
  inset: 11cqw 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.hb-col {
  border-right: 1px dashed var(--line);
  padding: 3cqw 2cqw;
  background-image: radial-gradient(#2a263814 1px, transparent 1px);
  background-size: 14px 14px;
}
.hb-col:last-child {
  border-right: 0;
}
.hb-title {
  display: flex;
  gap: 6px;
  align-items: center;
  font: 600 max(9px, 1.9cqw) var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  background: var(--tone);
}
.hb-card {
  --top: calc(20cqw + var(--r) * 19cqw);
  position: absolute;
  top: var(--top);
  left: calc(var(--c) * 25% + 1.6cqw);
  width: calc(25% - 3.2cqw);
  background: var(--tone);
  border: 1.5px solid var(--ink);
  border-radius: 2.4cqw;
  padding: 1.8cqw 2cqw;
  box-shadow: var(--shadow);
  font-size: max(9px, 1.9cqw);
  line-height: 1.25;
}
.hb-card em {
  display: block;
  font-size: max(8px, 1.6cqw);
  font-style: normal;
  opacity: 0.7;
}
.hb-card strong {
  display: block;
  margin: 0.8cqw 0;
  font-size: max(10px, 2.3cqw);
  letter-spacing: -0.02em;
}
.hb-card span {
  display: inline-block;
  border: 1px solid #2a263855;
  border-radius: 99px;
  padding: 0 1.2cqw;
  font-size: max(8px, 1.6cqw);
  background: #ffffff8c;
}
.progress {
  display: block;
  height: 4px;
  border-radius: 4px;
  margin-top: 1.4cqw;
  background: linear-gradient(90deg, var(--lilac-deep) 0 40%, #ffffff99 40%);
  animation: progress 4s ease-in-out infinite alternate;
  background-size: 200% 100%;
}
.traveller {
  --c: 0;
  animation: travel 12s cubic-bezier(0.7, 0, 0.3, 1) infinite;
  z-index: 2;
}
@keyframes travel {
  0%,
  18% {
    left: calc(0 * 25% + 1.6cqw);
    background: var(--butter);
    transform: rotate(-3deg);
  }
  25%,
  43% {
    left: calc(1 * 25% + 1.6cqw);
    background: var(--lilac);
    transform: rotate(2deg);
    top: calc(var(--top) + 19cqw);
  }
  50%,
  68% {
    left: calc(2 * 25% + 1.6cqw);
    background: var(--peach);
    transform: rotate(-2deg);
    top: calc(var(--top) + 0cqw);
  }
  75%,
  96% {
    left: calc(3 * 25% + 1.6cqw);
    background: var(--mint);
    transform: rotate(0);
    top: calc(var(--top) + 19cqw);
  }
  100% {
    left: calc(0 * 25% + 1.6cqw);
    background: var(--butter);
    transform: rotate(-3deg);
  }
}
@keyframes pulse {
  50% {
    opacity: 0.3;
  }
}
@keyframes progress {
  to {
    background-position: -60% 0;
  }
}

/* Fournisseurs */
.agents-strip {
  padding: 40px 0 0;
  text-align: center;
}
.agents-strip h2 {
  font: 600 13px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.agents-strip ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.agents-strip li {
  background: var(--tone);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 8px 18px;
  display: flex;
  gap: 8px;
  align-items: baseline;
}
.agents-strip li span {
  font-size: 13px;
  color: var(--muted);
}

/* Conversation contre ticket */
.versus {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: start;
}
.label {
  color: var(--muted);
  margin-bottom: 16px;
}
.chat {
  padding: 28px;
  border-radius: var(--radius);
  border: 1.5px dashed #2a263866;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bubble {
  max-width: 82%;
  padding: 10px 16px;
  border-radius: 18px;
  font-size: 15px;
}
.bubble.me {
  align-self: flex-end;
  background: var(--sky);
  border-bottom-right-radius: 4px;
}
.bubble.ai {
  background: #2a26380d;
  border-bottom-left-radius: 4px;
}
.bubble:last-child {
  opacity: 0.55;
}
.ticket-sheet {
  background: var(--tone);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 10px 12px 0 var(--peach);
  transform: rotate(1.2deg);
}
.ticket-sheet h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  margin: 10px 0 22px;
}
.ticket-id span {
  background: var(--card);
  padding: 1px 8px;
  border-radius: 99px;
}
.ticket-label {
  color: var(--muted);
  margin: 18px 0 10px;
}
.files {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* La vie d'un ticket */
.journey-grid {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 6%;
}
.journey-sticky {
  position: relative;
}
.journey-card {
  position: sticky;
  top: 140px;
  background: var(--card);
  border: 1.5px solid var(--ink);
  border-radius: 22px;
  padding: 30px;
  box-shadow: 10px 12px 0 var(--butter);
  transition:
    box-shadow 0.4s,
    background 0.4s;
}
.journey-card[data-tone="sky"] {
  box-shadow: 10px 12px 0 var(--sky);
}
.journey-card[data-tone="lilac"] {
  box-shadow: 10px 12px 0 var(--lilac);
}
.journey-card[data-tone="peach"] {
  box-shadow: 10px 12px 0 var(--peach);
}
.journey-card[data-tone="mint"] {
  box-shadow: 10px 12px 0 var(--mint);
}
.jc-top {
  display: flex;
  justify-content: space-between;
}
.jc-top em {
  font-style: normal;
}
.jc-status {
  background: var(--ink);
  color: white;
  border-radius: 99px;
  padding: 1px 10px;
}
.journey-card strong {
  display: block;
  font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 20px 0 14px;
}
.jc-detail {
  font: 14px var(--mono);
  color: var(--muted);
  min-height: 1.6em;
}
.jc-track {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-top: 26px;
}
.jc-track li {
  opacity: 0.35;
  transition: opacity 0.3s;
  font: 600 10px var(--mono);
  text-transform: uppercase;
  padding-top: 10px;
  border-top: 6px solid var(--tone);
  color: var(--muted);
}
.journey-card[data-step="0"] .jc-track li:nth-child(-n + 1),
.journey-card[data-step="1"] .jc-track li:nth-child(-n + 2),
.journey-card[data-step="2"] .jc-track li:nth-child(-n + 3),
.journey-card[data-step="3"] .jc-track li:nth-child(-n + 4),
.journey-card[data-step="4"] .jc-track li:nth-child(-n + 5) {
  opacity: 1;
  color: var(--ink);
}
.journey-steps {
  list-style: none;
  padding: 0;
}
.step {
  padding: 34px 0 34px 74px;
  position: relative;
  border-top: 1px solid var(--line);
  min-height: 40vh;
  transition: opacity 0.3s;
}
@media (min-width: 1021px) {
  .tracking .step:not(.active) {
    opacity: 0.45;
  }
}
.step h3 {
  font-size: clamp(24px, 2.4vw, 32px);
  letter-spacing: -0.035em;
  margin: 4px 0 12px;
}
.step p:last-child {
  color: var(--muted);
  font-size: 18px;
}
.step-status {
  color: var(--lilac-deep);
}
.step-n {
  position: absolute;
  left: 0;
  top: 34px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 20px;
  background: var(--tone);
  border: 1.5px solid var(--ink);
  transform: rotate(-4deg);
}

/* Captures */
.window {
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  overflow: hidden;
  background: #111;
  box-shadow: var(--shadow);
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: var(--card);
  border-bottom: 1.5px solid var(--ink);
}
.window-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  background: var(--peach);
}
.window-bar i:nth-child(2) {
  background: var(--butter);
}
.window-bar i:nth-child(3) {
  background: var(--mint);
}
.window-bar span {
  margin-left: 8px;
  font: 600 11px var(--mono);
  color: var(--muted);
}
.window img {
  display: block;
  width: 100%;
}
img.float {
  display: block;
  margin: auto;
  border-radius: 12px;
  border: 1.5px solid var(--ink);
  box-shadow: var(--shadow);
}
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.bento figure {
  background: var(--tone);
  border-radius: 24px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: space-between;
  border: 1px solid #2a26381f;
}
.bento .b-wide {
  grid-column: span 2;
}
.bento .b-tall {
  grid-row: span 2;
}
.bento .b-tall img {
  width: 70%;
}
.bento .tone-butter img {
  width: 92%;
}
figcaption {
  font-size: 15px;
  color: var(--muted);
}
figcaption b {
  display: block;
  color: var(--ink);
  margin-bottom: 4px;
}

/* Comparatif */
.table-wrap {
  overflow-x: auto;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  background: var(--card);
}
.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}
.compare th,
.compare td {
  text-align: left;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare tbody tr:last-child > * {
  border-bottom: 0;
}
.compare thead th {
  font: 600 12px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.compare thead th:last-child,
.compare td:last-child {
  background: var(--mint);
}
.compare td:nth-child(2) {
  color: var(--muted);
}
.compare tbody th {
  font-weight: 700;
  width: 22%;
}

/* Publics */
.audiences {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.audience {
  background: var(--tone);
  border-radius: 22px;
  padding: 30px;
  border: 1px solid #2a26381f;
}
.audience h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

/* Bandeau Singularity */
.band {
  margin-top: 96px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
  background: linear-gradient(135deg, var(--lilac), var(--sky) 60%, var(--mint));
  border: 1.5px solid var(--ink);
  border-radius: 32px;
  padding: clamp(32px, 5vw, 64px);
}
.band h2 {
  margin-bottom: 20px;
}
.band p:not(.eyebrow) {
  font-size: 18px;
  max-width: 52ch;
}
.band-art,
.rename-art {
  display: grid;
  justify-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.07em;
}
.band-art .old,
.rename-art .old {
  font-size: clamp(36px, 5vw, 64px);
  text-decoration: line-through;
  text-decoration-thickness: 4px;
  text-decoration-color: var(--lilac-deep);
  opacity: 0.45;
  transform: rotate(-4deg);
}
.band-art .new,
.rename-art .new {
  font-size: clamp(36px, 5vw, 64px);
  background: var(--card);
  border: 1.5px solid var(--ink);
  border-radius: 18px;
  padding: 4px 22px;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

/* Journal */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.post-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px;
  background: var(--tone);
  border-radius: 22px;
  text-decoration: none;
  border: 1px solid #2a26381f;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.post-card[hidden] {
  display: none;
}
.post-card:hover {
  transform: translateY(-4px) rotate(-0.4deg);
  box-shadow: var(--shadow);
}
.post-card h3 {
  font-size: 23px;
  line-height: 1.12;
}
.post-card p {
  color: var(--muted);
  font-size: 15px;
}
.post-card .meta {
  margin-top: auto;
  color: var(--muted);
}
.post-card.featured {
  margin-bottom: 28px;
  padding: clamp(28px, 5vw, 56px);
  border: 1.5px solid var(--ink);
  box-shadow: 10px 12px 0 var(--peach);
}
.post-card.featured h3 {
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -0.04em;
  max-width: 20ch;
}
.post-card.featured p {
  font-size: 19px;
  max-width: 60ch;
}
.tag {
  align-self: flex-start;
  justify-self: start;
  background: #ffffffa6;
  border: 1px solid #2a263833;
  border-radius: 99px;
  padding: 1px 10px;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.filters button {
  font: 600 14px var(--display);
  padding: 7px 16px;
  border-radius: 99px;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.filters button[aria-pressed="true"] {
  background: var(--ink);
  color: white;
}

/* Article */
.post-head {
  background: var(--tone);
  border-radius: 32px;
  padding: clamp(30px, 6vw, 72px);
  margin-top: 40px;
  display: grid;
  gap: 18px;
  border: 1.5px solid var(--ink);
}
.post-head h1 {
  font-size: clamp(40px, 5.6vw, 76px);
  max-width: 18ch;
}
.post-head .lead {
  color: var(--ink);
}
.crumbs {
  font-size: 14px;
}
.post-body {
  display: grid;
  grid-template-columns: 240px minmax(0, 720px);
  gap: 64px;
  justify-content: center;
  padding-top: 56px;
}
.toc {
  position: sticky;
  top: 110px;
  align-self: start;
  font-size: 14px;
}
.toc p {
  font: 600 12px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.toc ol {
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: var(--muted);
}
.toc a {
  text-decoration: none;
}
.toc a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.prose {
  font-size: 19px;
  line-height: 1.7;
}
.prose h2 {
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: -0.035em;
  margin: 44px 0 14px;
}
.prose > p {
  margin: 0 0 18px;
}
.takeaways {
  background: var(--card);
  border: 1.5px solid var(--ink);
  border-radius: 20px;
  padding: 26px 30px;
  box-shadow: 8px 9px 0 var(--butter);
}
.takeaways h2 {
  margin: 0 0 10px;
  font: 600 13px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.takeaways ul {
  padding-left: 20px;
  display: grid;
  gap: 6px;
  font-size: 17px;
}
.callout {
  margin: 48px 0 0;
  padding: 28px 30px;
  border-radius: 20px;
  background: var(--lilac);
  display: grid;
  gap: 18px;
  justify-items: start;
  font-size: 17px;
}
.pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.pager a {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 650;
}
.pager a:hover {
  background: var(--card);
}
.pager a span {
  font: 600 11px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.pager .older {
  text-align: right;
}

/* Pages intérieures */
.page-head {
  padding: 72px 0 40px;
  display: grid;
  gap: 22px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.chips a {
  font-size: 14px;
  text-decoration: none;
  border: 1.5px solid var(--ink);
  border-radius: 99px;
  padding: 6px 14px;
}
.chips a:hover {
  background: var(--lilac);
}
.feature {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 6%;
  align-items: center;
  padding: 72px 0;
  border-top: 1px solid var(--line);
}
.feature.flip .feature-copy {
  order: 2;
}
.feature h2 {
  font-size: clamp(32px, 3.6vw, 50px);
  margin-bottom: 18px;
}
.feature-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 22px;
}
.feature-art {
  background: var(--tone);
  border-radius: 28px;
  padding: clamp(18px, 3vw, 40px);
  position: relative;
}
.feature-art.narrow img.float {
  max-width: 340px;
}
.feature-art img.inset {
  position: absolute;
  right: -14px;
  bottom: -30px;
  width: 38%;
}
.agent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.agent {
  background: var(--tone);
  border-radius: 22px;
  padding: 28px;
  border: 1px solid #2a26381f;
}
.agent h2 {
  font-size: 34px;
  margin: 6px 0 20px;
  letter-spacing: -0.04em;
}
.agent-vendor {
  color: var(--muted);
}
.agent dt {
  font: 600 11px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-top: 12px;
}
.agent dd {
  font-size: 15px;
}
.steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.steps li {
  position: relative;
  padding-top: 70px;
}
.steps .step-n {
  top: 0;
}
.steps h3 {
  margin-bottom: 8px;
}
.steps p {
  color: var(--muted);
  font-size: 16px;
}
.contrast .two p {
  font-size: 18px;
}
.manifesto blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.2;
  max-width: 28ch;
  margin-bottom: 48px;
}
.manifesto blockquote footer {
  font: 600 12px var(--mono);
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-top: 16px;
}
.manifesto .two p {
  font-size: 18px;
  color: var(--muted);
}
.timeline {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.timeline li {
  background: var(--tone);
  border: 1.5px solid var(--ink);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.timeline li:nth-child(odd) {
  transform: rotate(-1.2deg);
}
.timeline li:nth-child(even) {
  transform: rotate(1deg) translateY(18px);
}
.timeline h3 {
  margin: 10px 0 8px;
}
.timeline p {
  font-size: 15px;
  color: var(--muted);
}
.faq {
  display: grid;
  gap: 12px;
  max-width: 900px;
}
.faq details {
  background: var(--card);
  border: 1.5px solid var(--ink);
  border-radius: 18px;
  padding: 0 24px;
}
.faq details[open] {
  background: var(--butter);
}
.faq summary {
  cursor: pointer;
  padding: 20px 30px 20px 0;
  font-weight: 700;
  font-size: 18px;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 16px;
  font-size: 24px;
  transition: transform 0.2s;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  padding-bottom: 22px;
  color: var(--ink);
}

/* Téléchargement */
.download {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 72px 0 32px;
}
.download h1 {
  margin-bottom: 28px;
}
.notice {
  border: 1.5px solid var(--ink);
  background: var(--butter);
  border-radius: 18px;
  padding: 20px 24px;
  font-size: 18px;
  max-width: 56ch;
  box-shadow: var(--shadow);
}
.rename-art .arrow {
  font-size: 40px;
}
.platforms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.platform {
  background: var(--tone);
  border: 1.5px solid var(--ink);
  border-radius: 22px;
  padding: 28px;
  text-decoration: none;
  display: grid;
  gap: 8px;
  transition: transform 0.2s;
}
.platform:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.platform h2 {
  font-size: 40px;
}
.platform span {
  font-weight: 700;
  margin-top: 10px;
}

/* Appel final et pied de page */
.cta {
  margin-top: 110px;
  text-align: center;
  padding: clamp(40px, 7vw, 90px) 24px;
  background: var(--butter);
  border-radius: 36px;
  border: 1.5px solid var(--ink);
  display: grid;
  justify-items: center;
  gap: 22px;
}
.cta p {
  color: var(--muted);
  font-size: 18px;
}
footer.site {
  width: min(1240px, 90%);
  margin: 96px auto 0;
  padding: 48px 0 32px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 32px;
  font-size: 15px;
}
.footer-brand p {
  margin-top: 14px;
  color: var(--muted);
  max-width: 34ch;
}
footer.site nav {
  display: grid;
  gap: 8px;
  align-content: start;
}
footer.site nav a {
  text-decoration: none;
  color: var(--muted);
}
footer.site nav a:hover {
  color: var(--ink);
  text-decoration: underline;
}
footer.site h2 {
  font: 600 12px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.legal {
  grid-column: 1 / -1;
  font-size: 13px;
  color: var(--muted);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

/* Adaptatif */
@media (max-width: 1020px) {
  nav.primary {
    gap: 16px;
  }
  .hero,
  .versus,
  .journey-grid,
  .band,
  .download,
  .feature {
    grid-template-columns: 1fr;
  }
  .feature.flip .feature-copy {
    order: 0;
  }
  .journey-sticky {
    display: none;
  }
  .step {
    min-height: 0;
  }
  .bento,
  .post-grid,
  .audiences {
    grid-template-columns: 1fr 1fr;
  }
  .bento .b-tall {
    grid-row: auto;
  }
  .timeline {
    grid-template-columns: 1fr 1fr;
  }
  .timeline li:nth-child(even) {
    transform: rotate(1deg);
  }
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .post-body {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .toc {
    position: static;
  }
  footer.site {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 820px) {
  nav.primary,
  header.site > .button {
    display: none;
  }
  .menu {
    display: block;
    margin-left: auto;
  }
  .menu summary {
    list-style: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    border: 1.5px solid var(--ink);
    border-radius: 12px;
    display: grid;
    align-content: center;
    gap: 6px;
    padding: 0 11px;
  }
  .menu summary::-webkit-details-marker {
    display: none;
  }
  .menu summary span {
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
  }
  .menu nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 75px;
    display: grid;
    background: var(--paper);
    border-bottom: 1.5px solid var(--ink);
    padding: 12px 5% 20px;
  }
  .menu nav a {
    padding: 12px 0;
    font-size: 20px;
    font-weight: 700;
    border-bottom: 1px solid var(--line);
  }
}
@media (max-width: 640px) {
  :root {
    font-size: 16px;
  }
  header.site {
    height: 68px;
  }
  .menu nav {
    top: 67px;
  }
  .brand {
    font-size: 26px;
  }
  .hero {
    padding-top: 40px;
  }
  .section {
    padding-top: 72px;
  }
  .bento,
  .post-grid,
  .audiences,
  .two,
  .platforms,
  .timeline,
  .steps,
  footer.site {
    grid-template-columns: 1fr;
  }
  .bento .b-wide {
    grid-column: auto;
  }
  .step {
    padding-left: 64px;
  }
  .ticket-sheet {
    transform: none;
  }
  .pager {
    grid-template-columns: 1fr;
  }
  .pager .older {
    text-align: left;
  }
  .feature-art img.inset {
    position: static;
    width: 70%;
    margin-top: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .traveller {
    left: calc(1 * 25% + 1.6cqw);
    background: var(--lilac);
    top: calc(var(--top) + 19cqw);
  }
}

.languages {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 12px;
  width: min(1240px, 90%);
  margin: 12px auto 0;
  font-size: 13px;
}

.languages a {
  border-radius: 999px;
  padding: 5px 10px;
  text-decoration: none;
}

.languages a[aria-current],
.languages a:hover {
  background: var(--lilac);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 640px) {
  .languages {
    justify-content: flex-start;
    gap: 4px;
  }
}

/* Confidentialité et consentement (ANALYTICS.md) */
.legal-page {
  max-width: 760px;
}
.legal-page ul {
  padding-left: 22px;
  margin: 0 0 18px;
  display: grid;
  gap: 8px;
}
.legal-page > p,
.legal-page #cookies > p {
  margin: 0 0 18px;
}
.page-head .meta {
  color: var(--muted);
  font-size: 15px;
}
.cookie-settings {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
}
.legal .cookie-settings {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.legal a + .cookie-settings {
  margin-left: 12px;
}
.cookie-consent {
  position: fixed;
  z-index: 30;
  right: 20px;
  bottom: 20px;
  width: min(440px, calc(100% - 40px));
  display: grid;
  gap: 12px;
  padding: 22px 24px;
  background: var(--card);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 8px 9px 0 var(--lilac);
  font-size: 15px;
  line-height: 1.5;
}
.cookie-consent[hidden],
.cookie-settings[hidden] {
  display: none;
}
.cookie-consent h2 {
  font-size: 21px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.cookie-consent p {
  color: var(--muted);
}
.cookie-consent-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}
.cookie-consent-actions button {
  font: 650 15px var(--display);
  padding: 11px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: white;
  cursor: pointer;
}
.cookie-consent-actions button:hover {
  background: #4a3f5c;
}
.cookie-consent-actions .cookie-consent-close {
  grid-column: 1 / -1;
  background: transparent;
  color: var(--ink);
}
.cookie-consent-actions .cookie-consent-close:hover {
  background: var(--lilac);
}
@media (max-width: 520px) {
  .cookie-consent {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
    padding: 18px;
  }
}

.post-cover {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}
.post > .post-cover {
  max-width: 800px;
  margin: 32px auto;
}
@media (min-width: 760px) {
  .post-card.featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 5%;
  }
  .featured .post-cover {
    grid-row: span 4;
    align-self: center;
  }
}
