/* Sigillio — site vitrine, direction « Papier » : chemises cartonnées à onglet, kraft et rouge carmin. */
@font-face { font-family: "Albert Sans"; src: url("../fonts/albert-sans.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --bg: #efe7d8;
  --paper: #fbf7ee;
  --paper-2: #f3ebda;
  --paper-3: #e7dcc6;
  --sheet: #ffffff;
  --ink: #221c15;
  --muted: #5f5548;
  --rule: #ddd2bd;
  --accent: #a8192c;
  --accent-ink: #ffffff;
  --accent-hover: #8b1223;
  --accent-text: #9c1627;
  --logo-accent: #941626;
  --lift: drop-shadow(0 16px 26px rgba(74, 50, 20, .13));
  --gutter: 32px;
  --section: 124px;
  --r: 14px;
  --tab: 46px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #17130e;
  --paper: #221c15;
  --paper-2: #2c251b;
  --paper-3: #362d21;
  --sheet: #362d21;
  --ink: #f3ecdf;
  --muted: #b8ad9b;
  --rule: #463b2c;
  --accent: #ff8a8f;
  --accent-ink: #17130e;
  --accent-hover: #ffa6aa;
  --accent-text: #ff8a8f;
  --logo-accent: #ff8a8f;
  --lift: none;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scrollbar-width: thin; scrollbar-color: rgb(127 127 127 / .35) transparent; -webkit-text-size-adjust: 100%; }
::-webkit-scrollbar { width: 10px; height: 10px; background: transparent; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgb(127 127 127 / .35); border-radius: 999px; border: 3px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background-color: rgb(127 127 127 / .55); }
::-webkit-scrollbar-corner { background: transparent; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Albert Sans", system-ui, sans-serif; font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; letter-spacing: -0.02em; }
p { text-wrap: pretty; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; }
.skip:focus { left: 16px; top: 16px; z-index: 40; background: var(--accent); color: var(--accent-ink); border-radius: 10px; }
.link { color: var(--accent-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.link:hover { text-decoration-thickness: 2px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border: 0; border-radius: var(--r); background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: 17px; white-space: nowrap; cursor: pointer; transition: background-color .15s ease; }
.btn:hover { background: var(--accent-hover); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- en-tête : deux îlots flottants ---------- */
.top { position: relative; z-index: 20; padding-top: 20px; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.isle { display: flex; align-items: center; gap: 6px; min-height: 60px; padding: 8px; background: var(--paper); border-radius: 18px; filter: var(--lift); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px 0 10px; font-weight: 600; font-size: 20px; letter-spacing: -0.01em; }
.logo { width: 19px; height: 30px; flex: none; }
.isle__links { display: flex; align-items: center; }
.isle__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 13px; border-radius: 12px; color: var(--muted); font-size: 16px; transition: color .15s ease, background-color .15s ease; }
.isle__links a:hover { color: var(--ink); background: var(--paper-2); }
.round { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; border: 0; border-radius: 12px; background: transparent; cursor: pointer; transition: background-color .15s ease; }
.round:hover { background: var(--paper-2); }
.round svg { width: 20px; height: 20px; }
.theme .i-sun { display: none; }
:root[data-theme="dark"] .theme .i-sun { display: block; }
:root[data-theme="dark"] .theme .i-night { display: none; }
.btn--top { min-height: 44px; padding: 0 18px; font-size: 16px; border-radius: 12px; }
.burger { display: none; }
.burger .i-x, .burger[aria-expanded="true"] .i-menu { display: none; }
.burger[aria-expanded="true"] .i-x { display: block; }
.i-x { position: relative; width: 20px; height: 20px; }
.i-x::before, .i-x::after { content: ""; position: absolute; left: 1px; right: 1px; top: 9px; height: 2px; background: currentColor; transform: rotate(45deg); }
.i-x::after { transform: rotate(-45deg); }
.drawer { margin-top: 10px; }
.drawer__in { background: var(--paper); border-radius: 18px; padding: 10px 20px 18px; filter: var(--lift); }
.drawer a, .drawer button { display: flex; align-items: center; width: 100%; min-height: 50px; padding: 0; background: none; border: 0; border-bottom: 1px solid var(--rule); font-size: 19px; text-align: left; cursor: pointer; }
.drawer button { border-bottom: 0; color: var(--muted); }

/* ---------- la chemise et son onglet ---------- */
.folder { position: relative; padding-top: var(--tab); filter: var(--lift); min-width: 0; }
.folder__tab, .folder__tabs { position: absolute; top: 0; left: 0; }
.folder__tab { display: inline-flex; align-items: center; height: calc(var(--tab) + 1px); padding: 0 20px; background: var(--paper); border-radius: 12px 12px 0 0; font-size: 16px; font-weight: 600; letter-spacing: 0; white-space: nowrap; }
.folder__body { background: var(--paper); border-radius: 0 var(--r) var(--r) var(--r); padding: 28px; height: 100%; }
.folder--fill { display: flex; flex-direction: column; }
.folder--fill .folder__body { flex: 1; }
.folder__tabs { display: flex; gap: 6px; }
.folder__tabs button { display: inline-flex; align-items: center; height: calc(var(--tab) + 1px); padding: 0 20px; border: 0; border-radius: 12px 12px 0 0; background: var(--paper-3); color: var(--muted); font-size: 16px; font-weight: 600; white-space: nowrap; cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.folder__tabs button:hover { color: var(--ink); }
.folder__tabs button[aria-selected="true"], .folder__tabs button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }

/* ---------- petits objets ---------- */
.sheet { background: var(--sheet); border: 1px solid var(--rule); border-radius: 8px; padding: 16px 18px; font-size: 14px; line-height: 1.4; display: grid; gap: 8px; text-align: left; }
.sheet b { font-weight: 600; }
.sheet small { color: var(--muted); font-size: 13px; }
.sheet__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sheet__rule { display: grid; }
.sheet__rule > * { padding: 8px 0; border-top: 1px solid var(--rule); }
.sheet__rule > *:last-child { padding-bottom: 0; }
.sheet__big { font-size: 25px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
.sheet svg { width: 16px; height: 16px; flex: none; }
.chip { display: inline-block; padding: 3px 9px; border-radius: 999px; background: var(--paper-2); font-size: 13px; white-space: nowrap; }
.chip--ok { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sig { margin-top: 4px; padding-top: 9px; border-top: 2px solid var(--accent); display: grid; gap: 1px; }

/* ---------- héros ---------- */
.hero { padding: 76px 0 var(--section); }
.hero__grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 4.3vw, 60px); line-height: 1.06; letter-spacing: -0.03em; }
.hero__lead { margin-top: 26px; color: var(--muted); font-size: 20px; line-height: 1.5; max-width: 29em; }
.hero__cta { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.hero__price { color: var(--muted); font-size: 16px; }
.hero__show { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 20px; align-items: end; }
/* pile de chemises : trois onglets en escalier, chacun calé sur le haut de sa feuille */
.pile { --step: 14px; position: relative; padding-top: calc(var(--tab) + 2 * var(--step)); filter: var(--lift); min-width: 0; }
.pile__tabs { position: absolute; top: 0; left: 0; right: 0; height: calc(var(--tab) + 2 * var(--step) + 1px); display: flex; align-items: flex-start; gap: 6px; overflow: hidden; }
.pile__tab { position: relative; flex: none; display: inline-flex; align-items: center; height: calc(var(--tab) + 1px); padding: 0 18px; border-radius: 12px 12px 0 0; font-size: 16px; font-weight: 600; white-space: nowrap; }
.pile__tab--0 { margin-top: calc(2 * var(--step)); background: var(--paper); z-index: 3; }
.pile__tab--1 { margin-top: var(--step); background: var(--paper-2); color: var(--muted); z-index: 2; }
.pile__tab--2 { margin-top: 0; background: var(--paper-3); color: var(--muted); z-index: 1; }
.pile__sheet { position: absolute; left: 0; right: 0; bottom: 0; border-radius: var(--r); }
.pile__sheet--2 { top: var(--tab); background: var(--paper-3); z-index: 1; }
.pile__sheet--1 { top: calc(var(--tab) + var(--step)); background: var(--paper-2); z-index: 2; }
.pile__front { position: relative; z-index: 3; background: var(--paper); border-radius: 0 var(--r) var(--r) var(--r); padding: 20px; }
.hero__photo { aspect-ratio: 3 / 4; border-radius: var(--r); overflow: hidden; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; }

/* ---------- sections ---------- */
.section { padding: 0 0 var(--section); }
.section__head { max-width: 21em; font-size: clamp(30px, 3.1vw, 44px); line-height: 1.1; margin-bottom: 44px; }
.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.folder p { color: var(--muted); }
.folder__body > p + .chips, .folder__body > .sheet + p, .folder__body > p + .sheet { margin-top: 18px; }

/* ---------- démonstration : un métier, une chemise ---------- */
.annot { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 72px; align-items: start; }
.panels { display: grid; }
.panel { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.panel[hidden] { display: grid !important; visibility: hidden; }
.annot.is-wide .panel > .sheet:last-child { margin-top: 64px; }
.notes { display: grid; gap: 26px; }
.note { position: relative; font-size: 17px; line-height: 1.45; }
.note strong { display: block; font-weight: 600; margin-bottom: 4px; }
.note span { color: var(--muted); }
.annot.is-wide .notes { position: absolute; top: 0; right: 0; width: 300px; height: 100%; display: block; }
.annot.is-wide .note { position: absolute; left: 0; right: 0; }
.annot.is-wide .note::before { content: ""; position: absolute; top: 13px; right: calc(100% + 12px); width: var(--lead, 60px); height: 1px; background: var(--ink); }
.annot.is-wide .note::after { content: ""; position: absolute; top: 10px; right: calc(100% + 9px); width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }

/* ---------- niveaux et prix ---------- */
.amount { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; }
.amount svg { width: 30px; height: 30px; align-self: center; color: var(--accent-text); flex: none; }
.amount b { font-size: clamp(46px, 4.6vw, 64px); font-weight: 500; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.amount span { color: var(--muted); font-size: 18px; }
.folder h3.h { font-size: 24px; line-height: 1.2; margin-bottom: 16px; }
.amount + p { margin-top: 18px; }
.packs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 22px; }
.pack { position: relative; padding: 30px 8px 14px; border-radius: 10px; background: var(--paper-2); text-align: center; display: grid; gap: 2px; }
.pack b { font-size: 21px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.pack span { color: var(--muted); font-size: 15px; }
.pack i { position: absolute; top: 8px; right: 10px; font-style: normal; font-size: 14px; font-weight: 600; color: var(--accent-text); white-space: nowrap; }
.perks { margin-top: 22px; border-top: 1px solid var(--rule); }
.perks li { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 17px; }
.perks li:last-child { border-bottom: 0; padding-bottom: 0; }
.perks svg { width: 18px; height: 18px; flex: none; color: var(--accent-text); }
.perks .bonus { font-weight: 600; }
[data-plan]:not(.is-yearly) .bonus { visibility: hidden; }
.aside { margin-top: 22px; font-size: 17px; }
.folder__tabs .tick { display: inline-block; height: 1.3em; margin-left: 10px; overflow: hidden; font-size: 14px; font-weight: 700; color: var(--accent-text); vertical-align: middle; }
.folder__tabs button[aria-pressed="true"] .tick { color: var(--accent-ink); }
.tick > span { display: block; height: 1.3em; line-height: 1.3; white-space: nowrap; animation: tick 5s cubic-bezier(.7, 0, .2, 1) infinite; }
@keyframes tick { 0%, 42% { transform: translateY(0); } 50%, 92% { transform: translateY(-100%); } 100% { transform: translateY(0); } }

/* ---------- questions ---------- */
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 0; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 0; cursor: pointer; list-style: none; border-radius: 8px; }
.faq summary::-webkit-details-marker { display: none; }
.faq details:first-child summary { padding-top: 0; }
.faq__q { font-size: 21px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.25; }
.sign { position: relative; width: 22px; height: 22px; flex: none; }
.sign::before, .sign::after { content: ""; position: absolute; left: 2px; right: 2px; top: 10px; height: 2px; background: currentColor; transition: transform .2s ease; }
.sign::after { transform: rotate(90deg); }
details[open] > summary .sign::after { transform: rotate(0deg); }
.faq summary:hover .faq__q { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.faq__a { padding: 0 56px 24px 0; max-width: 44em; }

/* ---------- appel final et pied de page ---------- */
.final { padding: 0 0 var(--section); }
.final .wrap { display: grid; justify-items: center; gap: 32px; text-align: center; }
.final h2 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.08; max-width: 15em; }
.foot { padding: 0 0 48px; font-size: 16px; }
.foot .folder__tab { padding: 0 18px 0 12px; gap: 10px; font-size: 19px; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot__grid > * { min-width: 0; }
.foot h2 { font-size: 16px; font-weight: 600; letter-spacing: 0; margin-bottom: 6px; }
.foot__grid > p { max-width: 20em; font-size: 16px; }
.foot li a { display: inline-flex; align-items: center; min-height: 34px; min-width: 44px; max-width: 100%; overflow-wrap: anywhere; color: var(--muted); }
.foot li a:hover { color: var(--ink); }
.foot__legal { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; color: var(--muted); font-size: 15px; }

/* ---------- adaptatif ---------- */
@media (max-width: 1100px) {
  .isle__links, .isle .theme { display: none; }
  .burger { display: inline-grid; }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .annot { grid-template-columns: 1fr; gap: 32px; }
  .cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1101px) { .drawer { display: none !important; } }
@media (max-width: 760px) {
  :root { --gutter: 20px; --section: 76px; }
  body { font-size: 17px; }
  .top { padding-top: 12px; }
  .isle { min-height: 56px; padding: 6px; }
  .brand { font-size: 18px; padding: 0 8px 0 6px; }
  .btn--top { padding: 0 13px; font-size: 15px; }
  .hero { padding-top: 44px; }
  .hero h1 { font-size: 37px; }
  .hero__lead { font-size: 18px; margin-top: 18px; }
  .hero__cta { margin-top: 26px; }
  .hero__cta .btn { width: 100%; }
  .hero__show { grid-template-columns: 1fr; }
  .hero__photo { aspect-ratio: 16 / 10; }
  .section__head { font-size: 29px; margin-bottom: 30px; }
  .cols-2, .cols-3 { grid-template-columns: 1fr; gap: 24px; }
  .folder__body { padding: 20px; }
  .folder__tabs button { padding: 0 14px; font-size: 15px; }
  .panel { grid-template-columns: 1fr; }
  .packs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq__q { font-size: 19px; }
  .faq__a { padding-right: 0; }
  .final h2 { font-size: 30px; }
  .final .btn { width: 100%; }
  .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
  .foot__grid > p, .foot__grid > div:nth-child(2) { grid-column: 1 / -1; }
  .foot li a { white-space: normal; min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } .tick > span { animation: none; } }

/* ==========================================================================
   Extensions pour les pages intérieures
   ========================================================================== */
:root { --code-bg: #221c15; --code-ink: #f3ecdf; --code-muted: #b8ad9b; }
:root[data-theme="dark"] { --code-bg: #0f0c08; }
ol, table { margin: 0; } ol { padding: 0; list-style: none; }
li, dd, td { text-wrap: pretty; }
.isle__links a[aria-current="page"] { color: var(--ink); background: var(--paper-2); }
.drawer h2 { font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--muted); margin: 16px 0 0; }
.drawer a[aria-current="page"] { font-weight: 600; }
.hero--solo .hero__grid { grid-template-columns: minmax(0, 1fr); }
.hero--solo h1 { max-width: 17em; }
.hero--even .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.hero__grid > *, .annot > *, .cols-2 > *, .cols-3 > *, .cols-4 > * { min-width: 0; }
.pile--duo .pile__front { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: start; }
.cols-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.folder h3.h { font-size: 24px; line-height: 1.2; margin-bottom: 12px; }
.folder__body > .sheet + .sheet { margin-top: 12px; }
.folder__body > .sheet + h3.h, .folder__body > .shot + h3.h { margin-top: 20px; }
.folder__body > h3.h + .sheet { margin-top: 4px; }
.folder__body > .amount + .sheet, .folder__body > p + .packs { margin-top: 18px; }
.folder p.lead { font-size: 20px; line-height: 1.5; max-width: 34em; }
.folder p + p { margin-top: 12px; }
.folder .more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 10px; font-weight: 600; font-size: 17px; color: var(--accent-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.folder .more svg { width: 16px; height: 16px; }
a.folder { display: block; }
a.folder:hover .h { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.shot { border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 10; }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.packs--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pack--big b { font-size: 26px; }
.kv > div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 17px; }
.kv > div:first-child { padding-top: 0; }
.kv > div:last-child { border-bottom: 0; padding-bottom: 0; }
.kv dt { color: var(--muted); }
.kv dd { font-weight: 600; text-align: right; }
.table { width: 100%; border-collapse: collapse; font-size: 17px; }
.table th, .table td { text-align: left; vertical-align: top; padding: 14px 18px 14px 0; border-bottom: 1px solid var(--rule); }
.table thead th { font-weight: 600; padding-top: 0; border-bottom-color: var(--ink); }
.table tbody th { font-weight: 600; }
.table td { color: var(--muted); }
.table tbody tr:last-child th, .table tbody tr:last-child td { border-bottom: 0; padding-bottom: 0; }
.code { margin: 0; background: var(--code-bg); color: var(--code-ink); border-radius: 10px; padding: 20px 22px; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 14px; line-height: 1.6; overflow-x: auto; white-space: pre; }
.drop { display: grid; gap: 16px; justify-items: start; }
.drop label { font-size: 24px; font-weight: 500; letter-spacing: -0.02em; }
.drop input[type="file"] { width: 100%; min-height: 56px; padding: 12px; border: 1.5px dashed var(--rule); border-radius: 10px; background: var(--sheet); font: inherit; color: var(--muted); }
.never { columns: 2; column-gap: 40px; }
.never li { break-inside: avoid; display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--rule); font-size: 18px; }
.never svg { width: 18px; height: 18px; flex: none; color: var(--accent-text); }
.flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.flow--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.flow li { padding-top: 16px; border-top: 2px solid var(--accent); }
.flow h3 { font-size: 21px; line-height: 1.2; margin-bottom: 6px; }
.flow p { font-size: 17px; }
.panel--one { grid-template-columns: minmax(0, 1fr); }
.annot.is-wide .panel--one > .sheet:last-child { margin-top: 0; }
@media (max-width: 1100px) {
  .hero--even .hero__grid { grid-template-columns: 1fr; }
  .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow, .flow--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .cols-4, .flow, .flow--4 { grid-template-columns: 1fr; }
  .pile--duo .pile__front { grid-template-columns: 1fr; }
  .pile__tab { padding: 0 13px; font-size: 15px; }
  .folder h3.h { font-size: 21px; }
  .folder p.lead { font-size: 18px; }
  .never { columns: 1; }
  .never li { font-size: 17px; }
  .kv > div { flex-direction: column; gap: 2px; }
  .kv dd { text-align: left; }
  .code { font-size: 13px; padding: 16px; }
  .table, .table tbody, .table tr, .table th, .table td { display: block; }
  .table thead { position: absolute; left: -9999px; }
  .table tbody tr { padding: 16px 0; border-bottom: 1px solid var(--rule); }
  .table tbody tr:first-child { padding-top: 0; }
  .table tbody tr:last-child { border-bottom: 0; padding-bottom: 0; }
  .table tbody th { font-size: 19px; padding: 0 0 6px; border: 0; }
  .table td { display: grid; grid-template-columns: 7em minmax(0, 1fr); gap: 12px; padding: 5px 0; border: 0; }
  .table td::before { content: attr(data-label); color: var(--ink); font-weight: 500; }
  .folder__tabs { max-width: 100%; }
}
.after { margin-top: 28px; }
.after .more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; font-size: 17px; color: var(--accent-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.after .more svg { width: 16px; height: 16px; }
.faq summary { min-height: 44px; }
@media (max-width: 760px) { .annot .folder__tabs, .folder--steps .folder__tabs { gap: 3px; } .annot .folder__tabs button, .folder--steps .folder__tabs button { padding: 0 9px; font-size: 14px; } }
.refs .chip { font-size: 14px; }

/* ---------- cartes simples : la chemise est réservée aux moments forts ---------- */
.card { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--r); padding: 24px; min-width: 0; }
.card > .sheet + .sheet { margin-top: 12px; }
.card h3.h { font-size: 22px; line-height: 1.2; margin: 20px 0 8px; }
.card > h3.h:first-child { margin-top: 0; }
.card p { color: var(--muted); }
.card .chips { margin-top: 16px; }
.card .more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: auto; padding-top: 10px; font-weight: 600; font-size: 17px; color: var(--accent-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.card .more svg { width: 16px; height: 16px; }
.card--wide { padding: 28px; }
.card--wide .split { gap: 28px; }

/* ---------- Vulmir, à sa couleur ---------- */
:root { --vulmir: #c4480a; --vulmir-text: #a83d08; }
:root[data-theme="dark"] { --vulmir: #f08a4b; --vulmir-text: #f08a4b; }
.vulmir { border: 2px solid var(--vulmir); }
.vulmir__name { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; color: var(--vulmir-text); white-space: nowrap; }
.vlogo { width: 24px; height: 24px; flex: none; }
.card.vulmir .vulmir__name { margin-bottom: 16px; }
.card.vulmir .more { color: var(--vulmir-text); }
.card.vulmir:hover .h { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.vulmir--line { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding: 14px 16px; border-radius: 12px; font-size: 17px; }
.vulmir--line:hover { background: var(--paper-2); }

/* ---------- recharges ---------- */
.refills { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.refill { position: relative; display: grid; justify-items: center; gap: 4px; padding: 52px 20px 26px; background: var(--paper); border-radius: var(--r); text-align: center; }
.refill__bonus { position: absolute; top: 14px; right: 14px; padding: 4px 11px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 14px; font-weight: 700; white-space: nowrap; }
.refill__label { color: var(--muted); font-size: 16px; }
.refill b { font-size: clamp(40px, 3.6vw, 52px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; font-variant-numeric: tabular-nums; white-space: nowrap; }
.refill__pay { font-size: 18px; font-weight: 600; }
.refill__eq { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--rule); width: 100%; color: var(--muted); font-size: 16px; }
p.after { color: var(--muted); font-size: 16px; }
.packs--mini { gap: 8px; }
@media (max-width: 1100px) { .refills { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .refills { gap: 12px; } .refill { padding: 48px 12px 20px; } .refill b { font-size: 34px; } .refill__eq { font-size: 15px; } .card { padding: 20px; } .vulmir--line { flex-direction: column; align-items: flex-start; gap: 6px; } }

.panel > .step { grid-column: 1 / -1; font-size: 19px; line-height: 1.45; color: var(--ink); max-width: 30em; }
.annot.is-wide .panel > .step + .sheet + .sheet { margin-top: 64px; }
p.after--lead { color: var(--ink); font-size: 20px; line-height: 1.45; max-width: 34em; }

.folder--steps .panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); max-width: 860px; }
.folder--steps .panel--one { grid-template-columns: minmax(0, 420px); }
@media (max-width: 760px) { .folder--steps .panel, .folder--steps .panel--one { grid-template-columns: 1fr; } }

/* le rouge de la marque : mot clé des titres, liseré des onglets, parcours */
h1 em, h2 em { font-style: normal; color: var(--accent-text); }
.folder__tab, .pile__tab--0 { box-shadow: inset 0 3px 0 var(--accent); }
.folder__tabs button { box-shadow: inset 0 3px 0 transparent; }
.isle__links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); }

.journey { list-style: none; margin: 0; padding: 0; display: grid; }
.jstep { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 132px minmax(0, 1.15fr); gap: 0 28px; align-items: center; padding-block: 26px; }
.jstep::before { content: ""; position: absolute; left: calc((100% - 132px - 56px) * (1 / 2.15) + 28px + 66px - 1px); top: 0; bottom: 0; width: 2px; background: var(--accent); }
.jstep:first-child::before { top: 50%; }
.jstep:last-child::before { bottom: 50%; }
.jstep__text { display: grid; gap: 10px; }
.jstep__text h3 { font-size: 24px; line-height: 1.2; }
.jstep__text p { color: var(--muted); }
.who { position: relative; z-index: 1; justify-self: center; display: inline-flex; align-items: center; justify-content: center; min-width: 76px; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 2px solid var(--accent); background: var(--bg); color: var(--ink); font-size: 15px; font-weight: 600; white-space: nowrap; }
.who--client { background: var(--accent); color: var(--accent-ink); }
.jstep__ui { display: grid; gap: 12px; padding: 18px; border-radius: var(--r); background: var(--paper); filter: var(--lift); min-width: 0; }
.jstep__ui--duo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 900px) {
  .jstep { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 0 0 36px 30px; }
  .jstep::before { left: 6px; top: 0; bottom: 0; }
  .jstep:first-child::before { top: 18px; }
  .jstep:last-child::before { bottom: auto; height: 18px; }
  .who { justify-self: start; order: -1; margin-left: -38px; }
  .jstep__ui--duo { grid-template-columns: minmax(0, 1fr); }
}

/* Guides de signature INPI */
.inpi-breadcrumb { padding-top: 30px; color: var(--muted); font-size: 15px; }
.inpi-breadcrumb nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.inpi-breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.inpi-breadcrumb nav > :not(:first-child)::before { content: "/"; margin-right: 12px; text-decoration: none; display: inline-block; }
.inpi-hero { padding: clamp(28px, 5vw, 60px) 0 clamp(38px, 6vw, 78px); }
.inpi-hero h1 { font-size: clamp(36px, 4.3vw, 58px); }
.inpi-hero .hero__lead { margin-top: 20px; }
.inpi-hero .hero__cta { margin-top: 24px; }
.inpi-hero .btn, .inpi-final .btn { white-space: normal; text-align: center; }
.inpi-hero-image { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); }
.inpi-price-note { margin-top: 16px; font-size: 16px; color: var(--muted); }
.inpi-summary p { border-left: 3px solid var(--accent); background: var(--paper); padding: 18px 22px; }
.inpi-section { padding: clamp(48px, 7vw, 90px) 0 0; }
.inpi-section .section__head { margin-bottom: 24px; }
.inpi-flow, .inpi-guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.inpi-flow { list-style: none; padding: 0; margin: 0; counter-reset: inpi-step; }
.inpi-flow li, .inpi-guide-link { background: var(--paper); border-radius: var(--r); padding: 24px; }
.inpi-flow li { position: relative; counter-increment: inpi-step; }
.inpi-flow li::before { content: counter(inpi-step) "."; position: absolute; right: 24px; top: 24px; color: var(--muted); font-weight: 600; }
.inpi-flow img, .inpi-guide-link img, .inpi-figure img { opacity: .8; }
[data-theme="dark"] :is(.inpi-flow, .inpi-guide-link, .inpi-figure) img { filter: invert(1); }
.inpi-flow h3, .inpi-guide-link h3 { font-size: 23px; line-height: 1.2; margin: 14px 0 9px; }
.inpi-flow p, .inpi-guide-link p { font-size: 17px; color: var(--muted); }
.inpi-guide-link { display: flex; flex-direction: column; align-items: flex-start; border: 1px solid var(--rule); }
.inpi-guide-link:hover { border-color: var(--accent-text); }
.inpi-guide-link p { margin-bottom: 16px; }
.inpi-guide-more { margin-top: auto; color: var(--accent-text); font-weight: 600; font-size: 16px; }
.inpi-guide-link:hover .inpi-guide-more { text-decoration: underline; text-underline-offset: 4px; }
.inpi-followup { margin-top: 22px; }
.inpi-reading, .inpi-article { max-width: 860px; }
.inpi-reading > p + p, .inpi-article p + p { margin-top: 14px; }
.inpi-options { margin: 20px 0; border-block: 1px solid var(--rule); }
.inpi-options > div { padding: 14px 0; }
.inpi-options > div + div { border-top: 1px solid var(--rule); }
.inpi-options dt { font-weight: 650; }
.inpi-options dd { color: var(--muted); margin-top: 3px; }
.inpi-faq details { border-block-start: 1px solid var(--rule); padding: 14px 0; }
.inpi-faq details:last-child { border-block-end: 1px solid var(--rule); }
.inpi-faq summary { cursor: pointer; font-weight: 650; }
.inpi-faq p { margin: 10px 0 4px; color: var(--muted); }
.inpi-figure { background: var(--paper); border-radius: var(--r); padding: 8px clamp(18px, 3vw, 32px) 18px; }
.inpi-figure-list { list-style: none; margin: 0; padding: 0; }
.inpi-figure-list li { display: flex; align-items: center; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--rule); }
.inpi-figure-list img { flex: none; }
.inpi-figure-list strong, .inpi-figure-list span { display: block; }
.inpi-figure-list span, .inpi-figure figcaption { font-size: 15px; color: var(--muted); }
.inpi-figure figcaption { margin-top: 14px; }
.inpi-article section + section { margin-top: 38px; }
.inpi-article h2 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.15; margin-bottom: 14px; }
.inpi-final { margin-top: clamp(48px, 7vw, 90px); }

@media (max-width: 860px) {
  .inpi-hero .hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .inpi-hero-image { max-height: 360px; }
  .inpi-flow, .inpi-guides { grid-template-columns: 1fr; gap: 16px; }
}
