/* ==========================================================================
   VO10 Labs — vo10.net
   La même peau que maxtracker.live, dont cette feuille reprend la base
   (variables, contextes sombres, typographie, barre, boutons, cartes,
   tables, pied) : un corps clair, papier chaud et cartes blanches, encadré
   par deux bandeaux sombres — l'en-tête et le pied.

   Ce qui est propre à VO10 est à la fin, à partir de « VO10 » : les cartes
   de devices, leur plateau de couleur, le lecteur de démo, la newsletter.

   La couleur d'un device arrive par deux variables posées dans l'attribut
   style de son conteneur — --c (l'aplat) et --c-ink (le texte dessus, noir
   ou blanc selon la luminance, calculé en PHP). Rien à ajouter ici quand un
   device arrive avec une couleur nouvelle.
   ========================================================================== */

/* ---------------------------------------------------------------- police --
   Inter, hébergée ici et non chez Google Fonts : la page Confidentialité
   promet qu'aucune requête ne part chez un tiers, et une police appelée chez
   Google lui transmet l'adresse de chaque visiteur. Fichiers variables
   (toutes les graisses en un), découpés comme chez Fontsource : le latin de
   base suffit au français et à l'allemand, l'étendu ne se charge que si une
   page en contient un caractère. Licence : assets/fonts/OFL.txt. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC,
                 U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF,
                 U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-wght-italic.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC,
                 U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Le papier et l'encre — les valeurs exactes du canevas VO10 */
  --paper:       #f3f1ee;
  --white:       #ffffff;
  --ink:         #1c1c1c;
  --night:       #171717;

  /* Ce que les composants lisent. Les bandeaux sombres les redéfinissent. */
  --bg:          var(--paper);
  --card:        var(--white);
  --fg:          #1c1c1c;
  --fg-strong:   #1c1c1c;
  --fg-dim:      #5e5b57;
  --fg-faint:    #6b6763;
  --line:        #dcd6cd;
  --line-soft:   #ece8e2;
  --link:        #1c1c1c;
  --code-bg:     rgba(28, 28, 28, .06);
  --focus:       #1c1c1c;

  /* L'orange de VO10 — celui de MaxTracker. En aplat, il porte du texte noir (9:1). En
     texte sur le papier, il ne passe pas — 1,9:1 —, d'où sa version encre,
     réservée aux rares mots qui doivent rester orange sur fond clair. */
  --orange:      #fda43a;
  --orange-hi:   #ffb65c;
  --orange-ink:  #9a5200;
  --orange-tint: #fff1df;

  /* Les boutons secondaires changent de peau selon le fond */
  --ghost-bg:     var(--white);
  --ghost-fg:     var(--ink);
  --ghost-line:   #d3ccc1;
  --ghost-hover:  var(--ink);

  /* La trame à points du canevas : posée sur un aplat, elle en fait une
     surface — un panneau de device, pas un simple rectangle de couleur. */
  --dots: radial-gradient(rgba(0, 0, 0, .14) 1.2px, transparent 1.2px);
  --dots-size: 14px 14px;
  --stage: #e6e1d9;

  /* Mesures */
  --radius:      6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --maxw:        1180px;
  --maxw-prose:  760px;

  --mono: "SFMono-Regular", Consolas, Menlo, "DejaVu Sans Mono",
          "Liberation Mono", "Andale Mono", monospace;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          Helvetica, Arial, sans-serif;

  color-scheme: light;
}

/* ------------------------------------------------------ contextes sombres --
   L'en-tête, le haut de page, le pied, et la page 404 tout entière. On n'y
   change que les variables : tout ce qui est dedans suit. */
.topbar,
.hero,
.page-head,
footer.site {
  --bg:          var(--night);
  --card:        #232323;
  --fg:          #dcdcdc;
  --fg-strong:   #ffffff;
  --fg-dim:      #b8b8b8;
  --fg-faint:    #9a9a9a;
  --line:        #3d3d3d;
  --line-soft:   #303030;
  --link:        var(--orange);
  --code-bg:     #2b2b2b;
  --focus:       var(--orange);
  --ghost-bg:    transparent;
  --ghost-fg:    #f2f2f2;
  --ghost-line:  #3d3d3d;
  --ghost-hover: #8a8a8a;
  background: var(--night);
  color: var(--fg);
  color-scheme: dark;
}

/* L'orange à points : le bandeau d'appel final et le panneau de paiement.
   Sur l'aplat orange, le texte reste noir, et le bouton principal devient
   noir à son tour — un bouton orange sur fond orange ne se verrait pas. */
.cta,
#checkout {
  --fg:          #1c1c1c;
  --fg-strong:   #171717;
  --fg-dim:      #3a3026;
  --fg-faint:    #3a3026;
  --link:        #171717;
  --focus:       #171717;
  --ghost-bg:    transparent;
  --ghost-fg:    #171717;
  --ghost-line:  rgba(23, 23, 23, .4);
  --ghost-hover: #171717;
  background-color: var(--orange);
  background-image: var(--dots);
  background-size: var(--dots-size);
  color: var(--fg);
}

/* --------------------------------------------------------------- reset -- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }

/* Les liens du texte restent noirs, soulignés d'orange : un lien orange sur
   papier clair serait illisible, un lien noir non souligné serait invisible.
   Le trait porte la couleur, le mot garde son contraste. */
a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
a:hover { text-decoration-color: currentColor; }

h1, h2, h3, h4 {
  color: var(--fg-strong);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  margin: 0 0 .55em;
  /* Un mot plus long que l'écran se coupe plutôt que de déborder. */
  overflow-wrap: break-word;
}

/* L'allemand compose des mots plus longs qu'un téléphone n'est large —
   « Verkaufsbedingungen » à 37 px déborde de l'écran. Ses titres ont donc
   droit à la césure, mais seulement sur les mots de douze lettres et plus :
   sans cette borne, le navigateur coupait aussi des mots courts pour
   remplir les lignes, et chaque titre se hachait. Le français et l'anglais
   n'en ont pas besoin. */
:lang(de) :is(h1, h2) {
  hyphens: auto;
  hyphenate-limit-chars: 12 5 5;
}

h1 { font-size: clamp(2.3rem, 1.5rem + 3.2vw, 4.1rem); letter-spacing: -.04em; line-height: 1.03; }
h2 { font-size: clamp(1.7rem, 1.25rem + 1.6vw, 2.45rem); }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.3; }
h4 { font-size: 1rem; font-weight: 700; letter-spacing: -.01em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 650; color: var(--fg-strong); }

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

code, kbd, samp, pre { font-family: var(--mono); }

code {
  background: var(--code-bg);
  border-radius: 5px;
  padding: .12em .4em;
  font-size: .86em;
  color: var(--fg-strong);
}

pre {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  overflow-x: auto;
  font-size: .86rem;
  line-height: 1.6;
  color: var(--fg);
}
pre code { background: none; padding: 0; color: inherit; }

/* Une touche de clavier dessinée comme une touche : posée, avec son ombre
   du bas. C'est la moitié du manuel qui s'écrit avec elles. */
kbd {
  display: inline-block;
  background: var(--white);
  border: 1px solid #cfc8bd;
  border-bottom-width: 2px;
  border-radius: 6px;
  padding: .06em .45em;
  font-size: .8em;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

::selection { background: var(--orange); color: var(--ink); }

/* Le contour de focus suit le fond : noir sur papier (l'orange n'y fait
   pas les 3:1 qu'exige un indicateur), orange sur les bandeaux sombres. */
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

/* -------------------------------------------------------------- layout -- */

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* Une colonne de texte lisible, alignée sur le bord gauche du conteneur
   plutôt que centrée : un titre de page à gauche et son texte au milieu
   font sauter l'œil d'un bloc à l'autre. */
.prose { max-width: var(--maxw-prose); }
.wrap.prose { max-width: var(--maxw); }
.wrap.prose > * { max-width: var(--maxw-prose); }

section { padding: 88px 0; }
section.tight { padding: 40px 0; }

/* L'alternance des sections se fait au blanc, plus au gris : le papier,
   puis une bande blanche, puis le papier. Les cartes posées dans une bande
   blanche prennent la couleur du papier, pour ne pas s'y fondre. */
.alt {
  --card: var(--paper);
  background: var(--white);
}

.grid-2 { display: grid; gap: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { display: grid; gap: 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  body { font-size: 16px; }
}

/* Le surtitre, comme « CATALOGUE » sur vo10.net : petit, espacé, gris. Il
   situe la section sans lui voler le titre. */
.eyebrow {
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin: 0 0 .8rem;
}

.lede {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--fg-dim);
  max-width: 62ch;
}

.muted { color: var(--fg-dim); }
.small { font-size: .875rem; }
.center { text-align: center; }
.mono { font-family: var(--mono); }

/* --------------------------------------------------------- topbar / nav -- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(23, 23, 23, .96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #262626;
}

.topbar .wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 64px;
}

/* La marque, c'est le nom, dans la graisse des titres. Pas de pictogramme :
   à cette taille il aurait surtout ajouté du bruit à gauche du menu. */
.brand {
  display: inline-block;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -.035em;
  text-decoration: none;
  white-space: nowrap;
  flex: none;
}
.brand:hover { color: #ffffff; }

@media (min-width: 1080px) {
  .brand { font-size: 1.5rem; }
  .topbar .wrap { height: 72px; }
}

/* Version agrandie, pour l'en-tête de la page de paiement */
.brand.lg { font-size: 1.6rem; }

nav.main {
  display: flex;
  gap: 2px 22px;
  margin-left: auto;
  align-items: center;
}

/* Le menu à la manière de vo10.net : du texte simple, et la page courante
   soulignée d'un trait orange plutôt que surlignée. */
nav.main a {
  color: #dcdcdc;
  font-size: .92rem;
  font-weight: 500;
  padding: 10px 0;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
nav.main a:hover { color: #ffffff; }
nav.main a[aria-current="page"] {
  color: #ffffff;
  border-bottom-color: var(--orange);
}

.navtools { display: flex; align-items: center; gap: 12px; margin-left: 10px; }

.burger {
  display: none;
  background: transparent;
  border: 1px solid #3d3d3d;
  border-radius: var(--radius-md);
  color: #f2f2f2;
  width: 44px; height: 40px;
  cursor: pointer;
  padding: 0;
  font-size: 1.05rem;
  line-height: 1;
}

@media (max-width: 960px) {
  /* Le bouton est le premier élément de la barre, avant le nom du site :
     c'est là que le pouce le cherche, et il ne flotte plus au milieu. */
  .burger { display: block; }
  .brand { margin-right: auto; }
  nav.main {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--night);
    border-bottom: 1px solid #303030;
    padding: 8px 24px 18px;
    margin-left: 0;
    display: none;
  }
  nav.main.open { display: flex; }
  nav.main a {
    padding: 13px 0;
    border-bottom: 1px solid #262626;
  }
  nav.main a[aria-current="page"] { border-bottom-color: #262626; color: var(--orange); }
  .navtools { margin-left: 0; }
}

/* ------------------------------------------------------ language picker -- */

/* La pastille de langue du canevas : deux ou trois lettres dans une gélule,
   la langue courante en blanc plein. */
.lang {
  display: inline-flex;
  border: 1px solid #3d3d3d;
  border-radius: 999px;
  overflow: hidden;
}
.lang a {
  display: inline-block;
  color: #b8b8b8;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 7px 11px;
  line-height: 1.3;
  text-decoration: none;
}
.lang a:hover { color: #ffffff; background: #262626; }
.lang a[aria-current="true"] {
  background: #f2f2f2;
  color: var(--night);
}

/* ------------------------------------------------------------- buttons -- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.1;
  padding: 0 22px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background .12s ease, border-color .12s ease, color .12s ease;
}
.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--orange);
  color: var(--ink);
}
.btn-primary:hover { background: var(--orange-hi); color: var(--ink); }

.btn-ghost {
  background: var(--ghost-bg);
  color: var(--ghost-fg);
  border-color: var(--ghost-line);
}
.btn-ghost:hover { border-color: var(--ghost-hover); color: var(--ghost-fg); }

.btn-link {
  background: none;
  border: 0;
  color: var(--link);
  min-height: 44px;
  padding: 0 4px;
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.btn-link:hover { text-decoration-color: currentColor; }

.btn-lg { font-size: 1rem; min-height: 52px; padding: 0 26px; }
.btn-block { width: 100%; }

/* Sur l'orange, le bouton principal passe au noir. */
.cta .btn-primary,
#checkout .btn-primary {
  background: var(--night);
  color: #ffffff;
}
.cta .btn-primary:hover,
#checkout .btn-primary:hover { background: #333333; color: #ffffff; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }

/* La flèche (→) n'est pas dans la police du site : le navigateur la prend
   ailleurs, et une police plus haute grandissait le bouton qui la porte.
   Sur une hauteur de ligne fixe, tous les boutons ont la même hauteur. */
.btn > [aria-hidden="true"] { line-height: 1; }

/* ---------------------------------------------------------------- hero -- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 96px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: 56px;
  align-items: center;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}
/* À l'accueil, le bas de la carte « Dernier device » s'aligne sur le bas
   des boutons. */
@media (min-width: 981px) {
  .hero-home { align-items: end; }
}

/* Dans le bandeau d'accueil, le titre partage la ligne avec la capture :
   à pleine taille il s'étalait sur quatre lignes. */
.hero h1 { margin-bottom: .4em; font-size: clamp(2.3rem, 1.4rem + 2.7vw, 3.55rem); }
.hero .lede { font-size: 1.2rem; margin-bottom: 2rem; }

/* Dans le bandeau, le surtitre devient la gélule du canevas, avec son point
   orange : « Devices Max for Live » sur vo10.net. */
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 13px;
  border-radius: 999px;
  background: #262626;
  color: #f2f2f2;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 26px;
}
.hero .eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex: none;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 28px;
  font-size: .8rem;
  font-weight: 500;
  color: var(--fg-faint);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

/* --------------------------------------------------------------- cards -- */

.card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 26px 26px 28px;
}
.card h3 { margin-bottom: .45em; }
.card p { color: var(--fg-dim); font-size: .95rem; }

/* La pastille d'icône des tuiles de vo10.net : un carré arrondi teinté. */
.card .ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px; height: 40px;
  padding: 0 8px;
  border-radius: var(--radius-md);
  background: var(--orange-tint);
  color: var(--orange-ink);
  font-size: .85rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.card.flat { background: transparent; border: 1px solid var(--line); }

/* --------------------------------------------------------------- table -- */

/* Une table vit dans sa carte, comme « Paramètres » sur la fiche device :
   les lignes se lisent sur le blanc, et la carte défile seule si la table
   est plus large que l'écran. */
.table-wrap {
  overflow-x: auto;
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 6px 24px;
  margin: 1.6rem 0;
}
.table-wrap table { margin: 0; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4rem 0;
  font-size: .94rem;
}
th, td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
th:first-child, td:first-child { padding-left: 0; }
th:last-child, td:last-child { padding-right: 0; }
tbody tr:last-child th,
tbody tr:last-child td { border-bottom: 0; }
.alt th, .alt td { border-bottom-color: var(--line); }
.alt tbody tr:last-child th,
.alt tbody tr:last-child td { border-bottom: 0; }

thead th {
  color: var(--fg-dim);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}
td code { white-space: nowrap; }

/* --------------------------------------------------------------- lists -- */

ul.ticks { list-style: none; padding: 0; margin: 1.2rem 0; }
ul.ticks li {
  position: relative;
  padding-left: 26px;
  margin-bottom: .65rem;
  color: var(--fg-dim);
}
ul.ticks li::before {
  content: "";
  position: absolute;
  left: 3px; top: .6em;
  width: 9px; height: 9px;
  border-radius: 2px;
  background: var(--orange);
}
ul.ticks li strong { color: var(--fg-strong); }

/* --------------------------------------------------------------- notes -- */

/* Une note est une pastille teintée, pas un liseré : le trait vertical à
   gauche est le tic de mise en page qu'on retrouve partout, et il ne dit
   rien de plus que le fond. */
.note {
  background: var(--orange-tint);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 1.4rem 0;
  font-size: .95rem;
  color: #3b352d;
}
.note strong { color: var(--ink); }
.note.blue  { background: #e8f0fb; color: #263241; }
.note.amber { background: #fdf0c9; color: #3d3110; }

/* ------------------------------------------------------------- footer -- */

footer.site {
  padding: 64px 0 36px;
  font-size: .9rem;
}
footer.site .brand { font-size: 1.9rem; margin-bottom: 14px; }
footer.site .cols {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 780px) {
  footer.site .cols { grid-template-columns: 1fr 1fr; }
  footer.site .cols > :first-child { grid-column: 1 / -1; }
}
footer.site h4 {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: 14px;
}
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin-bottom: 4px; }
footer.site ul a {
  display: inline-block;
  padding: 4px 0;
  color: #dcdcdc;
  text-decoration: none;
}
footer.site ul a:hover { color: #ffffff; text-decoration: underline; text-decoration-color: var(--orange); }
footer.site .legal {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid #2e2e2e;
  color: var(--fg-faint);
  font-size: .8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  justify-content: space-between;
}

/* ------------------------------------------------------------ sundries -- */

/* Le sommaire de Fonctionnalités : la rangée de pastilles et le premier
   titre de la page partagent la même section. Sans marge franche en dessous,
   le titre venait se coller aux pastilles et passait pour leur légende. */
.pill-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 56px;
  padding: 0;
  list-style: none;
}
.pill-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 0 16px;
  text-decoration: none;
}
.pill-nav a:hover { border-color: var(--ink); }

/* Le haut des pages intérieures : le même bandeau sombre que l'accueil, en
   plus court — comme le haut de la fiche device. */
.page-head {
  padding: 72px 0 64px;
}
.page-head h1 { margin-bottom: .35em; }
.page-head .lede { font-size: 1.15rem; }

/* La fiche technique, à la manière de « Caractéristiques » : une carte, une
   ligne par entrée, l'étiquette à gauche en gris, la valeur à droite. */
.spec {
  display: grid;
  grid-template-columns: 190px 1fr;
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 10px 30px;
  font-size: .95rem;
}
.spec dt,
.spec dd {
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
}
.spec dt { color: var(--fg-dim); padding-right: 20px; }
.spec dd { margin: 0; color: var(--fg-strong); font-weight: 500; }
.spec dt:last-of-type,
.spec dd:last-of-type { border-bottom: 0; }
@media (max-width: 560px) {
  .spec { grid-template-columns: 1fr; padding: 10px 22px; }
  .spec dt { border-bottom: 0; padding-bottom: 0; }
}

[hidden] { display: none !important; }

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 12px; top: 12px;
  z-index: 100;
  background: var(--orange);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: var(--radius-md);
}

/* --------------------------------------------- barre haute, petits écrans --
   En dessous de 560 px, le bouton d'achat, le sélecteur de langue et le nom
   de marque ne tiennent plus côte à côte : le bouton passe dans le menu. */
nav.main a.navbuy { display: none; }

@media (max-width: 560px) {
  .topbar .wrap { gap: 12px; padding: 0 16px; }
  .navtools .btn { display: none; }
  nav.main a.navbuy { display: block; color: var(--orange); font-weight: 700; }
  .brand { font-size: 1.1rem; }
  .wrap { padding: 0 16px; }
  .table-wrap { padding: 4px 16px; }
  .pricebox .head, .pricebox .amount, .pricebox .body { padding-left: 22px; padding-right: 22px; }
  #checkout { padding: 40px 22px; min-height: 0; }
}


/* ======================================================================
   VO10 — ce qui n'existe pas sur maxtracker.live
   ====================================================================== */

/* ------------------------------------------------------------- le logo --
   Le SVG est dans la page (logo_svg()) : il prend la couleur du texte,
   blanc sur les bandeaux. Il remplace le nom en toutes lettres de la barre
   de MaxTracker. */
.brand { display: inline-flex; align-items: center; min-height: 44px; color: #ffffff; }
.brand .logo { display: block; height: 22px; width: auto; }
@media (min-width: 1080px) { .brand .logo { height: 25px; } }
footer.site .brand { margin-bottom: 18px; }
footer.site .brand .logo { height: 46px; }

/* Le mot souligné du titre d'accueil : « son. » en orange. */
.hero h1 .hl { color: var(--orange); }

.stack { display: flex; flex-direction: column; gap: 28px; }

/* Le haut d'une section : titre à gauche, une phrase à droite. */
.sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 40px;
  margin-bottom: 32px;
}
.sec-head h2 { margin: 0; }
.sec-head > p { max-width: 46ch; margin: 0; }

/* Les tuiles d'icône : une pastille teintée par tuile, comme sur la
   maquette — orange, violet, sarcelle. */
.card .ic svg {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.card .ic-a { background: #ffe9cc; color: #8a4f00; }
.card .ic-b { background: #e7e3ff; color: #4535b8; }
.card .ic-c { background: #d9f2ef; color: #0b625b; }

/* ---------------------------------------------- le plateau d'un device --
   L'aplat de la couleur du device, avec la trame à points, et l'interface
   posée dessus avec son ombre. */
.tray {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 230px;
  padding: clamp(18px, 3.2vw, 32px);
  border-radius: var(--radius-md);
  background-color: var(--c, var(--orange));
  background-image: var(--dots);
  background-size: var(--dots-size);
}
.tray img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .32);
}
.tray.big { min-height: 320px; border-radius: var(--radius-lg); }

/* La façade dessinée, quand la capture n'est pas encore là. */
.face {
  width: 100%;
  max-width: 400px;
  background: #1e1e1e;
  border-radius: 6px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .3);
  color: #dcdcdc;
  font-family: var(--mono);
  overflow: hidden;
}
.face-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-bottom: 1px solid #303030;
  font-size: 11px;
  letter-spacing: .04em;
}
.face-bar .dot { width: 8px; height: 8px; border-radius: 2px; background: var(--c); flex: none; }
.face-bar .v { margin-left: auto; color: #8a8a8a; }
.face-knobs { display: flex; justify-content: space-around; padding: 28px 12px; }
.knob {
  position: relative;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #2f2f2f;
  border: 2px solid #3d3d3d;
  transform: rotate(var(--r, 0deg));
}
.knob::after {
  content: "";
  position: absolute;
  left: 50%; top: 3px;
  width: 2px; height: 13px;
  margin-left: -1px;
  border-radius: 1px;
  background: var(--c);
}
.face-hint {
  display: block;
  padding: 0 12px 10px;
  font-size: 10px;
  color: #8a8a8a;
  text-align: center;
}

/* --------------------------------------------------- cartes de devices -- */
.dgrid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
}
.dcard {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 14px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgba(28, 28, 28, .06), 0 10px 30px rgba(28, 28, 28, .07);
}
.dcard-visual { position: relative; display: block; text-decoration: none; }
.dcard .kind {
  position: absolute;
  top: 14px; left: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(23, 23, 23, .88);
  color: #ffffff;
  font-size: .75rem;
  font-weight: 600;
}
.dcard-head,
.latest-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 0 8px;
}
.dcard h3 { margin: 0; font-size: 1.75rem; font-weight: 800; letter-spacing: -.025em; }
.dcard h3 a,
.latest h2 a { color: inherit; text-decoration: none; }
.dcard h3 a:hover,
.latest h2 a:hover { text-decoration: underline; text-decoration-color: var(--c); }
.tagline { margin: 4px 0 0; color: var(--fg-dim); }
.price {
  flex: none;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--fg-strong);
  font-weight: 700;
  white-space: nowrap;
}
.summary { margin: 0; padding: 0 8px; color: var(--fg-dim); font-size: .95rem; }
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0 8px;
  list-style: none;
}
.tags li {
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .8rem;
  color: #3e3c39;
}
.dcard .actions { margin-top: auto; padding: 4px 8px 8px; }
.dcard .actions .btn { flex: 1 1 auto; }

/* Les boutons de plus que MaxTracker : noir plein, et la couleur du
   device — avec son texte noir ou blanc, calculé côté PHP. */
.btn-dark { background: var(--ink); color: #ffffff; }
.btn-dark:hover { background: #333333; color: #ffffff; }
.hero .btn-dark, .page-head .btn-dark, footer.site .btn-dark { background: #f2f2f2; color: var(--night); }
.btn-c { background: var(--c); color: var(--c-ink); }
.btn-c:hover { filter: brightness(1.08); color: var(--c-ink); }
.btn-price { padding: 2px 9px; border-radius: 999px; background: rgba(23, 23, 23, .16); }
.btn.is-static { cursor: default; }
.buy-note { margin-top: 12px; font-size: .82rem; color: var(--fg-faint); }

/* -------------------------------------------------- le lecteur de démo --
   Un bouton rond, et la forme d'onde en deux couches : la grise dessous, la
   colorée dessus, découverte de gauche à droite à mesure de la lecture
   (--p, posé par site.js). Un clic dans l'onde déplace la lecture. */
.player,
.ab {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 8px;
  padding: 12px;
  border-radius: var(--radius-md);
  background: var(--paper);
}
.play {
  flex: 0 0 44px;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: #ffffff;
  cursor: pointer;
}
.play::before {
  content: "";
  width: 0; height: 0;
  margin-left: 3px;
  border-left: 12px solid currentColor;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}
.is-playing .play::before {
  width: 12px; height: 14px;
  margin: 0;
  border: 0;
  background: linear-gradient(90deg, currentColor 0 4px, transparent 4px 8px, currentColor 8px 12px);
}
.wave { position: relative; flex: 1 1 auto; min-width: 0; height: 34px; cursor: pointer; }
.w-base, .w-done { position: absolute; inset: 0; display: flex; align-items: center; gap: 2px; }
.w-done { clip-path: inset(0 calc(100% - var(--p, 0%)) 0 0); }
.wave i { flex: 1 1 0; min-width: 1px; border-radius: 1px; background: #bdb8b0; }
.w-done i { background: var(--c); }
.player .dl { flex: none; font-size: .8rem; font-weight: 600; color: var(--fg-dim); text-decoration: none; }

/* Sur fond sombre : le carré du lecteur s'assombrit, le bouton s'éclaire. */
.player.on-dark,
.ab { background: #1e1e1e; margin: 0; }
.player.on-dark .play,
.ab .play { background: #f2f2f2; color: var(--night); }
.player.on-dark .wave i { background: #4a4a4a; }
.player.on-dark .w-done i { background: var(--c); }
.player.on-dark .dl { color: #9a9a9a; }

/* L'écoute A/B : deux boutons en gélule, le côté écouté en couleur. */
.ab { justify-content: space-between; flex-wrap: wrap; }
.ab-switch { display: flex; gap: 3px; padding: 3px; border-radius: 999px; background: #2b2b2b; }
.ab-switch button {
  min-height: 44px;
  min-width: 112px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #dcdcdc;
  font: inherit;
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
}
.ab-switch button[aria-pressed="true"] { background: var(--c); color: var(--c-ink); }

/* ------------------------------------- la carte « dernier device » -- */
.latest {
  justify-self: end;
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 14px;
  background: #232323;
  border: 1px solid #2e2e2e;
  border-radius: var(--radius-lg);
}
.latest-head { padding: 0 6px; }
.latest-k {
  margin: 0 0 10px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--orange);
}
.latest h2 { margin: 2px 0 0; font-size: 1.6rem; }
.latest .price { background: #3a3a3a; color: #ffffff; }
.latest .player { margin: 0 6px 6px; }
@media (max-width: 980px) { .latest { justify-self: start; } }

/* ------------------------------------------------------- l'atelier -- */
.about-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px 48px;
  align-items: center;
  padding: 16px;
  background: var(--white);
  border-radius: 20px;
}
.about-card:not(:has(.about-img)) { grid-template-columns: 1fr; }
.about-img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  border-radius: 12px;
}
.about-txt { padding: 28px 28px 28px 0; }
.about-txt h2 { margin-bottom: .5em; }
.about-card:not(:has(.about-img)) .about-txt { padding: 28px; }
@media (max-width: 860px) {
  .about-card { grid-template-columns: 1fr; }
  .about-img { min-height: 0; aspect-ratio: 16 / 9; }
  .about-txt { padding: 8px 12px 18px; }
}
.company {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}
.company h2 { font-size: 1.5rem; margin-bottom: .4em; }
.company p { max-width: 60ch; }

/* ------------------------------------------------------ fiche device -- */
.crumbs { margin: -24px 0 36px; font-size: .85rem; color: var(--fg-faint); }
.crumbs a { color: var(--fg-dim); text-decoration: none; }
.crumbs a:hover { color: #ffffff; text-decoration: underline; text-decoration-color: var(--c); }
.page-head .eyebrow-c {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 13px;
  border-radius: 999px;
  background: #262626;
  color: #f2f2f2;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 24px;
}
.page-head .eyebrow-c::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c);
  flex: none;
}
.dhead .actions { margin-top: 28px; }
.dfig { display: flex; flex-direction: column; gap: 12px; margin: 0; }

.card > h2 { font-size: 1.55rem; margin-bottom: .7em; }
.prose-card .prose p { color: var(--fg); }

/* Une liste « étiquette : valeur », comme « Caractéristiques » sur la
   maquette — l'étiquette à gauche en gris, la valeur à droite. */
.kv { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); margin: 0; }
.kv dt,
.kv dd { padding: 11px 0; border-bottom: 1px solid var(--line-soft); }
.kv dt { padding-right: 16px; color: var(--fg-dim); }
.kv dd { margin: 0; font-weight: 600; color: var(--fg-strong); text-align: right; }
.kv dt:last-of-type,
.kv dd:last-of-type { border-bottom: 0; }
@media (max-width: 560px) {
  .kv { grid-template-columns: 1fr; }
  .kv dt { border-bottom: 0; padding-bottom: 0; }
  .kv dd { text-align: left; }
}

.table-wrap.flush { margin: 0; padding: 0; background: transparent; border-radius: 0; }

.files { list-style: none; margin: 0; padding: 0; }
.files a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 60px;
  padding: 8px 0;
  border-top: 1px solid var(--line-soft);
  color: var(--fg-strong);
  text-decoration: none;
}
.files .f-ic {
  flex: 0 0 36px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md);
  background: var(--paper);
  font-weight: 700;
}
.files .f-name { flex: 1 1 auto; font-weight: 600; }
.files .f-meta { font-size: .82rem; color: var(--fg-dim); }

.releases { list-style: none; margin: 0; padding: 0; }
.releases li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  padding: 13px 0;
  border-top: 1px solid var(--line-soft);
}
.releases p { flex: 1 1 100%; margin: 0; }
.badge-dark {
  padding: 1px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  font-size: .8rem;
  font-weight: 700;
}

/* Le bandeau « autre device », dans la couleur de celui-là. */
.next {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  background-color: var(--c);
  background-image: var(--dots);
  background-size: var(--dots-size);
  color: var(--c-ink);
  text-decoration: none;
}
.next:hover { color: var(--c-ink); }
.next-k {
  display: block;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.next-n { display: block; font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.next .btn-dark { background: var(--night); color: #ffffff; }

/* --------------------------------------------------------- newsletter -- */
.nl-label {
  display: block;
  margin-bottom: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--fg-strong);
}
.nl-row { display: flex; gap: 8px; }
.nl input[type="email"] {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--ghost-line);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}
.nl input[type="email"]::placeholder { color: #8a857e; }
.nl-help { margin: 10px 0 0; font-size: .8rem; color: var(--fg-faint); }
.nl-error {
  margin: 10px 0 0;
  padding: 8px 12px;
  border-radius: 8px;
  background: #fde8e6;
  color: #9b1c12;
  font-size: .9rem;
}
/* Le piège à robots : hors de l'écran, hors du parcours clavier. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.nl-card { max-width: 640px; padding: 32px; background: var(--white); border-radius: var(--radius-lg); }
@media (max-width: 480px) { .nl-row { flex-direction: column; } }

/* -------------------------------------------------------------- pied -- */
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr 1.7fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 1000px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-id, .foot-nl { grid-column: 1 / -1; }
}
footer.site .foot-h {
  margin-bottom: 14px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--fg-faint);
}
.foot-mail { margin: 14px 0 6px; }
.foot-mail a { color: #ffffff; font-size: 1.15rem; font-weight: 600; }
footer.site ul.foot-links { display: flex; flex-wrap: wrap; gap: 0 18px; }
footer.site .foot-nl .nl {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: #262626;
}
footer.site .nl input[type="email"] { background: #1e1e1e; border-color: #3d3d3d; color: #f2f2f2; }
footer.site .nl input[type="email"]::placeholder { color: #8a8a8a; }
footer.site .nl-error { background: rgba(240, 82, 64, .16); color: #ffb4a8; }

/* --------------------------------------------------------- 404 / 503 -- */
.nf { padding: 96px 0 128px; }
.nf-code {
  margin: 0 0 8px;
  font-size: clamp(5rem, 14vw, 9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.05em;
  color: var(--orange);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media (max-width: 560px) {
  .tray { min-height: 0; }
  .tray.big { min-height: 220px; }
}

/* Les intertitres d’une description de device (device_i18n.body). */
.prose h3 { margin: 1.6em 0 .5em; font-size: 1.15rem; }
.prose h3:first-child { margin-top: 0; }
.prose ul.ticks { margin: .6rem 0 0; }

/* ------------------------------------------------- formulaire de contact -- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.cform { display: flex; flex-direction: column; gap: 22px; padding: 32px; }
.f-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 640px) { .f-row2 { grid-template-columns: 1fr; } .cform { padding: 22px; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-weight: 700; color: var(--fg-strong); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--ghost-line);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 16px;   /* 16 px : iOS ne zoome pas sur le champ */
}
.field textarea { min-height: 180px; resize: vertical; line-height: 1.55; }
.field select {
  appearance: none;
  padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, #5e5b57 50%), linear-gradient(135deg, #5e5b57 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}
.field input:focus,
.field select:focus,
.field textarea:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: var(--ink); }
.field [aria-invalid="true"] { border-color: #c2321f; }
/* « .cform » devant : sans lui, la couleur des paragraphes de carte gagne. */
.cform .f-help { margin: 0; font-size: .84rem; color: var(--fg-faint); }
.cform .f-err { margin: 0; font-size: .88rem; font-weight: 600; color: #a1260f; }
.f-summary {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: #fde8e6;
  color: #8f1d0f;
  font-weight: 600;
}
.cform .f-summary p { margin: 0; color: #8f1d0f; }
.captcha input { max-width: 120px; }
.f-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.f-foot .f-help { flex: 1 1 240px; }
.contact-aside { position: sticky; top: 96px; border-top: 4px solid var(--c); }
.contact-aside h2 { font-size: 1.3rem; margin-bottom: .4em; }
.aside-links { list-style: none; margin: 16px 0 0; padding: 0; }
.aside-links a {
  display: flex;
  justify-content: space-between;
  min-height: 48px;
  align-items: center;
  border-top: 1px solid var(--line-soft);
  color: var(--fg-strong);
  font-weight: 600;
  text-decoration: none;
}
@media (max-width: 900px) { .contact-aside { position: static; } }

/* -------------------------------------------- noms dessinés (obf()) --
   Un bloc de la couleur du texte, découpé par le dessin du nom : il suit la
   couleur, la taille et la ligne de base du texte autour. 1,21 em de haut,
   c'est l'ascendante + la descendante d'Inter, d'où le décalage de la ligne
   de base (-0,2412 em). */
.obf {
  display: inline-block;
  height: 1.21em;
  width: calc(var(--r) * 1.21em);
  vertical-align: -0.2412em;
  background-color: currentColor;
  -webkit-mask: var(--obf) no-repeat center / contain;
          mask: var(--obf) no-repeat center / contain;
}

/* ----------------------------------------------- À propos : photos -- */
.story-head { display: flex; align-items: center; gap: 18px; margin-bottom: .6em; }
.story-head h2 { margin: 0; }
.portrait {
  flex: none;
  width: 104px; height: 104px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 4px var(--white), 0 0 0 5px var(--line);
}
@media (max-width: 480px) { .story-head { align-items: flex-start; } .portrait { width: 80px; height: 80px; } }

/* La carte du récit : texte à gauche (plus large), photos à droite. */
.about-card.story-card {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: start;
  padding: 16px 16px 16px 0;
}
.about-card.story-card .about-txt { padding: 28px 8px 24px 32px; }
.then-now { display: flex; flex-direction: column; gap: 18px; padding: 28px 16px 12px 0; }
.then-now .tn-h {
  margin: 0;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--fg-faint);
}
.then-now figure { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.then-now img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.then-now figcaption { font-size: .88rem; line-height: 1.5; color: var(--fg-dim); }
.then-now .badge-dark { margin-right: 6px; }
@media (max-width: 860px) {
  .about-card.story-card { grid-template-columns: 1fr; padding: 16px; }
  .about-card.story-card .about-txt { padding: 12px 8px 8px; }
  .then-now { padding: 8px; }
}


/* ==========================================================================
   Bandeau de consentement (tarteaucitron.js, assets/vendor/tarteaucitron/)
   Sa feuille arrive après celle-ci : d'où le préfixe « html body » et les
   !important sur les couleurs. Accepter et refuser ont strictement le même
   poids visuel — la CNIL l'exige ; ne pas mettre l'un en avant.
   ========================================================================== */
html body #tarteaucitronRoot,
html body #tarteaucitronRoot button,
html body #tarteaucitronRoot a { font-family: var(--sans) !important; }

/* Le bandeau, en bas : la nuit du site, le texte clair */
html body #tarteaucitronRoot #tarteaucitronAlertBig {
  background: var(--night) !important;
  color: #f3f1ee !important;
  box-sizing: border-box !important;
  width: 100% !important;
  padding: 18px max(16px, calc((100vw - var(--maxw)) / 2 + 24px)) !important;
  border-top: 1px solid rgba(255, 255, 255, .08);
  text-align: left !important;
  display: none;
}
html body #tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronDisclaimerAlert {
  display: block;
  color: #f3f1ee !important;
  font-size: .95rem !important;
  line-height: 1.5 !important;
  max-width: 80ch;
  margin: 0 0 14px !important;
  padding: 0 !important;
}
html body #tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronPersonalize2,
html body #tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronAllDenied2 {
  background: var(--white) !important;
  color: var(--ink) !important;
  border: 1px solid var(--white) !important;
  border-radius: var(--radius-md) !important;
  font-size: .95rem !important;
  font-weight: 700 !important;
  min-height: 44px;
  padding: 0 20px !important;
  margin: 0 8px 8px 0 !important;
  cursor: pointer;
}
html body #tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronPersonalize2:hover,
html body #tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronAllDenied2:hover {
  background: var(--orange) !important;
  border-color: var(--orange) !important;
}
html body #tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronCloseAlert,
html body #tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronPrivacyUrl {
  background: transparent !important;
  color: #f3f1ee !important;
  border: 0 !important;
  font-size: .9rem !important;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0 4px !important;
  margin: 0 12px 8px 4px !important;
  min-height: 44px;
  cursor: pointer;
}
html body #tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronCloseAlert:hover,
html body #tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronPrivacyUrl:hover { color: var(--orange) !important; }
html body #tarteaucitronRoot #tarteaucitronAlertBig .tarteaucitronCheck,
html body #tarteaucitronRoot #tarteaucitronAlertBig .tarteaucitronCross { display: none !important; }
html body #tarteaucitronRoot :focus-visible { outline: 2px solid var(--orange) !important; outline-offset: 2px; }

/* Le panneau de réglages */
html body #tarteaucitronRoot #tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronAsk .tarteaucitronAllow,
html body #tarteaucitronRoot #tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronAsk .tarteaucitronDeny,
html body #tarteaucitronRoot #tarteaucitron #tarteaucitronAllAllowed,
html body #tarteaucitronRoot #tarteaucitron #tarteaucitronAllDenied {
  background: var(--line-soft) !important;
  color: var(--ink) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
  font-weight: 600;
  opacity: 1 !important;
}
html body #tarteaucitronRoot #tarteaucitron #tarteaucitronServices .tarteaucitronLine.tarteaucitronIsAllowed .tarteaucitronAllow,
html body #tarteaucitronRoot #tarteaucitron #tarteaucitronServices #tarteaucitronServices_mandatory .tarteaucitronLine button.tarteaucitronAllow,
html body #tarteaucitronRoot #tarteaucitron #tarteaucitronAllAllowed.tarteaucitronIsSelected {
  background: var(--orange) !important;
  border-color: var(--orange) !important;
}
html body #tarteaucitronRoot #tarteaucitron #tarteaucitronServices .tarteaucitronLine.tarteaucitronIsDenied .tarteaucitronDeny,
html body #tarteaucitronRoot #tarteaucitron #tarteaucitronAllDenied.tarteaucitronIsSelected {
  background: var(--ink) !important;
  border-color: var(--ink) !important;
  color: var(--white) !important;
}
html body #tarteaucitronRoot #tarteaucitron #tarteaucitronServices .tarteaucitronMainLine,
html body #tarteaucitronRoot #tarteaucitron #tarteaucitronInfo { border-color: var(--line) !important; }
html body #tarteaucitronRoot #tarteaucitron #tarteaucitronPrivacyUrl,
html body #tarteaucitronRoot #tarteaucitron #tarteaucitronPrivacyUrlDialog { text-decoration: underline; }
html body #tarteaucitronRoot #tarteaucitronClosePanel {
  background: var(--night) !important;
  color: var(--white) !important;
  border-radius: var(--radius) var(--radius) 0 0 !important;
}

/* ================================================================ blog --
   La liste : des cartes blanches, comme les fiches. L'article : une colonne
   de lecture, son sommaire à côté sur grand écran (collant), au-dessus sur
   petit écran (repliable). Les tables du texte vivent dans leur carte
   (.table-wrap), comme partout ailleurs. */

.post-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.post-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.post-card.has-cover { padding-top: 14px; }
.post-card-cover {
  display: block;
  margin: 0 -14px .5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #171717;
}
.post-card-cover img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .post-card-cover img { transform: scale(1.025); }
.post-card h3 { margin: 0; font-size: 1.25rem; line-height: 1.3; }
.post-card h3 a { color: var(--fg-strong); text-decoration: none; }
.post-card h3 a:hover { text-decoration: underline; }
.post-card .post-desc { margin: 0; color: var(--fg-dim); font-size: .95rem; }
.post-meta { margin: 0; color: var(--fg-faint); font-size: .84rem; }
.post-lang { font-weight: 600; color: var(--fg-dim); }
.post-draft {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 99px;
  background: var(--orange);
  color: var(--ink);
  font-size: .74rem;
  font-weight: 700;
}
.post-tags { list-style: none; margin: .4rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.post-tags li {
  font-size: .76rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 99px;
  border: 1px solid var(--line);
  color: var(--fg-dim);
}
.post-else { margin-top: 64px; }
.post-else h2 { font-size: 1.5rem; }
.post-rss { margin-top: 40px; font-size: .9rem; color: var(--fg-dim); }

/* L'en-tête d'article : le titre long, la date et la durée en ligne. */
.post-head h1 { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.9rem); max-width: 24ch; }
.post-head .eyebrow a { color: inherit; text-decoration: none; }
.post-head .eyebrow a:hover { color: var(--fg-strong); }
.post-head .post-meta { margin-top: 1.2rem; color: var(--fg-dim); font-size: .9rem; line-height: 1.7; }
.post-tr { margin: .8rem 0 0; color: var(--fg-dim); }

.post-sec { padding-top: 56px; }
.post-cover {
  margin: 0 0 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  max-height: 480px;
  background: #171717;
}
.post-cover img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
@media (min-width: 1080px) { .post-cover { aspect-ratio: 2 / 1; } }
.post-layout.has-toc {
  display: grid;
  grid-template-columns: minmax(0, var(--maxw-prose)) 260px;
  gap: 56px;
  align-items: start;
}
.post-layout.has-toc .toc { grid-column: 2; grid-row: 1; position: sticky; top: 96px; }
.post-layout.has-toc .post-body { grid-column: 1; grid-row: 1; }

.toc details { font-size: .9rem; }
.toc summary {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--fg-dim);
  cursor: pointer;
  margin-bottom: .6rem;
}
.toc ol { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid var(--line); }
.toc li { margin: 0; }
.toc a {
  display: block;
  padding: 5px 0;
  color: var(--fg-dim);
  text-decoration: none;
  line-height: 1.35;
}
.toc a:hover, .toc a[aria-current="true"] { color: var(--fg-strong); }
.toc a[aria-current="true"] { font-weight: 600; }

.post-body h2 {
  font-size: clamp(1.45rem, 1.2rem + .8vw, 1.8rem);
  margin: 2.6em 0 .6em;
  scroll-margin-top: 96px;
}
.post-body h2:first-child { margin-top: 0; }
.post-body h3 { scroll-margin-top: 96px; }
.post-body li { margin: .3em 0; }
.post-body ol, .post-body ul { padding-left: 1.3em; }
.post-body .table-wrap { margin: 1.4rem 0 1.8rem; }
.post-body table { font-size: .88rem; }
.post-body td:first-child { font-weight: 600; color: var(--fg-strong); }
.post-fig { margin: 2rem 0; background: var(--card); border-radius: var(--radius-lg); padding: 20px; }
.post-fig img { display: block; width: auto; max-width: 100%; height: auto; margin: 0 auto; }
.post-fig figcaption { margin-top: .8rem; font-size: .85rem; color: var(--fg-dim); text-align: center; }
.post-body > .post-tags { margin-top: 3rem; padding-left: 0; }
.post-body .post-tags li { margin: 0; }

.post-device {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: center;
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.post-device-visual { display: block; border-radius: var(--radius-md); overflow: hidden; }
.post-device-visual img { display: block; width: 100%; height: auto; }
.post-device-txt p { margin: 0 0 .8rem; color: var(--fg-dim); }
.post-device-txt h2 a { color: var(--fg-strong); text-decoration: none; }
.post-device-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 0 !important; }
.post-device-cta .price { font-weight: 700; color: var(--fg-strong); }
@media (max-width: 640px) { .post-device { grid-template-columns: 1fr; } }

.post-end {
  margin-top: 3rem;
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
}
.post-end-h { font-size: 1.3rem; margin: 0 0 .4em; }
.post-end p:last-child { margin-bottom: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.post-end .post-rss-link { font-size: .9rem; }
.post-back { margin-top: 2.4rem; }

@media (max-width: 1079px) {
  .post-layout.has-toc { display: block; }
  .post-layout.has-toc .toc {
    position: static;
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 18px 22px;
    margin-bottom: 2.4rem;
    max-width: var(--maxw-prose);
  }
  .toc summary { margin-bottom: 0; }
  .toc details[open] summary { margin-bottom: .6rem; }
}
@media (max-width: 640px) {
  .post-card { padding: 22px; }
  .post-fig { padding: 12px; }
}

/* ------------------------------------------------- le prix de lancement --
   Visible, mais honnête : un prix qui monte à une date dite, avec son compte
   à rebours. Ni prix barré, ni pourcentage (voir launch_box()). */

/* Le bandeau, au-dessus de l'en-tête, sur toutes les pages. */
.promo {
  display: block;
  background: linear-gradient(90deg, #fda43a 0%, #ff8a2a 55%, #ff6f3c 100%);
  color: #171717;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.35;
}
.promo .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 16px;
  padding-top: 9px;
  padding-bottom: 9px;
  text-align: center;
}
.promo-tag {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .72rem;
  font-weight: 800;
  background: #171717;
  color: #fda43a;
  padding: 3px 9px;
  border-radius: 99px;
}
.promo-cd { font-variant-numeric: tabular-nums; }
.promo-cd .cd {
  display: inline-block;
  background: rgba(23, 23, 23, .14);
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 800;
}
.promo-cta { text-decoration: underline; text-underline-offset: 3px; font-weight: 800; white-space: nowrap; }
.promo:hover .promo-cta { text-decoration-thickness: 2px; }
.promo:focus-visible { outline: 3px solid #171717; outline-offset: -3px; }
@media (max-width: 640px) {
  .promo { font-size: .84rem; }
  .promo .wrap { gap: 4px 10px; }
  .promo-tag { display: none; }
}

/* Sous un prix : ce qu'il deviendra, et quand. */
.launch-box {
  margin: .9rem 0 .8rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--orange) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--orange) 55%, transparent);
  font-size: .88rem;
}
.launch-box p { margin: 0; }
.launch-then { font-weight: 700; color: var(--fg-strong); }
.launch-left { color: var(--fg-dim); font-variant-numeric: tabular-nums; }
.launch-left .cd { font-weight: 800; color: var(--fg-strong); }
.hero .launch-box, .dhero .launch-box { color: #fff; }
.hero .launch-then, .hero .launch-left .cd { color: #fff; }
.hero .launch-left { color: rgba(255, 255, 255, .75); }

/* La carte du prix : un ruban, et un liseré orange. */
.pricebox.is-launch { position: relative; box-shadow: 0 0 0 2px var(--orange), var(--shadow-lg, 0 10px 30px rgba(0, 0, 0, .08)); }
.launch-ribbon {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1;
  background: var(--orange);
  color: #171717;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 99px;
}
/* Le prix et sa pastille, centrés l'un sur l'autre. */
.price.is-launch { display: inline-flex; align-items: center; gap: 6px; }
.price small.launch-tag {
  display: inline-block;
  font-size: .66em;
  font-weight: 800;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: .05em;
  background: var(--orange);
  color: #171717;
  padding: 1px 7px;
  border-radius: 99px;
}
