/* Resell-io, site public. Direction : étiquette de brocante.
   Papier crème, encre noire, jaune « prix », traits pleins, pas d'ombre floue. */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(/assets/fonts/archivo-var.woff2) format('woff2-variations');
}
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/assets/fonts/dm-mono-500.woff2) format('woff2');
}

:root {
  --paper: #f2ecdf;
  --paper-2: #e9e1d0;
  --card: #fffdf7;
  --ink: #15130f;
  --ink-soft: #4f493f;
  --ink-faint: #6a6357;
  --sticker: #ffe23f;
  --stamp: #c8300f;
  --ok: #1f6b3a;
  --edge: 2px solid var(--ink);
  --drop: 5px 5px 0 var(--ink);
  --sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'DM Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  /* Noms repris par les styles en ligne encore présents dans les pages. */
  --text: var(--ink);
  --text-light: var(--ink-soft);
  --text-lighter: var(--ink-faint);
  --primary: var(--ink);
  --primary-dark: var(--ink);
  --border: var(--ink);
  --bg: var(--paper);
  --green: var(--ok);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
[hidden] { display: none !important; }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-stretch: 70%; font-weight: 800; line-height: 0.98; letter-spacing: -0.005em; }
h2 { font-size: clamp(2.1rem, 5vw, 3.6rem); text-transform: uppercase; }

/* Petite ligne « ticket de caisse » */
.kicker, .tag, .vat-note, .period, .pricing-badge, .receipt, .strip, .facts, .news-list .n, .feature-card::before {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── Bandeau du haut ── */
.strip { background: var(--ink); color: var(--paper); text-align: center; padding: 9px 16px; }
.strip b { color: var(--sticker); font-weight: 500; }

/* ── Navigation ── */
nav { position: sticky; top: 0; z-index: 100; background: var(--paper); border-bottom: var(--edge); }
nav .inner { max-width: 1160px; margin: 0 auto; padding: 0 24px; height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo {
  font-stretch: 66%; font-weight: 900; font-size: 1.55rem; letter-spacing: 0.01em;
  text-transform: uppercase; text-decoration: none; color: var(--ink);
  display: inline-flex; align-items: center;
}
.logo::before {
  content: ''; width: 13px; height: 13px; border-radius: 50%;
  background: var(--sticker); border: var(--edge); flex-shrink: 0; margin-right: 9px;
}
.logo span { color: inherit; }
nav .links { display: flex; align-items: center; gap: 26px; }
nav .links a { text-decoration: none; font-size: 0.92rem; font-weight: 600; white-space: nowrap; }
nav .links a:not(.btn):hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
nav .links a.lang-switch { font-family: var(--mono); font-size: 0.74rem; border: var(--edge); padding: 3px 8px; }
nav .links a.lang-switch:hover { background: var(--ink); color: var(--paper); text-decoration: none; }

/* ── Boutons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 26px; border: var(--edge); border-radius: 0;
  font-family: var(--sans); font-stretch: 78%; font-size: 1.02rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.03em; text-decoration: none;
  color: var(--ink); background: var(--card); cursor: pointer;
  box-shadow: var(--drop); transition: transform 0.12s, box-shadow 0.12s;
}
.btn:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--ink); }
.btn:active { transform: translate(5px, 5px); box-shadow: none; }
.btn-primary { background: var(--sticker); }
.btn-outline { background: var(--card); }
.btn-sm { padding: 8px 14px; font-size: 0.82rem; box-shadow: 3px 3px 0 var(--ink); }
.btn-sm:hover { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--ink); }
:focus-visible { outline: 3px solid var(--stamp); outline-offset: 3px; }

/* ── Haut de page ── */
.hero { padding: 64px 0 72px; border-bottom: var(--edge); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 56px; align-items: center; }
.kicker { display: inline-block; margin-bottom: 22px; padding-bottom: 6px; border-bottom: var(--edge); }
.hero h1 { font-size: clamp(2.9rem, 8.2vw, 6.4rem); font-weight: 900; font-stretch: 64%; text-transform: uppercase; line-height: 0.9; }
.hero h1 mark { background: var(--sticker); color: inherit; padding: 0 0.08em; margin: 0 -0.08em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero .lead { margin: 28px 0 34px; max-width: 34em; font-size: 1.16rem; color: var(--ink-soft); }
.hero-buttons { display: flex; gap: 18px; flex-wrap: wrap; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 34px; color: var(--ink-soft); }
.facts li::before { content: '+ '; color: var(--stamp); }

/* Ticket de caisse : exemple de calcul de marge */
.receipt-wrap { position: relative; justify-self: center; width: 100%; max-width: 330px; transform: rotate(2.2deg); }
.receipt {
  background: var(--card); padding: 26px 22px 34px; font-size: 0.8rem; line-height: 1.9;
  border: var(--edge); border-bottom: 0; box-shadow: 8px 8px 0 var(--ink);
  --tooth: 12px;
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--tooth)) no-repeat,
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(var(--tooth) * 2) var(--tooth) repeat-x;
          mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--tooth)) no-repeat,
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(var(--tooth) * 2) var(--tooth) repeat-x;
}
.receipt .head { text-align: center; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 2px dashed var(--ink); }
.receipt .head strong { display: block; font-family: var(--sans); font-stretch: 66%; font-weight: 900; font-size: 1.5rem; letter-spacing: 0.02em; line-height: 1.2; }
.receipt .row { display: flex; justify-content: space-between; gap: 12px; }
.receipt .row span:last-child { white-space: nowrap; }
.receipt .item { font-family: var(--sans); font-weight: 700; font-size: 1rem; text-transform: none; letter-spacing: 0; margin-bottom: 4px; }
.receipt .total { margin-top: 12px; padding-top: 12px; border-top: 2px dashed var(--ink); font-size: 0.95rem; }
.receipt .total span:last-child { background: var(--sticker); padding: 0 6px; }
.receipt .foot { margin-top: 14px; text-align: center; color: var(--ink-faint); font-size: 0.68rem; line-height: 1.5; }
.stamp {
  position: absolute; right: -30px; top: -20px; transform: rotate(9deg); background: var(--paper);
  font-family: var(--sans); font-stretch: 66%; font-weight: 900; font-size: 1.7rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--stamp); border: 4px solid var(--stamp); padding: 2px 12px;
}

/* ── Bande des plateformes ── */
.platforms { border-bottom: var(--edge); background: var(--card); padding: 0; }
.platforms .container { display: flex; align-items: stretch; flex-wrap: wrap; padding: 0 24px; }
.platforms .section-title { margin: 0; padding: 22px 28px 22px 0; max-width: 300px; text-align: left; border-right: var(--edge); }
.platforms .section-title h2 { font-size: 1.25rem; line-height: 1.05; }
.platforms .section-title p { margin-top: 6px; font-size: 0.86rem; color: var(--ink-soft); }
.platform-logos { flex: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; padding: 18px 0 18px 28px; }
.platform-logo { font-stretch: 66%; font-weight: 800; font-size: 1.32rem; text-transform: uppercase; white-space: nowrap; }
.platform-logo small { font-family: var(--mono); font-size: 0.62rem; font-weight: 500; letter-spacing: 0.06em; background: var(--sticker); border: 1.5px solid var(--ink); padding: 1px 5px; vertical-align: middle; margin-left: 6px; }
.platform-logo.ship { color: var(--ink-faint); }

/* ── Nouveautés (bloc sombre) ── */
.news { background: var(--ink); color: var(--paper); padding: 84px 0; }
.news-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.news .tag { background: var(--sticker); color: var(--ink); border-color: var(--sticker); }
.news h2 { margin: 18px 0 16px; }
.news .intro { color: #cfc7b6; max-width: 30em; }
.news .more { display: inline-block; margin-top: 22px; font-weight: 700; color: var(--sticker); text-underline-offset: 5px; text-decoration-thickness: 2px; }
.news-list { list-style: none; border-top: 2px solid #4a453c; }
.news-list li { display: grid; grid-template-columns: 44px 1fr; gap: 6px; padding: 18px 0; border-bottom: 2px solid #4a453c; }
.news-list .n { color: var(--sticker); padding-top: 5px; }
.news-list h3 { font-size: 1.35rem; text-transform: uppercase; margin-bottom: 5px; }
.news-list p { color: #cfc7b6; font-size: 0.95rem; }

/* ── Titres de section ── */
.section-title { max-width: 760px; margin-bottom: 48px; }
.section-title p { margin-top: 14px; font-size: 1.08rem; color: var(--ink-soft); }

/* ── Fonctionnalités : registre numéroté, pas de cartes ── */
.features { padding: 96px 0; }
.features-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; border-top: var(--edge); counter-reset: feat; }
.feature-card { position: relative; padding: 26px 0 26px 58px; border-bottom: var(--edge); counter-increment: feat; }
.feature-card::before { content: counter(feat, decimal-leading-zero); position: absolute; left: 0; top: 32px; color: var(--stamp); }
.feature-card h3 { font-size: 1.55rem; text-transform: uppercase; margin-bottom: 8px; }
.feature-card p { color: var(--ink-soft); font-size: 0.98rem; }
.tag { display: inline-block; vertical-align: middle; margin-left: 10px; background: var(--sticker); border: 1.5px solid var(--ink); padding: 1px 7px; font-size: 0.64rem; line-height: 1.6; position: relative; top: -3px; }

/* ── Comment ça marche ── */
.how { padding: 96px 0; background: var(--paper-2); border-top: var(--edge); border-bottom: var(--edge); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: var(--edge); background: var(--card); }
.step { padding: 26px 24px 30px; border-right: var(--edge); }
.step:last-child { border-right: 0; }
.step-number { font-stretch: 62%; font-weight: 900; font-size: 5.2rem; line-height: 0.85; margin-bottom: 18px; color: transparent; -webkit-text-stroke: 2px var(--ink); }
.step h3 { font-size: 1.5rem; text-transform: uppercase; margin-bottom: 8px; }
.step p { font-size: 0.95rem; color: var(--ink-soft); }

/* ── Où nous en sommes (page anglaise) ── */
.today { padding: 96px 0 0 !important; }
.today-box { border: var(--edge); border-left: 14px solid var(--ink); background: var(--card); padding: 30px 32px; max-width: 900px; }
.today-box h2 { font-size: 1.9rem; margin-bottom: 14px; }
.today-box p { color: var(--ink-soft); margin-bottom: 10px; }

/* ── Tarifs : trois étiquettes ── */
.pricing { padding: 96px 0 !important; }
.vat-switch { display: inline-flex; margin: 26px 12px 0 0 !important; border: var(--edge); background: var(--card); }
.vat-switch button { font-family: var(--mono); font-weight: 500; font-size: 0.76rem; letter-spacing: 0.05em; text-transform: uppercase; padding: 9px 14px; border: 0; border-right: var(--edge); background: transparent; color: var(--ink); cursor: pointer; }
.vat-switch button:last-child { border-right: 0; }
.vat-switch button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.vat-note { margin-top: 14px !important; font-size: 0.72rem !important; color: var(--ink-faint) !important; }
.founder-banner { margin-top: 20px !important; padding: 14px 18px; background: var(--sticker); border: var(--edge); font-size: 0.98rem !important; color: var(--ink) !important; max-width: 760px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; align-items: start; }
.pricing-card { position: relative; background: var(--card); border: var(--edge); padding: 54px 28px 30px; box-shadow: var(--drop); }
/* Œillet de l'étiquette */
.pricing-card::before { content: ''; position: absolute; top: 18px; left: 50%; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--paper); border: var(--edge); }
.pricing-card.popular { background: var(--sticker); transform: rotate(-1.2deg); }
.pricing-badge { position: absolute; top: -13px; right: 18px; background: var(--ink); color: var(--paper); padding: 4px 10px; font-size: 0.68rem; }
.pricing-card h3 { font-size: 2.3rem; text-transform: uppercase; margin-bottom: 4px; }
.pricing-card > p { color: var(--ink-soft) !important; font-size: 0.92rem !important; }
.pricing-card .price { font-stretch: 64%; font-weight: 900; font-size: 4rem; line-height: 1; margin: 20px 0 6px; padding-top: 18px; border-top: 2px dashed var(--ink); }
/* Seule l'unité (« HT / mois ») est petite : le bloc [data-prix] porte le montant. */
.pricing-card .price [data-prix] > span, .pricing-card .price .unit { font-family: var(--mono); font-stretch: 100%; font-weight: 500; font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase; }
.founder-price { font-weight: 800; font-size: 0.95rem; color: var(--stamp); margin-bottom: 4px; }
.pricing-card.popular .founder-price { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; }
.pricing-card .period { color: var(--ink-soft); font-size: 0.68rem; margin-bottom: 20px; }
.pricing-card ul { list-style: none; margin-bottom: 26px; border-top: var(--edge); }
.pricing-card li { padding: 9px 0 9px 22px; position: relative; font-size: 0.95rem; border-bottom: 1px solid rgba(21, 19, 15, 0.25); }
.pricing-card li::before { content: ''; position: absolute; left: 2px; top: 16px; width: 9px; height: 9px; background: var(--ink); }
.pricing-card .btn { width: 100%; background: var(--card); }
.pricing-card.popular .btn { background: var(--ink); color: var(--paper); box-shadow: 5px 5px 0 rgba(21, 19, 15, 0.35); }
.addons { margin-top: 48px; padding-top: 20px; border-top: var(--edge); font-size: 0.9rem; color: var(--ink-soft); max-width: 900px; }
.addons strong { color: var(--ink); }
.price-note { margin-top: 8px; font-size: 0.82rem; color: var(--ink-faint); }

/* ── Appel final ── */
.cta { background: var(--sticker); border-top: var(--edge); border-bottom: var(--edge); padding: 88px 0; }
.cta-box h2 { font-size: clamp(2.6rem, 7vw, 5.4rem); font-weight: 900; font-stretch: 64%; line-height: 0.9; max-width: 12em; }
.cta-box p { margin: 20px 0 30px; font-size: 1.12rem; max-width: 34em; }
.cta-box .btn { background: var(--ink); color: var(--paper); box-shadow: 5px 5px 0 rgba(21, 19, 15, 0.35); }

/* ── Pied de page ── */
footer { background: var(--ink); color: #cfc7b6; padding: 52px 0 44px; font-size: 0.9rem; }
footer .logo { color: var(--paper); font-size: 1.7rem !important; }
footer p { margin-top: 12px; line-height: 2; }
footer a { color: var(--paper); text-decoration: none; }
footer a:hover { color: var(--sticker); text-decoration: underline; }

/* ── Petits écrans ── */
@media (max-width: 900px) {
  .hero-grid, .news-grid { grid-template-columns: 1fr; gap: 44px; }
  .receipt-wrap { max-width: 300px; }
  .stamp { right: -10px; }
  .features-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(-n+2) { border-bottom: var(--edge); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; }
  .pricing-card.popular { transform: none; }
  .platforms .section-title { border-right: 0; padding-bottom: 0; max-width: none; }
  .platform-logos { flex-basis: 100%; padding-left: 0; }
  .platform-logo { font-size: 1.25rem; }
}
@media (max-width: 768px) {
  .hide-mobile { display: none; }
  nav .links { gap: 14px; }
  .hero { padding: 40px 0 56px; }
  .features, .how, .news, .cta { padding: 64px 0; }
  .pricing { padding: 64px 0 !important; }
  .today { padding: 64px 0 0 !important; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .container, nav .inner { padding-left: 16px; padding-right: 16px; }
  nav .links .nav-login { display: none; }
  .logo { font-size: 1.3rem; }
  .btn { width: 100%; }
  nav .btn { width: auto; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: var(--edge); }
  .step:last-child { border-bottom: 0; }
  .feature-card { padding-left: 44px; }
  .vat-switch { margin-right: 0 !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
