/* =========================================================
   Weightless AI — site vitrine
   Deux couleurs : le blanc et le rouge du logo (#E23C2E).
   Les nuances (texte, voiles) sont toutes des teintes de ce rouge.
   ========================================================= */
:root {
  --red: #E23C2E;
  --red-ink: #A3241A;      /* rouge foncé : texte rouge lisible sur blanc (contraste AA) */
  --ink: #2A0E0B;          /* « noir » teinté de rouge pour le texte courant */
  --ink-soft: #6E3A34;
  --veil: #FCEDEB;         /* voile rouge très pâle */
  --veil-2: #F7D9D5;
  --white: #FFFFFF;
  --radius: 22px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 17px/1.55 var(--font);
  overflow-x: hidden;
  overflow-x: clip;   /* rien ne déborde, même en arabe (aucun défilement horizontal possible) */
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-ink); text-underline-offset: 3px; }
a:hover { color: var(--red); }
kbd {
  font: 600 .85em var(--font);
  border: 1.5px solid currentColor; border-bottom-width: 3px;
  border-radius: 7px; padding: .05em .45em; white-space: nowrap;
}
em { font-style: normal; color: var(--red); }
h2 {
  font-size: clamp(2.2rem, 7vw, 5.4rem);
  line-height: .98; letter-spacing: -.035em; font-weight: 800;
  margin: 0 0 .5em;
}
.kicker { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; color: var(--red-ink); margin: 0 0 1.2em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--red); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }
section { padding: clamp(80px, 14vh, 160px) var(--gutter); position: relative; }

/* ---------- Barre flottante ---------- */
.nav {
  position: fixed; z-index: 50; top: 14px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 18px;
  padding: 8px 8px 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid var(--veil-2);
  box-shadow: 0 10px 30px -18px rgba(162,36,26,.45);
  width: max-content; max-width: calc(100vw - 24px);
  transition: transform .5s cubic-bezier(.2,.8,.2,1), opacity .4s;
}
.nav.hide { transform: translate(-50%, -120%); opacity: 0; }
.nav-brand { display: flex; align-items: center; gap: 8px; font-weight: 800; text-decoration: none; color: var(--ink); letter-spacing: -.02em; }
.nav-brand img { border-radius: 8px; }
.nav-links { display: flex; gap: 2px; }
.nav-links a { text-decoration: none; color: var(--ink); font-size: 14px; font-weight: 600; padding: 6px 10px; border-radius: 999px; }
.nav-links a:hover { background: var(--veil); color: var(--red-ink); }
.nav-cta { background: var(--red); color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 999px; }
.nav-cta:hover { color: #fff; background: var(--red-ink); }
@media (max-width: 600px) { .nav-links { display: none; } }

/* ---------- 1. Apesanteur ---------- */
.hero {
  min-height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; overflow: hidden;
  background:
    radial-gradient(60% 50% at 50% 40%, var(--veil) 0%, rgba(252,237,235,0) 70%),
    var(--white);
}
.float-word {
  position: relative; width: 100%; height: clamp(150px, 30vw, 360px);
  touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.float-word span {
  position: absolute; left: 0; top: 0;
  font-weight: 900; color: var(--red);
  font-size: calc(clamp(54px, 12.5vw, 200px) * var(--k, 1)); line-height: 1; letter-spacing: -.04em;
  will-change: transform;
  text-shadow: 0 18px 40px rgba(226,60,46,.18);
}
.hero-line { font-size: clamp(1.15rem, 2.6vw, 1.7rem); font-weight: 600; margin: 8px 0 6px; line-height: 1.3; }
.hero-hint { color: var(--ink-soft); font-size: 14px; margin: 0; transition: opacity .6s; }
.hero-hint.gone { opacity: 0; }
.scroll-cue { margin-top: clamp(28px, 6vh, 64px); width: 28px; height: 46px; border: 2px solid var(--red); border-radius: 999px; position: relative; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 9px; margin-left: -2px; border-radius: 4px; background: var(--red); animation: cue 1.8s infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- 4. Moteurs ---------- */
.engines { text-align: center; overflow: hidden; background: var(--red); color: #fff; }
.engines .kicker, .engines em { color: #fff; }
.engines em { opacity: .75; }
.engines a { color: #fff; }
.orbit { position: relative; width: min(560px, 92vw); aspect-ratio: 1; margin: 20px auto 30px; }
.orbit-core { position: absolute; inset: 0; display: grid; place-items: center; }
.orbit-core img { border-radius: 24px; box-shadow: 0 0 0 10px rgba(255,255,255,.15), 0 0 0 22px rgba(255,255,255,.07); animation: bob 6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px) rotate(-3deg); } }
.ring { position: absolute; border: 1.5px dashed rgba(255,255,255,.35); border-radius: 50%; animation: spin linear infinite; }
.r1 { inset: 28%; animation-duration: 38s; }
.r2 { inset: 13%; animation-duration: 60s; animation-direction: reverse; }
.r3 { inset: 0; animation-duration: 90s; }
.ring b {
  position: absolute; left: 50%; top: 50%; font-size: 14px; font-weight: 700; white-space: nowrap;
  background: #fff; color: var(--red-ink); padding: 6px 12px; border-radius: 999px;
  transform: rotate(var(--a)) translate(calc(var(--r) * 1px)) rotate(calc(-1 * var(--a))) translate(-50%, -50%);
  box-shadow: 0 8px 20px -8px rgba(42,14,11,.5);
}
.r1 b { --r: 125; } .r2 b { --r: 203; } .r3 b { --r: 280; }
@media (max-width: 600px) { .r1 b { --r: 92; } .r2 b { --r: 150; } .r3 b { --r: 205; } .ring b { font-size: 12px; padding: 4px 9px; } }
@keyframes spin { to { transform: rotate(360deg); } }
.ring b { animation: counter linear infinite; animation-duration: inherit; animation-direction: inherit; }
@keyframes counter { from { rotate: 0deg; } to { rotate: -360deg; } }
.engine-list { list-style: none; padding: 0; margin: 0 auto; max-width: 980px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; text-align: left; }
.engine-list li { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius); padding: 18px 20px; font-size: 15px; }
.engine-list b { display: block; font-size: 17px; margin-bottom: 4px; }

/* ---------- 5. Langues ---------- */
.langs { text-align: center; }
.lang-field { position: relative; height: clamp(260px, 42vw, 380px); max-width: 1100px; margin: 0 auto; touch-action: pan-y; }
.lang-field button {
  position: absolute; left: 0; top: 0; will-change: transform;
  font: 800 clamp(1.1rem, 3.2vw, 2.2rem) var(--font); letter-spacing: -.02em;
  color: var(--red); background: #fff; border: 2px solid var(--veil-2); border-radius: 999px;
  padding: .25em .7em; cursor: grab; box-shadow: 0 14px 30px -18px rgba(162,36,26,.6);
}
.lang-field button.active { background: var(--red); color: #fff; border-color: var(--red); }
.lang-say { font-size: clamp(1.2rem, 3vw, 2rem); font-weight: 700; min-height: 2.6em; margin: 10px auto 0; max-width: 820px; }

/* ---------- 6. Écrans ---------- */
.screens { background: var(--veil); text-align: center; overflow: hidden; }
.shots { display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: clamp(14px, 3vw, 36px); align-items: center; max-width: 1240px; margin: 30px auto 0; }
.shot { margin: 0; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.shot img { border-radius: 18px; background: #fff; box-shadow: 0 40px 80px -40px rgba(162,36,26,.55), 0 0 0 1px var(--veil-2); width: 100%; }
.shot figcaption { font-size: 14px; color: var(--ink-soft); margin-top: 12px; font-weight: 600; }
.tilt-l { transform: rotate(-4deg) translateY(20px); }
.tilt-r { transform: rotate(4deg) translateY(20px); }
.shot:hover { transform: rotate(0) translateY(-6px); }
@media (max-width: 860px) {
  .shots { grid-template-columns: 1fr; max-width: 460px; }
  .tilt-l, .tilt-r { transform: none; }
}

/* ---------- 7. Avis ---------- */
.voices { max-width: 1100px; margin: 0 auto; }
.voice-wall { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.voice { margin: 0; padding: 26px; border-radius: var(--radius); background: #fff; border: 1.5px solid var(--veil-2); }
.voice blockquote { margin: 0 0 16px; font-size: 1.15rem; font-weight: 600; line-height: 1.45; }
.voice figcaption { font-size: 14px; color: var(--red-ink); font-weight: 700; }
.voice.empty { border-style: dashed; border-color: var(--red); background: transparent; animation: drift 7s ease-in-out infinite; }
.voice.empty:nth-child(2) { animation-delay: -2.3s; }
.voice.empty:nth-child(3) { animation-delay: -4.6s; }
.voice.empty blockquote { color: var(--ink-soft); font-style: italic; font-weight: 500; }
@keyframes drift { 50% { transform: translateY(-10px) rotate(.6deg); } }
.voices-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; font-weight: 700; }
.voices-cta span { color: var(--ink-soft); font-weight: 400; }

/* ---------- 8. Questions ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq h2 { font-size: clamp(2rem, 5vw, 3.4rem); }
.faq details { border-top: 1.5px solid var(--veil-2); padding: 18px 0; }
.faq details:last-of-type { border-bottom: 1.5px solid var(--veil-2); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.15rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-size: 1.6rem; line-height: 1; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; color: var(--ink-soft); }

/* ---------- 9. Retour sur terre ---------- */
.land { background: var(--red); color: #fff; text-align: center; padding: 70px var(--gutter) 40px; overflow: hidden; }
.fall-word { position: relative; height: clamp(150px, 26vw, 300px); max-width: 1100px; margin: 0 auto; }
.fall-word span { position: absolute; left: 0; top: 0; font-weight: 900; font-size: clamp(60px, 15vw, 210px); line-height: 1; letter-spacing: -.04em; color: #fff; will-change: transform; }
.land-line { font-size: clamp(1.1rem, 2.5vw, 1.5rem); font-weight: 600; margin: 18px 0 22px; }
.land kbd { border-color: #fff; }
.land-cta { display: inline-block; background: #fff; color: var(--red-ink); font-weight: 800; text-decoration: none; padding: 14px 26px; border-radius: 999px; font-size: 1.05rem; transition: transform .2s; }
.land-cta:hover { transform: translateY(-3px); color: var(--red); }
.land-links { list-style: none; padding: 0; margin: 40px 0 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.land-links a { color: #fff; font-weight: 600; font-size: 15px; }
.land-credit { font-size: 13px; opacity: .8; margin: 0; }

/* ---------- Apparition au défilement ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s, transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Moins de mouvement ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Avis réel */
.voice.real { background: var(--red); border-color: var(--red); color: #fff; transform: rotate(-1.2deg); box-shadow: 0 30px 60px -30px rgba(162,36,26,.7); }
.voice.real blockquote { font-size: 1.25rem; }
.voice.real figcaption { color: #fff; }
.voice.real figcaption span { font-weight: 500; opacity: .85; }
.stars { letter-spacing: 3px; font-size: 18px; margin-bottom: 10px; }

/* ---------- À vous : simulateur ---------- */
.play { max-width: 1180px; margin: 0 auto; }
.play-help { color: var(--ink-soft); max-width: 680px; margin: -6px 0 26px; }
.play-note { color: var(--ink-soft); font-size: 14px; margin-top: 16px; }
.browser {
  border-radius: var(--radius); background: #fff; border: 1px solid var(--veil-2); overflow: hidden;
  box-shadow: 0 50px 100px -50px rgba(162,36,26,.55);
}
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: var(--veil); border-bottom: 1px solid var(--veil-2); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--veil-2); flex: none; }
.browser-url { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; background: #fff; border-radius: 999px; padding: 5px 12px; font-size: 13px; color: var(--ink-soft); }
.bb-btn { font: 700 13px var(--font); border: 1.5px solid var(--red); color: var(--red-ink); background: #fff; border-radius: 999px; padding: 5px 11px; cursor: pointer; white-space: nowrap; }
.bb-btn.bb-red { background: var(--red); color: #fff; }
.bb-btn:hover { filter: brightness(.95); }
.browser-page { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 26px; padding: 26px; min-height: 470px; }
.page-article h3 { margin: 0 0 10px; font-size: 1.25rem; letter-spacing: -.01em; }
.page-article p { margin: 0 0 10px; font-size: 15px; color: var(--ink-soft); }
.compose { position: relative; }
.compose-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; font-weight: 700; flex-wrap: wrap; }
.samples { display: flex; gap: 6px; }
.samples button { font: 600 12px var(--font); border: 1.5px solid var(--veil-2); background: #fff; color: var(--ink-soft); border-radius: 999px; padding: 4px 10px; cursor: pointer; }
.samples button[aria-pressed="true"] { border-color: var(--red); color: var(--red-ink); background: var(--veil); }
.field {
  min-height: 210px; border: 1.5px solid var(--veil-2); border-radius: 14px; padding: 14px 16px;
  font-size: 16px; line-height: 1.6; outline: none; white-space: pre-wrap; transition: border-color .2s, box-shadow .2s;
}
.field:focus { border-color: var(--red); box-shadow: 0 0 0 4px var(--veil); }
.field.working { background: linear-gradient(90deg, #fff 0%, var(--veil) 50%, #fff 100%); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.field .new { background: var(--veil); color: var(--red-ink); border-radius: 3px; }
.busy { position: absolute; right: 10px; bottom: -14px; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; display: flex; align-items: center; gap: 6px; opacity: 0; transform: translateY(6px); transition: .25s; }
.busy img { border-radius: 4px; background: #fff; }
.busy.show { opacity: 1; transform: none; }

/* Base du menu clic droit et de la notification du simulateur
   (retablie : elle vivait dans l'ancienne scene, supprimee) */
.ctx {
  position: absolute; z-index: 6;
  background: #fff; border-radius: 10px; padding: 6px 0; min-width: 210px; font-size: 13px;
  box-shadow: 0 18px 40px -12px rgba(42,14,11,.35); border: 1px solid var(--veil-2);
  opacity: 0; visibility: hidden; transform: scale(.94) translateY(6px); transform-origin: top left;
  transition: opacity .25s, transform .25s, visibility .25s; pointer-events: none;
}
.ctx.show { opacity: 1; visibility: visible; transform: none; }
.ctx-item { padding: 6px 14px; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.ctx-sub { position: relative; font-weight: 700; color: var(--red-ink); background: var(--veil); }
.toast {
  position: absolute; left: 18px; right: 18px; bottom: 16px; padding: 10px 14px; border-radius: 12px;
  background: var(--red); color: #fff; font-weight: 600; font-size: 14px;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .35s, transform .35s, visibility .35s;
}
.toast.show { opacity: 1; visibility: visible; transform: none; }

.play-ctx { position: absolute; left: 0; top: 0; min-width: 230px; z-index: 6; }
.play-ctx button.ctx-item { width: 100%; text-align: left; border: 0; background: none; font: inherit; color: var(--ink); cursor: pointer; padding: 7px 14px 7px 36px; }
.play-ctx button.ctx-item:hover, .play-ctx button.ctx-item:focus-visible { background: var(--red); color: #fff; outline: none; }
.ctx-item.muted { color: #b9a19e; }
.play-ctx .ctx-sub { border-top: 1px solid var(--veil-2); margin-top: 4px; }

.wa {
  position: absolute; right: 18px; top: 18px; bottom: 18px; width: min(360px, calc(100% - 36px)); z-index: 5;
  display: flex; flex-direction: column; background: #fff; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--veil-2); box-shadow: 0 40px 80px -30px rgba(42,14,11,.45);
  animation: waIn .35s cubic-bezier(.2,.8,.2,1);
}
.wa[hidden] { display: none; }
@keyframes waIn { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.wa-head { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--veil); }
.wa-head img { border-radius: 5px; }
.wa-pill { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--red-ink); background: var(--veil); border-radius: 999px; padding: 3px 9px; }
.wa-close { border: 0; background: none; font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink-soft); padding: 0 4px; }
.wa-log { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.msg { max-width: 92%; padding: 9px 12px; border-radius: 14px; line-height: 1.5; white-space: pre-wrap; }
.msg.me { align-self: flex-end; background: var(--red); color: #fff; border-bottom-right-radius: 4px; }
.msg.ai { align-self: flex-start; background: var(--veil); border-bottom-left-radius: 4px; }
.msg .ins { display: inline-block; margin-top: 8px; font: 700 12px var(--font); border: 1.5px solid var(--red); color: var(--red-ink); background: #fff; border-radius: 999px; padding: 3px 10px; cursor: pointer; }
.msg .ins:hover { background: var(--red); color: #fff; }
.msg .cur { display: inline-block; width: 7px; height: 1em; background: var(--red); vertical-align: -.12em; animation: blink 1s steps(1) infinite; }
.wa-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px 8px; }
.wa-quick button { font: 600 12px var(--font); border: 1.5px solid var(--veil-2); color: var(--red-ink); background: #fff; border-radius: 999px; padding: 4px 9px; cursor: pointer; }
.wa-quick button:hover { border-color: var(--red); }
.wa-slash { margin: 0 12px 6px; border: 1px solid var(--veil-2); border-radius: 12px; overflow: hidden; }
.wa-slash[hidden] { display: none; }
.wa-slash button { display: block; width: 100%; text-align: left; border: 0; background: #fff; font: 14px var(--font); padding: 7px 12px; cursor: pointer; color: var(--ink); }
.wa-slash button b { color: var(--red); margin-right: 6px; }
.wa-slash button:hover, .wa-slash button:focus-visible { background: var(--veil); outline: none; }
.wa-input { display: flex; gap: 6px; padding: 10px 12px; border-top: 1px solid var(--veil); }
.wa-input input { flex: 1; min-width: 0; font: 15px var(--font); border: 1.5px solid var(--veil-2); border-radius: 999px; padding: 8px 14px; outline: none; color: var(--ink); }
.wa-input input:focus { border-color: var(--red); }
.wa-input button { border: 0; background: var(--red); color: #fff; width: 38px; border-radius: 50%; cursor: pointer; font-size: 15px; }
.play-toast { left: auto; right: 18px; bottom: 18px; width: max-content; max-width: calc(100% - 36px); z-index: 7; }
.play-toast button { margin-left: 8px; font: 700 13px var(--font); background: #fff; color: var(--red-ink); border: 0; border-radius: 999px; padding: 3px 10px; cursor: pointer; }

@media (max-width: 860px) {
  .browser-page { grid-template-columns: 1fr; padding: 16px; gap: 18px; min-height: 0; }
  .page-article p:nth-of-type(n+2) { display: none; }
  .wa { position: fixed; left: 10px; right: 10px; top: auto; bottom: 10px; width: auto; height: min(72svh, 560px); z-index: 60; }
  .play-toast { position: fixed; left: 12px; right: 12px; bottom: 12px; width: auto; max-width: none; z-index: 70; }
  .bb-btn { padding: 5px 9px; font-size: 12px; }
  .browser-url { display: none; }
}

.field.flash { box-shadow: 0 0 0 4px var(--red); transition: box-shadow .2s; }
.play-ctx.show { pointer-events: auto; }

.lang-field button:hover { border-color: var(--red); }
.lang-field button:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.lang-field button { cursor: pointer; }


/* =========================================================
   Films : deux fenêtres sur une bande qui glisse latéralement
   ========================================================= */
.film-sec { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 80px); align-items: center; max-width: 1240px; margin: 0 auto; }
.film-sec.rev { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.film-sec.rev .film-text { order: 2; }
.film-lead { color: var(--ink-soft); font-size: 1.05rem; margin: -6px 0 22px; max-width: 520px; }
.film-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.film-steps button {
  display: flex; gap: 12px; align-items: baseline; width: 100%; text-align: left; cursor: pointer;
  font: 500 15px/1.4 var(--font); color: var(--ink-soft); background: none; border: 0; border-radius: 12px; padding: 8px 10px;
  opacity: .6; transition: opacity .3s, background .3s, color .3s;
}
.film-steps button > span:first-child { font-weight: 800; color: var(--red); font-size: 12px; min-width: 18px; flex: none; }
.film-steps button:hover { opacity: 1; background: var(--veil); }
.film-steps button.on { opacity: 1; color: var(--ink); background: var(--veil); font-weight: 600; }
.film-steps kbd { font-size: .8em; }
.read .count, .film-text .count { font-variant-numeric: tabular-nums; }

.film { margin: 0; }
.film-stage {
  position: relative; aspect-ratio: 16 / 11; overflow: hidden; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--veil) 0%, #fff 70%); border: 1px solid var(--veil-2);
  box-shadow: 0 50px 100px -60px rgba(162,36,26,.6);
  font-size: 13px; line-height: 1.5; touch-action: pan-y;
}
.f-track { position: absolute; top: 6%; bottom: 6%; left: 5%; display: flex; gap: 4%; width: 156%; transition: transform .9s cubic-bezier(.7,0,.2,1); }
.f-track.vers-panel { transform: translateX(-42%); }
.f-win { position: relative; flex: 0 0 auto; background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid var(--veil-2);
  box-shadow: 0 30px 60px -36px rgba(42,14,11,.5); transition: opacity .6s, filter .6s, transform .6s; display: flex; flex-direction: column; }
.f-page { width: 52%; overflow: visible; }
.f-page .f-bar { border-radius: 14px 14px 0 0; }
.f-panel { width: 40%; }
.film-stage[data-vue="panel"] .f-page, .film-stage[data-vue="page"] .f-panel { opacity: .45; filter: saturate(.4); transform: scale(.95); }
.f-bar { display: flex; align-items: center; gap: 6px; padding: 8px 10px; background: var(--red); color: #fff; font-weight: 700; font-size: 12px; white-space: nowrap; overflow: hidden; }
.f-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.55); flex: none; }
.f-bar span { margin-left: 6px; overflow: hidden; text-overflow: ellipsis; }
.f-bar-wa { background: var(--veil); color: var(--ink); }
.f-bar-wa img { border-radius: 3px; }
.f-bar-wa span { margin-left: auto; font-size: 10px; color: var(--red-ink); background: #fff; border-radius: 999px; padding: 1px 7px; }
.f-body { padding: 10px 14px; flex: 1; overflow: hidden; position: relative; }
.f-body h4 { margin: 2px 0 6px; font-size: 14px; }
.f-body p { margin: 0 0 6px; color: var(--ink-soft); font-size: 12px; }
.f-body mark { background: rgba(226,60,46,.2); color: var(--ink); border-radius: 2px; }
.pg-row { display: flex; gap: 10px; padding: 4px 0; border-bottom: 1px solid var(--veil); font-size: 12px; }
.pg-row span { color: var(--ink-soft); width: 40px; }
.pg-field { margin-top: 10px; min-height: 64px; border-radius: 8px; padding: 8px 10px; transition: background .4s, box-shadow .4s; }
.pg-field.actif { box-shadow: 0 0 0 2px var(--red); }
.pg-field.neuf { background: var(--veil); box-shadow: 0 0 0 2px var(--red); color: var(--red-ink); }
.pg-msg { background: var(--veil); border-radius: 10px; padding: 8px 10px; font-size: 12px; }
.pg-msg b { display: block; color: var(--red-ink); }
.pg-label { margin-top: 10px; font-weight: 700; font-size: 12px; }
.caret { display: inline-block; width: 2px; height: 1em; background: var(--red); vertical-align: -.15em; margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.f-menu { position: absolute; z-index: 4; display: flex; align-items: flex-start; opacity: 0; transform: scale(.95); transform-origin: top left; transition: opacity .25s, transform .25s; pointer-events: none; font-size: 11.5px; }
.f-menu.on { opacity: 1; transform: none; }
.f-m1, .f-m2 { background: #fff; border-radius: 8px; padding: 4px 0; min-width: 150px; box-shadow: 0 14px 30px -10px rgba(42,14,11,.4); border: 1px solid var(--veil-2); }
.f-m1 div, .f-m2 div { padding: 3px 12px; white-space: nowrap; }
.f-m1 hr { border: 0; border-top: 1px solid var(--veil-2); margin: 3px 0; }
.f-sub { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--red-ink); }
.f-sub span { margin-left: auto; }
.f-sub.on { background: var(--veil); }
.f-m1 { position: relative; }
.f-m2 { position: absolute; left: calc(100% - 6px); top: 0; }
.f-m2 .pick { background: var(--red); color: #fff; }

.f-cur { position: absolute; z-index: 5; width: 20px; height: 20px; opacity: 0; transition: left .8s cubic-bezier(.5,0,.2,1), top .8s cubic-bezier(.5,0,.2,1), opacity .3s; pointer-events: none; }
.f-cur.on { opacity: 1; }
.f-log { flex: 1; overflow: hidden; padding: 10px; display: flex; flex-direction: column; gap: 7px; }
.f-msg { max-width: 94%; padding: 7px 10px; border-radius: 12px; font-size: 12px; }
.f-msg.me { align-self: flex-end; background: var(--red); color: #fff; border-bottom-right-radius: 3px; }
.f-msg.ai { align-self: flex-start; background: var(--veil); border-bottom-left-radius: 3px; }
.f-ins { display: inline-block; margin-top: 6px; font-weight: 700; font-size: 11px; border: 1.5px solid var(--red); color: var(--red-ink); background: #fff; border-radius: 999px; padding: 1px 8px; }
.f-puces { display: flex; flex-wrap: wrap; gap: 5px; }
.f-puces span { font-size: 10.5px; font-weight: 700; color: var(--red-ink); background: #fff; border: 1.5px solid var(--veil-2); border-radius: 999px; padding: 2px 8px; animation: wIn .5s backwards; }
.f-puces span:nth-child(2) { animation-delay: .1s; } .f-puces span:nth-child(3) { animation-delay: .2s; } .f-puces span:nth-child(4) { animation-delay: .3s; } .f-puces span:nth-child(5) { animation-delay: .4s; }
@keyframes wIn { from { opacity: 0; transform: translateY(6px); } }
.f-toast { margin: 0 10px 10px; padding: 7px 10px; border-radius: 10px; background: var(--red); color: #fff; font-weight: 700; font-size: 11.5px; opacity: 0; transform: translateY(8px); transition: .4s; }
.f-toast.on { opacity: 1; transform: none; }
.f-keys { position: absolute; left: 50%; top: 50%; z-index: 6; display: flex; gap: 8px; align-items: center; transform: translate(-50%, -50%) scale(.8); opacity: 0; transition: .35s; pointer-events: none; }
.f-keys.on { opacity: 1; transform: translate(-50%, -50%) scale(1); animation: keysOut 2s .9s forwards; }
.f-keys kbd { font-size: 30px; background: #fff; color: var(--red-ink); border-color: var(--red); padding: .1em .45em; box-shadow: 0 10px 30px -10px rgba(42,14,11,.5); }
.f-keys span { font-size: 26px; font-weight: 800; color: var(--red); }
@keyframes keysOut { to { opacity: 0; transform: translate(-50%, -60%) scale(.9); } }

.film-ctrl { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.film-play { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--red); color: #fff; font-size: 14px; cursor: pointer; }
.film-play:hover { background: var(--red-ink); }
.film-progress { flex: 0 0 90px; height: 4px; border-radius: 4px; background: var(--veil-2); overflow: hidden; }
.film-progress i { display: block; height: 100%; width: 0; background: var(--red); }
.film-cap { font-size: 14px; font-weight: 600; color: var(--ink-soft); display: none; }

@media (max-width: 860px) {
  .film-sec, .film-sec.rev { grid-template-columns: 1fr; }
  .film-sec.rev .film-text { order: 0; }
  .film-steps { display: none; }
  .film-cap { display: block; }
}
/* Téléphones seulement : film vertical, une fenêtre à la fois (sur tablette en portrait, il prendrait presque tout l'écran) */
@media (max-width: 599px) {
  .film-stage { aspect-ratio: 4 / 5; font-size: 12px; }
  /* une fenetre a la fois, balayage lateral */
  .f-track { left: 6%; width: 182%; gap: 6%; }
  .f-page, .f-panel { width: 47%; }
  .f-track.vers-panel { transform: translateX(-52.5%); }
  .film-stage[data-vue="panel"] .f-page, .film-stage[data-vue="page"] .f-panel { opacity: .35; }
}
@media (prefers-reduced-motion: reduce) { .f-keys.on { animation: none; } }
.f-page { z-index: 2; } .f-panel { z-index: 1; }

/* Films : confirmation dans la fenêtre de la page, sous-menu en cascade sur petit écran */
.f-toast-page { position: absolute; left: 12px; right: 12px; bottom: 12px; margin: 0; z-index: 3; }
.f-m2.cascade { left: 26%; box-shadow: 0 18px 34px -10px rgba(42,14,11,.45); }

/* ---------- Logo qui accompagne la descente ---------- */
.logo-flottant {
  position: fixed; z-index: 30; right: max(16px, calc((100vw - 1240px) / 2 - 112px)); top: 0;
  width: 88px; height: 88px; pointer-events: none; opacity: 0; transition: opacity .25s;
  will-change: transform;
}
.logo-flottant img { width: 100%; height: 100%; border-radius: 22px; box-shadow: 0 24px 40px -18px rgba(162,36,26,.55), 0 0 0 6px rgba(255,255,255,.7); }
.logo-flottant.on { opacity: 1; pointer-events: auto; }
/* écrans où la marge est trop étroite : petit logo, en bas à gauche */
@media (max-width: 1459px) {
  .logo-flottant { width: 52px; height: 52px; right: auto; left: 14px; }
  .logo-flottant img { border-radius: 13px; box-shadow: 0 14px 26px -12px rgba(162,36,26,.55), 0 0 0 4px rgba(255,255,255,.8); }
}

/* ---------- Retour en haut ---------- */
.haut {
  position: fixed; z-index: 40; right: 18px; bottom: 18px; width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center; background: var(--red); color: #fff;
  box-shadow: 0 14px 30px -12px rgba(162,36,26,.7);
  opacity: 0; transform: translateY(14px) scale(.9); pointer-events: none; transition: opacity .35s, transform .35s, background .2s;
}
.haut.on { opacity: 1; transform: none; pointer-events: auto; }
.haut:hover { background: var(--red-ink); color: #fff; }
@media (max-width: 700px) { .logo-flottant { width: 44px; height: 44px; left: 12px; } .haut { width: 44px; height: 44px; right: 12px; bottom: 14px; } }
/* smartphone : le logo se range au-dessus de la flèche, à droite (loin des commandes des films) */
@media (max-width: 700px) { .logo-flottant { left: auto; right: 12px; } }
@media (max-width: 700px) { .film-ctrl { padding-right: 58px; } .play-note { padding-right: 56px; } }

/* ---------- Menu : hamburger sur smartphone ---------- */
.nav-burger { display: none; width: 40px; height: 36px; border: 0; background: none; cursor: pointer; padding: 8px; border-radius: 10px; }
.nav-burger span { display: block; height: 2.5px; border-radius: 2px; background: var(--ink); transition: transform .3s, opacity .3s; }
.nav-burger span + span { margin-top: 5px; }
.nav-burger:hover { background: var(--veil); }
.nav-burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.nav-mobile {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  display: grid; gap: 2px; padding: 8px; border-radius: 22px;
  background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--veil-2); box-shadow: 0 24px 50px -24px rgba(162,36,26,.5);
  animation: navIn .25s ease-out;
}
.nav-mobile[hidden] { display: none; }
.nav-mobile a { text-decoration: none; color: var(--ink); font-weight: 700; font-size: 17px; padding: 11px 14px; border-radius: 14px; }
.nav-mobile a:hover, .nav-mobile a:focus-visible { background: var(--veil); color: var(--red-ink); }
@keyframes navIn { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 600px) {
  .nav-burger { display: block; }
  .nav { width: calc(100vw - 24px); justify-content: space-between; gap: 8px; }
  .nav-cta { order: 3; }
}

/* ---------- Logo flottant : à gauche ---------- */
.logo-flottant { right: auto; left: max(16px, calc((100vw - 1240px) / 2 - 112px)); }
@media (max-width: 1459px) { .logo-flottant { left: 14px; right: auto; } }
@media (max-width: 700px) { .logo-flottant { left: auto; right: 12px; } }

/* La barre de menu reste visible : les ancres s arretent sous elle */
section[id], footer[id] { scroll-margin-top: 84px; }

/* Smartphone : logo en bas a gauche (miroir de la fleche) ; les commandes des films se decalent pour rester degagees */
@media (max-width: 700px) {
  .logo-flottant { left: 12px; right: auto; }
  .film-ctrl { padding-right: 0; padding-left: 56px; }
  .play-note { padding-right: 0; padding-left: 56px; }
}

/* Héros : lettres en trop effacées, phrase qui change avec chaque mot */
.float-word span { transition: opacity .45s; }
.float-word span.off { opacity: 0; }
.hero-line { transition: opacity .35s, transform .35s; min-height: 2.6em; }
.hero-line.change { opacity: 0; transform: translateY(6px); }

/* ---------- 06 — Et aussi (cartes) ---------- */
.extras { max-width: 1180px; margin: 0 auto; }
.extras-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 10px; }
.extra { position: relative; border-radius: var(--radius); padding: 24px 24px 22px; background: #fff; border: 1.5px solid var(--veil-2);
  transition: transform .3s, box-shadow .3s, border-color .3s; overflow: hidden; }
.extra:hover { transform: translateY(-4px); border-color: var(--red); box-shadow: 0 30px 60px -36px rgba(162,36,26,.6); }
.extra h3 { margin: 10px 0 6px; font-size: 1.25rem; letter-spacing: -.02em; }
.extra p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.extra .ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--veil); color: var(--red); font-size: 22px; }
.extra .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.extra .chips span { font-size: 12px; font-weight: 700; color: var(--red-ink); background: var(--veil); border-radius: 999px; padding: 3px 9px; }
.extra .dots { display: flex; gap: 6px; margin-top: 12px; }
.extra .dots i { width: 18px; height: 18px; border-radius: 50%; box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--veil-2); }
.extra.secu { grid-column: span 3; background: var(--red); color: #fff; border-color: var(--red); }
.extra.secu .ico { background: rgba(255,255,255,.18); color: #fff; }
.extra.secu p { color: rgba(255,255,255,.9); }
.extra.secu ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 22px; }
.extra.secu li { font-size: 14px; padding-left: 22px; position: relative; color: #fff; }
.extra.secu li::before { content: "✓"; position: absolute; left: 0; font-weight: 800; }
.extra.secu a { color: #fff; font-weight: 700; }
@media (max-width: 900px) { .extras-grid { grid-template-columns: 1fr 1fr; } .extra.secu { grid-column: span 2; } .extra.secu ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .extras-grid { grid-template-columns: 1fr; } .extra.secu { grid-column: auto; } .extra.secu ul { grid-template-columns: 1fr; } }

/* ---------- Liste complète des fonctions ---------- */
.all-title { font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -.02em; margin: 56px 0 18px; }
.all { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 28px; }
.all-col h4 { margin: 0 0 8px; font-size: 1.05rem; color: var(--red-ink); }
.all-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.all-col li { position: relative; padding-left: 20px; font-size: 14.5px; line-height: 1.5; color: var(--ink-soft); }
.all-col li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.all-col li b { color: var(--ink); }
.all-col kbd { font-size: .8em; }
@media (max-width: 900px) { .all { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .all { grid-template-columns: 1fr; } }

@media (max-width: 700px) { .logo-flottant { left: 14px; } }

/* Smartphone : le logo glisse le long du bord, a moitie hors ecran, pour ne pas couvrir le texte */
@media (max-width: 700px) { .logo-flottant { left: -20px; } .logo-flottant img { box-shadow: 0 10px 22px -10px rgba(162,36,26,.6), 0 0 0 3px rgba(255,255,255,.9); } }

/* Smartphone : logo entier, petit, qui descend ; translucide sur le texte */
@media (max-width: 700px) {
  .logo-flottant { left: 6px; width: 36px; height: 36px; }
  .logo-flottant img { border-radius: 10px; box-shadow: 0 8px 18px -8px rgba(162,36,26,.6), 0 0 0 3px rgba(255,255,255,.9); }
  .logo-flottant.on.sur-texte { opacity: .4; }
}

/* =========================================================
   06 — Fonctions : section mise en valeur
   ========================================================= */
.extras-band {
  background:
    radial-gradient(60% 40% at 85% 0%, rgba(226,60,46,.16), transparent 70%),
    radial-gradient(50% 40% at 0% 100%, rgba(226,60,46,.12), transparent 70%),
    var(--veil);
  border-top: 1px solid var(--veil-2); border-bottom: 1px solid var(--veil-2);
}
.extras-band .extras { padding: 0; }
.extras-band h2 em { display: inline-block; }

/* Chiffres */
.stats { list-style: none; margin: 8px 0 38px; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.stats li { background: #fff; border-radius: 18px; padding: 16px 14px; border: 1.5px solid var(--veil-2); text-align: center; box-shadow: 0 18px 40px -32px rgba(162,36,26,.6); }
.stats b { display: block; font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 900; letter-spacing: -.04em; color: var(--red); line-height: 1.05; font-variant-numeric: tabular-nums; }
.stats span { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
/* Le 100 000 tient sur une seule ligne dans toutes les langues : tuile plus large,
   chiffre jamais coupé, taille bornée par la largeur de la tuile (2026-11-09) */
.stats li { min-width: 0; container-type: inline-size; }
.stats b { white-space: nowrap; }
.stats b[data-to="100000"] { font-size: min(clamp(1.8rem, 3.6vw, 2.8rem), 24cqi); }
@media (min-width: 901px) {
  .stats:has(> li:nth-child(5) > b[data-to="100000"]) { grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.5fr) minmax(0, 1fr); }
}
@media (max-width: 900px) { .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Mosaïque */
.extras-band .extras-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; }
.extras-band .extra { box-shadow: 0 24px 50px -40px rgba(162,36,26,.7); }
.extras-band .extra .ico { width: 56px; height: 56px; border-radius: 18px; font-size: 28px; }
.extras-band .extra:nth-child(1) { grid-column: span 2; }
.extras-band .extra.secu { grid-column: 3 / span 2; grid-row: span 2; display: flex; flex-direction: column; justify-content: center; }
.extras-band .extra.secu ul { grid-template-columns: 1fr; }
.extras-band .extra.secu h3 { font-size: 1.6rem; }
.extras-band .extra.secu .ico { width: 64px; height: 64px; font-size: 32px; }
.extras-band .extra { opacity: 0; transform: translateY(26px) scale(.98); transition: opacity .7s, transform .7s cubic-bezier(.2,.8,.2,1), box-shadow .3s, border-color .3s; }
.extras-band .extra.in { opacity: 1; transform: none; }
.extras-band .extra.in:hover { transform: translateY(-5px); }
@media (max-width: 900px) {
  .extras-band .extras-grid { grid-template-columns: 1fr 1fr; }
  .extras-band .extra:nth-child(1), .extras-band .extra.secu { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 600px) {
  .extras-band .extras-grid { grid-template-columns: 1fr; }
  .extras-band .extra:nth-child(1), .extras-band .extra.secu { grid-column: auto; }
}

/* Liste complète dans un panneau */
.all-panel { margin-top: 44px; background: #fff; border-radius: 28px; padding: clamp(22px, 4vw, 40px); border: 1.5px solid var(--veil-2); box-shadow: 0 40px 80px -60px rgba(162,36,26,.7); }
.all-panel .all-title { margin-top: 0; }
.all-col h4 { display: inline-flex; align-items: center; gap: 6px; background: var(--red); color: #fff; padding: 5px 12px; border-radius: 999px; font-size: .95rem; }
@media (prefers-reduced-motion: reduce) { .extras-band .extra { opacity: 1; transform: none; } }

/* Mosaique : placement explicite sur grand ecran */
@media (min-width: 901px) {
  .extras-band .extras-grid { grid-template-rows: auto auto auto; }
  .extras-band .extra:nth-child(1) { grid-column: 1 / span 2; grid-row: 1; }
  .extras-band .extra:nth-child(2) { grid-column: 3; grid-row: 1; }
  .extras-band .extra:nth-child(3) { grid-column: 4; grid-row: 1; }
  .extras-band .extra:nth-child(4) { grid-column: 1; grid-row: 2; }
  .extras-band .extra:nth-child(5) { grid-column: 2; grid-row: 2; }
  .extras-band .extra:nth-child(6) { grid-column: 1 / span 2; grid-row: 3; }
  .extras-band .extra.secu { grid-column: 3 / span 2; grid-row: 2 / span 2; }
}

/* Icônes de l'extension, en grand */
.extras-band .extra .ico { width: 72px; height: 72px; border-radius: 22px; background: var(--veil); color: var(--red); }
.extras-band .extra .ico svg { width: 40px; height: 40px; }
.extras-band .extra.secu .ico { width: 88px; height: 88px; border-radius: 26px; background: rgba(255,255,255,.16); color: #fff; }
.extras-band .extra.secu .ico svg { width: 52px; height: 52px; }
.extras-band .extra:hover .ico svg { animation: icoFlotte 1.6s ease-in-out infinite; }
@keyframes icoFlotte { 50% { transform: translateY(-3px) rotate(-4deg); } }
.all-col h4 svg { width: 17px; height: 17px; flex: none; }

/* =========================================================
   Cartes cliquables + fenêtre « En savoir plus »
   ========================================================= */
.extras-band .extra[data-detail] { cursor: pointer; padding-bottom: 54px; }
.extras-band .extra[data-detail]:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.extra .plus { position: absolute; left: 24px; bottom: 18px; font-size: 14px; font-weight: 700; color: var(--red-ink); }
.extra .plus b { display: inline-block; transition: transform .25s; }
.extra:hover .plus b, .extra:focus-visible .plus b { transform: translateX(5px); }
.extra.secu .plus { color: #fff; }

.fiche-voile { position: fixed; inset: 0; z-index: 80; background: rgba(42,14,11,.35); opacity: 0; transition: opacity .28s; }
.fiche-voile.on { opacity: 1; }
.fiche {
  position: fixed; z-index: 81; right: max(16px, calc((100vw - 1240px) / 2)); top: 90px; bottom: 24px;
  width: min(430px, calc(100vw - 32px)); display: flex; flex-direction: column;
  background: #fff; border-radius: 22px; overflow: hidden; border: 1px solid var(--veil-2);
  box-shadow: 0 50px 100px -30px rgba(42,14,11,.55);
  opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .28s, transform .28s cubic-bezier(.2,.8,.2,1);
}
.fiche.on { opacity: 1; transform: none; }
.fi-head { display: flex; align-items: center; gap: 8px; padding: 12px 14px; background: var(--veil); }
.fi-head img { border-radius: 6px; }
.fi-pill { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--red-ink); background: #fff; border-radius: 999px; padding: 2px 10px; }
.fi-fermer { border: 0; background: none; font-size: 26px; line-height: 1; cursor: pointer; color: var(--ink-soft); padding: 0 4px; }
.fi-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--veil); min-height: 52px; }
.fi-retour { border: 0; background: var(--veil); color: var(--red-ink); font: 700 14px var(--font); border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.fi-titre { font-weight: 800; font-size: 1.05rem; }
.fi-glisse { flex: 1; display: flex; width: 200%; transition: transform .35s cubic-bezier(.6,0,.2,1); min-height: 0; }
.fi-glisse.reponse { transform: translateX(-50%); }
.fi-page { width: 50%; overflow-y: auto; padding: 16px; }
.fi-intro { margin: 0 0 12px; color: var(--ink-soft); font-size: 14px; }
.fi-liste { display: grid; gap: 8px; }
.fi-liste button { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; width: 100%;
  font: 600 15px/1.35 var(--font); color: var(--ink); background: #fff; border: 1.5px solid var(--veil-2); border-radius: 14px; padding: 13px 14px; cursor: pointer; }
.fi-liste button:hover, .fi-liste button:focus-visible { border-color: var(--red); background: var(--veil); outline: none; }
.fi-liste button i { font-style: normal; color: var(--red); font-size: 22px; line-height: 1; }
.fi-q { margin: 0 0 10px; font-size: 1.1rem; line-height: 1.3; }
.fi-a { font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }
.fi-a b, .fi-a strong { color: var(--ink); }
.fi-a code, .fi-a em { background: var(--veil); border-radius: 5px; padding: 0 4px; font-style: normal; }
.fi-a .ic { width: 16px; height: 16px; vertical-align: -3px; color: var(--red); }
.fi-a .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #e53935; vertical-align: 0; }
.fi-a kbd { font-size: .85em; }
.fi-a table { border-collapse: collapse; width: 100%; font-size: 13px; }
.fi-a td, .fi-a th { border-bottom: 1px solid var(--veil); padding: 5px 4px; text-align: left; }
body.fiche-ouverte { overflow: hidden; }
@media (max-width: 700px) {
  .fiche { left: 8px; right: 8px; top: auto; bottom: 8px; width: auto; height: min(82svh, 640px); border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) { .fiche, .fi-glisse, .fiche-voile { transition: none; } }

.fiche[hidden], .fiche-voile[hidden] { display: none !important; }

.fiche { padding: 0; scroll-margin-top: 0; }

/* Tuiles : mots-clés seulement, lecture immédiate */
.extras-band .extra { padding: 24px; }
.extras-band .extra h3 { margin: 14px 0 12px; font-size: 1.3rem; }
.extras-band .extra .chips { margin-top: 0; gap: 7px; }
.extras-band .extra .chips span { font-size: 13.5px; padding: 5px 11px; }
.extras-band .extra.secu .chips span { background: rgba(255,255,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.35); font-size: 14.5px; padding: 7px 13px; }
.extras-band .extra.secu h3 { font-size: 1.7rem; margin: 16px 0 16px; }
.secu-lien { display: inline-block; margin-top: 18px; color: #fff; font-weight: 700; font-size: 14px; }
.secu-lien:hover { color: #fff; text-decoration: underline; }

.extras-band .extra h3 { margin-bottom: 4px; }
.extras-band .extra .accroche { margin: 0 0 12px; font-size: 15.5px; font-weight: 600; color: var(--ink-soft); }
.extras-band .extra.secu .accroche { color: #fff; font-size: 17px; }

/* Bouton et fenêtre « Toutes les fonctions » */
.voir-tout { text-align: center; margin-top: 34px; }
.btn-fonctions { font: 800 1.05rem var(--font); color: #fff; background: var(--red); border: 0; border-radius: 999px; padding: 16px 28px; cursor: pointer;
  box-shadow: 0 20px 40px -18px rgba(162,36,26,.8); transition: transform .2s, background .2s; }
.btn-fonctions:hover { background: var(--red-ink); transform: translateY(-2px); }
.btn-fonctions b { display: inline-block; transition: transform .25s; }
.btn-fonctions:hover b { transform: translateX(5px); }
.fi-rub { display: inline-flex; align-items: center; gap: 10px; }
.fi-rub svg { width: 22px; height: 22px; color: var(--red); flex: none; }
.fi-rub small { font-size: 12px; font-weight: 700; color: var(--red-ink); background: var(--veil); border-radius: 999px; padding: 1px 8px; }
.fi-a ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fi-a li { position: relative; padding: 10px 12px 10px 30px; border-radius: 12px; background: var(--veil); font-size: 14.5px; line-height: 1.5; }
.fi-a li::before { content: "✓"; position: absolute; left: 11px; top: 10px; color: var(--red); font-weight: 800; }

/* « Vous voulez les voir ? » : tuile qui se déplie sur place */
.voir-tout { margin-top: 44px; }
.teaser { font-size: clamp(1.25rem, 2.6vw, 1.7rem); font-weight: 800; letter-spacing: -.02em; margin: 0 0 14px; color: var(--ink); }
.teaser:has(.teaser-et) { color: var(--red); }
.teaser-et { color: #000; font-weight: 900; font-size: 1.9em; line-height: 1; text-transform: uppercase; letter-spacing: -.01em; vertical-align: -.06em; }
/* « One more thing » : « Et » seul, une pause, puis le reste en rouge, puis le bouton (main.js, une seule fois) */
.voir-tout.omt .teaser-et { display: inline-block; opacity: 0; transform: scale(.55); transition: opacity .5s, transform .7s cubic-bezier(.2,1.5,.4,1); }
.voir-tout.omt-et .teaser-et { opacity: 1; transform: none; }
.voir-tout.omt .teaser { color: transparent; transition: color 1.1s ease; }
.voir-tout.omt-suite .teaser { color: var(--red); }
.voir-tout.omt .btn-fonctions { opacity: 0; }
.voir-tout.omt-suite .btn-fonctions { opacity: 1; animation: omt-btn .7s .9s backwards; }
@keyframes omt-btn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.btn-fonctions .lib { pointer-events: none; }
.btn-fonctions b { transition: transform .35s; }
.btn-fonctions[aria-expanded="true"] b { transform: rotate(180deg); }
.btn-fonctions[aria-expanded="true"]:hover b { transform: rotate(180deg) translateY(3px); }
.depliable { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s cubic-bezier(.2,.8,.2,1), opacity .4s; opacity: 0; }
.depliable.ouvert { grid-template-rows: 1fr; opacity: 1; }
.depliable-int { overflow: hidden; min-height: 0; }
.depliable .all-panel { margin-top: 26px; text-align: left; }
@media (prefers-reduced-motion: reduce) { .depliable { transition: none; } }

/* 02 — Moteurs : les cercles ne tournent plus en bloc, chaque nom se déplace seul (JS) */
.orbit.libre .ring { animation: none; }
.orbit.libre .ring b { animation: none; rotate: 0deg; transition: none; }

/* 02 — un cercle par moteur, pointillés plus fins */
.ring.solo { border: 1px dashed rgba(255,255,255,.26); animation: none; }
.ring.solo b { z-index: 1; }
@media (max-width: 600px) { .ring.solo b { font-size: 11px; padding: 3px 8px; } }

/* Titre : l'étoile du logo sur le W, et le « AI » de Weightless AI */
.hero-etoile, .hero-ai { position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .5s; font-style: normal; }
.hero-etoile.on, .hero-ai.on { opacity: 1; }
.hero-etoile svg { width: 100%; height: 100%; overflow: visible; animation: scintille 2.4s ease-in-out infinite; transform-origin: 50% 50%; }
.hero-etoile path { fill: #fff; stroke: var(--red); stroke-width: 3.2; stroke-linejoin: round; filter: drop-shadow(0 4px 10px rgba(226,60,46,.45)); }
@keyframes scintille { 0%, 100% { transform: rotate(0deg) scale(1); } 50% { transform: rotate(18deg) scale(1.18); } }
.hero-ai { font-weight: 900; letter-spacing: .02em; color: #fff; background: var(--red); border-radius: .32em; padding: .08em .32em;
  line-height: 1.05; box-shadow: 0 10px 24px -10px rgba(226,60,46,.7); }
.hero-ai.on { animation: aiFlotte 3.2s ease-in-out infinite; }
@keyframes aiFlotte { 50% { translate: 0 -6px; } }
@media (prefers-reduced-motion: reduce) { .hero-etoile svg, .hero-ai.on { animation: none; } }

/* Titre : le logo de l'extension en grand, en apesanteur */
.hero-logo {
  width: clamp(88px, 11vw, 150px); height: auto; border-radius: 24%;
  margin-bottom: clamp(-10px, -1vw, 0px);
  box-shadow: 0 30px 60px -24px rgba(226,60,46,.65), 0 0 0 clamp(6px, .8vw, 10px) rgba(255,255,255,.85);
  animation: logoFlotte 5.5s ease-in-out infinite; will-change: transform, translate;
}
@keyframes logoFlotte { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-14px) rotate(3deg); } }
@media (max-width: 700px) { .hero-logo { width: 84px; } }
@media (prefers-reduced-motion: reduce) { .hero-logo { animation: none; } }

.hero-logo-cycle { display: inline-block; will-change: transform, opacity; }

/* Grand logo : il occupe une vraie partie de l ecran */
.hero-logo { width: clamp(150px, 27vh, 300px); border-radius: 23%; margin-bottom: 0;
  box-shadow: 0 40px 80px -30px rgba(226,60,46,.7), 0 0 0 clamp(8px, 1.1vh, 14px) rgba(255,255,255,.85); }
.hero { padding-top: 84px; padding-bottom: 40px; }
.hero .scroll-cue { margin-top: clamp(14px, 3vh, 40px); }
@media (max-width: 700px) { .hero-logo { width: min(40vw, 30vh); } }

/* le logo bouge comme les lettres (JS) : plus d'animation CSS propre ;
   la zone des lettres suit aussi la hauteur de l'écran */
.hero-logo { animation: none; cursor: grab; touch-action: pan-y; }
.float-word { height: min(30vw, 26vh, 300px); }

.nav-lang { text-decoration: none; color: var(--red-ink); font-weight: 800; font-size: 13px; letter-spacing: .04em; padding: 7px 10px; border-radius: 999px; border: 1.5px solid var(--veil-2); }
.nav-lang:hover { background: var(--veil); }
@media (max-width: 600px) { .nav-lang { order: 2; margin-left: auto; } .nav-burger { order: 1; } }
/* Avis traduit (version anglaise) */
.voice-trad { margin: -6px 0 16px; font-style: italic; color: var(--ink-soft); font-size: .95em; line-height: 1.45; }

/* Haut de page : logo + WEIGHTLESS AI + phrase + « gratuite » en italique ;
   pour les autres mots, le logo et la phrase italique se replient */
.hero-logo-cycle { display: block; height: clamp(150px, 27vh, 300px); transform-origin: 50% 60%;
  transition: height .9s cubic-bezier(.2,.8,.2,1), opacity .5s, transform .8s cubic-bezier(.2,.8,.2,1); }
@media (max-width: 700px) { .hero-logo-cycle { height: min(40vw, 30vh); } }
.hero-gratuit { margin: 4px auto 8px; max-width: 34em; max-height: 5em; font-style: italic; font-weight: 700; color: var(--red);
  font-size: clamp(.98rem, 1.9vw, 1.2rem); line-height: 1.4; padding: 0 16px; overflow: hidden;
  transition: opacity .5s, max-height .9s cubic-bezier(.2,.8,.2,1), margin .9s; }
.hero.sans-logo .hero-logo-cycle { height: 0; opacity: 0; transform: scale(.4); }
.hero.sans-logo .hero-gratuit { opacity: 0; max-height: 0; margin: 0 auto; }
@media (prefers-reduced-motion: reduce) { .hero-logo-cycle, .hero-gratuit { transition: none; } }

/* Icônes au-dessus du mot, à la place du logo (personnages, Gemini, couleurs, sauvegarde, sécurité) */
.hero-pictos { position: relative; width: 100%; height: 0; flex: none; transition: height .9s cubic-bezier(.2,.8,.2,1); }
.hero-pictos.on { height: clamp(110px, 19vh, 200px); }
.picto { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-wrap: nowrap;
  gap: clamp(8px, 1.4vw, 16px); opacity: 0; transform: scale(.5) translateY(20px); transition: opacity .45s, transform .8s cubic-bezier(.2,.8,.2,1); }
.picto.on { opacity: 1; transform: none; }
.tuile { width: clamp(90px, 16vh, 170px); aspect-ratio: 1; border-radius: 23%; background: var(--red); color: #fff;
  display: grid; place-items: center; box-shadow: 0 30px 60px -26px rgba(226,60,46,.7), 0 0 0 clamp(6px, 1vh, 10px) rgba(255,255,255,.85); }
.tuile svg { width: 56%; height: 56%; }
.tuile.mini { width: clamp(44px, 8vh, 78px); border-radius: 26%; box-shadow: 0 16px 30px -16px rgba(226,60,46,.7), 0 0 0 4px rgba(255,255,255,.85); }
.picto .pastille { width: clamp(24px, 5vh, 48px); aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--veil-2); }
.picto.on .tuile, .picto.on .pastille { animation: pictoIn .6s cubic-bezier(.2,.8,.2,1) both; }
.picto.on > :nth-child(2) { animation-delay: .06s; } .picto.on > :nth-child(3) { animation-delay: .12s; } .picto.on > :nth-child(4) { animation-delay: .18s; }
.picto.on > :nth-child(5) { animation-delay: .24s; } .picto.on > :nth-child(6) { animation-delay: .3s; } .picto.on > :nth-child(7) { animation-delay: .36s; }
.picto.on > :nth-child(8) { animation-delay: .42s; } .picto.on > :nth-child(9) { animation-delay: .48s; }
@keyframes pictoIn { from { opacity: 0; transform: translateY(18px) scale(.6); } }
@media (max-width: 420px) { .tuile.mini { width: 42px; } .picto .pastille { width: 24px; } .picto { gap: 8px; } }
@media (prefers-reduced-motion: reduce) { .hero-pictos, .picto { transition: none; } .picto.on .tuile, .picto.on .pastille { animation: none; } }

/* Place du logo fixe : rien ne remonte quand WEIGHTLESS laisse la place aux autres mots */
.hero-logo-cycle { position: relative; transform: none !important; opacity: 1 !important; }
.hero.sans-logo .hero-logo-cycle { height: clamp(150px, 27vh, 300px); }
@media (max-width: 700px) { .hero.sans-logo .hero-logo-cycle { height: min(40vw, 30vh); } }
.hero-logo { transition: opacity .5s, transform .8s cubic-bezier(.2,.8,.2,1); }
.hero.sans-logo .hero-logo { opacity: 0; transform: scale(.4); pointer-events: none; }
.hero-pictos, .hero-pictos.on { position: absolute; inset: 0; height: auto; transition: none; pointer-events: none; }
/* la phrase « gratuite » s'efface sans libérer sa place */
.hero.sans-logo .hero-gratuit { opacity: 0; max-height: 5em; margin: 4px auto 8px; }

/* =========================================================
   Titre : une scène en fond pour chaque fonction
   ========================================================= */
.hero > *:not(.hero-scenes) { position: relative; z-index: 1; }
.hero-scenes { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.scene { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: scale(.96); transition: opacity .7s, transform 1.2s cubic-bezier(.2,.8,.2,1); color: var(--red); }
.scene.on { opacity: .2; transform: none; }
.scene > * { width: min(860px, 88vw); }
/* fenêtres */
.sc-win { background: #fff; border: 2px solid var(--red); border-radius: 22px; overflow: hidden; text-align: left; box-shadow: 0 40px 80px -40px rgba(162,36,26,.8); }
.sc-win.petit { width: min(520px, 80vw); }
.sc-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; background: var(--red); color: #fff; font-weight: 800; font-size: clamp(16px, 2vw, 22px); }
.sc-bar i { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.6); }
.sc-bar span { margin-left: 8px; }
.sc-body { padding: clamp(18px, 3vw, 34px); min-height: clamp(160px, 26vh, 300px); }
.sc-txt { margin: 0; font-size: clamp(20px, 3vw, 38px); font-weight: 700; line-height: 1.5; color: var(--ink); }
/* CORRIGER : le mot fautif se barre, la correction apparaît */
.sc-txt s { text-decoration: none; position: relative; color: var(--red); }
.sc-txt s::after { content: ""; position: absolute; left: 0; top: 52%; height: .12em; width: 0; background: var(--red); }
.scene.on .sc-txt s::after { animation: barre .5s forwards; animation-delay: .5s; }
.sc-txt ins { text-decoration: none; display: inline-block; max-width: 0; overflow: hidden; vertical-align: bottom; white-space: pre; color: #1f8b4c; }
.scene.on .sc-txt ins { animation: corrige .6s forwards; animation-delay: 1.1s; }
.scene.on .sc-txt s { animation: efface .4s forwards; animation-delay: 1.4s; }
@keyframes barre { to { width: 100%; } }
@keyframes corrige { to { max-width: 12em; padding: 0 .15em; } }
@keyframes efface { to { opacity: 0; font-size: 0; } }
/* bulles */
.sc-bul { display: block; width: fit-content; max-width: 80%; margin-bottom: 14px; padding: 12px 18px; border-radius: 18px; font-size: clamp(16px, 2.2vw, 26px); font-weight: 700; }
.sc-bul.moi { margin-left: auto; background: var(--red); color: #fff; }
.sc-bul.ia { background: var(--veil); color: var(--ink); }
.sc-bul.court { padding: 6px 14px; border: 2px solid var(--red); background: #fff; color: var(--red-ink); }
/* RÉSUMER : les lignes se replient, trois puces apparaissent */
.sc-lignes { display: grid; gap: 12px; }
.sc-lignes i { display: block; height: 14px; border-radius: 8px; background: var(--veil-2); transition: transform .8s, opacity .6s; }
.scene.on .sc-lignes i { animation: replie .8s forwards; animation-delay: .9s; }
@keyframes replie { to { transform: translateY(-30px) scaleX(.2); opacity: 0; height: 0; } }
.sc-puces { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; font-size: clamp(20px, 3vw, 36px); font-weight: 800; color: var(--ink); }
.sc-puces li { opacity: 0; }
.sc-puces li::before { content: "• "; color: var(--red); }
.scene.on .sc-puces li { animation: monte .6s forwards; }
.scene.on .sc-puces li:nth-child(1) { animation-delay: 1.5s; } .scene.on .sc-puces li:nth-child(2) { animation-delay: 1.75s; } .scene.on .sc-puces li:nth-child(3) { animation-delay: 2s; }
@keyframes monte { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
/* TRADUIRE : un mot qui change de langue */
.sc-trad { position: relative; height: 1.2em; font-size: clamp(60px, 13vw, 180px); font-weight: 900; text-align: center; }
.sc-trad span { position: absolute; inset: 0; opacity: 0; }
.scene.on .sc-trad span { animation: langue 3s forwards; }
.scene.on .sc-trad span:nth-child(2) { animation-delay: .5s; } .scene.on .sc-trad span:nth-child(3) { animation-delay: 1s; }
.scene.on .sc-trad span:nth-child(4) { animation-delay: 1.5s; } .scene.on .sc-trad span:nth-child(5) { animation-delay: 2s; } .scene.on .sc-trad span:nth-child(6) { animation-delay: 2.5s; }
@keyframes langue { 0% { opacity: 0; transform: translateY(20px); } 6% { opacity: 1; transform: none; } 16% { opacity: 1; } 22%, 100% { opacity: 0; transform: translateY(-20px); } }
/* RÉPONDRE / PROMPT : texte qui s'écrit */
.sc-champ { margin-top: 10px; border: 2px solid var(--red); border-radius: 14px; padding: 14px 18px; font-size: clamp(18px, 2.4vw, 28px); font-weight: 700; color: var(--ink); }
.sc-tape { display: inline-block; white-space: nowrap; overflow: hidden; max-width: 0; vertical-align: bottom; border-right: 3px solid var(--red); }
.scene.on .sc-tape { animation: tape 1.8s steps(32) forwards; animation-delay: .4s; }
@keyframes tape { to { max-width: 100%; } }
.sc-ins { display: inline-block; margin-top: 14px; padding: 8px 18px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 800; font-size: clamp(16px, 2vw, 22px); opacity: 0; }
.scene.on .sc-ins { animation: monte .5s forwards; animation-delay: 2.3s; }
.sc-slash { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.sc-slash span { padding: 8px 16px; border-radius: 12px; background: var(--veil); font-weight: 800; font-size: clamp(16px, 2vw, 24px); color: var(--red-ink); opacity: 0; }
.scene.on .sc-slash span { animation: monte .5s forwards; }
.scene.on .sc-slash span:nth-child(1) { animation-delay: 2s; } .scene.on .sc-slash span:nth-child(2) { animation-delay: 2.2s; } .scene.on .sc-slash span:nth-child(3) { animation-delay: 2.4s; }
/* MOTEURS / LANGUES : noms qui flottent tout autour */
.sc-nuage { position: relative; width: 100% !important; height: 100%; }
.sc-nuage b { position: absolute; left: var(--x); top: var(--y); padding: 10px 20px; border-radius: 999px; background: #fff; border: 2px solid var(--red); color: var(--red-ink); font-size: clamp(16px, 2.4vw, 30px); opacity: 0; }
.scene.on .sc-nuage b { animation: monte .6s forwards, flotte 4s ease-in-out infinite; animation-delay: var(--d), var(--d); }
@keyframes flotte { 50% { translate: 0 -10px; } }
/* PERSONNAGES */
.sc-perso { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.sc-perso span { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; background: #fff; border: 2px solid var(--red); font-weight: 800; font-size: clamp(16px, 2.4vw, 28px); color: var(--red-ink); opacity: 0; }
.scene.on .sc-perso span { animation: monte .5s forwards; }
.scene.on .sc-perso span:nth-child(2) { animation-delay: .15s; } .scene.on .sc-perso span:nth-child(3) { animation-delay: .3s; } .scene.on .sc-perso span:nth-child(4) { animation-delay: .45s; } .scene.on .sc-perso span:nth-child(5) { animation-delay: .6s; } .scene.on .sc-perso span:nth-child(6) { animation-delay: .75s; }
.sc-ico { width: 1.2em; height: 1.2em; }
.sc-gros { width: clamp(140px, 24vw, 300px); height: auto; }
/* GEMINI / DRIVE / SÉCURITÉ */
.sc-gemini, .sc-drive, .sc-secu { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.sc-secu > div, .sc-gemini { flex-wrap: wrap; }
.sc-secu > div { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.scene.on .sc-gros { animation: respire 3s ease-in-out infinite; }
@keyframes respire { 50% { transform: scale(1.06) rotate(4deg); } }
.sc-pastille { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 800; font-size: clamp(16px, 2.2vw, 26px); }
.sc-appareils { display: flex; align-items: center; gap: 18px; font-size: clamp(30px, 5vw, 60px); }
.sc-fil { width: clamp(80px, 14vw, 180px); border-top: 4px dashed var(--red); }
/* COULEURS */
.sc-couleurs { display: flex; justify-content: center; gap: clamp(8px, 1.6vw, 20px); flex-wrap: wrap; }
.sc-couleurs i { width: clamp(36px, 6vw, 80px); aspect-ratio: 1; border-radius: 50%; opacity: 0; box-shadow: 0 0 0 5px #fff, 0 0 0 7px var(--veil-2); }
.scene.on .sc-couleurs i { animation: monte .5s forwards; animation-delay: var(--d); }
/* les couleurs gardent leurs vraies teintes : un peu plus visibles */
.scene.on:has(.sc-couleurs) { opacity: .28; }
@media (prefers-reduced-motion: reduce) { .scene { display: none; } }
/* Scènes plus grandes : elles occupent tout le fond du haut de page */
.scene > * { width: min(1320px, 96vw); }
.scene.on { opacity: .24; }
.sc-win.petit { width: min(900px, 92vw); }
.sc-body { min-height: 58vh; padding: clamp(22px, 4vw, 48px); }
.sc-bar { font-size: clamp(18px, 2.4vw, 28px); padding: 16px 22px; }
.sc-txt { font-size: clamp(30px, 5vw, 72px); line-height: 1.55; }
.sc-bul { font-size: clamp(22px, 3.2vw, 44px); }
.sc-lignes { gap: 20px; }
.sc-lignes i { height: 22px; }
.sc-puces { font-size: clamp(30px, 5vw, 64px); gap: 22px; }
.sc-champ { font-size: clamp(22px, 3.2vw, 42px); }
.sc-trad { font-size: clamp(90px, 20vw, 300px); }
.sc-nuage b, .sc-perso span { font-size: clamp(20px, 3.4vw, 44px); }
.sc-gros { width: clamp(220px, 40vh, 460px); }
.sc-pastille { font-size: clamp(20px, 3vw, 36px); }
.sc-couleurs i { width: clamp(48px, 9vw, 130px); }
.sc-slash span { font-size: clamp(20px, 2.8vw, 36px); }
@media (max-width: 700px) { .sc-body { min-height: 62vh; } }


/* la phrase sous le mot garde toujours la même hauteur : le mot ne bouge pas */
@media (max-width: 700px) { .hero-line { min-height: 3.9em; } }

/* Barre : menu ☰ seul sur téléphone (≤ 600 px) ; au-delà, main.js garde autant de rubriques que possible (.partielle) */
@media (max-width: 600px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .nav { width: calc(100vw - 24px); justify-content: space-between; gap: 8px; }
  .nav-burger { order: 1; } .nav-lang { order: 2; margin-left: auto; } .nav-cta { order: 3; }
}
.nav-burger, .nav-lang, .nav-cta, .nav-brand img { flex-shrink: 0; }
/* Menu trop large pour l'écran (selon la langue, au-delà de 980 px) : main.js ajoute .partielle,
   cache les dernières rubriques (.cache) et ne laisse dans le ☰ que celles-ci (.dans-barre masquées) */
.nav.partielle .nav-burger { display: block; }
.nav-links a.cache, .nav-mobile a.dans-barre { display: none; }
@media (max-width: 360px) { .nav-brand span { display: none; } }
/* icônes des personnages et pastilles de couleur plus grandes sur grand écran */
@media (min-width: 421px) { .tuile.mini { width: clamp(52px, 10vh, 104px); } .picto .pastille { width: clamp(28px, 6vh, 60px); } }

/* TRADUIRE : « Bonjour » dans chaque langue, juste au-dessus du mot */
.trad-mots { position: relative; width: 100%; height: 1.25em; font-size: clamp(36px, min(9vh, 13vw), 104px); font-weight: 900;
  line-height: 1.25; color: var(--red); text-align: center; letter-spacing: -.02em; }
.trad-mots span { position: absolute; inset: 0; opacity: 0; }
.picto.on .trad-mots span { animation: langue 3s forwards; }
.picto.on .trad-mots span:nth-child(2) { animation-delay: .5s; } .picto.on .trad-mots span:nth-child(3) { animation-delay: 1s; }
.picto.on .trad-mots span:nth-child(4) { animation-delay: 1.5s; } .picto.on .trad-mots span:nth-child(5) { animation-delay: 2s; }
.picto.on .trad-mots span:nth-child(6) { animation: langueFin 1.2s forwards; animation-delay: 2.5s; }
@keyframes langueFin { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .trad-mots span:first-child { opacity: 1; } }

/* Personnages et couleurs plus grands, regroupés au centre */
.tuile.mini { width: clamp(64px, 13vh, 128px) !important; }
.picto .pastille { width: clamp(40px, 8vh, 78px) !important; }
@media (max-width: 700px) {
  .picto[data-k="7"], .picto[data-k="9"] { flex-wrap: wrap; align-content: center; margin: 0 auto; gap: 10px; }
  .picto[data-k="7"] { max-width: 220px; }
  .picto[data-k="9"] { max-width: 260px; }
  .tuile.mini { width: min(60px, 8.5vh) !important; }
  .picto .pastille { width: min(42px, 6vh) !important; }
}

/* 8 MOTEURS et 9 LANGUES : les noms se resserrent autour du centre */
.sc-nuage b { left: calc(50% + (var(--x) - 50%) * .62); top: calc(50% + (var(--y) - 50%) * .62); }
@media (max-width: 700px) { .sc-nuage b { left: calc(50% + (var(--x) - 50%) * .8); top: calc(50% + (var(--y) - 50%) * .58); } }
/* la place du logo prend toute la largeur : les icônes ne se compriment plus */
.hero-logo-cycle { align-self: stretch; width: 100%; }
.tuile, .picto .pastille { flex-shrink: 0; }
.trad-mots { font-size: clamp(40px, min(12vh, 13vw), 130px); }
/* Fenêtres en fond : toutes de la même taille, toujours sous la barre du haut */
.scene { padding: 86px 0 28px; box-sizing: border-box; }
.scene > .sc-win, .scene > .sc-win.petit { width: min(1100px, 92vw); height: min(62vh, 700px); display: flex; flex-direction: column; }
.scene > .sc-win .sc-body { flex: 1; min-height: 0; overflow: hidden; }
/* le logo reste centré dans sa place ; les « Bonjour » de TRADUIRE estompés comme les autres animations */
.hero-logo { display: block; margin-left: auto; margin-right: auto; }
.picto[data-k="3"].on { opacity: .3; }
/* phrase « gratuite » sur une seule ligne (sauf téléphone, trop étroit) */
@media (min-width: 701px) { .hero-gratuit { white-space: nowrap; max-width: none; font-size: clamp(.85rem, 1.45vw, 1.2rem); } }

/* 8 MOTEURS : les huit noms au-dessus du mot, estompés comme les autres animations */
.picto[data-k="5"].on { opacity: .45; }
.noms-moteurs { display: flex; flex-wrap: wrap; justify-content: center; align-content: center; gap: clamp(8px, 1.2vw, 14px);
  max-width: min(980px, 94vw); margin: 0 auto; }
.noms-moteurs b { padding: clamp(6px, 1vh, 12px) clamp(12px, 1.6vw, 22px); border-radius: 999px; background: #fff; border: 2px solid var(--red);
  color: var(--red-ink); font-weight: 800; font-size: clamp(15px, min(2.6vh, 2.2vw), 28px); white-space: nowrap; }
.picto.on .noms-moteurs b { animation: pictoIn .6s cubic-bezier(.2,.8,.2,1) both; }
.picto.on .noms-moteurs b:nth-child(2) { animation-delay: 0.07s; }
.picto.on .noms-moteurs b:nth-child(3) { animation-delay: 0.14s; }
.picto.on .noms-moteurs b:nth-child(4) { animation-delay: 0.21s; }
.picto.on .noms-moteurs b:nth-child(5) { animation-delay: 0.28s; }
.picto.on .noms-moteurs b:nth-child(6) { animation-delay: 0.35s; }
.picto.on .noms-moteurs b:nth-child(7) { animation-delay: 0.42s; }
.picto.on .noms-moteurs b:nth-child(8) { animation-delay: 0.49s; }
@media (max-width: 700px) { .noms-moteurs { max-width: 340px; gap: 7px; } .noms-moteurs b { font-size: 14px; padding: 5px 11px; } }
@media (prefers-reduced-motion: reduce) { .picto.on .noms-moteurs b { animation: none; } }

/* Fenêtres d'applis au-dessus du mot : réduites pour tenir à la place du logo
   (tailles en unités du cadre : elles suivent la hauteur de cette place) */
.hero-logo-cycle { container-type: size; }
.picto.fen.on { opacity: .55; }
.picto.fen .sc-win { width: min(96cqw, 190cqh); height: 94cqh; display: flex; flex-direction: column; border-width: 2px; border-radius: 6cqh;
  background: #fff; overflow: hidden; text-align: left; box-shadow: 0 20px 40px -24px rgba(162,36,26,.6); }
.picto.fen .sc-bar { font-size: 6.5cqh; padding: 3cqh 5cqh; gap: 2cqh; }
.picto.fen .sc-bar i { width: 3.2cqh; height: 3.2cqh; }
.picto.fen .sc-body { flex: 1; min-height: 0; padding: 4cqh 6cqh; overflow: hidden; }
.picto.fen .sc-txt { font-size: 8.4cqh; line-height: 1.45; }
.picto.fen .sc-bul { font-size: 6.6cqh; padding: 2.6cqh 4.5cqh; margin-bottom: 3cqh; border-radius: 4cqh; }
.picto.fen .sc-lignes { gap: 2.4cqh; } .picto.fen .sc-lignes i { height: 3cqh; }
.picto.fen .sc-puces { font-size: 8.6cqh; gap: 2.4cqh; }
.picto.fen .sc-champ { font-size: 6.6cqh; padding: 3cqh 4.5cqh; margin-top: 2cqh; border-radius: 3.5cqh; }
.picto.fen .sc-ins { font-size: 5.8cqh; padding: 1.8cqh 4.5cqh; margin-top: 3cqh; }
.picto.fen .sc-slash { gap: 2.4cqh; margin-top: 4cqh; } .picto.fen .sc-slash span { font-size: 6.2cqh; padding: 1.8cqh 4cqh; }
.scene.on { opacity: .2; transform: none; }
.picto.on .sc-txt s::after { animation: barre .5s forwards; animation-delay: .5s; }
.picto.on .sc-txt ins { animation: corrige .6s forwards; animation-delay: 1.1s; }
.picto.on .sc-txt s { animation: efface .4s forwards; animation-delay: 1.4s; }
.picto.on .sc-lignes i { animation: replie .8s forwards; animation-delay: .9s; }
.picto.on .sc-puces li { animation: monte .6s forwards; }
.picto.on .sc-puces li:nth-child(1) { animation-delay: 1.5s; }
.picto.on .sc-tape { animation: tape 1.8s steps(32) forwards; animation-delay: .4s; }
.picto.on .sc-ins { animation: monte .5s forwards; animation-delay: 2.3s; }
.picto.on .sc-slash span { animation: monte .5s forwards; }
.picto.on .sc-slash span:nth-child(1) { animation-delay: 2s; }
.picto.on .sc-perso span { animation: monte .5s forwards; }
.picto.on .sc-perso span:nth-child(2) { animation-delay: .15s; }
.picto.on .sc-gros { animation: respire 3s ease-in-out infinite; }
.picto.on .sc-couleurs i { animation: monte .5s forwards; animation-delay: var(--d); }
.scene.on { opacity: .24; }
/* 9 LANGUES : les bulles au-dessus du mot, comme les moteurs */
.picto[data-k="6"].on { opacity: .45; }
.picto.on .noms-moteurs b:nth-child(9) { animation-delay: 0.56s; }
/* toutes les étapes des animations de fenêtres (y compris celles écrites à plusieurs par ligne) */
.picto.on { opacity: .2; transform: none; }
.picto.on .sc-txt s::after { animation: barre .5s forwards; animation-delay: .5s; }
.picto.on .sc-txt ins { animation: corrige .6s forwards; animation-delay: 1.1s; }
.picto.on .sc-txt s { animation: efface .4s forwards; animation-delay: 1.4s; }
.picto.on .sc-lignes i { animation: replie .8s forwards; animation-delay: .9s; }
.picto.on .sc-puces li { animation: monte .6s forwards; }
.picto.on .sc-puces li:nth-child(1) { animation-delay: 1.5s; }
.picto.on .sc-puces li:nth-child(2) { animation-delay: 1.75s; }
.picto.on .sc-puces li:nth-child(3) { animation-delay: 2s; }
.picto.on .sc-tape { animation: tape 1.8s steps(32) forwards; animation-delay: .4s; }
.picto.on .sc-ins { animation: monte .5s forwards; animation-delay: 2.3s; }
.picto.on .sc-slash span { animation: monte .5s forwards; }
.picto.on .sc-slash span:nth-child(1) { animation-delay: 2s; }
.picto.on .sc-slash span:nth-child(2) { animation-delay: 2.2s; }
.picto.on .sc-slash span:nth-child(3) { animation-delay: 2.4s; }
.picto.on { opacity: .24; }
.picto.on { opacity: .2; transform: none; }
.picto.on { opacity: .24; }
/* Haut de page : toutes les illustrations au-dessus du mot, estompées de la même façon */
.picto.on, .picto.fen.on, .picto[data-k="3"].on, .picto[data-k="5"].on, .picto[data-k="6"].on { opacity: .45; }

/* Menu des langues (9 langues) */
.nav-lang { position: relative; padding: 0; border: 0; }
.nav-lang summary { list-style: none; cursor: pointer; color: var(--red-ink); font-weight: 800; font-size: 13px; letter-spacing: .04em;
  padding: 7px 10px; border-radius: 999px; border: 1.5px solid var(--veil-2); user-select: none; }
.nav-lang summary::-webkit-details-marker { display: none; }
.nav-lang summary::after { content: " ▾"; font-size: 10px; }
.nav-lang summary:hover, .nav-lang[open] summary { background: var(--veil); }
.nav-lang-menu { position: absolute; top: calc(100% + 10px); right: 0; z-index: 60; display: grid; min-width: 150px; padding: 6px;
  border-radius: 16px; background: rgba(255,255,255,.97); border: 1px solid var(--veil-2); box-shadow: 0 24px 50px -24px rgba(162,36,26,.5); }
.nav-lang-menu a { text-decoration: none; color: var(--ink); font-weight: 700; font-size: 15px; padding: 8px 12px; border-radius: 10px; }
.nav-lang-menu a:hover, .nav-lang-menu a:focus-visible { background: var(--veil); color: var(--red-ink); }
.nav-lang-menu a[aria-current="page"] { color: var(--red); }
.nav-lang-menu a[aria-current="page"]::before { content: "✓ "; }
[dir="rtl"] .nav-lang-menu { right: auto; left: 0; }
/* Arabe (de droite à gauche) : les mécaniques animées gardent le sens gauche → droite, le texte reste à droite */
[dir="rtl"] .film-stage, [dir="rtl"] .browser, [dir="rtl"] .float-word, [dir="rtl"] .fall-word, [dir="rtl"] .lang-field, [dir="rtl"] .orbit { direction: ltr; }
[dir="rtl"] .f-win, [dir="rtl"] .browser-page, [dir="rtl"] .wa, [dir="rtl"] .ctx { direction: rtl; }
[dir="rtl"] .skip { left: auto; right: -999px; } [dir="rtl"] .skip:focus { right: 8px; }
[dir="rtl"] kbd { direction: ltr; unicode-bidi: isolate; }

/* Démarrer : prête en deux minutes */
.demarrer { max-width: 1100px; margin: 0 auto; text-align: center; }
.demarrer .etapes { list-style: none; margin: 34px 0 22px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; text-align: start; }
.demarrer .etapes li { position: relative; background: #fff; border: 1.5px solid var(--veil-2); border-radius: 22px; padding: 26px 22px 22px; box-shadow: 0 18px 40px -28px rgba(162,36,26,.45); }
.demarrer .num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 900; margin-bottom: 10px; }
.demarrer h3 { margin: 0 0 6px; font-size: 1.15rem; }
.demarrer .etapes p { margin: 0; line-height: 1.55; color: var(--ink-soft); }
.demarrer .rassure { font-weight: 700; color: var(--red-ink); margin: 0 0 18px; }
.demarrer-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.demarrer .btn-cle { display: inline-flex; align-items: center; padding: 14px 22px; border-radius: 999px; border: 2px solid var(--red); color: var(--red-ink); font-weight: 800; text-decoration: none; }
.demarrer .btn-cle:hover { background: var(--veil); }
.demarrer .souci { max-width: 720px; margin: 0 auto; text-align: start; background: var(--veil); border-radius: 16px; padding: 12px 18px; }
.demarrer .souci summary { cursor: pointer; font-weight: 800; color: var(--red-ink); }
.demarrer .souci ul { margin: 10px 0 4px; padding-inline-start: 20px; line-height: 1.55; }
@media (max-width: 820px) { .demarrer .etapes { grid-template-columns: 1fr; } }
.demarrer .land-cta { display: inline-flex; align-items: center; padding: 14px 24px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 800; text-decoration: none; box-shadow: 0 14px 30px -14px rgba(226,60,46,.7); }
.demarrer .land-cta:hover { background: var(--red-ink); color: #fff; }
.demarrer .note-gratuit { max-width: 720px; margin: -8px auto 20px; font-size: .95rem; line-height: 1.5; color: var(--ink-soft); }
.extra.secu .secu-site { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.3); font-size: .92rem; line-height: 1.55; color: rgba(255,255,255,.92); }

/* Annonce du blog en haut de la page d'accueil */
.annonce-blog {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 clamp(10px, 2vh, 22px); padding: 7px 16px;
  border-radius: 999px; border: 1px solid var(--veil-2); background: rgba(255,255,255,.85);
  color: var(--ink); text-decoration: none; font-size: 15px; box-shadow: 0 6px 22px rgba(226,60,46,.10); position: relative; z-index: 2;
}
.annonce-blog b { background: var(--red); color: #fff; border-radius: 999px; padding: 2px 9px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.annonce-blog:hover { color: var(--red-ink); border-color: var(--red); }
@media (max-width: 520px) { .annonce-blog { font-size: 13px; max-width: calc(100vw - 32px); } }


/* Film « actions » (v3.22) : bouton W Actions, cartes, agenda prérempli */
.f-act b { font-weight: 900; }
.f-cartes { display: flex; flex-direction: column; gap: 6px; align-self: stretch; animation: wIn .5s backwards; }
.f-ch { font-size: 11px; font-weight: 800; color: var(--red-ink); }
.f-carte { background: #fff; border: 1.5px solid var(--veil-2); border-radius: 10px; padding: 6px 8px; font-size: 11px; }
.f-carte:nth-child(3) { animation: wIn .5s .25s backwards; }
.f-ct { font-size: 9.5px; text-transform: uppercase; letter-spacing: .06em; opacity: .75; }
.f-cti { font-weight: 700; }
.f-cs { opacity: .8; }
.f-cbs { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.f-cb { font-size: 10px; font-weight: 700; color: var(--red-ink); border: 1.5px solid var(--red); border-radius: 999px; padding: 0 7px; background: #fff; }
.pg-agenda { border: 1.5px solid var(--veil-2); border-radius: 12px; padding: 10px 12px; background: #fff; font-size: 12px; animation: wIn .5s backwards; }
.pg-ag-h { font-size: 10.5px; font-weight: 800; color: var(--red-ink); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.pg-ag-t { font-size: 15px; font-weight: 800; border-bottom: 2px solid var(--red); padding-bottom: 4px; margin-bottom: 8px; }
.pg-ag-l { display: flex; gap: 6px; margin: 3px 0; }
.pg-save { display: inline-block; margin-top: 10px; background: var(--red); color: #fff; font-weight: 700; border-radius: 999px; padding: 3px 14px; }

/* ---------- Agir (v3.22) : tuiles qui s'allument tour à tour (disposition inchangée) ---------- */
#agir .extra { transition: opacity .7s, transform .7s cubic-bezier(.2,.8,.2,1), box-shadow .3s, border-color .3s, background-color .5s, color .5s; }
#agir .extra h3, #agir .extra p, #agir .extra .ico, #agir .extra .chips span { transition: color .5s, background-color .5s; }
#agir .extra { transition: background .6s, color .6s, border-color .6s, box-shadow .6s; cursor: pointer; }
#agir .extra.vif { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 30px 60px -30px rgba(162,36,26,.75); }
#agir .extra.vif h3 { color: #fff; }
#agir .extra.vif p { color: rgba(255,255,255,.92); }
#agir .extra.vif .ico { background: #fff; color: var(--red); }
#agir .extra.vif .chips span { background: rgba(255,255,255,.18); color: #fff; }
/* film « actions » dans l'espace libre de la grille (tuiles inchangées) */
#agir .agir-film { grid-column: 3 / span 2; grid-row: 2 / span 2; display: flex; flex-direction: column; justify-content: center; }
#agir .agir-film .film { width: 100%; }
@media (max-width: 900px) { #agir .agir-film { grid-column: 1 / -1; grid-row: auto; } }

/* film « actions » : destinations des autres tuiles */
.pg-notif { background: #fff; border-radius: 12px; box-shadow: 0 14px 30px -14px rgba(42,14,11,.45); padding: 10px 12px; font-size: 12px; margin-top: 8px; animation: notifIn .6s cubic-bezier(.2,.9,.3,1.2) backwards; }
.pg-nh { display: flex; align-items: center; gap: 6px; font-size: 10.5px; opacity: .75; }
.pg-nh span { margin-left: auto; }
.pg-nt { font-weight: 800; font-size: 14px; margin: 6px 0 8px; }
.pg-nb { display: flex; gap: 6px; }
.pg-nb span { font-weight: 700; font-size: 11px; color: var(--red-ink); background: var(--veil); border-radius: 999px; padding: 2px 10px; }
@keyframes notifIn { from { opacity: 0; transform: translateY(-24px); } }
.pg-map { position: relative; height: 62%; min-height: 90px; border-radius: 12px; overflow: hidden; background: #F3E9DF; animation: wIn .5s backwards; }
.pg-map svg { width: 100%; height: 100%; display: block; }
.pg-route { stroke-dasharray: 420; stroke-dashoffset: 420; animation: route 2s .4s ease-out forwards; }
@keyframes route { to { stroke-dashoffset: 0; } }
.pg-pin { position: absolute; left: 77%; top: 27%; transform: translate(-50%, -100%); font-size: 22px; animation: pin .5s 2.2s backwards; }
@keyframes pin { from { opacity: 0; transform: translate(-50%, -160%); } }
.pg-map-l { justify-content: space-between; margin-top: 8px; font-size: 12px; }
.pg-fiche { display: flex; gap: 12px; align-items: flex-start; }
.pg-av { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; display: grid; place-items: center; }
.pg-sd { display: flex; gap: 6px; }
.pg-sd span { flex: 1; text-align: center; border: 1.5px solid var(--veil-2); border-radius: 8px; padding: 4px 0; font-weight: 700; font-size: 11px; display: flex; flex-direction: column; gap: 2px; }
.pg-sd i { font-style: normal; height: 16px; color: #fff; }
.pg-sd span.oui { border-color: var(--red); }
.pg-sd span.oui i { background: var(--red); border-radius: 4px; margin: 0 8px; }
@media (prefers-reduced-motion: reduce) { .pg-route { animation: none; stroke-dashoffset: 0; } .pg-notif, .pg-pin { animation: none; } }

/* ---------- Écrire / Lire / Répondre : un bloc, trois volets superposés qui alternent ---------- */
.duo { display: grid; grid-template-columns: minmax(0, 1fr); padding-top: clamp(80px, 14vh, 160px); }
.duo > .film-sec { grid-area: 2 / 1; padding-top: clamp(28px, 4vh, 44px); width: 100%; box-sizing: border-box;
  transition: opacity .8s ease, transform .8s ease, visibility 0s linear 0s; }
.duo > .film-sec[inert] { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .6s ease, transform .6s ease, visibility 0s linear .6s; }
.duo > #ecrire[inert] { transform: translateX(-40px); }
.duo > #lire[inert] { transform: translateX(40px); }
.duo > #repondre[inert] { transform: translateX(40px); }
/* 7 onglets : les quatre réécritures entre Écrire et Lire, texte alternativement à droite puis à gauche */
.duo > #reformuler[inert], .duo > #ton-pro[inert] { transform: translateX(40px); }
.duo > #raccourcir[inert], .duo > #ton-chaleureux[inert] { transform: translateX(-40px); }
.duo-tabs { flex-wrap: wrap; justify-content: center; max-width: calc(100% - 2 * var(--gutter)); border-radius: 26px; }
@media (max-width: 1100px) { .duo-tabs button { padding: 8px 14px; font-size: 14px; } }
/* Téléphone et petite tablette : une seule ligne d'onglets qui défile horizontalement (au doigt), l'onglet actif se centre */
@media (max-width: 760px) {
  .duo-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; max-width: calc(100% - 2 * var(--gutter)); border-radius: 999px;
    scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
  .duo-tabs::-webkit-scrollbar { display: none; }
  .duo-tabs { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%); }
  .duo-tabs button { flex: none; scroll-snap-align: center; padding: 8px 14px; font-size: 14px; white-space: nowrap; }
}
.duo-tabs { grid-area: 1 / 1; justify-self: center; display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: var(--veil); position: relative; z-index: 2; }
.duo-tabs button { position: relative; overflow: hidden; border: 0; background: transparent; color: var(--ink-soft); font: inherit; font-weight: 700; font-size: 15px; padding: 9px 22px; border-radius: 999px; cursor: pointer; transition: background .3s, color .3s; }
.duo-tabs button:hover { color: var(--ink); }
.duo-tabs button.on { background: var(--red); color: #fff; }
.duo-tabs button i { position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.85); transform: scaleX(0); transform-origin: left; }
[dir="rtl"] .duo-tabs button i { transform-origin: right; }
@media (prefers-reduced-motion: reduce) { .duo > .film-sec, .duo > .film-sec[inert] { transition: none; transform: none; } }

/* ---------- Démarrer : le raccourci selon l'ordinateur (PC / Mac), joué tour à tour ---------- */
.touches-os { margin: 0 auto 26px; max-width: 640px; }
.to-titre { margin: 0 0 14px; font-weight: 800; color: var(--ink); }
.to-scene { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.to-clavier { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 46px 14px 16px;
  background: #fff; border: 1.5px solid var(--veil-2); border-radius: 22px; box-shadow: 0 18px 40px -28px rgba(162,36,26,.45); }
.to-touches { display: flex; align-items: center; gap: 8px; direction: ltr; }
.to-k { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: 54px; height: 54px; padding: 0 12px;
  border-radius: 12px; background: #fff; border: 1.5px solid var(--veil-2); box-shadow: 0 5px 0 var(--veil-2); font-weight: 800; font-size: 18px; color: var(--ink);
  font-family: inherit; line-height: 1.05; }
.to-mod { min-width: 76px; font-size: 16px; }
.to-k small { font-size: 15px; font-weight: 700; }
.to-plus { font-weight: 800; color: var(--ink-soft); }
.to-nom { font-size: 14px; font-weight: 700; color: var(--ink-soft); }
.to-badge { display: none; font-size: 12px; font-weight: 800; color: #fff; background: var(--red); padding: 3px 10px; border-radius: 999px; }
html:not(.mac) [data-os="pc"] .to-badge, html.mac [data-os="mac"] .to-badge { display: inline-block; }
html:not(.mac) [data-os="pc"], html.mac [data-os="mac"] { border-color: var(--red); }
.to-fen { position: absolute; top: 10px; left: 50%; display: flex; align-items: center; gap: 6px; width: 120px; height: 30px; padding: 0 8px; box-sizing: border-box;
  margin-left: -60px; border-radius: 9px; background: var(--red); box-shadow: 0 10px 22px -10px rgba(162,36,26,.7); opacity: 0; transform: translateY(8px) scale(.9); }
.to-fen img { border-radius: 6px; background: #fff; }
.to-fen i { flex: 1; height: 5px; border-radius: 3px; background: rgba(255,255,255,.75); }
.to-fen i + i { flex: .6; }
/* cycle de 6 s : le PC joue de 0 à 3 s, le Mac de 3 à 6 s */
.to-clavier .to-mod { animation: to-mod 6s infinite; }
.to-clavier .to-w { animation: to-w 6s infinite; }
.to-clavier .to-fen { animation: to-fen 6s infinite; }
.to-clavier[data-os="mac"] > *, .to-clavier[data-os="mac"] .to-k { animation-delay: 3s; }
@keyframes to-mod { 0%, 6% { transform: none; box-shadow: 0 5px 0 var(--veil-2); background: #fff; color: var(--ink); }
  10%, 36% { transform: translateY(4px); box-shadow: 0 1px 0 var(--veil-2); background: var(--red); color: #fff; }
  42%, 100% { transform: none; box-shadow: 0 5px 0 var(--veil-2); background: #fff; color: var(--ink); } }
@keyframes to-w { 0%, 15% { transform: none; box-shadow: 0 5px 0 var(--veil-2); background: #fff; color: var(--ink); }
  19%, 34% { transform: translateY(4px); box-shadow: 0 1px 0 var(--veil-2); background: var(--red); color: #fff; }
  40%, 100% { transform: none; box-shadow: 0 5px 0 var(--veil-2); background: #fff; color: var(--ink); } }
@keyframes to-fen { 0%, 20% { opacity: 0; transform: translateY(8px) scale(.9); } 26%, 44% { opacity: 1; transform: none; } 50%, 100% { opacity: 0; transform: translateY(-6px) scale(.96); } }
@media (max-width: 520px) { .to-scene { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .to-clavier .to-mod, .to-clavier .to-w, .to-clavier .to-fen { animation: none; } }

/* ---------- Section « Raccourci » : un geste, sur PC comme sur Mac ---------- */
.raccourci { max-width: 980px; margin: 0 auto; text-align: center; }
.raccourci .rc-lead { max-width: 640px; margin: 14px auto 34px; font-size: 1.1rem; line-height: 1.6; color: var(--ink-soft); }
.raccourci .touches-os { max-width: 820px; margin-bottom: 26px; }
.raccourci .to-scene { gap: 22px; }
.raccourci .to-clavier { padding: 70px 18px 22px; gap: 14px; border-radius: 26px; }
.raccourci .to-k { min-width: 74px; height: 74px; font-size: 24px; border-radius: 16px; box-shadow: 0 7px 0 var(--veil-2); }
.raccourci .to-mod { min-width: 108px; font-size: 21px; }
.raccourci .to-k small { font-size: 19px; }
.raccourci .to-plus { font-size: 22px; }
.raccourci .to-nom { font-size: 15px; }
.raccourci .to-fen { top: 14px; width: 170px; height: 40px; margin-left: -85px; border-radius: 11px; }
.raccourci .to-fen img { width: 28px; height: 28px; }
.raccourci .rc-plus a { font-weight: 800; color: var(--red-ink); text-decoration: none; border-bottom: 2px solid var(--veil-2); }
.raccourci .rc-plus a:hover { color: var(--red); border-color: var(--red); }
@media (max-width: 520px) { .raccourci .to-k { min-width: 60px; height: 60px; font-size: 20px; } .raccourci .to-mod { min-width: 90px; font-size: 18px; } }

/* ---------- Boutons d'installation : haut de page, barre, bandeaux ---------- */
.hero-cta { margin-top: clamp(14px, 2.5vh, 26px); display: flex; justify-content: center; }
.hero-cta .land-cta { box-shadow: 0 14px 30px -14px rgba(162,36,26,.65); }
.hero-plus { margin: 10px 0 0; font-size: 14px; font-weight: 700; color: var(--red-ink); letter-spacing: .01em; }
@media (max-width: 520px) { .nav-cta .nc-long { display: none; } }
.voice-wall:has(> .voice:only-child) { max-width: 720px; margin-inline: auto; }
.cta-band { position: relative; overflow: hidden; display: flex; align-items: center; gap: clamp(14px, 3vw, 28px); flex-wrap: wrap;
  max-width: 1000px; margin: 0 auto clamp(40px, 8vh, 90px); padding: clamp(20px, 3.5vw, 32px) clamp(20px, 4vw, 40px); box-sizing: border-box;
  border-radius: 28px; background: var(--red); color: #fff; box-shadow: 0 26px 50px -30px rgba(162,36,26,.8); }
@media (max-width: 1060px) { .cta-band { margin-left: var(--gutter); margin-right: var(--gutter); } }
.cta-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.22) 50%, transparent 65%);
  transform: translateX(-100%); animation: cb-reflet 5s ease-in-out infinite; pointer-events: none; }
.cb-logo { flex: none; width: 64px; height: 64px; border-radius: 16px; background: #fff; padding: 6px; box-sizing: border-box; animation: cb-flotte 4s ease-in-out infinite; }
.cb-txt { flex: 1 1 260px; min-width: 0; }
.cb-titre { margin: 0; font-size: clamp(1.15rem, 2.4vw, 1.5rem); font-weight: 800; line-height: 1.25; text-wrap: balance; }
.cb-sous { margin: 4px 0 0; font-weight: 600; opacity: .92; }
.cb-btn { position: relative; z-index: 1; flex: none; display: inline-flex; align-items: center; padding: 15px 26px; border-radius: 999px; background: #fff; color: var(--red-ink);
  font-weight: 800; text-decoration: none; box-shadow: 0 10px 22px -12px rgba(0,0,0,.45); animation: cb-pulse 2.6s ease-in-out infinite; }
.cb-btn:hover, .cb-btn:focus-visible { background: var(--veil); outline: 3px solid #fff; outline-offset: 3px; }
@keyframes cb-reflet { 0%, 55% { transform: translateX(-100%); } 85%, 100% { transform: translateX(100%); } }
@keyframes cb-flotte { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-6px) rotate(3deg); } }
@keyframes cb-pulse { 0%, 100% { box-shadow: 0 10px 22px -12px rgba(0,0,0,.45), 0 0 0 0 rgba(255,255,255,.55); } 50% { box-shadow: 0 10px 22px -12px rgba(0,0,0,.45), 0 0 0 10px rgba(255,255,255,0); } }
@media (max-width: 560px) { .cb-btn { width: 100%; justify-content: center; } }  /* texte aligné au début de ligne sur téléphone (demande utilisateur), bouton pleine largeur */
@media (prefers-reduced-motion: reduce) { .cta-band::after, .cb-logo, .cb-btn { animation: none; } }
/* Bandeau dans la section Agir : air au-dessus, pas de grand vide rose en dessous */
#agir .cta-band { margin: clamp(48px, 7vw, 80px) auto 0; }
@media (max-width: 1060px) { #agir .cta-band { margin-left: 0; margin-right: 0; } }
#agir { padding-bottom: clamp(48px, 7vw, 80px); }


/* ---------- FAQ : « questions de poids » (vos données) et « questions légères », côte à côte ---------- */
.faq:has(.faq-cols) { max-width: 1140px; }
.faq-cols { display: grid; grid-template-columns: 1fr; gap: 10px 48px; align-items: start; }
@media (min-width: 900px) { .faq-cols { grid-template-columns: 1fr 1fr; } }
.faq-col { min-width: 0; }
.faq-groupe { display: flex; align-items: center; gap: 10px; margin: 26px 0 10px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.faq-groupe.faq-conf { font-size: 14px; color: var(--red); }
.faq-groupe svg { flex: none; }
.faq-col-conf { padding: 4px 20px 14px; border-radius: 22px; background: var(--veil); border: 1.5px solid var(--veil-2); }
.faq-col-conf details:first-of-type { border-top-color: transparent; }
.faq-col-conf details:last-of-type { border-bottom: 0; }

/* Haut de page : bouton d'installation à côté de l'annonce du blog, visible dès l'arrivée */
.hero-haut { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 12px; position: relative; z-index: 2; }
.hero-haut { margin-bottom: 10px; }
.hero-haut .land-cta { padding: 11px 22px; font-size: 15px; background: var(--red); color: #fff; box-shadow: 0 12px 26px -14px rgba(162,36,26,.7); }
.hero-haut .land-cta:hover, .hero-haut .land-cta:focus-visible { background: var(--red-ink); color: #fff; }
.hero-haut .annonce-blog { margin: 0; }

/* ---------- Sceau « Ajouter à Chrome » : grand tampon denté sous la barre à l'arrivée,
   puis petit sceau qui accompagne la descente (à la place de l'ancien logo flottant) ---------- */
.sceau, .sceau-flottant { display: grid; place-items: center; color: var(--red); text-decoration: none; }
.sceau > svg, .sceau-flottant > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sceau .sceau-roue, .sceau-flottant .sceau-roue { animation: sceau-tourne 26s linear infinite; filter: drop-shadow(0 14px 16px rgba(162,36,26,.35)); }
.sceau-anneau text { font-family: inherit; }
.sceau-txt { position: relative; color: #fff; font-weight: 900; line-height: 1.12; text-align: center; letter-spacing: -.01em; }
.sceau { position: fixed; z-index: 49; top: 0; left: 0; width: 180px; height: 180px; transform-origin: 50% 50%; will-change: transform, opacity; }
.sceau .sceau-txt { font-size: 17px; }
.sceau:hover .sceau-roue, .sceau:focus-visible .sceau-roue { animation-duration: 6s; }
.sceau:focus-visible { outline: none; }
.sceau:focus-visible .sceau-txt { text-decoration: underline; }
.sceau-flottant { width: 96px; height: 96px; }
.sceau-flottant { container-type: size; }
.sceau-flottant .sceau-txt { font-size: 11.46cqw; }
.sceau-flottant .sceau-anneau text { display: none; }
.sceau-flottant:hover .sceau-roue, .sceau-flottant:focus-visible .sceau-roue { animation-duration: 6s; }
@media (max-width: 1459px) { .sceau-flottant { width: 76px; height: 76px; } .sceau-flottant .sceau-txt { font-size: 11.84cqw; } .sceau-flottant .sceau-anneau text { display: none; } }
@media (max-width: 700px) { .sceau-flottant { width: 52px; height: 52px; left: 10px; right: auto; } .sceau-flottant .sceau-txt, .sceau-flottant .sceau-anneau { display: none; }
  .sceau-flottant::after { content: "+"; position: relative; color: #fff; font-weight: 900; font-size: 26px; line-height: 1; } }
@keyframes sceau-tourne { to { rotate: 360deg; } }
@media (max-width: 520px) { .sceau { width: 128px; height: 128px; } .sceau .sceau-txt { font-size: 12.5px; } .hero .annonce-blog { margin-top: 82px; } }
@media (prefers-reduced-motion: reduce) { .sceau .sceau-roue, .sceau-flottant .sceau-roue { animation: none; } }
/* sceau flottant sur une zone rouge : couleurs inversées */
.sceau-flottant { transition: color .35s; }
.sceau-flottant .sceau-txt, .sceau-flottant::after { transition: color .35s; }
.sceau-flottant.inverse { color: #fff; }
.sceau-flottant.inverse .sceau-txt, .sceau-flottant.inverse::after { color: var(--red); }
.sceau-flottant.inverse .sceau-anneau circle { stroke: var(--red); }
.sceau-flottant.inverse .sceau-roue { filter: drop-shadow(0 10px 16px rgba(0,0,0,.25)); }
/* Jeu : le sceau bousculé grandit ; il se laisse alors lire en entier et ses dents s'emballent */
@media (hover: none) { .sceau-flottant { touch-action: pan-y; } }
.sceau-flottant.grand .sceau-roue { animation-duration: 2.2s; }
.sceau-flottant.grand .sceau-anneau text { display: inline; }
.logo-flottant.sceau-flottant.on.grand.sur-texte { opacity: 1; }
@media (max-width: 700px) { .sceau-flottant.grand .sceau-txt, .sceau-flottant.grand .sceau-anneau { display: block; }
  .sceau-flottant.grand .sceau-txt { font-size: 15.4cqw; } .sceau-flottant.grand::after { display: none; } }
/* le pied de page passe devant le sceau flottant : il peut s'y glisser derrière */
.land { position: relative; z-index: 31; }

/* ---------- Nouveau en 3.23 : vidéo YouTube, comparer des onglets, suivi de colis ---------- */
.nv323 { background: linear-gradient(180deg, #fff 0%, var(--veil) 100%); }
.nv-tete { max-width: 1180px; margin: 0 auto; text-align: center; }
.nv-grid { max-width: 1240px; margin: clamp(24px, 4vw, 40px) auto 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1180px) { .nv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; } }
.nv-carte { background: #fff; border: 1.5px solid var(--veil-2); border-radius: var(--radius); padding: 18px 20px 20px; box-shadow: 0 24px 50px -40px rgba(162,36,26,.7); }
.nv-carte h3 { margin: 16px 0 8px; font-size: 1.25rem; }
.nv-carte p { margin: 0; line-height: 1.55; }
.nv-carte .nv-note { margin-top: 10px; font-size: .9rem; color: var(--ink-soft); }
.nv-anim { position: relative; height: 150px; border-radius: 16px; background: var(--veil); overflow: hidden; }
@media (max-width: 640px) { .nv-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; } }
/* Vidéo : l'écran joue, les moments clés apparaissent un à un */
.nvv-ecran { position: absolute; left: 14px; top: 16px; bottom: 16px; width: 44%; border-radius: 10px; background: var(--ink); }
.nvv-play { position: absolute; left: 50%; top: 42%; transform: translate(-40%, -50%); border-left: 18px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.nvv-barre { position: absolute; left: 10px; right: 10px; bottom: 10px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.25); }
.nvv-barre i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 2px; background: var(--red); animation: nvv-joue 6s linear infinite; }
.nvv-points { position: absolute; right: 12px; top: 18px; width: 44%; list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.nvv-points li { display: flex; align-items: center; gap: 6px; opacity: 0; animation: nvv-point 6s ease-out infinite; }
.nvv-points li:nth-child(2) { animation-delay: .9s; } .nvv-points li:nth-child(3) { animation-delay: 1.8s; }
.nvv-points span { flex: none; font: 700 11px/1 var(--font); color: #fff; background: var(--red); border-radius: 6px; padding: 4px 5px; }
.nvv-points i { flex: 1; height: 7px; border-radius: 4px; background: rgba(162,36,26,.22); }
@keyframes nvv-joue { 0% { width: 0; } 90%, 100% { width: 100%; } }
@keyframes nvv-point { 0%, 15% { opacity: 0; transform: translateX(10px); } 25%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
/* Comparer : trois onglets descendent et deviennent les colonnes d'un tableau */
.nvc-onglets { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); display: flex; gap: 6px; width: 76%; }
.nvc-onglets i { flex: 1; height: 18px; border-radius: 8px 8px 3px 3px; background: #fff; border: 1.5px solid var(--veil-2); animation: nvc-onglet 6s ease-in-out infinite; }
.nvc-onglets i:nth-child(2) { animation-delay: .2s; } .nvc-onglets i:nth-child(3) { animation-delay: .4s; }
.nvc-table { position: absolute; left: 50%; top: 44px; transform: translateX(-50%); width: 76%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.nvc-table i { height: 22px; border-radius: 5px; background: #fff; opacity: 0; animation: nvc-case 6s ease-out infinite; }
.nvc-table i:nth-child(3n+1) { animation-delay: .9s; } .nvc-table i:nth-child(3n+2) { animation-delay: 1.1s; } .nvc-table i:nth-child(3n) { animation-delay: 1.3s; }
.nvc-table i:nth-child(2), .nvc-table i:nth-child(6), .nvc-table i:nth-child(7) { background: var(--red); }
@keyframes nvc-onglet { 0%, 8% { transform: translateY(-30px); opacity: 0; } 18%, 92% { transform: none; opacity: 1; } 100% { opacity: 0; } }
@keyframes nvc-case { 0%, 20% { opacity: 0; transform: scale(.7); } 30%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
/* Colis : le paquet suit la route jusqu'à la maison, puis la coche apparaît */
.nvp-route { position: absolute; left: 18px; right: 18px; top: 58%; height: 3px; border-top: 3px dashed rgba(162,36,26,.4); }
.nvp-colis { position: absolute; top: -34px; left: 0; width: 30px; height: 28px; border-radius: 5px; background: #C98B4E; box-shadow: inset 0 9px 0 rgba(0,0,0,.12); animation: nvp-roule 6s cubic-bezier(.5,0,.4,1) infinite; }
.nvp-colis::after { content: ""; position: absolute; left: 13px; top: 0; bottom: 0; width: 4px; background: rgba(255,255,255,.55); }
.nvp-maison { position: absolute; right: 0; top: -46px; width: 40px; height: 30px; margin-top: 14px; background: var(--red); border-radius: 0 0 4px 4px; }
.nvp-maison::before { content: ""; position: absolute; left: -5px; top: -18px; border-left: 25px solid transparent; border-right: 25px solid transparent; border-bottom: 19px solid var(--red-ink); }
.nvp-badge { position: absolute; right: 22px; top: 18px; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--red); font: 800 17px/30px var(--font); text-align: center; box-shadow: 0 6px 16px -6px rgba(162,36,26,.6); opacity: 0; animation: nvp-ok 6s ease-out infinite; }
@keyframes nvp-roule { 0% { left: 0; } 70%, 100% { left: calc(100% - 78px); } }
@keyframes nvp-ok { 0%, 70% { opacity: 0; transform: scale(.4); } 78%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
/* Réseaux : une publication dont le mot fautif est corrigé sur place */
.nvs-post { position: absolute; left: 16px; right: 16px; top: 22px; bottom: 22px; display: flex; gap: 10px; padding: 12px; border-radius: 12px; background: #fff; box-shadow: 0 10px 24px -16px rgba(162,36,26,.5); }
.nvs-avatar { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--red); }
.nvs-lignes { flex: 1; display: grid; gap: 9px; align-content: start; padding-top: 4px; }
.nvs-lignes > i { display: block; height: 8px; border-radius: 4px; background: rgba(162,36,26,.18); }
.nvs-lignes > i:first-child { width: 90%; } .nvs-lignes > i:last-child { width: 60%; }
.nvs-lignes > .nvs-mot { height: auto; background: none; position: relative; font: 700 13px/1.2 var(--font); }
.nvs-mot b { position: absolute; left: 0; top: -2px; padding: 1px 4px; border-radius: 4px; }
.nvs-mot b:first-child { color: var(--ink); text-decoration: underline wavy var(--red); animation: nvs-faute 6s ease-in-out infinite; }
.nvs-mot b:last-child { color: var(--red-ink); background: rgba(226,60,46,.14); opacity: 0; animation: nvs-juste 6s ease-in-out infinite; }
.nvs-ok { position: absolute; right: 24px; bottom: 30px; width: 26px; height: 26px; border-radius: 50%; background: var(--red); color: #fff; font: 800 15px/26px var(--font); text-align: center; opacity: 0; animation: nvp-ok 6s ease-out infinite; }
@keyframes nvs-faute { 0%, 40% { opacity: 1; } 48%, 94% { opacity: 0; } 100% { opacity: 1; } }
@keyframes nvs-juste { 0%, 44% { opacity: 0; transform: translateY(4px); } 52%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .nvs-mot b:first-child { animation: none; opacity: 0; } .nvs-mot b:last-child, .nvs-ok { animation: none; opacity: 1; } }
[dir="rtl"] .nv-anim { direction: ltr; }
@media (prefers-reduced-motion: reduce) {
  .nvv-barre i, .nvv-points li, .nvc-onglets i, .nvc-table i, .nvp-colis, .nvp-badge { animation: none; opacity: 1; }
  .nvv-barre i { width: 60%; } .nvp-colis { left: calc(100% - 78px); }
}
/* Dans le blog, les animations prennent la largeur de l'article */
.b-nv { margin: 22px 0 26px; }
.b-nv .nv-anim { height: 170px; }


/* ---------- Bloc Écrire / Lire / Répondre en carrousel horizontal (classe ajoutée par main.js) ---------- */
.duo.carrousel { display: block; padding-left: 0; padding-right: 0; }
.duo.carrousel .duo-tabs { margin: 0 auto; width: max-content; }
.duo-piste { display: flex; gap: clamp(14px, 2.2vw, 28px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; direction: ltr;
  padding: clamp(22px, 3vw, 34px) 6% 14px; overscroll-behavior-x: contain; }
.duo-piste::-webkit-scrollbar { display: none; }
.duo-piste > .film-sec { flex: 0 0 min(1180px, 88%); scroll-snap-align: center; box-sizing: border-box; margin: 0; max-width: none;
  padding: clamp(22px, 3.2vw, 44px); border: 2px solid var(--red); border-radius: 30px; background: #fff;
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); grid-template-rows: auto auto auto 1fr;
  column-gap: clamp(24px, 4vw, 60px); align-items: start; transition: opacity .5s ease; }
[dir="rtl"] .duo-piste > .film-sec { direction: rtl; }
.duo-piste > .film-sec .film-text { display: contents; }
.duo-piste > .film-sec .kicker { grid-column: 1 / -1; grid-row: 1; }
.duo-piste > .film-sec h2 { grid-column: 1 / -1; grid-row: 2; margin: 6px 0 clamp(18px, 2.6vw, 30px); font-size: clamp(1.9rem, 3.6vw, 3.3rem); line-height: 1.06; }
.duo-piste > .film-sec .kicker { margin: 0; }
.duo-piste > .film-sec { align-content: start; }
.duo-piste > .film-sec .film-lead { grid-column: 1; grid-row: 3; }
.duo-piste > .film-sec .film-steps { grid-column: 1; grid-row: 4; }
.duo-piste > .film-sec .film { grid-column: 2; grid-row: 3 / span 2; }
.duo-piste > .film-sec.rev { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.duo-piste > .film-sec.rev .film-lead, .duo-piste > .film-sec.rev .film-steps { grid-column: 2; }
.duo-piste > .film-sec.rev .film { grid-column: 1; }
.duo-piste > .film-sec[inert] { opacity: .38; pointer-events: none; }
.duo-piste > .film-sec.rev .film-text { order: 0; }
.duo-nav { display: flex; justify-content: center; gap: 14px; margin-top: 6px; }
.duo-nav button { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--red); background: #fff; color: var(--red); font: 700 26px/1 var(--font); cursor: pointer; padding: 0 0 3px; }
.duo-nav button:hover { background: var(--red); color: #fff; }
@media (max-width: 860px) {
  .duo-piste { padding-left: 5%; padding-right: 5%; }
  .duo-piste > .film-sec, .duo-piste > .film-sec.rev { flex-basis: 90%; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; }
  .duo-piste > .film-sec .film, .duo-piste > .film-sec.rev .film { grid-column: 1; grid-row: 3; margin-bottom: 14px; }
  .duo-piste > .film-sec .film-lead, .duo-piste > .film-sec.rev .film-lead { grid-column: 1; grid-row: 4; }
  .duo-piste > .film-sec .film-steps { grid-row: 5; }
  .duo-piste > .film-sec { padding: 20px 16px 22px; border-radius: 24px; }
  .duo-piste .film-ctrl { flex-wrap: wrap; }
  .duo-piste .film-cap { flex: 1 1 100%; margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) { .duo-piste > .film-sec { transition: none; } }
/* Points de navigation (l'ancienne barre d'onglets) : le point actif s'allonge et se remplit pendant la lecture */
.duo.carrousel .duo-tabs.duo-points { display: flex; align-items: center; gap: 8px; width: auto; max-width: none; margin: 0 6px; padding: 0; background: none;
  overflow: visible; -webkit-mask-image: none; mask-image: none; border-radius: 0; flex-wrap: nowrap; }
.duo-points button { flex: none; width: 10px; height: 10px; padding: 0; border-radius: 5px; background: rgba(226,60,46,.28); color: transparent; font-size: 0;
  transition: width .35s ease, background .35s ease; }
.duo-points button:hover { background: rgba(226,60,46,.55); }
.duo-points button.on { width: 38px; background: rgba(226,60,46,.3); }
.duo-points button i { left: 0; right: 0; top: 0; bottom: 0; height: auto; border-radius: 5px; background: var(--red); }
.duo-nav { align-items: center; }
/* Bandeau « Envie d’essayer… » : un peu d’air sous les flèches du carrousel */
.duo + .cta-band { margin-top: clamp(48px, 7vw, 88px); }

/* Carrousel : la tuile entière (flèches comprises) tient dans la hauteur de l'écran, même sur un 10 pouces */
@media (min-width: 861px) {
  .duo-piste { padding-top: clamp(12px, 2.4vh, 30px); }
  .duo-piste > .film-sec { padding: clamp(14px, 3.2vh, 40px) clamp(20px, 3vw, 44px); }
  .duo-piste > .film-sec .kicker { font-size: clamp(11px, 1.6vh, 13px); }
  .duo-piste > .film-sec h2 { font-size: clamp(1.35rem, min(3.4vw, 4.6vh), 3.1rem); margin: 4px 0 clamp(10px, 2.2vh, 28px); }
  .duo-piste > .film-sec .film-lead { font-size: clamp(.88rem, 2vh, 1.08rem); line-height: 1.45; margin: 0 0 clamp(8px, 1.6vh, 18px); }
  .duo-piste > .film-sec .film { width: 100%; max-width: max(260px, calc((100vh - 380px) * 16 / 11)); justify-self: center; }
  .duo-piste > .film-sec .film-steps { gap: 0; }
  .duo-piste > .film-sec .film-steps button { padding-top: clamp(4px, 1vh, 10px); padding-bottom: clamp(4px, 1vh, 10px); font-size: clamp(12.5px, 1.9vh, 15.5px); }
  .duo-nav { margin-top: 0; }
  .duo-nav > button { width: clamp(36px, 5.4vh, 46px); height: clamp(36px, 5.4vh, 46px); font-size: clamp(20px, 3vh, 26px); }
}
.duo-piste > .film-sec { row-gap: 0; }
.duo-piste > .film-sec .film-text > .kicker { margin-top: 0; }

/* Carrousel : titre des tuiles sur une seule ligne (la coupure <br> est retirée, un espace la remplace) */
.duo-piste > .film-sec h2 br { display: none; }
.duo-piste > .film-sec h2 br + em::before { content: " "; }
.duo-piste > .film-sec h2:lang(ja) br + em::before, .duo-piste > .film-sec h2:lang(zh) br + em::before { content: none; }
@media (min-width: 861px) { .duo-piste > .film-sec h2 { font-size: clamp(1.3rem, min(2.7vw, 4.4vh), 2.6rem); } }
@media (min-width: 861px) { .duo-piste > .film-sec h2:lang(de) { font-size: clamp(1.2rem, min(2.15vw, 3.7vh), 2.1rem); } }

/* Carrousel : « 2 / 7 · Reformuler » à côté des flèches ; en dessous sur téléphone */
.duo-nav { flex-wrap: wrap; }
.duo-etiq { min-width: 12ch; font-size: 14px; font-weight: 700; color: var(--red-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 600px) { .duo-etiq { flex: 1 1 100%; text-align: center; margin-top: 4px; } }

/* Lien dans le crédit du pied de page (Anthropic) : même couleur que le texte, souligné (2026-11-10) */
.land-credit a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.land-credit a:hover { opacity: .75; }
