/* Couleurs et formes du thème de Steam Upgraded (frontend/core/theme.ts du plugin).
   État de départ : Sombre, teinte Graphite, accent Orange. app.js les remplace quand
   le panneau « Apparence » change ; @property permet une transition douce. */
@property --bg { syntax: '<color>'; inherits: true; initial-value: #121314; }
@property --surface { syntax: '<color>'; inherits: true; initial-value: #1a1b1d; }
@property --surface2 { syntax: '<color>'; inherits: true; initial-value: #25272a; }
@property --line { syntax: '<color>'; inherits: true; initial-value: #303236; }
@property --text { syntax: '<color>'; inherits: true; initial-value: #e8edf3; }
@property --muted { syntax: '<color>'; inherits: true; initial-value: #9aa7b6; }
@property --accent { syntax: '<color>'; inherits: true; initial-value: #ff8a3d; }

@font-face {
  font-family: Manrope;
  src: url('/assets/fonts/manrope-variable.woff2?v=0.3.0') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #121314; --surface: #1a1b1d; --surface2: #25272a; --line: #303236;
  --text: #e8edf3; --muted: #9aa7b6; --accent: #ff8a3d; --accent-ink: #0a0d12;
  --accent-soft: color-mix(in srgb, var(--accent) 14%, transparent);
  --accent-line: color-mix(in srgb, var(--accent) 45%, transparent);
  --glow: 0 0 28px color-mix(in srgb, var(--accent) 40%, transparent);
  --dot-min: #febc2e; --dot-max: #28c840; --dot-close: #ff5f57;
  --r-sm: 6px; --r-md: 10px; --r-lg: 14px;
  --font: Manrope, 'Segoe UI Variable Text', 'Segoe UI', system-ui, sans-serif;
  --caps: 700 12px/1.4 var(--font);
  font-family: var(--font);
  font-synthesis: none;
  transition: --bg .6s, --surface .6s, --surface2 .6s, --line .6s, --text .6s, --muted .6s, --accent .6s;
}
/* Squircle partout où le navigateur sait le dessiner, comme le réglage par défaut du plugin. */
@supports (corner-shape: squircle) {
  :root { --r-sm: 12px; --r-md: 18px; --r-lg: 26px; }
  *, *::before, *::after { corner-shape: squircle; }
  .round, .round * { corner-shape: round; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
svg { width: 20px; height: 20px; flex-shrink: 0; }
p { line-height: 1.7; }
h1, h2, h3, p, figure, ol, ul { margin: 0; }
code { font: 600 12.5px ui-monospace, SFMono-Regular, Consolas, monospace; color: var(--text); background: var(--surface2); padding: 1px 5px; border-radius: 5px; }
.wrap { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }
.skip-link { position: fixed; left: 20px; top: -100px; background: var(--accent); color: var(--accent-ink); padding: 12px; z-index: 100; border-radius: var(--r-sm); }
.skip-link:focus { top: 12px; }

/* Marque : l'icône de l'installeur, à la couleur d'accent courante. */
.mark { width: 30px; height: 30px; }
.mark rect { fill: var(--accent); }
.mark path { fill: none; stroke: var(--accent-ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Les trois ronds de fenêtre du plugin, dans l'ordre Windows : réduire, agrandir, fermer. */
.win-dots { display: inline-flex; align-items: center; gap: 6px; corner-shape: round; }
.win-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--dot-min); corner-shape: round; }
.win-dots i:nth-child(2) { background: var(--dot-max); }
.win-dots i:nth-child(3) { background: var(--dot-close); }

/* En-tête */
.header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(18px); border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.nav { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 19px; font-weight: 800; letter-spacing: -.4px; }
.nav-links { display: flex; align-items: center; gap: 6px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 13px; font-weight: 600; color: var(--muted); corner-shape: round; }
.nav-links a { padding: 7px 14px; border-radius: 999px; transition: color .2s, background .2s; corner-shape: round; }
.nav-links a:hover { color: var(--text); background: var(--surface2); }

/* Boutons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid transparent; border-radius: var(--r-md); min-height: 50px; padding: 13px 22px; font-size: 14px; font-weight: 800; transition: background .2s, transform .2s, box-shadow .3s, filter .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--accent-ink); background: var(--accent); box-shadow: var(--glow); }
.button-primary:hover { filter: brightness(1.08); }
.button-small { min-height: 38px; padding: 8px 16px; font-size: 13px; background: var(--surface2); border-color: var(--line); }
.button-small:hover { border-color: var(--accent); }
.button-secondary { border-color: var(--line); background: var(--surface2); color: var(--text); }
.button-secondary:hover { border-color: var(--accent); }
.text-link { font-size: 14px; font-weight: 600; color: var(--muted); display: inline-flex; gap: 10px; align-items: center; }
.text-link:hover { color: var(--accent); }
/* Téléchargement : bouton du système détecté + flèche vers les autres systèmes */
.split-download { position: relative; display: inline-flex; flex-wrap: wrap; }
.split-toggle, .split-menu { display: none; }
.has-js .split-toggle { display: inline-flex; padding: 13px 14px; border-left: 1px solid color-mix(in srgb, var(--accent-ink) 22%, transparent); }
.has-js .split-main { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.has-js .split-toggle { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.split-download .button:hover { transform: none; }
.icon-chevron { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.split-download.is-open .icon-chevron { transform: rotate(180deg); }
.split-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; min-width: 310px; flex-direction: column; gap: 2px; padding: 6px; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: 0 18px 40px rgb(0 0 0 / .45); }
.has-js .split-download.is-open .split-menu { display: flex; }
.split-menu a { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; border-radius: var(--r-sm); color: var(--text); font-size: 14px; font-weight: 700; }
.split-menu a small { font-size: 12px; font-weight: 500; color: var(--muted); }
.split-menu a:hover, .split-menu a:focus-visible { background: var(--surface2); outline-offset: -2px; }
.split-menu a b { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.split-menu a[aria-current="true"] b::after { content: 'Votre système'; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--accent-line); background: var(--accent-soft); color: var(--accent); font-size: 11px; font-weight: 700; white-space: nowrap; }
/* Dans le panneau (qui coupe ce qui déborde) : la liste se déplie sous le bouton ; sans script, elle reste affichée */
.download-panel .split-download { display: flex; width: 100%; }
.download-panel .split-download .split-main { flex: 1; width: auto; min-width: 0; }
.download-panel .split-download .split-toggle { width: auto; flex: none; }
.download-panel .split-download .split-menu { position: static; display: flex; width: 100%; min-width: 0; margin-top: 8px; box-shadow: none; background: var(--bg); }
.has-js .download-panel .split-download:not(.is-open) .split-menu { display: none; }

.menu-toggle { display: none; }
.icon-download { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-line { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }

/* Ouverture */
.hero { padding-top: 70px; text-align: center; }
.eyebrow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; color: var(--muted); font: var(--caps); letter-spacing: .12em; }
.eyebrow-divider { color: var(--line); margin-inline: 6px; }
.beta-badge { padding: 4px 9px; border: 1px solid var(--accent-line); border-radius: 999px; background: var(--accent-soft); color: var(--accent); letter-spacing: .1em; corner-shape: round; }
h1 { font-size: clamp(42px, 5.6vw, 78px); font-weight: 800; line-height: 1.08; letter-spacing: -.045em; margin-top: 28px; }
h1 > span { color: var(--accent); }
.hero-copy { margin-top: 24px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.hero-actions { margin-top: 32px; display: flex; align-items: center; justify-content: center; gap: 28px; }
.hero-actions .button svg:first-child { width: 17px; height: 17px; }
.release-note { font-size: 12px; color: var(--muted); margin-top: 16px; }
.release-note { display: flex; flex-wrap: wrap; justify-content: center; column-gap: 10px; }
.release-note > span { white-space: nowrap; }
.release-note > span + span::before { content: '·'; margin-right: 10px; color: var(--line); }

/* Sections */
.section { padding-block: 130px; }
.kicker { font: var(--caps); letter-spacing: .14em; color: var(--accent); margin-bottom: 20px; }
h2 { font-size: clamp(32px, 3.6vw, 48px); font-weight: 800; line-height: 1.14; letter-spacing: -.035em; }
h3 { font-weight: 800; letter-spacing: -.01em; }
.section-heading { display: grid; grid-template-columns: 1.1fr 1fr; column-gap: 90px; }
.section-heading .kicker { grid-column: 1 / -1; }
.section-heading > p:last-child { align-self: end; font-size: 15px; color: var(--muted); max-width: 460px; }

/* Au bureau : captures à onglets */
.desk-section { padding-top: 110px; padding-bottom: 0; }
.desk-heading { text-align: center; }
.desk-heading p:last-child { font-size: 14px; color: var(--muted); margin-top: 18px; }
.product-shot { position: relative; margin-top: 44px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 30px 110px #0007; }
.product-shot::before { content: ''; position: absolute; inset: -50px -40px; z-index: -1; background-image: linear-gradient(var(--accent-soft) 1px, transparent 1px), linear-gradient(90deg, var(--accent-soft) 1px, transparent 1px); background-size: 40px 40px; opacity: .45; mask-image: radial-gradient(ellipse, #000, transparent 72%); }
.shot-tabs { display: flex; align-items: center; gap: 4px; padding: 4px 6px 10px; }
.shot-tabs [role=tab] { border: 0; background: transparent; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--muted); transition: color .2s, background .2s; corner-shape: round; }
.shot-tabs [role=tab]:hover { color: var(--text); }
.shot-tabs [role=tab][aria-selected=true] { background: var(--surface2); color: var(--text); box-shadow: inset 0 -2px 0 var(--accent); }
.shot-tabs .win-dots { margin-left: auto; padding: 0 8px; }
.shot-frames { display: grid; border-radius: var(--r-md); overflow: hidden; }
.shot-frame { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .45s, visibility 0s .45s; }
.shot-frame.is-active { opacity: 1; visibility: visible; transition: opacity .45s; }
.shot-frame img { width: 100%; }

/* Ce que ça apporte */
.features { display: grid; grid-template-columns: 1fr 1.15fr; gap: 90px; }
.feature-intro { align-self: start; position: sticky; top: 130px; }
.feature-intro > p:last-child { margin-top: 24px; max-width: 340px; color: var(--muted); font-size: 15px; }
.feature-list article { display: flex; align-items: start; gap: 19px; padding: 26px 0; border-top: 1px solid var(--line); transition: border-color .3s; }
.feature-list article:first-child { padding-top: 0; border: 0; }
.feature-list article:hover { border-color: var(--accent-line); }
.feature-number { color: var(--accent); font: var(--caps); white-space: nowrap; padding-top: 4px; }
.feature-list h3 { font-size: 18px; line-height: 1.4; }
.feature-list p { font-size: 14px; margin-top: 8px; color: var(--muted); }

/* Big Picture */
.pad-band { padding-block: 120px; border-block: 1px solid var(--line); background: var(--surface); }
.pad-heading { display: grid; grid-template-columns: 1fr 1.1fr; column-gap: 80px; }
.pad-heading .kicker { grid-column: 1 / -1; }
.pad-heading > p:last-child { align-self: end; font-size: 15px; color: var(--muted); }
.pad-shots { margin-top: 56px; display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.pad-shot { position: relative; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--bg); box-shadow: 0 24px 70px #0006; }
.pad-shot-main { grid-row: span 2; align-self: center; }
.pad-shot img { width: 100%; }
.pad-shot { background: var(--surface); }

/* À vos couleurs */
.colors { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.colors-copy > p:not(.kicker) { margin-top: 22px; font-size: 15px; color: var(--muted); max-width: 440px; }
.colors-copy > .colors-try { color: var(--text); font-weight: 700; }
.grid-card { margin-top: 36px; display: flex; gap: 18px; align-items: start; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.grid-card svg { width: 36px; height: 36px; fill: none; stroke: var(--accent); stroke-width: 1.5; }
.grid-card h3 { font-size: 16px; }
.grid-card p { margin-top: 6px; font-size: 14px; color: var(--muted); }
.appearance { padding: 0 24px 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: 0 30px 90px #0006; }
.appearance-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); font: var(--caps); letter-spacing: .14em; color: var(--muted); }
.appearance-group { padding-top: 22px; }
.appearance-group h3 { font-size: 16px; margin-bottom: 14px; }
.theme-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.theme-option { text-align: left; padding: 0; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg); overflow: hidden; transition: border-color .2s; }
.theme-option[aria-pressed=true] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.theme-option:hover { border-color: var(--accent-line); }
.theme-preview { display: flex; gap: 6px; align-items: end; height: 64px; padding: 10px; background: #1a1b1d; border-bottom: 1px solid var(--line); }
.theme-preview i { width: 22px; height: 44px; border-radius: 6px; background: #7a2836; }
.theme-preview i + i { background: #1f3a55; }
.theme-preview b { flex: 1; height: 44px; border-radius: 6px; background: #121314; position: relative; }
.theme-preview b::after { content: ''; position: absolute; left: 10px; bottom: 9px; width: 34%; height: 9px; border-radius: 5px; background: var(--accent); }
.theme-preview.is-oled { background: #000; }
.theme-preview.is-oled b { background: #000; box-shadow: inset 0 0 0 1px #1f2228; }
.theme-preview.is-oled b::after { box-shadow: var(--glow); }
.theme-name { display: block; padding: 10px 12px 12px; font-size: 14px; font-weight: 800; }
.theme-name small { display: block; margin-top: 2px; font-size: 12px; font-weight: 500; color: var(--muted); }
.swatches { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
.swatch, .fond { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 6px 2px; border: 1px solid transparent; border-radius: var(--r-md); background: transparent; font-size: 12px; font-weight: 600; color: var(--muted); transition: border-color .2s, color .2s; }
.swatch i { width: 34px; height: 34px; border-radius: 11px; background: var(--c); }
.swatch:hover, .fond:not(:disabled):hover { color: var(--text); }
.swatch[aria-pressed=true], .fond[aria-pressed=true] { border-color: var(--accent); color: var(--text); }
.swatch[aria-pressed=true] i { box-shadow: 0 0 18px color-mix(in srgb, var(--c) 55%, transparent); }
.fonds { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.fond i { width: 100%; height: 34px; border-radius: 9px; background: var(--c); border: 1px solid var(--l); }
.fond:disabled { opacity: .35; cursor: default; }
.fond-note { margin-top: 10px; font-size: 12px; color: var(--muted); }
.appearance-note { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }

/* Choix assumés */
.choices { padding-top: 0; }
.choice-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.choice-grid article { padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); transition: border-color .3s, transform .3s; }
.choice-grid article:hover { border-color: var(--accent-line); transform: translateY(-3px); }
.choice-grid h3 { font-size: 16px; line-height: 1.35; }
.choice-grid p { margin-top: 10px; font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* Confidentialité */
.privacy-band { border-block: 1px solid var(--line); background: var(--surface); }
.privacy-content { padding-block: 56px; display: grid; grid-template-columns: 64px 1.2fr 1fr; gap: 40px; align-items: center; }
.privacy-mark { width: 56px; height: 56px; fill: none; stroke: var(--accent); stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
.privacy-band .kicker { margin-bottom: 14px; }
.privacy-band h2 { font-size: clamp(26px, 2.6vw, 32px); }
.privacy-content > p { font-size: 14px; color: var(--muted); }
.privacy-tags { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; font-weight: 700; color: var(--text); font-size: 13px; }
.privacy-tags > span { display: inline-flex; align-items: center; gap: 8px; }
.privacy-tags > span::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); corner-shape: round; }

/* Installation et téléchargement */
.download { display: grid; grid-template-columns: 1.25fr .85fr; gap: 90px; align-items: center; }
.steps { list-style: none; padding: 0; margin-top: 34px; display: grid; gap: 22px; }
.steps li { display: flex; gap: 18px; }
.steps li > span { flex-shrink: 0; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: var(--surface2); border: 1px solid var(--line); font-weight: 800; font-size: 13px; color: var(--accent); }
.steps h3 { font-size: 17px; }
.steps p { margin-top: 4px; font-size: 14px; color: var(--muted); }
.download-platform { margin-top: 30px; display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--muted); }
.download-platform svg { width: 15px; height: 15px; }
.download-panel { position: relative; overflow: hidden; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.download-panel::before { content: ''; position: absolute; top: 0; left: 22%; right: 22%; height: 1px; background: var(--accent); box-shadow: 0 0 25px 4px color-mix(in srgb, var(--accent) 30%, transparent); }
.download-panel-top { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; font-size: 18px; font-weight: 800; }
.download-panel-top .mark { width: 46px; height: 46px; }
.download-panel-top small { display: block; margin-top: 4px; font-size: 12px; font-weight: 500; color: var(--muted); }
.version-badge { margin-left: auto; padding: 5px 9px; border-radius: 999px; background: var(--accent-soft); border: 1px solid var(--accent-line); font: var(--caps); letter-spacing: .1em; color: var(--accent); corner-shape: round; }
.download-panel .button { width: 100%; justify-content: space-between; }
.download-panel .button-secondary { margin-top: 10px; }
.download-panel > p { font-size: 13px; color: var(--muted); margin-top: 14px; line-height: 1.6; }
.release-links { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); margin-top: 20px; padding-top: 16px; font-size: 13px; font-weight: 600; color: var(--muted); }
.release-links a:hover { color: var(--accent); }

/* Questions */
.faq { padding-top: 0; display: grid; grid-template-columns: 1fr 1.25fr; gap: 80px; }
.faq h2 { font-size: clamp(30px, 3vw, 38px); }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 15px; font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary > span { display: flex; color: var(--muted); transition: transform .2s; }
.faq details[open] summary > span { transform: rotate(45deg); color: var(--accent); }
.faq details p { font-size: 14px; color: var(--muted); padding: 14px 30px 0 0; }
.faq details p a { color: var(--accent); font-weight: 600; display: inline-block; }

/* Pied de page */
.footer { border-top: 1px solid var(--line); padding-top: 34px; padding-bottom: 28px; }
.footer-top, .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.footer-top > .brand { font-size: 17px; }
.footer-top > .brand .mark { width: 26px; height: 26px; }
.footer-top > p { color: var(--muted); font-size: 13px; }
.footer-top > a:last-child, .footer-bottom { font-size: 12px; }
.footer-bottom { border-top: 1px solid color-mix(in srgb, var(--line) 60%, transparent); margin-top: 28px; padding-top: 20px; color: var(--muted); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 18px; }
.footer a:hover { color: var(--accent); }
.footer-note { margin-top: 18px; font-size: 12px; color: var(--muted); line-height: 1.6; }

@media (max-width: 1100px) {
  .nav-links a { padding: 7px 10px; }
  .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 48px); }
  .section { padding-block: 95px; }
  .section-heading, .pad-heading { column-gap: 45px; }
  .features, .colors, .download { gap: 45px; }
  .colors { grid-template-columns: 1fr; }
  .colors-copy > p:not(.kicker) { max-width: 600px; }
  .privacy-content { grid-template-columns: 50px 1fr 1fr; gap: 24px; }
  .privacy-mark { width: 44px; height: 44px; }
  .faq { gap: 40px; }
}
@media (max-width: 860px) {
  .menu-toggle { display: flex; align-items: center; gap: 10px; border: 0; background: transparent; margin-left: auto; padding: 10px; font-size: 13px; font-weight: 700; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 68px; border-radius: 0; border-width: 0 0 1px; background: var(--surface); padding: 16px 20px; }
  .nav-links.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-links a { padding: 10px 12px; }
  .nav { height: 68px; gap: 12px; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 32px); }
  .brand { font-size: 17px; }
  .brand .mark { width: 26px; height: 26px; }
  .nav-download { display: none; }
  .hero { padding-top: 46px; }
  .eyebrow { gap: 7px; letter-spacing: .06em; }
  .eyebrow-divider { margin-inline: 2px; }
  h1 { font-size: clamp(34px, 9.4vw, 52px); margin-top: 22px; }
  .hero-copy { font-size: 15px; }
  .hero-copy br { display: none; }
  .hero-actions { flex-direction: column; gap: 20px; margin-top: 26px; }
  .button { min-height: 48px; font-size: 14px; }
  .section { padding-block: 72px; }
  .section-heading, .pad-heading, .features, .download, .faq { grid-template-columns: 1fr; gap: 22px; }
  .section-heading .kicker, .pad-heading .kicker { margin-bottom: 0; }
  h2 { font-size: 33px; }
  .section-heading > p:last-child, .pad-heading > p:last-child { font-size: 14px; max-width: 100%; }
  .desk-section { padding-top: 72px; }
  .product-shot { padding: 5px; margin-top: 30px; }
  .shot-tabs { overflow-x: auto; scrollbar-width: none; padding-bottom: 8px; }
  .shot-tabs [role=tab] { white-space: nowrap; padding: 7px 11px; }
  .shot-tabs .win-dots { display: none; }
  .feature-intro { position: static; }
  .feature-list article { padding-block: 22px; }
  .pad-band { padding-block: 72px; }
  .pad-shots { grid-template-columns: 1fr; margin-top: 32px; gap: 14px; }
  .pad-shot-main { grid-row: auto; }
  .appearance { padding-inline: 16px; }
  .swatches { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 10px; }
  .fonds { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .choice-grid { grid-template-columns: 1fr; margin-top: 32px; }
  .privacy-content { padding-block: 40px; grid-template-columns: 40px 1fr; gap: 18px; }
  .privacy-content > p { grid-column: 1 / -1; }
  .privacy-mark { width: 36px; height: 36px; }
  .download-panel { padding: 22px; }
  .release-links { flex-direction: column; }
  .faq summary { font-size: 14px; line-height: 1.5; }
  .faq details p { padding-right: 0; }
  .footer-top, .footer-bottom { flex-wrap: wrap; gap: 14px; }
  .footer-top > p { order: 3; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  :root { transition: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Pastilles du panneau Apparence : valeurs du plugin (ACCENTS et FONDS de theme.ts). */
.swatch[data-accent=bleu] { --c: #5aa9ff; } .swatch[data-accent=cyan] { --c: #3fd0e0; }
.swatch[data-accent=vert] { --c: #4fd18b; } .swatch[data-accent=jaune] { --c: #f2c14e; }
.swatch[data-accent=orange] { --c: #ff8a3d; } .swatch[data-accent=rose] { --c: #ff7ab0; }
.swatch[data-accent=violet] { --c: #b48cff; } .swatch[data-accent=rouge] { --c: #ff6b6b; }
.fond[data-fond=nuit] { --c: #161d27; --l: #2a3544; } .fond[data-fond=graphite] { --c: #1a1b1d; --l: #303236; }
.fond[data-fond=aubergine] { --c: #1d1726; --l: #342a42; } .fond[data-fond=foret] { --c: #151e1a; --l: #29362f; }
.fond[data-fond=bordeaux] { --c: #231519; --l: #3d262d; } .fond[data-fond=moka] { --c: #1f1915; --l: #382d26; }

/* Page « Mentions légales et confidentialité ». */
.legal { max-width: 780px; padding-top: 72px; padding-bottom: 110px; }
.legal h1 { margin-top: 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.12; }
.legal .legal-updated { margin-top: 14px; font-size: 13px; color: var(--muted); }
.legal section { margin-top: 44px; }
.legal h2 { font-size: 21px; line-height: 1.3; }
.legal section p { margin-top: 12px; font-size: 15px; color: var(--muted); }
.legal a { color: var(--accent); }
.legal a:hover { text-decoration: underline; }
.nav-end { display: flex; align-items: center; gap: 22px; }
@media (max-width: 700px) { .legal { padding-top: 48px; padding-bottom: 72px; } .legal h2 { font-size: 19px; } .legal section p { font-size: 14px; } }
