/* COSMO — vitrine. Aucune requête externe : polices du système, images locales. */

:root {
  --night: #07080c;
  --deep: #0b0d13;
  --panel: #12141b;
  --line: rgba(255, 255, 255, 0.09);
  --text: #eef0f4;
  --soft: #b9bdc8;
  --muted: #8a8f9c;
  --accent: #5ac8fa;
  --blue: #8ab4f8;
  --pink: #f0a3cf;
  --warn: #f0b429;
  --thread: linear-gradient(90deg, var(--blue), var(--pink));
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", system-ui, "Helvetica Neue", sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --wrap: min(1180px, 100% - 48px);
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
em { font-style: normal; }
h1 em, h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; background: var(--thread); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.08em; }
p em, li em, figcaption em { font-style: italic; color: var(--text); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 16px; background: var(--accent); color: #06141c; border-radius: 8px; font-weight: 600; }
.skip:focus { left: 12px; }

/* ── En-tête ── */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px max(24px, calc((100% - 1180px) / 2));
  background: linear-gradient(180deg, rgba(7, 8, 12, 0.82), rgba(7, 8, 12, 0));
  transition: background 0.3s, backdrop-filter 0.3s;
}
.site-header.scrolled { background: rgba(9, 10, 15, 0.78); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: 0.06em; font-size: 15px; }
.brand em { font-weight: 400; letter-spacing: 0.01em; color: var(--soft); }
.site-header nav { display: flex; align-items: center; gap: 6px; }
.site-header nav a { padding: 8px 14px; border-radius: 999px; text-decoration: none; font-size: 14.5px; color: var(--soft); transition: color 0.2s, background 0.2s; }
.site-header nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.07); }
.site-header nav .nav-cta { margin-left: 8px; color: #06141c; background: var(--accent); font-weight: 600; }
.site-header nav .nav-cta:hover { color: #06141c; background: #8bdcff; }
.site-header nav .nav-support { display: inline-flex; align-items: center; gap: 6px; color: var(--pink); border: 1px solid rgba(240, 163, 207, 0.35); }
.site-header nav .nav-support:hover { color: var(--pink); background: rgba(240, 163, 207, 0.1); }
.site-header nav .nav-support[hidden] { display: none; }
.menu-toggle { display: none; padding: 9px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, 0.05); color: var(--text); cursor: pointer; }

/* ── Héros ── */
.hero { position: relative; min-height: min(100svh, 980px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 55% 40%; animation: drift 46s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.04); } to { transform: scale(1.16) translate(-1.5%, 1.5%); } }
.hero-veil { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(7, 8, 12, 0.88) 0%, rgba(7, 8, 12, 0.5) 38%, rgba(7, 8, 12, 0) 68%),
  linear-gradient(0deg, var(--night) 0%, rgba(7, 8, 12, 0.35) 30%, rgba(7, 8, 12, 0) 55%); }
.hero-content { width: var(--wrap); margin: 0 auto; padding: 160px 0 128px; }
.eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--soft); }
.eyebrow.blue { color: var(--blue); }
.eyebrow.pink { color: var(--pink); }
h1 { margin-top: 22px; font-size: clamp(44px, 7.4vw, 104px); line-height: 0.98; font-weight: 700; letter-spacing: -0.035em; text-wrap: balance; }
.hero-copy { max-width: 560px; margin-top: 28px; font-size: clamp(17px, 1.5vw, 20px); color: #d5d8e0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15.5px; transition: transform 0.2s, background 0.2s, border-color 0.2s; }
.button.primary { background: var(--accent); color: #06141c; }
.button.primary:hover { background: #8bdcff; transform: translateY(-1px); }
.button.ghost { border: 1px solid rgba(255, 255, 255, 0.28); background: rgba(10, 11, 16, 0.35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.button.ghost:hover { border-color: rgba(255, 255, 255, 0.6); transform: translateY(-1px); }
.button.disabled { background: rgba(255, 255, 255, 0.1); color: var(--soft); cursor: default; }
.hero-caption { position: absolute; right: max(24px, calc((100% - 1180px) / 2)); bottom: 40px; padding: 8px 14px; border-radius: 999px; background: rgba(10, 11, 16, 0.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 13px; color: var(--soft); }
.hero-caption strong { color: var(--text); }

/* ── En bref ── */
.facts { width: var(--wrap); margin: -28px auto 0; position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: rgba(18, 20, 27, 0.82); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.facts li { padding: 22px 24px; }
.facts li + li { border-left: 1px solid var(--line); }
.facts strong { display: block; font-size: 16px; }
.facts span { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); }

/* ── Sections ── */
.section { width: var(--wrap); margin: 0 auto; padding: clamp(88px, 11vw, 160px) 0 0; }
.section.tinted-blue, .section.tinted-pink { position: relative; }
.section.tinted-blue::before, .section.tinted-pink::before { content: ""; position: absolute; z-index: -1; top: -120px; left: 50%; width: 100vw; height: 1100px; transform: translateX(-50%); pointer-events: none; }
.section.tinted-blue::before { background: radial-gradient(48% 46% at 22% 46%, rgba(138, 180, 248, 0.13), transparent 100%); }
.section.tinted-pink::before { background: radial-gradient(48% 46% at 78% 46%, rgba(240, 163, 207, 0.12), transparent 100%); }
.heading { max-width: 860px; }
.heading h2 { margin-top: 16px; font-size: clamp(34px, 4.8vw, 64px); line-height: 1.04; font-weight: 700; letter-spacing: -0.03em; text-wrap: balance; }
.lead { max-width: 640px; margin-top: 22px; font-size: clamp(17px, 1.4vw, 19.5px); color: var(--soft); }
.heading.sub { margin-top: clamp(72px, 9vw, 120px); }
.heading.sub h3 { font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -0.02em; }

/* ── Fenêtre de l'application ── */
.window { margin-top: clamp(44px, 6vw, 76px); }
.window img { width: 100%; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(0, 0, 0, 0.6), 0 0 160px rgba(138, 180, 248, 0.09); }
.window.small { width: min(100%, 980px); margin-left: auto; margin-right: auto; }
figcaption { margin-top: 14px; font-size: 14px; color: var(--muted); }
.window figcaption { text-align: center; }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(44px, 6vw, 72px); }
.trio article { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--deep); }
.trio-mark { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); color: var(--accent); }
.trio-mark.thread { position: relative; }
.trio-mark.thread::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--thread); }
.trio h3 { margin-top: 18px; font-size: 20px; letter-spacing: -0.01em; }
.trio p { margin-top: 8px; font-size: 15.5px; color: var(--soft); }

/* ── Une fonction : texte + preuve ── */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; margin-top: clamp(64px, 9vw, 128px); }
.feature.reverse .feature-copy { order: 2; }
.pill { display: inline-block; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; color: var(--soft); }
.pill.blue { color: var(--blue); border-color: rgba(138, 180, 248, 0.4); }
.pill.pink { color: var(--pink); border-color: rgba(240, 163, 207, 0.4); }
.feature h3 { margin-top: 18px; font-size: clamp(26px, 3vw, 40px); line-height: 1.1; letter-spacing: -0.025em; text-wrap: balance; }
.feature-copy p { margin-top: 16px; color: var(--soft); }
.feature-copy .proof, .card .proof { padding-left: 16px; border-left: 2px solid; border-image: linear-gradient(180deg, var(--blue), var(--pink)) 1; color: var(--text); font-size: 15.5px; }
.ticks { margin-top: 14px; display: grid; gap: 8px; color: var(--soft); }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 0.62em; width: 10px; height: 2px; border-radius: 1px; background: var(--thread); }

/* ── Comparaison avant / après ── */
.compare { position: relative; width: 100%; max-width: 560px; margin: 0 auto; --pos: 50%; }
.compare.tall { max-width: 400px; }
.compare img { width: 100%; aspect-ratio: var(--ratio); object-fit: cover; border-radius: 14px; user-select: none; -webkit-user-drag: none; }
.compare .compare-top { position: absolute; inset: 0 auto auto 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare .handle { position: absolute; top: 0; left: var(--pos); width: 2px; aspect-ratio: auto; height: calc(100% - var(--cap, 0px)); background: #fff; transform: translateX(-1px); pointer-events: none; box-shadow: 0 0 12px rgba(0, 0, 0, 0.6); }
.compare .handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 38px; height: 38px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306141c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 7l-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") center / 20px no-repeat; transform: translate(-50%, -50%); box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5); }
.compare input { position: absolute; inset: 0 0 auto 0; width: 100%; height: calc(100% - var(--cap, 0px)); margin: 0; opacity: 0; cursor: ew-resize; }
.compare:has(input:focus-visible) .handle::after { outline: 3px solid var(--accent); outline-offset: 3px; }
.tag { position: absolute; top: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(7, 8, 12, 0.7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; pointer-events: none; }
.tag.left { left: 12px; }
.tag.right { right: 12px; }
.compare figcaption { text-align: center; }

.comet { display: grid; gap: 18px; }
.film video { width: 100%; max-width: 560px; aspect-ratio: 1; object-fit: cover; margin: 0 auto; border-radius: 14px; background: #000; }
.film figcaption { text-align: center; }

/* ── Chiffres ── */
.numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.numbers div { padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--deep); }
.numbers dt { font-size: clamp(34px, 4vw, 52px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; background: var(--thread); -webkit-background-clip: text; background-clip: text; color: transparent; }
.numbers dd { margin-top: 10px; font-size: 14.5px; color: var(--soft); }

/* ── Tous les outils ── */
.toolgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.toolcol { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--deep); }
.toolcol h4 { font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft); }
.toolcol h4.blue { color: var(--blue); }
.toolcol h4.pink { color: var(--pink); }
.toolcol ul + h4 { margin-top: 28px; }
.toolcol ul { margin-top: 14px; display: grid; gap: 11px; }
.toolcol li { font-size: 15px; line-height: 1.45; color: var(--muted); }
.toolcol li strong { display: block; color: var(--text); font-weight: 600; }

/* ── Mesure ── */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: clamp(44px, 6vw, 72px); }
.card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--deep); }
.card img { width: 100%; aspect-ratio: 16 / 11.2; object-fit: contain; background: #101013; border-bottom: 1px solid var(--line); }
.card figcaption { margin: 0; padding: 26px 28px 30px; font-size: 15.5px; color: var(--soft); }
.card h3 { font-size: 22px; color: var(--text); letter-spacing: -0.01em; }
.card p { margin-top: 10px; }

/* ── Galerie ── */
.gallery { display: grid; grid-template-columns: 0.82fr 1.18fr; grid-template-rows: 1fr 1fr; gap: 18px; margin-top: clamp(44px, 6vw, 72px); }
.shot { position: relative; overflow: hidden; padding: 0; border: 0; border-radius: var(--radius); background: #000; color: inherit; font: inherit; text-align: left; cursor: zoom-in; }
.shot.tall { grid-row: span 2; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1); }
.shot:hover img { transform: scale(1.045); }
.shot span { position: absolute; inset: auto 0 0 0; padding: 60px 24px 22px; background: linear-gradient(0deg, rgba(7, 8, 12, 0.85), transparent); }
.shot small { display: block; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--soft); }
.shot strong { display: block; margin-top: 2px; font-size: 24px; letter-spacing: -0.02em; }

/* ── Principes ── */
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.principles article { padding: 34px 40px 34px 0; border-bottom: 1px solid var(--line); }
.principles article:nth-child(even) { padding: 34px 0 34px 40px; border-left: 1px solid var(--line); }
.principles h3 { font-size: 21px; letter-spacing: -0.01em; }
.principles p { margin-top: 8px; color: var(--soft); font-size: 16px; }

/* ── Téléchargement ── */
.download-card { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px); border: 1px solid var(--line); border-radius: 28px; text-align: center; background:
  radial-gradient(70% 120% at 15% 0%, rgba(138, 180, 248, 0.16), transparent 60%),
  radial-gradient(70% 120% at 85% 100%, rgba(240, 163, 207, 0.14), transparent 60%), var(--deep); }
.download-card img { margin: 0 auto 18px; }
.download-card h2 { margin-top: 14px; font-size: clamp(34px, 4.8vw, 60px); line-height: 1.05; letter-spacing: -0.03em; }
.download-card .lead { margin-left: auto; margin-right: auto; }
.download-card .actions { justify-content: center; }
.fine { margin-top: 22px; font-size: 13.5px; color: var(--muted); }

/* ── Questions ── */
.faq-list { margin-top: 36px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; font-size: 18.5px; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--soft); border-bottom: 2px solid var(--soft); transform: rotate(45deg) translate(-3px, -3px); transition: transform 0.25s; }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq details p { max-width: 760px; padding: 0 0 24px; color: var(--soft); }

/* ── Pied de page ── */
.site-footer { width: var(--wrap); margin: clamp(88px, 11vw, 150px) auto 0; padding: 36px 0 48px; display: grid; grid-template-columns: auto 1fr auto; gap: 16px 40px; align-items: center; border-top: 1px solid var(--line); color: var(--muted); font-size: 14.5px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.site-footer nav a { text-decoration: none; color: var(--soft); }
.site-footer nav a:hover { color: var(--text); }
.site-footer small { grid-column: 1 / -1; font-size: 13px; }

/* ── Image agrandie ── */
dialog { width: min(1180px, 94vw); max-height: 94vh; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--deep); color: var(--text); overflow: auto; }
dialog::backdrop { background: rgba(3, 4, 7, 0.86); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
dialog img { width: 100%; max-height: 80vh; object-fit: contain; background: #000; }
dialog p { padding: 18px 64px 22px 24px; font-size: 15px; color: var(--soft); }
dialog .close { position: sticky; float: right; top: 12px; margin: 12px 12px -52px 0; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(7, 8, 12, 0.7); color: var(--text); cursor: pointer; }

/* ── Pages de texte (guide, confidentialité) ── */
.doc { width: min(760px, 100% - 48px); margin: 0 auto; padding: 150px 0 0; }
.doc h1 { font-size: clamp(38px, 6vw, 68px); }
.doc .lead { max-width: none; }
.doc h2 { margin-top: 56px; font-size: 26px; letter-spacing: -0.02em; display: flex; align-items: baseline; gap: 14px; }
.doc h2 span { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 22px; background: var(--thread); -webkit-background-clip: text; background-clip: text; color: transparent; }
.doc p, .doc ol { margin-top: 14px; color: var(--soft); }
.doc ol { padding-left: 22px; display: grid; gap: 8px; }
.doc strong { color: var(--text); }
.doc code { padding: 2px 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); font-size: 0.9em; }
.doc a:not(.button) { color: var(--accent); }
.doc .actions { margin-top: 48px; }
.doc figure { margin-top: 28px; }
.doc figure img { border-radius: 14px; border: 1px solid var(--line); }

/* ── Apparition au défilement (seulement si le script tourne) ── */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.seen { opacity: 1; transform: none; }

/* ── Écrans étroits ── */
@media (max-width: 980px) {
  .feature, .duo { grid-template-columns: 1fr; }
  .feature.reverse .feature-copy { order: 0; }
  .trio, .toolgrid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(3) { border-left: 0; }
  .facts li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .gallery { grid-template-columns: 1fr; grid-template-rows: none; }
  .shot.tall { grid-row: auto; aspect-ratio: 3 / 4; }
  .shot.wide { aspect-ratio: 16 / 10; }
}
@media (max-width: 760px) {
  :root { --wrap: calc(100% - 32px); }
  body { font-size: 16px; }
  .menu-toggle { display: inline-grid; }
  .site-header { padding: 12px 16px; }
  .site-header nav { position: absolute; top: calc(100% + 6px); left: 12px; right: 12px; display: none; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: rgba(12, 13, 19, 0.97); }
  .site-header nav.open { display: flex; }
  .site-header nav a { padding: 13px 14px; font-size: 16px; }
  .site-header nav .nav-cta { margin: 6px 0 0; text-align: center; }
  .site-header nav .nav-support { justify-content: center; margin-top: 6px; }
  .hero-content { padding: 130px 0 120px; }
  .hero-caption { left: 16px; right: 16px; bottom: 52px; text-align: center; border-radius: 14px; }
  .hero-veil { background: linear-gradient(0deg, var(--night) 0%, rgba(7, 8, 12, 0.72) 45%, rgba(7, 8, 12, 0.35) 100%); }
  .facts { grid-template-columns: 1fr; margin-top: -20px; }
  .facts li + li { border-left: 0; border-top: 1px solid var(--line); }
  .numbers { grid-template-columns: 1fr 1fr; }
  .principles { grid-template-columns: 1fr; }
  .principles article, .principles article:nth-child(even) { padding: 26px 0; border-left: 0; }
  .site-footer { grid-template-columns: 1fr; }
  .actions .button { flex: 1 1 100%; }
  dialog p { padding-right: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-image { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .shot img, .button { transition: none; }
}

/* ── Compléments : code en ligne, listes dans les cartes ── */
code { padding: 2px 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); font-size: 0.9em; }
.trio .ticks { font-size: 15px; }
.trio .pill + h3 { margin-top: 16px; }
.toolgrid { margin-top: clamp(44px, 6vw, 72px); }

/* ── Choix de la langue ── */
.site-header nav .lang { margin-left: 6px; padding: 7px 12px; border: 1px solid var(--line); font-size: 13.5px; }
@media (max-width: 760px) { .site-header nav .lang { margin: 6px 0 0; text-align: center; } }

/* ── Pages d'outils, autres exemples ── */
.examples { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 28px; margin-top: 36px; align-items: start; }
.examples .compare { max-width: none; }
.compare figcaption a, .toolcol li strong a, .card h3 a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.25); }
.compare figcaption a:hover, .toolcol li strong a:hover, .card h3 a:hover { border-color: var(--accent); color: var(--accent); }
.toolcol li strong a { display: inline; }
.doc .compare { margin: 24px 0 0; max-width: 100%; }
.doc .compare.tall { max-width: 470px; }
.doc .eyebrow.blue { color: var(--blue); }
.doc .eyebrow.pink { color: var(--pink); }
.tool-links { justify-content: space-between; }
@media (max-width: 760px) { .examples { grid-template-columns: 1fr; } }

/* ── Pages d'outils : se servir de l'outil ── */
.doc .film.use video { max-width: 100%; aspect-ratio: 16 / 10; object-fit: contain; border: 1px solid var(--line); }
.doc .film.use figcaption { text-align: left; }
.steps { counter-reset: step; padding: 0 !important; list-style: none; display: grid; gap: 12px; margin-top: 22px !important; }
.steps li { counter-increment: step; position: relative; padding-left: 46px; min-height: 30px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--text); }
.doc .proof { padding-left: 16px; border-left: 2px solid; border-image: linear-gradient(180deg, var(--blue), var(--pink)) 1; color: var(--text); font-size: 15.5px; margin-top: 20px; }
.settings { margin-top: 18px; border-top: 1px solid var(--line); }
.settings div { display: grid; grid-template-columns: 220px 1fr; gap: 6px 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.settings dt { font-weight: 600; color: var(--text); }
.settings dd { color: var(--soft); font-size: 15.5px; }
@media (max-width: 760px) { .settings div { grid-template-columns: 1fr; } }

/* ── Téléchargement ── */
.installers { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 720px; margin: 34px auto 0; }
.installer { display: grid; gap: 4px; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); text-decoration: none; text-align: left; transition: border-color 0.2s, transform 0.2s, background 0.2s; }
.installer:hover { border-color: var(--accent); background: rgba(90, 200, 250, 0.08); transform: translateY(-2px); }
.installer strong { font-size: 22px; letter-spacing: -0.02em; }
.installer span { font-size: 14px; color: var(--soft); }
.installer em { margin-top: 14px; display: inline-block; justify-self: start; padding: 9px 16px; border-radius: 999px; background: var(--accent); color: #06141c; font-style: normal; font-weight: 600; font-size: 14.5px; }
.first-launch { max-width: 720px; margin: 34px auto 0; text-align: left; border-top: 1px solid var(--line); }
.first-launch div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.first-launch dt { font-weight: 600; font-size: 15px; }
.first-launch dd { margin-top: 4px; font-size: 14.5px; color: var(--soft); }
.checksums { max-width: 720px; margin: 18px auto 0; text-align: left; font-size: 13.5px; color: var(--muted); }
.checksums summary { cursor: pointer; }
.checksums p { margin-top: 8px; overflow-wrap: anywhere; }
@media (max-width: 760px) { .installers { grid-template-columns: 1fr; } }

/* ── Licence ── */
.doc.licence h2 { font-size: 19px; margin-top: 36px; }
.doc.licence p { font-size: 15.5px; }
.fine a { color: var(--soft); }

/* Réseaux COSMO expérimentaux : pastille et encadré */
.pill.warn { color: var(--warn); border-color: rgba(240, 180, 41, 0.45); }
.exp { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; border: 1px solid rgba(240, 180, 41, 0.45); color: var(--warn); font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; vertical-align: 2px; }
.toolcol li strong .exp { display: inline-block; }
.callout { margin-top: 22px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); color: var(--soft); font-size: 15px; }
.callout.warn { border-color: rgba(240, 180, 41, 0.35); background: rgba(240, 180, 41, 0.06); }
.callout .pill { margin-right: 8px; padding: 2px 10px; font-size: 11.5px; }

/* Soutenir le projet */
.support-card { max-width: 720px; margin: 0 auto; padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); border-radius: 22px; text-align: center; background: rgba(255, 255, 255, 0.03); }
.support-card h2 { margin-top: 12px; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.1; letter-spacing: -0.02em; }
.support-card .lead { margin-left: auto; margin-right: auto; }
.support-card .actions { justify-content: center; }
