/* Pixs.app, site V4 : style porté de la maquette de Léo (docs/maquette-v4/style.css, 18/11/2026).
   Polices Onest et Manrope servies par le site (licence OFL, assets/fonts/). Les couleurs testées sont les
   variables --color-* de :root ; les autres variables de la maquette s'y rattachent. */
@font-face {
  font-family: "Onest";
  src: url("/assets/fonts/onest-latin-wght-normal.44aca66be9.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-latin-wght-normal.b42951014c.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  /* Couleurs testées par tests/run.php (contraste de 4,5:1 au moins) */
  --color-bg: #F6F3EF;
  --color-surface: #FFFFFF;
  --color-text: #140600;
  --color-muted: #6B625D;
  --color-link: #B3441A;
  --color-accent: #CC4B14;
  --color-on-accent: #FFFFFF;
  --color-dark: #140600;
  --color-on-dark: #FFFFFF;

  --ink: var(--color-text);
  --ink-2: #3F3733;
  --muted: var(--color-muted);
  --bg: var(--color-bg);
  --bg-2: #FBF8F4;
  --surface: var(--color-surface);
  --line: rgba(20, 6, 0, 0.10);
  --line-2: rgba(20, 6, 0, 0.14);
  --track: #EFE9E2;
  --accent: #FA682E;
  --accent-hover: #E55F2A;
  --accent-text: var(--color-link);
  --accent-text-2: #A8461A;
  --accent-soft: #FFF1EA;
  --accent-soft-2: #FFE3D6;
  --accent-line: #FFD9C6;
  --accent-strong: var(--color-accent);
  --accent-strong-hover: #B3410F;
  --on-accent: var(--color-on-accent);
  --ok: #15803D;
  --ok-bg: #E8F6EE;
  --ko: #B91C1C;
  --ko-bg: #FEE2E2;

  --font-title: "Onest", system-ui, sans-serif;
  --font-text: "Manrope", system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --radius-sm: 8px;
  --radius-btn: 9px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 30px 60px rgba(20, 6, 0, 0.12);
  --wrap: 1160px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-2);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-text); }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; border-radius: 4px; }
button { font: inherit; color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.mono { font-family: var(--font-mono); font-size: 13px; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; color: #fff; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i-xl { width: 40px; height: 40px; stroke-width: 1.4; }
/* Type */
.title { font-family: var(--font-title); font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; margin: 0; }
.title-xl { font-size: clamp(40px, 6.4vw, 72px); letter-spacing: -0.035em; }
.title-l { font-size: clamp(30px, 4vw, 46px); }
.title-m { font-size: clamp(26px, 3vw, 34px); }
.title-s { font-size: 20px; letter-spacing: -0.01em; }
.lead { font-size: 19px; color: var(--ink-2); margin: 18px 0 0; max-width: 640px; }
.label { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.hl { color: var(--accent-text); }
/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; justify-content: center; text-align: center; white-space: nowrap; height: 48px; padding: 0 22px; border-radius: var(--radius-btn); font-weight: 700; font-size: 15px; border: 1px solid transparent; position: relative; transition: background .2s, transform .2s var(--ease), box-shadow .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; }
.btn-primary { background: var(--accent-strong); color: var(--on-accent); box-shadow: 0 6px 18px rgba(204, 75, 20, .28); }
.btn-primary:hover { background: var(--accent-strong-hover); color: var(--on-accent); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { color: #fff; background: #2a1d17; }
.btn-ghost { background: var(--surface); border-color: var(--line-2); color: var(--ink); }
.btn-on-dark { border-color: rgba(255,255,255,.3); color: #fff; }
.btn-on-dark:hover { color: #fff; background: rgba(255,255,255,.08); }
.btn .i { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.btn .i-arrow { fill: none; stroke: currentColor; stroke-width: 2.2; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
/* Banner + nav */
.banner { display: block; text-align: center; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; padding: 9px 16px; }
.banner:hover { color: #fff; }
.banner u { text-decoration-color: var(--accent); text-underline-offset: 3px; }
.nav { position: sticky; top: 0; z-index: 40; background: rgba(251, 248, 244, .85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.nav-links { display: flex; gap: 28px; font-size: 15px; font-weight: 600; color: var(--ink-2); margin-right: auto; }
.nav-cta { display: flex; gap: 10px; }
/* Hero */
.hero { padding: 72px 0 40px; background: radial-gradient(1000px 420px at 50% -80px, var(--accent-soft-2), transparent 70%); }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero .lead { margin-left: auto; margin-right: auto; }
.hero .btn-row { justify-content: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border: 1px solid var(--accent-line); background: var(--surface); border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--accent-text-2); margin-bottom: 24px; }
.eyebrow .i { width: 16px; height: 16px; color: var(--accent); }
.hero h1 { max-width: 900px; }
.reassure { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; list-style: none; padding: 0; margin: 20px 0 0; font-size: 14px; color: var(--muted); font-weight: 600; }
.reassure li { display: inline-flex; align-items: center; gap: 7px; }
.reassure li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--ok-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803D' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 9px no-repeat; }
/* Trust */
.trust { padding: 36px 0 12px; }
.trust-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; position: relative; }
.trust-line { margin: 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.platforms { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; list-style: none; margin: 0; padding: 0; font-family: var(--font-title); font-weight: 600; font-size: 19px; color: #8f857f; letter-spacing: -0.01em; }
.stat-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; width: 100%; margin-top: 24px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.stat-value { font-family: var(--font-title); font-size: 34px; font-weight: 600; letter-spacing: -0.02em; }
.stat-label { font-size: 14px; color: var(--muted); }
.platforms.logos { gap: 18px 36px; align-items: center; }
.platforms.logos img { height: 27px; width: auto; }
.proof { margin: 0; font-size: 18px; color: var(--ink-2); text-align: center; }
.proof strong { font-family: var(--font-title); font-size: 30px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); margin-right: 4px; }
/* Sections */
.section { padding: 96px 0; position: relative; }
.section-tight { padding: 48px 0; }
.section-white { background: var(--surface); }
.section-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-head .lead { margin-left: auto; margin-right: auto; }
.section-head-split { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 40px; }
.section-head-split .lead { margin: 0; max-width: 380px; font-size: 16px; }
/* VSL (M01) */
.vsl { position: relative; aspect-ratio: 16 / 9; max-width: 980px; margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden; display: grid; place-items: center; background: radial-gradient(600px 300px at 30% 30%, rgba(250,104,46,.35), transparent 70%), linear-gradient(135deg, #1d0f08, #140600 60%, #2a1308); color: #fff; }
.vsl-play { width: 84px; height: 84px; border-radius: 50%; border: 0; background: var(--accent-strong); color: var(--on-accent); display: grid; place-items: center; cursor: pointer; box-shadow: 0 0 0 12px rgba(250,104,46,.18); transition: transform .25s var(--ease), box-shadow .25s; }
.vsl-play:hover { transform: scale(1.06); box-shadow: 0 0 0 18px rgba(250,104,46,.16); }
.vsl-play svg { width: 30px; height: 30px; fill: currentColor; margin-left: 4px; }
.vsl-meta { position: absolute; left: 28px; bottom: 24px; display: flex; flex-direction: column; font-size: 14px; color: rgba(255,255,255,.75); }
.vsl-meta strong { color: #fff; font-family: var(--font-title); font-size: 20px; font-weight: 600; }
.hero .vsl { width: 100%; max-width: 980px; margin-top: 48px; box-shadow: var(--shadow); }
.vsl-poster { position: absolute; inset: 0; background: center / cover no-repeat; }
.vsl-poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,6,0,.05) 40%, rgba(20,6,0,.65)); }
.vsl .vsl-play, .vsl .vsl-meta { z-index: 2; }
.vsl video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; z-index: 3; }
.vsl.is-playing .vsl-play, .vsl.is-playing .vsl-meta { display: none; }
.vsl-meta { text-align: left; }
/* La miniature de la démo porte déjà le titre et la durée : tout le poster lance la vidéo, sans voile, avec le
   bouton play au centre pour qu'on voie que c'est une vidéo ; le titre et le texte du bloc restent pour les
   lecteurs d'écran. */
.vsl-poster::after { content: none; }
.vsl .vsl-play { position: absolute; inset: 0; width: auto; height: auto; border-radius: 0; background: transparent; box-shadow: none; }
.vsl .vsl-play::before { content: ""; grid-area: 1 / 1; width: 84px; height: 84px; border-radius: 50%; background: var(--accent-strong); box-shadow: 0 0 0 12px rgba(250,104,46,.22), 0 12px 32px rgba(20,6,0,.3); transition: transform .25s var(--ease), box-shadow .25s; }
.vsl .vsl-play svg { grid-area: 1 / 1; }
.vsl .vsl-play:hover { transform: none; box-shadow: none; }
.vsl .vsl-play:hover::before { transform: scale(1.06); box-shadow: 0 0 0 18px rgba(250,104,46,.2), 0 12px 32px rgba(20,6,0,.3); }
.vsl .vsl-play:focus-visible { outline: 3px solid var(--accent-strong); outline-offset: -3px; }
.vsl .vsl-meta { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Pain (M03) */
.pain-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.pain-grid .lead { font-size: 17px; }
.pain-list { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pain-list li { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; font-weight: 600; color: var(--ink-2); transition: color .4s, border-color .4s, background .4s; }
.pain-list li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--ko-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B91C1C' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 12px no-repeat; transition: background .4s; }
.pain-list li.is-struck { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(185,28,28,.5); }
.pain-list li.is-solved { text-decoration: none; color: var(--ink); border-color: #bfe3cc; background: #fbfefc; }
.pain-list li.is-solved::before { background: var(--ok-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
/* Calculator (M04) */
.calc { position: relative; max-width: 920px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px; padding: 28px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.calc-inputs { display: grid; gap: 26px; align-content: center; }
.field { display: grid; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field-head { display: flex; justify-content: space-between; gap: 12px; }
.field output { font-size: 15px; font-weight: 700; color: var(--ink); }
input[type="range"] { width: 100%; accent-color: var(--accent); height: 24px; }
.calc-result { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; }
.calc-cell { display: grid; gap: 4px; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); font-size: 13px; }
.calc-cell-accent { background: var(--accent-soft); border-color: var(--accent-line); }
.calc-value { font-family: var(--font-title); font-size: 34px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.calc-cell:first-child .calc-value { color: var(--ko); }
.calc-arrow { fill: none; stroke: var(--accent-text); stroke-width: 2.5; }
/* How it works (M05) */
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tab { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px 0 8px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-weight: 700; font-size: 14px; cursor: pointer; color: var(--ink-2); transition: background .2s, color .2s, border-color .2s; }
.tab .num { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--track); font-size: 13px; }
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.tab[aria-selected="true"] .num { background: var(--accent-strong); color: var(--on-accent); }
.browser { position: relative; max-width: 1000px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.browser .url { margin-left: 12px; padding: 4px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; color: var(--muted); font-size: 12px; }
.how-panel { min-height: 380px; display: grid; place-items: center; padding: 40px; animation: panel-in .45s var(--ease); }
.how-panel:has(.how-vid) { padding: 0; min-height: 0; }
.how-vid video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.how-panel[hidden] { display: none !important; }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.drop { width: min(520px, 100%); display: grid; justify-items: center; gap: 8px; padding: 44px 24px; border: 2px dashed var(--accent-line); border-radius: var(--radius-lg); background: var(--accent-soft); color: var(--accent-text-2); text-align: center; }
.drop strong { color: var(--ink); font-size: 17px; }
.drop-bar { width: 220px; height: 6px; border-radius: 99px; background: var(--accent-soft-2); overflow: hidden; margin-top: 8px; }
.drop-bar span { display: block; height: 100%; width: 0; background: var(--accent); border-radius: inherit; animation: fill 1.8s var(--ease) .2s forwards; }
@keyframes fill { to { width: 100%; } }
.widths { display: grid; grid-template-columns: repeat(3, minmax(0, 170px)); gap: 20px; align-items: end; }
.w-card { display: grid; justify-items: center; gap: 10px; padding: 22px 16px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); }
.w-input { padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--surface); font-weight: 700; }
.frame { display: block; border: 2px solid var(--accent); border-radius: 6px; background: repeating-linear-gradient(45deg, var(--accent-soft), var(--accent-soft) 6px, var(--surface) 6px, var(--surface) 12px); }
.frame-p { width: 60px; height: 80px; }
.frame-l { width: 96px; height: 72px; }
.frame-s { width: 70px; height: 70px; }
.widths .frame { animation: grow .6s var(--ease) both; }
.widths .w-card:nth-child(2) .frame { animation-delay: .12s; }
.widths .w-card:nth-child(3) .frame { animation-delay: .24s; }
@keyframes grow { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.zip-list { list-style: none; margin: 0; padding: 18px 22px; width: min(480px, 100%); background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 9px; }
.zip-list li { display: flex; align-items: center; gap: 8px; animation: panel-in .4s var(--ease) both; }
.zip-list li:nth-child(n+2)::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); margin: 0 6px 0 4px; }
.zip-list li:nth-child(2) { animation-delay: .1s; }
.zip-list li:nth-child(3) { animation-delay: .2s; }
.zip-list li:nth-child(4) { animation-delay: .3s; }
.zip-list li:nth-child(5) { animation-delay: .4s; }
.zip-list li:nth-child(6) { animation-delay: .5s; }
.how-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1000px; margin: 36px auto 0; }
.point, .why-item { display: flex; gap: 14px; align-items: flex-start; }
.point .i, .why-item .i { width: 40px; height: 40px; padding: 10px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-text); }
.point strong, .why-item strong { display: block; font-size: 16px; }
.point span, .why-item span { color: var(--muted); font-size: 14px; }
/* Bento */
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bento { position: relative; padding: 26px; border-radius: var(--radius-lg); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; transition: transform .3s var(--ease), box-shadow .3s; }
.bento:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(20,6,0,.07); }
.bento p { margin: 0; color: var(--ink-2); }
.bento-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.bento-head .i { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: rgba(255,255,255,.75); }
.bento-wide { grid-column: span 2; }
.fvid { position: relative; aspect-ratio: 16 / 9; margin: -8px -8px 8px; border-radius: 14px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(20,6,0,.06); }
.fvid video { display: block; width: 100%; height: 100%; object-fit: cover; }
.bento-full:has(.fvid) { display: grid; grid-template-columns: 1fr 1.5fr; column-gap: 32px; align-items: center; }
.bento-full:has(.fvid) .fvid { grid-column: 2; grid-row: 1 / span 3; margin: 0; }
.bento-full:has(.fvid) > :not(.fvid) { grid-column: 1; }
.bento-full { grid-column: 1 / -1; }
.bento-green { background: #EEF8F1; }
.bento-orange { background: var(--accent-soft); }
.bento-purple { background: #F3EFFB; }
.bento-blue { background: #EEF4FB; }
.bento-yellow { background: #FDF7E3; }
.bento-pink { background: #FBF0F3; }
.rename-demo { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: auto; padding: 12px 14px; background: var(--surface); border-radius: 10px; border: 1px solid var(--line); }
.rename-demo .from { color: var(--muted); text-decoration: line-through; }
.rename-demo .to { color: var(--ok); font-weight: 700; }
.rename-demo svg { fill: none; stroke: var(--ok); stroke-width: 2; }
.mini-frames { display: flex; align-items: end; gap: 10px; margin-top: auto; }
.mini-frames .frame-p { width: 30px; height: 40px; }
.mini-frames .frame-l { width: 48px; height: 36px; }
.mini-frames .frame-s { width: 36px; height: 36px; }
/* Compare (M06) */
.compare { position: relative; max-width: 860px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.compare table { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: var(--bg-2); padding: 14px 20px; }
.compare td { padding: 15px 20px; border-top: 1px solid var(--line); font-weight: 600; }
.compare .col { text-align: center; width: 130px; }
.yes, .no { display: inline-block; width: 26px; height: 26px; border-radius: 50%; vertical-align: middle; }
.no { background: var(--ko-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B91C1C' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 13px no-repeat; }
.yes { background: var(--ok-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat; }
.motion .compare .yes { transform: scale(0); transition: transform .35s var(--ease); }
.motion .compare.is-in .yes { transform: scale(1); }
/* Pricing */
.free-bar, .custom-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; border: 1px solid var(--accent-line); background: var(--accent-soft); border-radius: var(--radius); margin-bottom: 18px; }
.free-bar > div, .custom-bar > div { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.custom-bar { background: var(--bg-2); border-color: var(--line); margin: 18px 0 0; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-lg); }
.plan .btn { margin-top: auto; }
.plan-pro { border: 2px solid var(--accent-strong); box-shadow: 0 20px 40px rgba(250,104,46,.12); }
.plan-badge { position: absolute; top: -12px; left: 22px; background: var(--accent-strong); color: var(--on-accent); font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.plan-desc { color: var(--muted); font-size: 14px; min-height: 3.1em; }
.price { font-family: var(--font-title); font-size: 38px; font-weight: 600; letter-spacing: -0.02em; }
.price small { font-size: 15px; color: var(--muted); font-weight: 500; margin-left: 2px; }
.plan-billed { margin-top: -6px; font-size: 14px; color: var(--muted); }
.price-quote { font-size: 30px; }
.plan-qty { font-size: 14px; color: var(--ink-2); padding: 10px 0 14px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.plans-common { margin: 18px 0 0; font-size: 14px; color: var(--muted); }
.plans-common strong { color: var(--ink); }
.plan-feats { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.plan-feats li { display: flex; gap: 9px; align-items: flex-start; }
.plan-feats li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 2px; border-radius: 50%; background: var(--ok-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803D' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 10px no-repeat; }
.plan-compare { margin-top: 40px; }
.plan-compare > .title { margin-bottom: 14px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.plan-compare table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; }
.plan-compare th, .plan-compare td { padding: 13px 16px; border-top: 1px solid var(--line); text-align: center; }
.plan-compare thead th { border-top: 0; background: var(--bg-2); font-family: var(--font-title); font-size: 15px; font-weight: 600; }
.plan-compare th[scope="row"], .plan-compare thead th:first-child { text-align: left; font-weight: 600; font-family: var(--font-text); }
.plan-compare tbody tr:hover { background: var(--bg-2); }
.plan-compare td .yes { width: 22px; height: 22px; background-size: 11px; }
.dash { display: inline-block; width: 12px; height: 2px; background: var(--line-2); vertical-align: middle; }
.billing { display: none; margin: 0; padding: 4px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; flex: none; min-width: 0; }
.billing label { position: relative; display: flex; cursor: pointer; }
.billing label > span { padding: 9px 16px; border-radius: 9px; font-weight: 700; font-size: 14px; color: var(--ink-2); display: inline-flex; gap: 8px; align-items: center; }
.billing input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.billing input:checked + span { background: var(--surface); color: var(--ink); box-shadow: 0 2px 8px rgba(20,6,0,.08); }
.billing input:focus-visible + span { outline: 2px solid var(--accent-text); outline-offset: 1px; }
.billing .save, .plan-billed .save { font-size: 12px; font-weight: 800; color: var(--ok); background: var(--ok-bg); padding: 2px 8px; border-radius: 999px; }
.plan-billed .save { white-space: nowrap; }
/* Prix au mois et à l'année (J6.10) : sans script, la bascule montre celui de la période choisie. Les deux occupent la
   même place dans la carte, rien ne bouge. Sans :has, pas de bascule : la carte montre les deux prix. */
.plan-prices { display: grid; gap: 10px; }
.plan-prices > div { display: flex; flex-direction: column; gap: 10px; }
@supports selector(:has(a)) {
  .billing { display: inline-flex; }
  .plan-prices > div { grid-area: 1 / 1; }
  :root:not(:has(.billing [value="yearly"]:checked)) .plan-prices > [data-interval="yearly"],
  :root:has(.billing [value="yearly"]:checked) .plan-prices > [data-interval="monthly"] { visibility: hidden; }
  :root:not(:has(.billing [value="yearly"]:checked)) .plan[data-interval="yearly"],
  :root:has(.billing [value="yearly"]:checked) .plan[data-interval="monthly"] { display: none; }
}
@media (forced-colors: active) {
  .billing input:checked + span { outline: 2px solid Highlight; }
}
@media (max-width: 760px) { .section-head-split:has(.billing) { flex-direction: column; align-items: start; } }
@media (max-width: 420px) { .billing label > span { padding: 9px 12px; gap: 6px; } }
/* Why */
.why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 48px; max-width: 900px; margin: 0 auto; }
/* Reviews */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review { margin: 0; padding: 24px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.review blockquote { margin: 0 0 16px; font-weight: 600; font-size: 17px; }
.stars { display: block; color: #F2B01E; letter-spacing: 3px; font-size: 20px; margin-bottom: 12px; }
.review-note { margin-top: 18px; font-size: 13px; text-align: center; }
.review figcaption { font-size: 14px; color: var(--muted); }
/* FAQ */
.faq-wrap { max-width: 820px; }
.faq-wrap .title { margin-bottom: 28px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 700; font-size: 17px; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); transition: transform .25s var(--ease); }
.faq-item[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq-item p { margin: 0 0 20px; color: var(--ink-2); max-width: 720px; }
.faq-item code { font-family: var(--font-mono); font-size: 14px; background: var(--bg-2); border: 1px solid var(--line); padding: 1px 6px; border-radius: 5px; }
.faq-lead { margin: -12px 0 24px; font-size: 17px; }
/* CTA */
.section-cta { padding-top: 0; }
.cta { position: relative; overflow: hidden; text-align: center; padding: 72px 32px; border-radius: 28px; color: #fff; background: radial-gradient(700px 300px at 50% 120%, rgba(250,104,46,.55), transparent 70%), var(--ink); }
.cta .lead { color: rgba(255,255,255,.8); margin-left: auto; margin-right: auto; }
.cta .btn-row { justify-content: center; }
/* Footer */
.footer { padding: 64px 0 32px; border-top: 1px solid var(--line); background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer-grid p { font-size: 14px; max-width: 300px; }
.footer h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; font-weight: 600; }
.footer-bottom { margin-top: 40px; font-size: 13px; }
/* Reveal (M07) */
.motion .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.motion .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
/* Menu mobile */
.nav-menu { display: none; position: static; }
.nav-menu summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--radius-btn); background: var(--surface); font-weight: 700; font-size: 14px; cursor: pointer; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary .i path { transition: transform .25s var(--ease), opacity .2s; transform-origin: 12px 12px; }
.nav-menu[open] summary .l1 { transform: translateY(5px) rotate(45deg); }
.nav-menu[open] summary .l2 { opacity: 0; }
.nav-menu[open] summary .l3 { transform: translateY(-5px) rotate(-45deg); }
.nav-panel { position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - 68px); overflow-y: auto; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(20,6,0,.10); padding: 8px 20px 20px; display: grid; animation: panel-in .3s var(--ease); }
.nav-panel > a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-family: var(--font-title); font-weight: 600; font-size: 20px; }
.nav-panel-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.nav-panel .nav-lang { border: 0; font-family: var(--font-text); font-size: 14px; color: var(--muted); padding-bottom: 0; }
/* Responsive */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-inner { justify-content: space-between; gap: 10px; }
  .nav-logo { margin-right: auto; }
  .nav-menu { display: block; }
  .pain-grid, .calc { grid-template-columns: 1fr; gap: 28px; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .bento-wide { grid-column: 1 / -1; }
  .bento-full:has(.fvid) { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 24px; }
  .lead { font-size: 17px; }
  .nav-cta .btn-ghost { display: none; }
  .thumb { width: 36px; height: 36px; }
  .stat-grid, .how-points, .why, .review-grid, .bento-grid, .plans { grid-template-columns: 1fr; }
  .section-head-split { flex-direction: column; align-items: start; }
  .calc { padding: 18px; }
  .calc-result { grid-template-columns: 1fr; }
  .calc-arrow { transform: rotate(90deg); justify-self: center; }
  .how-panel { min-height: 300px; padding: 24px 16px; }
  .widths { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .w-card { padding: 14px 6px; }
  .compare .col { width: 70px; }
  .compare td, .compare th { padding: 12px; font-size: 14px; }
  .free-bar, .custom-bar { flex-direction: column; align-items: start; }
  .footer-grid { grid-template-columns: 1fr; }
  .vsl-meta { left: 16px; bottom: 12px; }
  .vsl-play { width: 64px; height: 64px; }
  .vsl .vsl-play::before { width: 64px; height: 64px; }
}
/* 18/11 : sélecteur de langue */
.lang-switch { position: relative; margin-right: -20px; }
.lang-switch summary { list-style: none; display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 10px; border-radius: var(--radius-btn); font-weight: 700; font-size: 14px; color: var(--ink-2); cursor: pointer; transition: background .2s; }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover, .lang-switch[open] summary { background: rgba(20,6,0,.05); }
.flag { width: 20px; height: 14px; flex: none; border-radius: 2px; box-shadow: 0 0 0 1px rgba(20,6,0,.12); }
.lang-switch .chev { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.lang-switch[open] .chev { transform: rotate(180deg); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 50; min-width: 184px; margin: 0; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px rgba(20,6,0,.12); animation: panel-in .2s var(--ease); }
.lang-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.lang-menu a:hover { background: var(--bg-2); color: var(--ink); }
.lang-menu a[aria-current] { color: var(--ink); background: var(--accent-soft); }
/* 18/11 : VSL de Léo, 16:9 puis carrée sur mobile */
.vsl-poster { background-image: url("/assets/videos/pixs-app-demo-30-seconds-poster.6f6fea8124.webp"); }
/* 18/11 : chiffres en tête de la bande de confiance */
.trust .stat-grid { margin-top: 0; }
.trust .stat { text-align: center; }
/* 18/11 : bento sans trou ; boutons centrés */
.bento-files { grid-column: 1 / -1; }
.btn-row-center { justify-content: center; }
/* 18/11 : grille Stripe et portail client */
.portal-link { margin: 20px 0 0; text-align: center; font-size: 14px; color: var(--muted); }
.portal-link a { color: var(--accent-text); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 960px) {
  .lang-switch { margin-right: 0; }
}
@media (max-width: 640px) {
  .hero .vsl { aspect-ratio: 1 / 1; }
  .vsl-poster { background-image: url("/assets/videos/pixs-app-demo-30-seconds-square-poster.057bbe616c.webp"); }
  /* Sur la miniature carrée, le centre tombe sur « Watch the demo » : le bouton play descend au milieu de la carte. */
  .vsl .vsl-play { padding-top: 36%; }
  .lang-switch summary { gap: 6px; padding: 0 6px; }
  .lang-switch .chev { display: none; }
  .lang-menu { right: auto; left: 0; }
  .nav-cta .btn { white-space: nowrap; }
  .nav-menu summary { padding: 0 10px; }
  .nav-menu summary span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
/* 18/11 : pages (about, how-it-works, features, pricing, faq) */
.nav-links a[aria-current="page"], .nav-panel a[aria-current="page"] { color: var(--accent-text); }
.page-hero { padding-bottom: 72px; }
.page-top { padding-top: 72px; background: radial-gradient(1000px 420px at 50% -80px, var(--accent-soft-2), transparent 70%); }
.frows { display: grid; gap: 88px; }
.frow { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.frow:nth-of-type(even) .frow-text { order: 2; }
.frow-text p { margin: 14px 0 0; color: var(--ink-2); font-size: 17px; }
.frow-media .fvid { margin: 0; border-radius: var(--radius-lg); }
.kicker { display: inline-block; margin-bottom: 12px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-text); }
.checks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; font-weight: 600; color: var(--ink-2); }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--ok-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803D' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat; }
.ba { position: relative; max-width: 860px; margin: 0 auto; }
.ba table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.ba th, .ba td { padding: 14px 18px; border-top: 1px solid var(--line); text-align: left; }
.ba thead th { border-top: 0; background: var(--bg-2); font-family: var(--font-title); font-weight: 600; }
.ba td:first-child { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(107,98,93,.5); }
.ba td:nth-child(2) { color: var(--ok); font-weight: 700; }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card3 { padding: 26px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.section-white .card3 { background: var(--bg-2); }
.section:not(.section-white) .card3 { background: var(--surface); }
.card3 p { margin: 10px 0 0; color: var(--ink-2); }
.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mini { position: relative; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.mini .i { width: 40px; height: 40px; padding: 10px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-text); margin-bottom: 14px; }
.mini p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
.faq-more { margin: 24px 0 0; font-weight: 700; }
.faq-more a, .ask a, .contact-card a:not(.btn), .faq-item a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 48px; }
.chips a { padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--ink-2); background: var(--surface); transition: background .2s, border-color .2s; }
.chips a:hover { background: var(--accent-soft); border-color: var(--accent-line); }
.faq-group { scroll-margin-top: 90px; margin-bottom: 56px; }
.faq-group > .title { margin-bottom: 8px; }
.page-faq { padding-top: 56px; }
.ask { padding: 28px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.ask p { margin: 8px 0 0; color: var(--ink-2); }
.story { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.story-text p { color: var(--ink-2); font-size: 17px; margin: 16px 0 0; }
.story-stats .stat-grid { grid-template-columns: 1fr; margin: 0; }
.story-stats .stat { text-align: left; }
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; gap: 16px; }
.person { display: flex; gap: 18px; align-items: center; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.person p { margin: 4px 0 0; font-size: 15px; }
.avatar { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); font-family: var(--font-title); font-weight: 600; font-size: 20px; }
.contact-card { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.contact-card p { margin: 8px 0 0; }
@media (max-width: 960px) {
  .frow, .story { grid-template-columns: 1fr; gap: 28px; }
  .frow:nth-of-type(even) .frow-text { order: 0; }
  .frows { gap: 64px; }
  .mini-grid { grid-template-columns: 1fr 1fr; }
  .cards3 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .mini-grid, .team { grid-template-columns: 1fr; }
  .contact-card { flex-direction: column; align-items: flex-start; }
  .page-hero { padding-bottom: 48px; }
}
/* 18/11 (2) : bandeau cookies */
.cookie-banner { position: fixed; left: 20px; bottom: 32px; z-index: 60; width: min(440px, calc(100vw - 40px)); padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 24px 60px rgba(20,6,0,.18); animation: panel-in .3s var(--ease); }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; font-size: 14px; color: var(--ink-2); }
.cookie-banner p strong { display: block; margin-bottom: 4px; font-family: var(--font-title); font-size: 17px; font-weight: 600; color: var(--ink); }
.cookie-banner a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.link-btn { padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.link-btn:hover { text-decoration: underline; }
/* 18/11 (2) : Features, couleurs claires qui alternent */
.frows-tinted .frow-media { padding: 18px; border-radius: 26px; background: #EEF8F1; }
.frows-tinted .frow:nth-of-type(6n+2) .frow-media { background: var(--accent-soft); }
.frows-tinted .frow:nth-of-type(6n+3) .frow-media { background: #F3EFFB; }
.frows-tinted .frow:nth-of-type(6n+4) .frow-media { background: #EEF4FB; }
.frows-tinted .frow:nth-of-type(6n+5) .frow-media { background: #FDF7E3; }
.frows-tinted .frow:nth-of-type(6n) .frow-media { background: #FBF0F3; }
.mini-green { background: #EEF8F1; }
.mini-orange { background: var(--accent-soft); }
.mini-purple { background: #F3EFFB; }
.mini-blue { background: #EEF4FB; }
.mini-yellow { background: #FDF7E3; }
.mini-pink { background: #FBF0F3; }
.mini[class*="mini-"] .i { background: rgba(255,255,255,.8); }
.mini[class*="mini-"] p { color: var(--ink-2); }
/* 18/11 (2) : Pricing, titre et sous-titre */
.page-top .section-head-split .lead { margin-top: 20px; }
/* 18/11 (2) : FAQ, sommaire collant à gauche */
.faq-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 64px; align-items: start; max-width: 1100px; }
.faq-nav { position: sticky; top: 96px; display: grid; gap: 2px; }
.faq-nav .label { margin-bottom: 10px; }
.faq-nav a { padding: 9px 12px; border-left: 2px solid var(--line); font-size: 15px; font-weight: 600; color: var(--muted); transition: color .2s, border-color .2s, background .2s; }
.faq-nav a:hover { color: var(--ink); background: var(--bg-2); }
.faq-nav a[aria-current="true"] { color: var(--accent-text); border-left-color: var(--accent); background: var(--accent-soft); }
.faq-nav .faq-nav-contact { margin-top: 14px; border-left-color: transparent; color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.faq-main { min-width: 0; }
.faq-fig { margin: 0 0 22px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-2); max-width: 640px; }
.faq-fig img { display: block; width: 100%; height: auto; }
/* 18/11 (2) : Contact */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
.contact-form { position: relative; display: grid; gap: 16px; padding: 28px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.input { display: grid; gap: 6px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.input input, .input select, .input textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--radius-btn); background: var(--surface); font: inherit; font-weight: 500; color: var(--ink); }
.input textarea { resize: vertical; min-height: 140px; }
.input input:focus, .input select:focus, .input textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.form-legal { margin: 0; font-size: 13px; color: var(--muted); }
.form-legal a, .side-card a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.contact-form .btn { justify-self: start; }
.form-done { margin: 0; padding: 12px 14px; border-radius: var(--radius-btn); background: var(--ok-bg); color: var(--ok); font-weight: 700; }
/* Envoi direct sans JavaScript (J7.26) : l'API revient à #support-sent, l'adresse seule montre le message. */
.form-done:target { display: block !important; scroll-margin-top: 120px; }
.contact-side { display: grid; gap: 14px; }
.side-card { display: flex; gap: 14px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.side-card .i { flex: none; width: 40px; height: 40px; padding: 10px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-text); }
.side-card p { margin: 6px 0 0; font-size: 15px; }
/* 18/11 (2) : pages légales */
.page-hero-s { padding: 56px 0 40px; }
.page-hero-s .title-xl { font-size: clamp(34px, 5vw, 54px); }
.legal { position: relative; max-width: 760px; color: var(--ink-2); font-size: 16px; }
.legal h2 { margin: 40px 0 12px; color: var(--ink); scroll-margin-top: 90px; }
.legal p, .legal li { line-height: 1.65; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
.legal > p:first-of-type em { display: block; padding: 12px 16px; background: var(--bg-2); border-radius: var(--radius-btn); font-size: 14px; }
@media (max-width: 960px) {
  .faq-layout { grid-template-columns: 1fr; gap: 24px; }
  .faq-nav { position: sticky; top: 68px; z-index: 5; display: flex; gap: 6px; overflow-x: auto; margin: 0 -20px; padding: 10px 20px; background: var(--surface); border-bottom: 1px solid var(--line); }
  .faq-nav .label, .faq-nav .faq-nav-contact { display: none; }
  .faq-nav a { flex: none; border-left: 0; border-radius: 999px; padding: 7px 12px; font-size: 14px; white-space: nowrap; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .field-row { grid-template-columns: 1fr; }
  .cookie-banner { left: 12px; right: 12px; width: auto; bottom: 32px; }
  .frows-tinted .frow-media { padding: 10px; }
}
/* 18/11 (3) : corvées, le problème revient au survol */
.pain-list li.is-solved:hover { color: #B91C1C; text-decoration: line-through; text-decoration-color: rgba(185,28,28,.6); border-color: #F3C9C9; background: #FEF6F6; }
.pain-list li.is-solved:hover::before { background: var(--ko-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B91C1C' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 12px no-repeat; }
.pain-list li { cursor: default; }
/* 18/11 (3) : section sombre, même dégradé que la VSL */
.section-dark { color: #fff; background: radial-gradient(800px 420px at 12% 0%, rgba(250,104,46,.30), transparent 65%), radial-gradient(900px 480px at 92% 110%, rgba(250,104,46,.42), transparent 65%), linear-gradient(135deg, #1d0f08, #140600 60%, #2a1308); }
.section-dark .title { color: #fff; }
.section-dark .why-item strong { color: #fff; }
.section-dark .why-item span { color: rgba(255,255,255,.72); }
.section-dark .why-item .i { background: rgba(250,104,46,.16); color: #FFB08C; }
.section-dark .lead, .section-dark .muted { color: rgba(255,255,255,.72); }
/* 18/11 (3) : liste déroulante du contact, flèche décollée du bord */
.input select { appearance: none; -webkit-appearance: none; padding-right: 44px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233F3733' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 16px center / 16px no-repeat; cursor: pointer; }
/* 18/11 (3) : pages outils */
.tool-hero { padding: 64px 0 72px; }
.tool-hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.tool-hero-text .reassure { justify-content: flex-start; }
.tool-hero .title-xl { font-size: clamp(36px, 5vw, 58px); }
.tool-card { position: relative; display: grid; gap: 16px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.tool-drop { width: 100%; padding: 36px 20px; cursor: pointer; transition: background .2s, border-color .2s; }
.tool-drop:hover { border-color: var(--accent); background: var(--accent-soft-2); }
.tool-drop .i { width: 34px; height: 34px; color: var(--accent); }
.tool-drop span { font-size: 14px; }
.tool-widths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tool-go { width: 100%; }
.tool-more { margin: 0; font-size: 13px; color: var(--muted); text-align: center; }
.tool-more a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.tool-how { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.tool-steps { display: grid; gap: 14px; }
.step { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; align-items: start; }
.step .num { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); font-weight: 700; }
.step p { margin: 6px 0 0; }
.tool-video .fvid { margin: 0; border-radius: var(--radius-lg); }
.plans-strip { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.plans-strip p { margin: 8px 0 0; max-width: 620px; }
.related ul { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 14px 0 0; padding: 0; }
.related a { display: inline-block; padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); font-weight: 700; }
.related a:hover { border-color: var(--accent-line); background: var(--accent-soft); }
@media (max-width: 960px) {
  .tool-hero-inner, .tool-how { grid-template-columns: 1fr; gap: 32px; }
  .plans-strip { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .tool-widths { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
}
/* 18/11 (5) : pastilles problème puis solution ; au survol, le problème revient */
.pain-list li, .pain-list li.is-struck, .pain-list li.is-solved, .pain-list li.is-solved:hover { text-decoration: none; }
.pain-txt { display: grid; flex: 1; }
.pain-txt > span { grid-area: 1 / 1; transition: opacity .35s var(--ease), transform .35s var(--ease), color .3s; }
.pain-s { opacity: 0; transform: translateY(6px); color: var(--ink); }
.pain-list li.is-struck .pain-p { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(185,28,28,.6); }
.pain-list li.is-solved .pain-p { opacity: 0; transform: translateY(-6px); }
.pain-list li.is-solved .pain-s { opacity: 1; transform: none; }
.pain-list li.is-solved:hover .pain-p { opacity: 1; transform: none; color: #B91C1C; }
.pain-list li.is-solved:hover .pain-s { opacity: 0; transform: translateY(6px); }
/* 18/11 (5) : tableau avant/après, colonnes typées (plus de barré décalé) */
.ba td:first-child, .ba td:nth-child(2) { color: inherit; text-decoration: none; font-weight: inherit; }
.ba th[scope="row"] { font-weight: 700; color: var(--ink); background: none; }
.ba td.is-before { color: var(--muted); }
.ba .strike { text-decoration: line-through; text-decoration-color: rgba(185,28,28,.55); text-decoration-thickness: 1.5px; }
.ba td.is-after { color: var(--ok); font-weight: 700; }
.ba td.is-after.is-text { font-weight: 600; }
.ba td.is-weight { white-space: nowrap; color: var(--muted); }
.ba .is-weight b { color: var(--ok); }
.mono { font-family: var(--font-mono); font-size: .92em; }
/* 18/11 (5) : pages outils, une couleur par outil */
.tool-page { --tool-bg: #EEF8F1; --tool-ink: #15803D; --tool-line: #BFE3CC; }
.tool-orange { --tool-bg: var(--accent-soft); --tool-ink: var(--accent-text); --tool-line: var(--accent-line); }
.tool-purple { --tool-bg: #F3EFFB; --tool-ink: #6D28D9; --tool-line: #DDD1F5; }
.tool-blue { --tool-bg: #EEF4FB; --tool-ink: #1D4ED8; --tool-line: #CFDDF3; }
.tool-page .tool-hero { background: radial-gradient(1000px 420px at 70% -60px, var(--tool-bg), transparent 70%); }
.tool-page .eyebrow { border-color: var(--tool-line); color: var(--tool-ink); }
.tool-page .eyebrow .i { color: var(--tool-ink); }
.tool-page .step .num, .tool-page .kicker { color: var(--tool-ink); }
.tool-page .step .num { background: var(--tool-bg); }
.tool-page .guide-toc a[aria-current="true"] { color: var(--tool-ink); border-left-color: var(--tool-ink); background: var(--tool-bg); }
/* Guide long, sommaire collant */
.guide .section-head { max-width: 760px; }
.guide-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 64px; align-items: start; }
.guide-body { max-width: 760px; min-width: 0; }
.guide-sec { scroll-margin-top: 96px; padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.guide-sec:last-of-type { border-bottom: 0; }
.guide-sec > .title { margin-bottom: 14px; }
.guide-body p, .guide-body li, .guide-body dd { font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.guide-body p { margin: 0 0 16px; }
.guide-body a:not(.btn) { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.guide-body code { font-family: var(--font-mono); font-size: .88em; padding: 2px 6px; border-radius: 6px; background: var(--bg-2); border: 1px solid var(--line); color: var(--ink); word-break: break-word; }
.guide-body pre.code { margin: 0 0 18px; padding: 16px 18px; overflow-x: auto; border-radius: var(--radius); background: var(--ink); }
.guide-body pre.code code { padding: 0; border: 0; background: none; color: #F6E7DD; font-size: 14px; line-height: 1.6; white-space: pre; }
.guide-body .checks { margin: 0 0 18px; }
.guide-body .checks li { font-weight: 500; }
.numbered { margin: 0 0 18px; padding-left: 22px; display: grid; gap: 10px; }
.numbered li::marker { color: var(--tool-ink, var(--accent-text)); font-weight: 700; }
.table-note { font-size: 14px !important; color: var(--muted) !important; }
.gtable { width: 100%; min-width: 520px; border-collapse: collapse; margin: 4px 0 18px; font-size: 15px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gtable th, .gtable td { padding: 12px 14px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); line-height: 1.5; }
.gtable thead th { border-top: 0; background: var(--tool-bg, var(--bg-2)); font-family: var(--font-title); font-weight: 600; color: var(--ink); }
.gtable tbody th { font-weight: 700; color: var(--ink); }
.gtable td.mono { color: var(--ink-2); }
.guide .table-scroll { margin: 0 0 6px; }
.anatomy { margin: 6px 0 22px; padding: 22px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.anatomy-name { margin: 0 0 16px !important; font-family: var(--font-mono); font-size: clamp(15px, 2.4vw, 22px) !important; font-weight: 700; color: var(--ink) !important; word-break: break-all; }
.anatomy-name span { padding: 2px 4px; border-radius: 6px; }
.anatomy figcaption { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; font-size: 14px; color: var(--muted); }
.anatomy figcaption b { display: block; margin-bottom: 2px; font-size: 13px; color: var(--ink); padding: 0; background: none; }
.anatomy .a-1 { background: #EEF8F1; }
.anatomy figcaption .a-1 { border-left: 3px solid #15803D; padding-left: 8px; }
.anatomy .a-2 { background: var(--accent-soft-2); }
.anatomy figcaption .a-2 { border-left: 3px solid var(--accent); padding-left: 8px; }
.anatomy .a-3 { background: #F3EFFB; }
.anatomy figcaption .a-3 { border-left: 3px solid #6D28D9; padding-left: 8px; }
.anatomy .a-4 { background: #EEF4FB; }
.anatomy figcaption .a-4 { border-left: 3px solid #1D4ED8; padding-left: 8px; }
.anatomy-name .a-1, .anatomy-name .a-2, .anatomy-name .a-3, .anatomy-name .a-4 { border: 0; }
.or-frames { display: flex; align-items: flex-end; justify-content: center; gap: 28px; margin: 6px 0 22px; padding: 26px 18px 20px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.or-frame { display: grid; justify-items: center; gap: 2px; font-size: 14px; color: var(--muted); text-align: center; }
.or-frame b { color: var(--ink); }
.or-box { display: block; border: 2px solid var(--tool-ink, var(--accent)); border-radius: 8px; background: var(--tool-bg, var(--accent-soft)); margin-bottom: 8px; }
.or-p .or-box { width: 72px; height: 96px; }
.or-l .or-box { width: 128px; height: 96px; }
.or-s .or-box { width: 84px; height: 84px; }
.calc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 4px 0 18px; }
.calc-grid > div { padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.calc-grid b { display: block; margin-bottom: 6px; color: var(--tool-ink, var(--ink)); }
.calc-grid p { margin: 0 !important; font-size: 15px !important; line-height: 1.55 !important; }
.mistakes { display: grid; gap: 12px; margin: 0; }
.mistakes > div { padding: 16px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); border-left: 3px solid #E9A3A3; }
.mistakes dt { font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.mistakes dd { margin: 0; font-size: 16px !important; }
.guide-notes { display: grid; gap: 8px; }
/* Autres outils : cartes avec animation */
.tool-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.tool-link { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.tool-link:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(20,6,0,.10); border-color: var(--line-2); }
.tool-link-media .fvid { margin: 0; border-radius: 0; border: 0; }
.tool-link-body { display: grid; gap: 8px; padding: 18px 20px 20px; }
.tool-link-text { color: var(--muted); font-size: 15px; }
.tool-link-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-weight: 700; color: var(--accent-text); }
.tool-link-cta .i { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.tool-link:hover .tool-link-cta .i { transform: translateX(3px); }
@media (max-width: 960px) {
  .guide-layout { grid-template-columns: 1fr; gap: 20px; }
  .guide-toc { position: sticky; top: 68px; z-index: 5; display: flex; gap: 6px; overflow-x: auto; margin: 0 -20px; padding: 10px 20px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .guide-toc .label { display: none; }
  .guide-sec { scroll-margin-top: 140px; }
  .guide-toc a { flex: none; border-left: 0; border-radius: 999px; padding: 7px 12px; font-size: 14px; white-space: nowrap; }
  .anatomy figcaption { grid-template-columns: 1fr 1fr; }
  .calc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .or-frames { gap: 14px; }
  .or-l .or-box { width: 100px; height: 75px; }
  .or-p .or-box { width: 56px; height: 75px; }
  .or-s .or-box { width: 66px; height: 66px; }
}
/* 18/11 (6) : pages outils, texte centré dans les 4 cartes « pourquoi » */
.tool-page .mini-grid .mini { text-align: center; }
/* --- Suggestion de langue (pages anglaises, navigateur en français ; pas de redirection automatique) --- */
.lang-hint { position: fixed; top: 124px; right: 24px; z-index: 60; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 18px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 18px 40px rgba(20,6,0,.14); font-size: 15px; }
.lang-hint p { margin: 0; font-weight: 600; }
.lang-hint-close { width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer; }
.lang-hint-close:hover { background: var(--track); }
@media (prefers-reduced-motion: no-preference) {
  .lang-hint { animation: lang-in .4s var(--ease) both .8s; }
}
@keyframes lang-in { from { opacity: 0; transform: translateY(-8px); } }
@media (max-width: 640px) {
  .lang-hint { left: 12px; right: 12px; top: 76px; }
  .lang-hint p { flex: 1; }
}
/* En-tête sur petit écran : le logo ne s'écrase pas, le sélecteur de langue garde le drapeau seul */
.nav-logo { flex-shrink: 0; }
@media (max-width: 420px) {
  .nav-logo img { width: 124px; height: auto; }
  .lang-switch summary > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
/* VSL française (18/11) : affiches des pages en français */
html[lang="fr"] .vsl-poster { background-image: url("/assets/videos/pixs-app-demo-30-secondes-poster.1a7cb42f07.webp"); }
@media (max-width: 640px) {
  html[lang="fr"] .vsl-poster { background-image: url("/assets/videos/pixs-app-demo-30-secondes-carre-poster.9ac200165a.webp"); }
}

/* --- Portage dans pixs-web : gabarits du moteur (balises et images produites par $v->image() et $v->picture()) --- */
[hidden] { display: none !important; }
.nav-logo img { display: block; width: 143px; height: auto; }
.footer-logo { display: block; width: 119px; height: auto; margin-bottom: 4px; }
/* En-tête sur téléphone : logo plus étroit, puis l'inscription dans le menu et le bandeau seulement, pour que rien ne
   déborde jusqu'à 320 px */
@media (max-width: 420px) { .nav-logo img { width: 124px; } }
@media (max-width: 384px) {
  .nav-inner { gap: 8px; }
  .nav-logo img { width: 104px; }
  .nav-cta .btn-sm { padding: 0 10px; }
}
.hero h1 { font-family: var(--font-title); font-weight: 600; line-height: 1.08; margin: 0; font-size: clamp(40px, 6.4vw, 72px); letter-spacing: -0.035em; }
@media (max-width: 350px) {
  .nav-cta { display: none; }
  .lang-menu { right: 0; left: auto; }
  .hero h1 { font-size: 34px; }
}
.hero .reveal:has(> h1) { display: flex; justify-content: center; }
@media (min-width: 961px) {
  .plans-5 { grid-template-columns: repeat(5, 1fr); gap: 12px; }
  .plans-5 .plan { padding: 22px 16px; }
  .plans-3 { grid-template-columns: repeat(3, 1fr); }
}
.plan-compare > h2.title { margin-bottom: 14px; }
.form-legal p { margin: 0; }
.legal h2 { font-family: var(--font-title); font-weight: 600; font-size: 20px; letter-spacing: -0.01em; line-height: 1.2; }
.contact-card .muted p { margin: 6px 0 0; }
.story-text h3, .ask h3 { font-family: var(--font-title); font-weight: 600; }
.avatar-photo { overflow: hidden; padding: 0; }
.avatar-photo img { width: 100%; height: 100%; object-fit: cover; }
.tool-card-cta .fvid { margin: 0; }
/* 27/11 : outil d'essai des pages outils (partials/try.php) */
.tool-try-ui { display: grid; gap: 14px; }
.tool-drop:focus-within { outline: 3px solid var(--accent-strong); outline-offset: 2px; }
.tool-drop.is-over { border-color: var(--accent); background: var(--accent-soft-2); }
.tool-try-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tool-try-list li { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 8px 8px 8px; border: 1px solid var(--line); border-radius: var(--radius-btn); background: var(--bg-2); }
.tool-try-list canvas { width: 48px; height: 48px; border-radius: var(--radius-sm); background: var(--track); }
.tool-try-list canvas.is-blank { background: var(--track) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B625D' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='M3 16l5-5 4 4 3-3 6 6'/%3E%3Ccircle cx='15.5' cy='8.5' r='1.5'/%3E%3C/svg%3E") center / 24px no-repeat; }
.tool-try-meta { display: grid; min-width: 0; }
.tool-try-name { overflow: hidden; font-size: 14px; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.tool-try-size { font-size: 13px; color: var(--muted); }
.tool-try-remove { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--line-2); border-radius: 50%; background: var(--surface); font-size: 20px; line-height: 1; color: var(--ink-2); cursor: pointer; }
.tool-try-remove:hover { border-color: var(--ko); color: var(--ko); }
.tool-try-status { margin: 0; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.tool-try-status:empty { display: none; }
.tool-try-status .is-error { display: block; color: var(--ko); }
.tool-try-widths { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.tool-try-widths legend { padding: 0; margin-bottom: 8px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.tool-try-note { margin: 0; font-size: 13px; color: var(--muted); text-align: center; }
/* 27/11 : page de support (pages/support.php) */
.support-set { display: grid; gap: 16px; min-width: 0; margin: 0; padding: 0; border: 0; }
/* Légende flottante : rangée comme un titre dans la grille, et non posée sur la bordure du haut. */
.support-set legend { float: left; width: 100%; padding: 0; }
.support-set + .support-set { padding-top: 24px; border-top: 1px solid var(--line); }
.support-form .input { align-content: start; }
.input-help { font-size: 13px; font-weight: 500; color: var(--muted); }
.support-more { border: 1px dashed var(--line-2); border-radius: var(--radius-btn); background: var(--surface); }
.support-more summary { position: relative; padding: 14px 44px 14px 16px; font-size: 15px; font-weight: 700; list-style: none; cursor: pointer; }
.support-more summary::-webkit-details-marker { display: none; }
.support-more summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); transition: transform .25s var(--ease); }
.support-more[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.support-more-body { display: grid; gap: 16px; padding: 0 16px 16px; }
.support-more .input textarea { min-height: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 0; padding: 12px 14px; border-radius: var(--radius-btn); background: var(--ko-bg); color: var(--ko); font-weight: 700; }

/* 27/11 : article de blog (pages/post.php), repris de la maquette de l'article 2 (pixs-hq, maquettes/blog-image-file-names).
   Sommaire collant à gauche et corps de 760 px ; sous 960 px, sommaire en pastilles collées en haut. */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
/* Parties qui n'ont de sens qu'avec le script (filtres, exercice, compteurs, boutons copier) */
@media (scripting: none) {
  .needs-js { display: none !important; }
}
/* En-tête d'article */
.post-hero { padding: 48px 0 28px; background: radial-gradient(1000px 420px at 50% -80px, var(--accent-soft-2), transparent 70%); }
.post-hero .wrap { display: flex; flex-direction: column; align-items: center; text-align: center; }
.post-hero h1 { max-width: 900px; font-size: clamp(34px, 5vw, 54px); text-wrap: balance; }
.post-hero .lead { margin-left: auto; margin-right: auto; max-width: 700px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 16px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--accent-text); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 18px; margin-top: 22px; font-size: 14px; color: var(--muted); }
.post-meta a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.post-meta .by { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); }
.avatar-s { width: 36px; height: 36px; font-size: 15px; }
.post-top { padding: 8px 0 56px; }

/* Illustration d'ouverture */
.rename-hero { display: grid; grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1.1fr); align-items: center; gap: 12px; max-width: 960px; margin: 0 auto; padding: clamp(20px, 4vw, 40px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(20, 6, 0, .07); }
.rename-hero figcaption { grid-column: 1 / -1; margin-top: 10px; font-size: 14px; color: var(--muted); text-align: center; }
.rh-before { position: relative; display: grid; min-height: 260px; justify-items: center; align-items: end; }
.rh-file { display: grid; gap: 10px; justify-items: center; width: min(100%, 260px); padding: 16px; border-radius: var(--radius); border: 1px dashed var(--line-2); background: var(--bg-2); text-align: center; }
.rh-file code { font-family: var(--font-mono); font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.rh-back { position: absolute; top: 0; width: min(100%, 210px); padding: 9px 14px; transform: rotate(-5deg) translateX(-22px); opacity: .45; }
.rh-back.two { top: 40px; transform: rotate(4deg) translateX(24px); opacity: .8; }
.rh-front { position: relative; margin-top: 92px; background: var(--surface); border-style: solid; box-shadow: 0 10px 30px rgba(20, 6, 0, .08); }
.rh-front code { color: var(--ko); text-decoration: line-through; text-decoration-thickness: 2px; }
.rh-thumb { width: 92px; height: 78px; filter: grayscale(1) contrast(.9); opacity: .75; }
.rh-tag { font-size: 13px; color: var(--muted); }
.rh-arrow { width: 96px; height: 40px; fill: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.rh-after { display: grid; gap: 12px; justify-items: center; padding: 22px; border-radius: var(--radius-lg); background: var(--accent-soft); border: 2px solid var(--accent-line); text-align: center; }
.rh-pic { width: min(100%, 230px); height: auto; aspect-ratio: 200 / 170; }
.rh-name { font-family: var(--font-mono); font-size: clamp(15px, 2vw, 18px); font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.rh-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.rh-tags li { padding: 5px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--accent-line); font-size: 13px; font-weight: 700; color: var(--accent-text-2); }
@media (prefers-reduced-motion: no-preference) {
  .rh-arrow path { stroke-dasharray: 130; stroke-dashoffset: 130; animation: rh-draw 1.1s .3s var(--ease) forwards; }
  @keyframes rh-draw { to { stroke-dashoffset: 0; } }
}

/* Corps de l'article */
.post .guide-body { max-width: 760px; }
.post .guide-sec { padding-bottom: 44px; margin-bottom: 44px; }
.guide-body h3 { margin: 30px 0 10px; font-family: var(--font-title); font-size: 21px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; color: var(--ink); scroll-margin-top: 96px; }
.guide-body ul:not([class]), .guide-body ol:not([class]) { margin: 0 0 18px; padding-left: 22px; display: grid; gap: 8px; }
.guide-body strong { color: var(--ink); }
.guide-body .title-m { text-wrap: balance; }
.h-anchor { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-left: 6px; vertical-align: middle; border-radius: 8px; color: var(--muted); opacity: .35; transition: opacity .2s, background .2s, color .2s; }
.h-anchor svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
h2:hover .h-anchor, h3:hover .h-anchor, .h-anchor:focus-visible { opacity: 1; color: var(--accent-text); background: var(--accent-soft); }
.guide-body a.h-anchor { text-decoration: none; }
.pair { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 12px 14px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.guide-body .pair { margin: 0 0 16px; }
.guide-body code.bad, .ex-table .bad { color: var(--ko); background: var(--ko-bg); border-color: transparent; }
.guide-body code.good, .ex-table .good { color: var(--ok); background: var(--ok-bg); border-color: transparent; font-weight: 700; }
.pair .to { color: var(--muted); font-weight: 700; }

/* Réponse courte */
.tldr { padding: 26px 28px; border-radius: var(--radius-lg); background: var(--surface); border: 2px solid var(--accent-line); }
.tldr .title { margin-bottom: 14px; }
.tldr ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.tldr li { position: relative; padding-left: 28px; }
.tldr li::before { content: ""; position: absolute; left: 0; top: 7px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B3441A' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat; }

/* Figures et captures */
.post-fig { margin: 8px 0 24px; }
.post-fig .shot { overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--surface); box-shadow: 0 12px 32px rgba(20, 6, 0, .06); }
.post-fig .shot img, .post-fig .shot video { display: block; width: 100%; height: auto; }
.post-fig figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.post-fig figcaption .credit { display: block; margin-top: 2px; color: var(--muted); }
.post-fig figcaption a { color: var(--muted); }

/* Ce que Google lit */
.signals { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 22px; align-items: center; margin: 8px 0 26px; padding: 22px; border-radius: var(--radius-lg); background: var(--accent-soft); border: 1px solid var(--accent-line); }
.signals figcaption { grid-column: 1 / -1; font-size: 14px; color: var(--ink-2); }
.sig-page { overflow: hidden; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 12px 32px rgba(20, 6, 0, .08); }
.sig-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: var(--bg-2); border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.sig-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--track); }
.sig-bar span { margin-left: 8px; padding: 2px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); overflow-wrap: anywhere; }
.sig-body { display: grid; gap: 10px; padding: 16px; }
.sig-h { width: 70%; height: 12px; border-radius: 6px; background: var(--ink); opacity: .82; }
.sig-img { display: grid; place-items: center; padding: 10px; border-radius: 10px; background: var(--bg); }
.sig-img svg { width: 150px; height: auto; aspect-ratio: 200 / 170; }
.sig-zone { position: relative; display: grid; gap: 7px; padding: 10px 12px; border-radius: 10px; border: 2px solid var(--accent); }
.sig-zone p { margin: 0 !important; font-size: 14px !important; line-height: 1.4 !important; color: var(--ink) !important; font-style: italic; }
.sig-line { height: 8px; border-radius: 4px; background: var(--track); }
.sig-line.s { width: 62%; }
.guide-body code.sig-code { display: block; border: 0; padding: 12px; border-radius: 10px; background: var(--ink); color: #F6E7DD; font-family: var(--font-mono); font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.sig-code .k { color: #FFB08C; }
.sig-code .alt { background: rgba(250, 104, 46, .35); border-radius: 4px; padding: 1px 3px; color: #fff; }
.sig-code .src { outline: 1.5px dashed rgba(246, 231, 221, .6); outline-offset: 1px; border-radius: 3px; }
.pin { position: absolute; top: -11px; right: -11px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--accent-strong); color: #fff; font-size: 13px; font-weight: 800; font-style: normal; border: 2px solid #fff; }
.pin-in { position: static; display: inline-grid; vertical-align: middle; margin: 0 4px; }
.sig-legend { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.sig-legend li { padding: 14px 16px; border-radius: var(--radius); background: var(--surface); border: 2px solid var(--accent); }
.sig-legend li.light { border: 2px dashed var(--line-2); }
.sig-legend b { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 16px; }
.sig-legend p { margin: 4px 0 0 !important; font-size: 15px !important; line-height: 1.5 !important; }
.sig-tag { margin-left: auto; padding: 2px 9px; border-radius: 999px; background: var(--accent-soft-2); color: var(--accent-text-2); font-size: 12px; font-weight: 800; white-space: nowrap; }
.light .sig-tag { background: var(--track); color: var(--ink-2); }

/* Encadrés */
.callout { margin: 6px 0 22px; padding: 18px 20px; border-radius: var(--radius); background: var(--surface); border: 2px solid var(--accent-line); }
.callout-title { margin: 0 0 6px !important; font-family: var(--font-title); font-weight: 600; font-size: 17px !important; color: var(--ink) !important; }
.callout p:last-child { margin-bottom: 0; }
.callout code { white-space: nowrap; }
.note { font-size: 14px !important; color: var(--muted) !important; }

/* Exemples filtrables */
.ex-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.ex-filter button { min-height: 40px; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); font-size: 14px; font-weight: 700; color: var(--ink-2); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.ex-filter button:hover { background: var(--accent-soft); border-color: var(--accent-line); }
.ex-filter button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.ex-filter small { font-weight: 600; opacity: .7; }
.gtable code { font-family: var(--font-mono); font-size: 13px; padding: 2px 5px; border-radius: 5px; overflow-wrap: anywhere; word-break: break-word; }
.ex-table td:nth-child(2), .ex-table td:nth-child(3) { width: 30%; }
.ex-table tbody th { font-weight: 600; color: var(--ink); }
.ex-table td:last-child { color: var(--muted); font-size: 14px; }
.ex-count { margin: 0 0 8px !important; font-size: 14px !important; color: var(--muted) !important; }

/* Exercice : renommer une vraie photo */
.ck-photo { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); }
.ck-pic[hidden] { display: none; }
.ck-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; max-height: 440px; object-fit: cover; }
.ck-photo figcaption { position: absolute; left: 12px; bottom: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: calc(100% - 24px); padding: 8px 12px; border-radius: 10px; background: rgba(20, 6, 0, .78); color: #fff; font-size: 13px; font-weight: 700; }
.guide-body .ck-photo figcaption code { padding: 2px 6px; border: 0; border-radius: 5px; background: rgba(255, 255, 255, .14); color: #fff; overflow-wrap: anywhere; text-decoration: line-through; text-decoration-color: #FF8A80; }
.ck-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ck-thumbs button { display: grid; gap: 6px; padding: 6px; border: 2px solid var(--line); border-radius: 12px; background: var(--surface); font-size: 13px; font-weight: 700; color: var(--ink-2); cursor: pointer; transition: border-color .2s, background .2s; }
.ck-thumbs button img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; }
.ck-thumbs button:hover { border-color: var(--accent-line); }
.ck-thumbs button[aria-checked="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--ink); }
.ck-label { display: block; font-weight: 700; color: var(--ink); }
.ck-answer { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ck-answer[hidden] { display: none; }
.guide-body .ck-answer code { font-size: 15px; font-weight: 700; color: var(--ok); background: var(--ok-bg); border-color: transparent; }
.ck-credit { margin: 0 !important; font-size: 13px !important; color: var(--muted) !important; }

/* Vérificateur */
.checker { display: grid; gap: 16px; padding: 22px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 12px 32px rgba(20, 6, 0, .05); }
.checker label { font-weight: 700; color: var(--ink); }
.ck-row { display: flex; gap: 10px; }
.ck-row input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--radius-btn); background: var(--bg-2); font-family: var(--font-mono); font-size: 16px; color: var(--ink); }
.ck-row input:focus { outline: 2px solid var(--accent-text); outline-offset: 1px; }
.ck-presets { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.ck-presets button { min-height: 36px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg-2); font-family: var(--font-mono); font-size: 13px; color: var(--ink-2); cursor: pointer; overflow-wrap: anywhere; text-align: left; }
.ck-presets button:hover { border-color: var(--accent-line); background: var(--accent-soft); }
.ck-score { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.ck-score b { font-family: var(--font-title); font-size: 30px; font-weight: 600; line-height: 1; color: var(--ink); }
.ck-score span { color: var(--muted); font-size: 15px; }
.ck-meter { height: 8px; border-radius: 999px; background: var(--track); overflow: hidden; }
.ck-meter i { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--accent); transition: width .35s var(--ease); }
.ck-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ck-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.ck-list li::before { content: ""; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: var(--ok-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803D' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat; }
.ck-list li.is-no::before { background: var(--ko-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B91C1C' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 10px no-repeat; }
.ck-list li b { color: var(--ink); }
.ck-out { display: grid; gap: 8px; padding: 14px 16px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); }
.ck-out p { margin: 0 !important; font-size: 15px !important; }
.ck-sug { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ck-sug code { font-size: 15px !important; font-weight: 700; color: var(--ink) !important; background: var(--surface) !important; }

/* Boutons secondaires de l'article */
.mini-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 12px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--surface); font-size: 14px; font-weight: 700; color: var(--ink); cursor: pointer; }
.mini-btn:hover { border-color: var(--accent-line); background: var(--accent-soft); }

/* URL réelles par plateforme */
.urls { margin: 8px 0 22px; padding: 20px; border-radius: var(--radius-lg); background: var(--ink); color: #F6E7DD; }
.url-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.url-list li { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 14px; align-items: start; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.url-list li:last-child { padding-bottom: 0; border-bottom: 0; }
.url-cms { display: grid; font-family: var(--font-title); font-weight: 600; font-size: 16px; color: #fff; }
.url-cms small { font-family: var(--font-text); font-weight: 600; font-size: 12px; color: rgba(246, 231, 221, .62); }
.guide-body .urls code.url { display: block; padding: 0; border: 0; background: none; font-family: var(--font-mono); font-size: 13.5px; line-height: 1.65; color: rgba(246, 231, 221, .72); overflow-wrap: anywhere; word-break: break-all; }
.url mark { padding: 1px 3px; border-radius: 4px; background: var(--accent); color: var(--ink); font-weight: 700; }
.url .uid { color: rgba(246, 231, 221, .5); text-decoration: underline dotted rgba(246, 231, 221, .45); text-underline-offset: 3px; }
.url mark.rand { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .18) 0 6px, rgba(255, 255, 255, .06) 6px 12px); color: #fff; font-weight: 600; }
.urls figcaption { margin-top: 16px; font-size: 13.5px; line-height: 1.55; color: rgba(246, 231, 221, .78); }
.urls figcaption b { color: #fff; }
.key { display: inline-block; width: 14px; height: 10px; margin: 0 4px 0 2px; border-radius: 3px; vertical-align: baseline; background: var(--accent); }
.key.key-uid { height: 0; background: none; border-bottom: 2px dotted rgba(246, 231, 221, .6); }
.key.rand { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .5) 0 3px, rgba(255, 255, 255, .15) 3px 6px); }
.verdict { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 13px; font-weight: 800; white-space: nowrap; }
.verdict.v-yes { background: var(--ok-bg); color: var(--ok); }
.verdict.v-part { background: var(--accent-soft-2); color: var(--accent-text-2); }
.verdict.v-no { background: var(--ko-bg); color: var(--ko); }

/* Arbre de décision */
.flow { margin: 8px 0 24px; padding: 0; list-style: none; display: grid; gap: 0; }
.flow > li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.fl-q { position: relative; padding: 14px 16px; border-radius: var(--radius); background: var(--surface); border: 2px solid var(--ink); font-weight: 700; color: var(--ink); }
.fl-down { display: flex; align-items: center; gap: 8px; height: 46px; margin-left: 26px; padding-left: 16px; border-left: 2px solid var(--ink); font-size: 13px; font-weight: 800; color: var(--ink-2); }
.fl-a { position: relative; padding: 12px 14px; border-radius: var(--radius); font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.fl-a::before { content: ""; position: absolute; left: -18px; top: 24px; width: 16px; border-top: 2px solid var(--ink); }
.fl-a b { display: block; font-size: 13px; color: var(--ink); }
.fl-keep { background: var(--ok-bg); }
.fl-go { background: var(--accent-soft); border: 1px solid var(--accent-line); }
.fl-end { grid-column: 1 / -1; }
.fl-end .fl-a { padding: 16px 18px; font-size: 16px; }
.fl-end .fl-a::before { display: none; }

/* Liste à cocher */
.checklist { margin: 0 0 14px; padding: 0; list-style: none; display: grid; gap: 8px; }
.checklist label { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); cursor: pointer; font-size: 16px; line-height: 1.5; color: var(--ink-2); transition: background .2s, border-color .2s; }
.checklist input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent-strong); }
.checklist input:checked + span { color: var(--muted); text-decoration: line-through; }
.checklist label:has(input:checked) { background: var(--bg-2); border-color: var(--line); }
.cl-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 15px; color: var(--muted); }
.cl-foot b { color: var(--ink); }

/* Liste à cocher : 3 points visibles, la suite contre un e-mail */
.cl-stack { display: grid; }
.cl-stack > * { grid-area: 1 / 1; }
.cl-locked { filter: blur(3px); opacity: .85; pointer-events: none; user-select: none; -webkit-mask-image: linear-gradient(#000 55%, transparent 100%); mask-image: linear-gradient(#000 55%, transparent 100%); }
.gate-card { position: relative; z-index: 1; align-self: start; justify-self: center; display: grid; gap: 12px; width: min(100%, 540px); margin-top: 22px; padding: 24px; border-radius: var(--radius-lg); background: var(--surface); border: 2px solid var(--accent-line); box-shadow: 0 24px 60px rgba(20, 6, 0, .14); }
.gate-card .title { margin: 0; }
.gate-card p:not(.title) { margin: 0 !important; font-size: 15px !important; line-height: 1.55 !important; }
.gate-row { display: flex; gap: 10px; }
.gate-row input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--radius-btn); background: var(--bg-2); font: inherit; font-size: 16px; color: var(--ink); }
.gate-row input:focus { outline: 2px solid var(--accent-text); outline-offset: 1px; }
.gate-opt { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.gate-opt input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent-strong); }
.gate-legal p { font-size: 13px !important; color: var(--muted) !important; }
.gate-msg { font-weight: 700; color: var(--ink) !important; }
.gate-msg:empty { display: none; }
.is-open .cl-stack > * { grid-area: auto; }
.is-open .cl-locked { filter: none; opacity: 1; pointer-events: auto; user-select: auto; -webkit-mask-image: none; mask-image: none; }
.is-open .gate-card { justify-self: stretch; width: auto; margin: 12px 0 0; box-shadow: none; }
.is-open .gate-card > :not(.gate-msg) { display: none; }
.cl-count { margin: 14px 0 0; }

/* Quiz */
.quiz { display: grid; gap: 14px; }
.qz-q { margin: 0; padding: 18px 20px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.qz-q legend { float: left; width: 100%; margin-bottom: 12px; padding: 0; font-family: var(--font-title); font-size: 18px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.qz-q legend small { display: block; margin-bottom: 4px; font-family: var(--font-text); font-size: 13px; font-weight: 700; color: var(--muted); }
.qz-opts { clear: both; display: grid; gap: 8px; }
.qz-opt { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg-2); font-size: 15px; text-align: left; color: var(--ink); cursor: pointer; transition: background .2s, border-color .2s; }
.qz-opt code { font-family: var(--font-mono); font-size: 14px; overflow-wrap: anywhere; }
.qz-opt:hover:not(:disabled) { border-color: var(--accent-line); background: var(--accent-soft); }
.qz-opt:disabled { cursor: default; }
.qz-opt.is-right { border-color: var(--ok); background: var(--ok-bg); color: var(--ok); font-weight: 700; }
.qz-opt.is-wrong { border-color: var(--ko); background: var(--ko-bg); color: var(--ko); }
.qz-exp { margin: 12px 0 0; }
.qz-exp p { margin: 0 !important; font-size: 15px !important; }
.qz-exp strong { color: var(--ink); }
/* Avec le script, l'explication attend la réponse ; sans lui, elle reste visible. */
@media (scripting: enabled) {
  .qz-q:not(.is-done) .qz-exp { display: none; }
}
.qz-end { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 16px 20px; border-radius: var(--radius-lg); background: var(--ink); color: #fff; }
.qz-end p { margin: 0 !important; color: #fff !important; font-weight: 700; }
.qz-end .mini-btn { background: #fff; border-color: #fff; }

/* Code */
.code-wrap { position: relative; }
.code-wrap .mini-btn { position: absolute; top: 10px; right: 10px; min-height: 32px; padding: 4px 10px; font-size: 13px; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); color: #fff; }
.code-wrap pre.code { padding-top: 48px; }

/* Article : CTA, sources, auteur */
.article-cta { display: grid; gap: 10px; justify-items: start; margin: 18px 0 8px; padding: 26px 28px; border-radius: var(--radius-lg); background: var(--accent-soft); border: 1px solid var(--accent-line); }
.article-cta .title { margin: 0; }
.article-cta p { margin: 0 !important; }
.sources ol { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.sources li { font-size: 15px !important; line-height: 1.55 !important; }
.sources + .note { margin-top: 18px; }
.author-box { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; align-items: start; padding: 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.author-box .title { margin-bottom: 4px; }
.author-box p { margin: 6px 0 0 !important; font-size: 16px !important; }
.author-box .role { margin: 0 !important; color: var(--muted) !important; font-size: 14px !important; font-weight: 700; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 70; transform: translateX(-50%); padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; box-shadow: 0 12px 30px rgba(20, 6, 0, .2); }
.toast[hidden] { display: none; }

/* Tableaux en cartes sur téléphone */
@media (max-width: 960px) {
  .rename-hero { grid-template-columns: minmax(0, 1fr); }
  .rh-arrow { justify-self: center; transform: rotate(90deg); width: 64px; }
  .rh-before { min-height: 200px; }
  .signals { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .gate-row { flex-direction: column; }
  .ck-thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-hero { padding-top: 32px; }
  .post-top { padding-bottom: 36px; }
  .rename-hero { padding: 16px; }
  .tldr, .checker, .article-cta { padding: 18px; }
  .ck-row { flex-direction: column; }
  .ck-row input, .gate-row input { flex: none; }
  .url-list li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .flow > li { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .flow > li > div:first-child { display: contents; }
  .fl-q { order: 1; }
  .fl-a { order: 2; margin-left: 26px; }
  .fl-down { order: 3; margin-top: -8px; }
  .fl-a::before { display: none; }
  .stack-table { min-width: 0 !important; }
  .stack-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .stack-table tr { display: grid; gap: 4px; padding: 12px 14px; border-top: 1px solid var(--line); }
  .stack-table tbody tr:first-child { border-top: 0; }
  .stack-table th, .stack-table td { display: block; padding: 0; border: 0; width: auto !important; }
  .stack-table td::before { content: attr(data-l); display: block; font-size: 12px; font-weight: 700; color: var(--muted); }
  .ex-table td::before { display: inline; margin-right: 6px; }
  .author-box { grid-template-columns: minmax(0, 1fr); }
}

/* Tutoriel (guide.php, J11.10) : ce qu'il faut, puis les étapes numérotées du guide des pages outils */
.howto-needs { max-width: 760px; margin: 0 auto 48px; padding: 22px 24px; border-radius: var(--radius-lg); background: var(--bg-2); border: 1px solid var(--line); }
.howto-needs .checks { margin-top: 14px; }
.howto-step > .title { display: flex; align-items: flex-start; gap: 14px; }
.howto-num { flex: none; display: grid; place-items: center; width: 40px; height: 40px; margin-top: -2px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); font-size: 18px; font-weight: 700; }
.howto-step .callout { margin-top: 4px; }
@media (max-width: 640px) {
  .howto-needs { padding: 18px; margin-bottom: 32px; }
  .howto-num { width: 34px; height: 34px; font-size: 16px; }
}
/* 28/11 : page mère des outils (pages/tools.php) et liens des fonctionnalités vers les pages outils */
.frow-link { margin-top: 20px; }
.frow-link:hover .i { transform: translateX(3px); }
.tools-more { margin-top: 40px; }
.tool-crumbs { justify-content: flex-start; }
/* 28/11 : page du blog (pages/blog.php) : filtres en pastilles, cartes d'articles */
.blog-filters { display: grid; gap: 14px; margin-bottom: 18px; }
.blog-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.blog-filter .label { min-width: 92px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); font-size: 14px; font-weight: 700; color: var(--ink-2); transition: border-color .2s, background .2s, color .2s; }
.chip small { font-size: 12px; font-weight: 700; color: var(--muted); }
.chip:hover { border-color: var(--accent); color: var(--ink); }
.chip[aria-current="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.chip[aria-current="true"] small { color: rgba(255, 255, 255, .72); }
.chip-tag { min-height: 32px; padding: 0 12px; font-weight: 600; background: var(--bg-2); border-color: var(--line); }
.blog-count { margin: 0 0 22px; font-size: 14px; font-weight: 600; color: var(--muted); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.blog-card { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.blog-card[hidden] { display: none; }
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(20, 6, 0, .10); border-color: var(--line-2); }
.blog-card-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-2); }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px 22px 22px; }
.blog-card-body .kicker { margin: 0; }
.blog-card-body .title a { color: inherit; }
.blog-card-body .title a:hover { color: var(--accent-text); }
.blog-card-lead { margin: 0; font-size: 15px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 0; padding: 0; list-style: none; }
.blog-card-tags a { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.blog-card-tags a:hover, .blog-card-tags a[aria-current="true"] { border-color: var(--accent); color: var(--accent-text); }
.blog-card-meta { display: flex; align-items: center; gap: 10px; margin: auto 0 0; padding-top: 8px; font-size: 14px; color: var(--muted); }
.blog-none { margin-top: 8px; }
.blog-none a { color: var(--accent-text); font-weight: 700; }
.blog-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 40px; }
.blog-pager[hidden] { display: none; }
.blog-pager ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.blog-pager ol a { display: grid; place-items: center; min-width: 44px; min-height: 44px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); font-weight: 700; color: var(--ink-2); }
.blog-pager ol a:hover { border-color: var(--accent); color: var(--ink); }
.blog-pager ol a[aria-current="page"] { border-color: var(--ink); background: var(--ink); color: #fff; }
/* 28/11 : frise de « Comment ça marche » (pages/steps.php). Le trait orange suit le défilement (--tl, de 0 à 1,
   posé par site.js) ; chaque étape s'allume (.is-on) quand le trait l'atteint. Sans .motion, tout est visible. */
.tl { position: relative; --tl: 1; }
.tl-section { overflow-x: clip; }
.tl-track { position: absolute; top: 32px; bottom: 0; left: 50%; width: 4px; margin-left: -2px; border-radius: 2px; background: var(--accent-soft-2); }
.tl-line { position: absolute; inset: 0; border-radius: 2px; background: var(--accent); transform-origin: top; transform: scaleY(var(--tl)); }
.tl-head { display: none; position: absolute; left: 50%; top: calc(var(--tl) * 100%); width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(250, 104, 46, .22), 0 0 24px rgba(250, 104, 46, .55); }
.motion .tl-head { display: block; }
.tl-steps { position: relative; display: grid; gap: 128px; margin: 0; padding: 0 0 48px; list-style: none; }
.tl-step { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr); column-gap: 44px; align-items: center; }
.tl-dot { position: relative; grid-column: 2; grid-row: 1; justify-self: center; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; border: 3px solid var(--accent); background: var(--accent); color: var(--ink); font-family: var(--font-title); font-weight: 600; font-size: 22px; box-shadow: 0 0 0 8px var(--surface); }
.tl-dot .i { width: 28px; height: 28px; }
.tl-text { grid-column: 1; grid-row: 1; }
.tl-text p { margin: 14px 0 0; color: var(--ink-2); font-size: 17px; }
.tl-media { grid-column: 3; grid-row: 1; }
.tl-media .fvid { margin: 0; border-radius: var(--radius-lg); }
.tl-right .tl-text { grid-column: 3; }
.tl-right .tl-media { grid-column: 1; }
/* Étape centrée : l'icône, puis le texte et l'animation au milieu, sur fond blanc par-dessus le trait */
.tl-center { grid-template-columns: minmax(0, 1fr); justify-items: center; row-gap: 28px; padding-bottom: 28px; text-align: center; background: var(--surface); }
.tl-center .tl-dot, .tl-center .tl-text, .tl-center .tl-media { grid-column: 1; grid-row: auto; }
.tl-center .tl-text { max-width: 680px; }
.tl-center .tl-media { width: min(820px, 100%); }
.tl-center .checks { justify-items: center; }
.tl-center .checks li { text-align: left; }
/* Animations : seulement avec le script et sans « réduire les animations » */
.motion .tl-dot { border-color: var(--line-2); background: var(--surface); color: var(--muted); transition: background .4s var(--ease), border-color .4s var(--ease), color .4s; }
.motion .tl-step.is-on .tl-dot { border-color: var(--accent); background: var(--accent); color: var(--ink); animation: tl-pop .7s var(--ease) both; }
.motion .tl-step.is-on .tl-dot .i { animation: tl-icon .9s var(--ease) .1s both; }
.motion .tl-dot::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; }
.motion .tl-step.is-on .tl-dot::after { animation: tl-ring 1.1s ease-out .15s both; }
.motion .tl-text > *, .motion .tl-text .checks li, .motion .tl-media { opacity: 0; transition: opacity .6s var(--ease), transform .7s var(--ease); }
.motion .tl-left .tl-text > * { transform: translateX(-36px); }
.motion .tl-left .tl-media { transform: translateX(36px) scale(.97); }
.motion .tl-right .tl-text > * { transform: translateX(36px); }
.motion .tl-right .tl-media { transform: translateX(-36px) scale(.97); }
.motion .tl-center .tl-text > * { transform: translateY(24px); }
.motion .tl-center .tl-media { transform: translateY(32px) scale(.96); }
.motion .tl-text .checks li { transform: translateY(10px); }
.motion .tl-step.is-on .tl-text > *, .motion .tl-step.is-on .tl-text .checks li, .motion .tl-step.is-on .tl-media { opacity: 1; transform: none; }
.motion .tl-step.is-on .tl-text > :nth-child(2) { transition-delay: .08s; }
.motion .tl-step.is-on .tl-text > :nth-child(3) { transition-delay: .16s; }
.motion .tl-step.is-on .tl-text > :nth-child(4) { transition-delay: .24s; }
.motion .tl-step.is-on .checks li:nth-child(1) { transition-delay: .32s; }
.motion .tl-step.is-on .checks li:nth-child(2) { transition-delay: .42s; }
.motion .tl-step.is-on .checks li:nth-child(3) { transition-delay: .52s; }
.motion .tl-step.is-on .tl-media { transition-delay: .2s; }
@keyframes tl-pop { 0% { transform: scale(.6); } 60% { transform: scale(1.14); } 100% { transform: scale(1); } }
@keyframes tl-icon { 0% { transform: rotate(-30deg) scale(.4); opacity: 0; } 60% { transform: rotate(8deg) scale(1.1); opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes tl-ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.9); opacity: 0; } }
@media (max-width: 900px) {
  .tl-track { left: 27px; top: 28px; }
  .tl-steps { gap: 72px; padding-bottom: 24px; }
  .tl-step, .tl-center { grid-template-columns: 56px minmax(0, 1fr); column-gap: 18px; row-gap: 22px; align-items: start; justify-items: stretch; padding-bottom: 0; text-align: left; background: none; }
  .tl-dot, .tl-center .tl-dot { grid-column: 1; grid-row: 1; width: 56px; height: 56px; }
  .tl-dot .i { width: 24px; height: 24px; }
  .tl-text, .tl-right .tl-text, .tl-center .tl-text { grid-column: 2; grid-row: 1; max-width: none; }
  .tl-media, .tl-right .tl-media, .tl-center .tl-media { grid-column: 2; grid-row: 2; width: auto; }
  .tl-center .checks { justify-items: start; }
  .motion .tl-left .tl-text > *, .motion .tl-right .tl-text > *, .motion .tl-center .tl-text > * { transform: translateX(24px); }
  .motion .tl-left .tl-media, .motion .tl-right .tl-media, .motion .tl-center .tl-media { transform: translateY(24px) scale(.97); }
  .motion .tl-step.is-on .tl-text > *, .motion .tl-step.is-on .tl-media { transform: none; }
}
/* 01/12 : logo pixs.app plus large et lien Blog : chaque lien du menu tient sur une ligne, et le menu se resserre
   jusqu'à 1 240 px pour que l'en-tête ne déborde pas */
.nav-links a { white-space: nowrap; }
@media (min-width: 961px) and (max-width: 1240px) {
  .nav-inner { gap: 18px; }
  .nav-links { gap: 18px; font-size: 14px; }
}
@media (min-width: 961px) and (max-width: 1100px) {
  .nav-links { gap: 14px; }
  .nav-logo img { width: 116px; }
  .nav-cta .btn-sm { padding-left: 14px; padding-right: 14px; }
}
@media (min-width: 961px) and (max-width: 1010px) {
  .nav-inner { gap: 14px; }
  .nav-links { gap: 12px; }
  .nav-logo img { width: 106px; }
}
