/* CoinRadar – site vitrine et pages légales, système « Salle des ventes » (spec S2). Aucune ressource tierce. */
@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader-latin-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}

:root {
  --ivoire: #F7F4EE;   /* fond */
  --encre: #1A1916;    /* texte 16:1 */
  --taupe: #4A463F;    /* texte second 8,5:1 */
  /* Bordeaux #7A1E2C : réservé à l'action unique d'un écran et au cachet (règle 1) ; le site n'a pas d'action : seul
     l'icône le porte. États (focus, survol, page courante) à l'encre. */
  --plateau: #E9E3D8;
  --cartel: #FFFDF8;
  --filet: #BDB4A5;
  --scene: #0B0B0C;
  --todo: #FFF1B8;
  --ombre: rgba(60, 45, 20, .30);
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ivoire: #1A1916; --encre: #F7F4EE; --taupe: #C9C1B4;
    --plateau: #26241F; --cartel: #211F1B; --filet: #5C574E; --todo: #5A4A12; --ombre: rgba(0, 0, 0, .55);
  }
}
@media (prefers-contrast: more) {
  :root { --taupe: var(--encre); --filet: var(--encre); }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 16px; }
body {
  margin: 0; background: var(--ivoire); color: var(--encre);
  font: 17px/1.6 var(--sans);
  font-feature-settings: "lnum" 1;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: var(--filet); text-underline-offset: .2em; }
a:hover, a:focus-visible { text-decoration-color: currentColor; text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--encre); outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--cartel); padding: 8px 12px; z-index: 1; }
.skip:focus { left: 16px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.masthead, .docs, .sheet, .colophon, .vitrine { max-width: 46rem; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
body:has(.vitrine) .masthead, body:has(.vitrine) .docs, body:has(.vitrine) .colophon, .vitrine { max-width: 72rem; }

.masthead { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; padding-top: 24px; padding-bottom: 12px; border-bottom: 1px solid var(--encre); flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 500 26px/1 var(--serif); text-decoration: none; min-height: 44px; }
.brand img { border-radius: 7px; }
.langs { display: flex; gap: 2px; flex-wrap: wrap; }
.langs a, .docs a { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--taupe); text-decoration: none; padding: 6px 8px; min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; }
.langs a[aria-current], .docs a[aria-current] { color: var(--encre); box-shadow: inset 0 -2px 0 var(--encre); }
.langs a:hover, .docs a:hover { color: var(--encre); }
.docs { display: flex; gap: 0 18px; flex-wrap: wrap; padding-top: 2px; padding-bottom: 2px; border-bottom: 1px dotted var(--filet); }
.docs:empty { display: none; }
.docs a { padding-left: 0; padding-right: 0; min-width: 0; }

.sheet { padding-top: 32px; padding-bottom: 48px; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--taupe); margin: 0 0 6px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.2; margin: 1.6em 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(30px, 6vw, 40px); margin-top: 0; }
h2 { font-size: 22px; padding-top: 12px; border-top: 1px solid var(--encre); }
h3 { font-size: 17px; font-family: var(--sans); font-weight: 600; }
p, ul { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
li { margin: .25em 0; }
.meta { color: var(--taupe); font-size: 15px; }
.lede { font-size: 19px; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }
strong { font-weight: 600; }

/* Notice : paires libellé / valeur, filets pointillés */
.table { overflow-x: auto; margin: 0 0 1.2em; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.45; }
th { text-align: left; font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--taupe); border-bottom: 1px solid var(--encre); padding: 8px 10px 6px 0; vertical-align: bottom; }
td { border-bottom: 1px dotted var(--filet); padding: 9px 10px 9px 0; vertical-align: top; }

.notice { background: var(--cartel); border: 1px solid var(--filet); border-radius: 12px; padding: 4px 20px 8px; margin: 24px 0; }
.notice h2 { border-top: 0; padding-top: 0; margin-top: 16px; }
.index { list-style: none; padding: 0; }
.index li { border-bottom: 1px dotted var(--filet); margin: 0; }
.index a { display: block; padding: 10px 0; text-decoration: none; }

.choose { list-style: none; padding: 0; display: grid; gap: 12px; margin-top: 28px; }
.choose a { display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; background: var(--cartel); border: 1px solid var(--filet); border-radius: 12px; text-decoration: none; }
.choose .lname { font: 500 22px/1.2 var(--serif); }
.choose .ltag { color: var(--taupe); font-size: 15px; }

mark.todo { background: var(--todo); color: inherit; padding: 0 .2em; border-radius: 3px; }

/* ------------------------------------------------------------------ Vitrine */
.vitrine { padding-bottom: 24px; }
.vitrine h1 { font-size: clamp(36px, 7.4vw, 60px); line-height: 1.06; letter-spacing: -.01em; margin-bottom: .4em; }
.vitrine h2 { font-size: clamp(28px, 4.6vw, 40px); line-height: 1.1; border-top: 0; padding-top: 0; margin: 0 0 .5em; }
.vitrine .notice h2 { font-size: clamp(26px, 4vw, 34px); }
.vitrine .lede { font-size: clamp(18px, 2.2vw, 21px); line-height: 1.55; max-width: 34em; }

.device { margin: 0; justify-self: center; }
.device img { display: block; width: 100%; filter: drop-shadow(0 22px 34px var(--ombre)) drop-shadow(0 6px 12px var(--ombre)); }

.hero { display: grid; gap: 32px; align-items: center; padding: 40px 0 48px; }
.hero .device { width: min(264px, 68vw); }
.stores { list-style: none; padding: 0; margin: 28px 0 10px; display: flex; flex-wrap: wrap; gap: 12px; }
.store { margin: 0; display: inline-flex; flex-direction: column; justify-content: center; min-width: 168px; min-height: 60px; padding: 8px 20px; border: 1px solid var(--encre); border-radius: 12px; background: var(--cartel); }
.store .soon { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--taupe); line-height: 1.3; }
.store .sname { font-size: 19px; font-weight: 600; line-height: 1.25; }

.feature { display: grid; gap: 28px; align-items: center; padding: 40px 0 44px; border-top: 1px solid var(--encre); }
.feature .ftxt { max-width: 34em; }
.feature .ftxt p:not(.kicker):not(.meta) { font-size: 18px; }
.num { font-family: var(--serif); font-weight: 500; font-size: 17px; letter-spacing: 0; text-transform: none; color: var(--taupe); margin-right: .7em; }
.figs { display: flex; justify-content: center; gap: 20px; }
.figs .device { width: min(250px, 64vw); }
.figs.duo .device { width: min(220px, calc(50vw - 26px)); }

.privacy { padding: 8px 24px 12px; margin: 8px 0 40px; }
.pairs { margin: 4px 0 16px; border-top: 1px solid var(--encre); }
.pairs div { display: grid; gap: 2px 24px; padding: 11px 0; border-bottom: 1px dotted var(--filet); }
.pairs dt { color: var(--taupe); font-size: 15px; }
.pairs dd { margin: 0; }

.faq { padding: 8px 0 24px; }
.faq h2 { margin-bottom: 12px; }
.qa { border-top: 1px solid var(--encre); max-width: 46rem; }
.qa details { border-bottom: 1px dotted var(--filet); }
.qa summary { list-style: none; cursor: pointer; position: relative; padding: 14px 40px 14px 0; min-height: 44px; font-weight: 600; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 6px; top: 9px; font: 500 26px/1 var(--serif); color: var(--taupe); }
.qa details[open] summary::after { content: "–"; }
.qa summary:hover { text-decoration: underline; text-decoration-color: var(--filet); text-underline-offset: .2em; }
.qa details p { margin: 0 0 16px; max-width: 40em; }

.vitrine .notice { padding-top: 20px; }
.vitrine .notice h2 { margin-top: 0; }
.vitrine #assistance { margin-top: 8px; }
.vitrine #assistance h3 { margin: 4px 0 0; font-family: var(--sans); padding-bottom: 6px; border-bottom: 1px solid var(--encre); }
.vitrine #assistance .index { margin-bottom: 8px; }

@media (max-width: 879px) {
  .vitrine #assistance > div + div { margin-top: 20px; }
}
@media (min-width: 600px) {
  .pairs div { grid-template-columns: 13rem 1fr; }
}
@media (min-width: 880px) {
  .hero { grid-template-columns: minmax(0, 1fr) auto; gap: 56px; padding: 56px 0 48px; }
  .hero .device { width: 300px; margin-right: 24px; }
  .feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; padding: 48px 0; }
  .feature.flip .ftxt { order: 2; }
  .figs .device { width: 264px; }
  .figs.duo .device { width: 236px; }
  .privacy { padding: 28px 40px 16px; }
  .vitrine #assistance { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 56px; padding: 28px 40px 16px; }
}

/* ------------------------------------------------------------------ Planche de test (examen des stores, /review/) */
.review { max-width: 72rem; }
body:has(.review) .masthead, body:has(.review) .colophon { max-width: 72rem; }
.review > .lede, .review > p { max-width: 40em; }
.planche { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 40px 48px; }
.specimen { margin: 0; padding-top: 24px; border-top: 1px solid var(--encre); break-inside: avoid; page-break-inside: avoid; }
.specimen img { display: block; width: 100%; max-width: 560px; margin: 0 auto 16px; border-radius: 4px; }
.specimen h2 { border-top: 0; padding-top: 0; margin: 0 0 4px; font-size: 24px; }
.specimen .detail { margin: 0 0 8px; }
.specimen .credit { color: var(--taupe); font-size: 14px; line-height: 1.5; margin: 0; overflow-wrap: anywhere; }
@media (min-width: 880px) {
  .planche { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media print {
  .review > .lede, .review > p { max-width: none; }
  .planche { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; }
  .specimen img { max-width: 80mm; }
  .specimen .credit a { text-decoration: none; }
}

.colophon { display: flex; flex-wrap: wrap; gap: 0 18px; align-items: center; padding-top: 16px; padding-bottom: 40px; border-top: 1px solid var(--encre); font-size: 14px; color: var(--taupe); }
.colophon .affil { flex-basis: 100%; margin: 0 0 6px; }
.colophon span { margin-right: auto; }
.colophon a { display: inline-flex; align-items: center; min-height: 44px; }

@media (max-width: 480px) {
  body { font-size: 16px; }
  .masthead { padding-top: 14px; }
  .notice { padding-left: 14px; padding-right: 14px; }
  .langs a { min-width: 40px; padding: 6px 4px; }
  .colophon span { flex-basis: 100%; }
  .docs { gap: 0 14px; }
  .docs a { letter-spacing: .08em; }
}
@media print {
  .langs, .docs, .skip, .stores { display: none; }
  body { background: #fff; color: #000; }
  .device img { filter: none; }
}
