/* LE SITE DE POMKI.APP — une feuille, aucune dépendance (verdicts du 24 octobre 2026,
   docs/DiscussionsClaudeChat/2026-10-24-amendement-landing-pomki.md §6). La page ne charge pas la feuille de l'app : les
   jetons de la palette Ardoise (packages/web/src/styles.css, thème sombre) sont RECOPIÉS ici en valeurs, sombre seulement
   (Q3). Polices servies à côté (fonts/), mêmes fichiers que l'app (garde : packages/cards/test/vps-configuration.test.ts). */

@font-face {
  font-family: 'IBM Plex Sans';
  src: url('fonts/PlexSans-Regular-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Sans';
  src: url('fonts/PlexSans-SemiBold-latin.woff2') format('woff2');
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'National Park';
  src: url('fonts/NationalPark-SemiBold-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --font-text: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'National Park', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  /* La palette Ardoise, recopiée (--ink, --brown, --brown-line, --cream, --stone, --taupe, --ambre). */
  --bg: #232323;
  --surface: #323532;
  --border: #353c3f;
  --text: #ffffff;
  --soft: #e2f0fc;
  --muted: #abb8c4;
  --accent: #f5cb5c;
  --on-accent: #232323;
  --accent-press: #e0b845;
  --active: rgba(255, 255, 255, 0.1);
  --float-bg: rgba(50, 53, 50, 0.55);
  --float-border: rgba(183, 206, 229, 0.18);
  --rythme-leger: oklch(0.8 0.1 150);
  --rythme-equilibre: oklch(0.8 0.09 235);
  --rythme-exigeant: #f5cb5c;
  --cible-min: 44px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.5;
}
a {
  color: var(--accent);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.col {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* LES BOUTONS : la géométrie de la pièce .btn de l'app (cible de 44 px, rayon 12, 16 px, graisse 600). */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--cible-min);
  padding: 0 16px;
  border-radius: 12px;
  font-family: var(--font-text);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  color: var(--text);
}
.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
}
.btn--primary:active {
  background: var(--accent-press);
}
.btn--quiet {
  color: var(--soft);
  padding: 0 12px;
}
.btn--quiet:active {
  background: var(--active);
}

/* LA BARRE */
.barre {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}
.marque {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.01em;
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: var(--cible-min);
}

h1,
h2 {
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  font-weight: 600;
}

/* LE HAUT DE PAGE (variante B) : deux colonnes à l'ordinateur, le rythme à droite. */
.hero {
  display: grid;
  gap: 32px;
  padding: 24px 0 48px;
}
.hero h1 {
  margin: 0;
  font-size: 40px;
  line-height: 1.08;
}
.chapo {
  margin: 16px 0 0;
  font-size: 18px;
  line-height: 1.5;
  color: var(--soft);
  max-width: 32em;
}
.appel {
  margin: 24px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}
.petit {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}
.visuel {
  display: flex;
  justify-content: center;
}

/* LE RYTHME : le sélecteur de l'app (.workload-seg), en radios natives, sans script. La phrase dit ce que le choix
   coûte, sans nombre (verdict Q8). */
.rythme {
  width: 100%;
  max-width: 26em;
  margin: 0;
  padding: 20px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid;
  gap: 16px;
}
.rythme legend {
  float: left;
  width: 100%;
  padding: 0;
  font-size: 14px;
  color: var(--muted);
}
.seg {
  --c: var(--rythme-equilibre);
  position: relative;
  display: flex;
  padding: 4px;
  border-radius: 18px;
  border: 0.5px solid var(--float-border);
  background: var(--float-bg);
  min-height: 60px;
}
.seg input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}
.seg label {
  flex: 1;
  position: relative;
  z-index: 1;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--muted);
  border-radius: 13px;
  padding: 0 4px;
  cursor: pointer;
  transition: color 0.18s;
  -webkit-tap-highlight-color: transparent;
}
.seg-pastille {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 5px;
  width: calc(33.333% - 3.333px);
  border-radius: 13px;
  background: color-mix(in srgb, var(--c) 16%, transparent);
  box-shadow:
    inset 0 0 0 0.5px color-mix(in srgb, var(--c) 55%, transparent),
    0 3px 10px rgba(0, 0, 0, 0.35);
  transform: translateX(100%);
  transition:
    transform 0.16s cubic-bezier(0.2, 0.8, 0.2, 1),
    background 0.2s,
    box-shadow 0.2s;
}
.seg:has(#r-leger:checked) {
  --c: var(--rythme-leger);
}
.seg:has(#r-exigeant:checked) {
  --c: var(--rythme-exigeant);
}
.seg:has(#r-leger:checked) .seg-pastille {
  transform: translateX(0);
}
.seg:has(#r-exigeant:checked) .seg-pastille {
  transform: translateX(200%);
}
.seg input:checked + label {
  color: var(--c);
}
.seg input:focus-visible + label {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
.rythme-phrase {
  margin: 0;
  color: var(--text);
}
.rythme-phrase span {
  display: none;
}
.rythme:has(#r-leger:checked) [data-pour='leger'],
.rythme:has(#r-equilibre:checked) [data-pour='equilibre'],
.rythme:has(#r-exigeant:checked) [data-pour='exigeant'] {
  display: inline;
}

/* LA CAPTURE de l'écran de révision, dans un cadre de téléphone. */
.telephone {
  width: 252px;
  border-radius: 28px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg);
  flex: none;
}
.telephone img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 390 / 844;
}

/* LES SECTIONS */
.section {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}
.section h2 {
  margin: 0 0 16px;
  font-size: 26px;
  line-height: 1.2;
}
.texte {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--soft);
  max-width: 34em;
}
.duo {
  display: grid;
  gap: 32px;
  align-items: center;
}
.tuiles {
  display: grid;
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.tuiles li {
  padding: 20px;
  border-radius: 16px;
  background: var(--surface);
}
.tuiles svg {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
}
.tuiles h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.3;
}
.tuiles p {
  margin: 0;
  line-height: 1.5;
  color: var(--soft);
}
.porte {
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--border);
  display: grid;
  gap: 8px;
}
.porte h2 {
  margin: 0;
  font-size: 22px;
}
.porte p {
  margin: 0;
  line-height: 1.5;
  color: var(--soft);
  max-width: 40em;
}

/* LE PIED */
.pied {
  padding: 32px 0 48px;
  border-top: 1px solid var(--border);
}
.pied .col {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.pied nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* LES PAGES DE TEXTE (mentions légales, confidentialité) */
.doc {
  padding: 24px 0 48px;
  max-width: 44em;
}
.doc h1 {
  margin: 0 0 8px;
  font-size: 36px;
  line-height: 1.1;
}
.doc h2 {
  margin: 32px 0 8px;
  font-size: 22px;
  line-height: 1.25;
}
.doc p,
.doc li {
  color: var(--soft);
}
.doc ul {
  padding-left: 1.25em;
}
.doc li + li {
  margin-top: 6px;
}
.doc a:not(.btn) {
  display: inline-block;
  min-height: 24px;
}

@media (min-width: 900px) {
  .col {
    padding: 0 32px;
  }
  .hero {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 64px;
    padding: 64px 0;
  }
  .hero h1 {
    font-size: 52px;
  }
  .chapo {
    font-size: 20px;
  }
  .rythme {
    width: 26em;
  }
  .telephone {
    width: 312px;
    border-radius: 32px;
  }
  .duo {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
  }
  .tuiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
  .section {
    padding: 64px 0;
  }
  .doc h1 {
    font-size: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .seg-pastille,
  .seg label {
    transition: none;
  }
}
