/* ArkestrIA V2 — la salle de concert.
   S'appuie sur style.css (tokens, typographie, composants) et ajoute l'expérience immersive. */

:root { --night: #12152b; --night-2: #1b1f3b; --glow: #f3d77a; }

body.v2 { background: var(--paper); }

/* En-tête : clair sur la scène sombre, puis papier */
.v2 .site-head { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; color: var(--paper); transition: background .4s, color .4s, border-color .4s; }
.v2 .site-head .nav a { color: #c6cbe6; }
.v2 .site-head .nav a:hover { color: #fff; }
.v2 .site-head .brand b { color: var(--brass); }
.v2 .site-head .nav .btn { background: var(--brass); color: var(--ink); }
.v2 .site-head .menu-toggle { color: var(--paper); border-color: #3d457e; }
.v2 .site-head.solid { background: rgba(18, 21, 43, .82); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom-color: #2a2f58; }
.v2 .site-head.light { background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); color: var(--ink); border-bottom-color: var(--line); }
.v2 .site-head.light .nav a { color: var(--ink-soft); }
.v2 .site-head.light .nav a:hover { color: var(--ink); }
.v2 .site-head.light .brand b { color: var(--brass-deep); }
.v2 .site-head.light .nav .btn { background: var(--ink); color: var(--white); }
.v2 .site-head.light .menu-toggle { color: var(--ink); border-color: var(--line); }
@media (max-width: 880px) {
  .v2 .site-head .nav { background: var(--night-2); border-bottom-color: #2a2f58; }
  .v2 .site-head .nav a { border-bottom-color: #2a2f58; }
  .v2 .site-head.light .nav { background: var(--white); border-bottom-color: var(--line); }
  .v2 .site-head.light .nav a { border-bottom-color: var(--paper-2); }
}

/* ---------- Scène d'ouverture ---------- */
.stage { padding: 0; position: relative; height: 260vh; background: var(--night); margin-top: -4.25rem; color: var(--paper); }
.stage-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
#gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.stage-fallback { position: absolute; inset: 0; background:
  radial-gradient(60% 50% at 70% 50%, rgba(201,162,39,.18), transparent 70%),
  repeating-linear-gradient(180deg, transparent 0 calc(12vh - 1px), rgba(201,162,39,.35) calc(12vh - 1px) 12vh);
  background-position: 0 0, 0 30vh; background-size: auto, 100% 60vh; background-repeat: no-repeat; opacity: 0; transition: opacity .6s; }
.no-webgl .stage-fallback { opacity: 1; }
.stage-copy { position: absolute; inset: 0; display: flex; align-items: center; pointer-events: none; }
.stage-copy .wrap { pointer-events: none; }
.act { max-width: 40rem; transition: opacity .7s ease, transform .9s cubic-bezier(.2,.7,.1,1); }
.act a, .act button { pointer-events: auto; }
.act h1 { font-size: clamp(2.8rem, 6.4vw, 5.6rem); letter-spacing: -0.04em; margin-bottom: 1.4rem; color: #fff; }
.act .lead { color: #c6cbe6; margin-bottom: 2rem; }
.act-2 { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 9vh; transform: translateY(30px); opacity: 0; max-width: var(--max); margin-inline: auto; }
.act-2 h2 { font-size: clamp(2rem, 4vw, 3.4rem); color: #fff; max-width: 22ch; letter-spacing: -0.035em; }
.act-2 p { color: #c6cbe6; font-size: var(--step-1); max-width: 34ch; margin-top: 1rem; }
.stage[data-phase="2"] .act-1 { opacity: 0; transform: translateY(-30px); }
.stage[data-phase="2"] .act-1 a { pointer-events: none; }
.stage[data-phase="2"] .act-2 { opacity: 1; transform: none; }
.stage-hint { position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); font-size: .9rem; color: #8f96bd; display: flex; align-items: center; gap: .7rem; transition: opacity .5s; white-space: nowrap; }
.stage-hint i { width: 1px; height: 28px; background: linear-gradient(var(--brass), transparent); display: block; animation: hint 2.2s ease-in-out infinite; }
@keyframes hint { 0%, 100% { transform: scaleY(.3); transform-origin: top; } 50% { transform: scaleY(1); } }
.stage[data-phase="2"] .stage-hint, .stage.harmony .stage-hint { opacity: 0; }
.staff-tags { position: absolute; right: var(--gutter); top: 0; bottom: 0; width: 9rem; pointer-events: none; }
.staff-tags span { position: absolute; right: 0; font-size: .85rem; color: var(--brass); opacity: 0; transform: translateX(10px); transition: opacity .6s, transform .6s; white-space: nowrap; }
.stage[data-phase="2"] .staff-tags span { opacity: .95; transform: none; }
.sound-toggle { position: fixed; left: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); z-index: 55; background: rgba(27,31,59,.88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid #3d457e; color: var(--paper); border-radius: 999px; padding: .5rem .95rem; font: inherit; font-size: .85rem; cursor: pointer; display: inline-flex; gap: .5rem; align-items: center; box-shadow: 0 10px 30px -12px rgba(0,0,0,.5); }
.sound-toggle[aria-pressed="true"] { border-color: var(--brass); color: var(--brass); }
.sound-toggle.waiting { border-color: var(--brass); }
.sound-toggle.waiting svg { animation: soundpulse 1.6s ease-in-out infinite; }
@keyframes soundpulse { 50% { opacity: .35; transform: scale(.85); } }
.sound-toggle svg { width: 16px; height: 16px; flex: none; }
@media (max-width: 760px) { .staff-tags { display: none; } .stage-hint { display: none; } .act-2 { top: 16vh; bottom: auto; } .sound-toggle { font-size: .8rem; padding: .45rem .8rem; } }

/* ---------- Mouvements : démos vivantes ---------- */
.movements { background: var(--night-2); color: var(--paper); padding: 0; overflow: hidden; }
.movements-intro { padding-top: clamp(4rem, 8vw, 6rem); padding-bottom: 2rem; }
.movements-intro h2 { color: #fff; max-width: 22ch; }
.movements-intro p { color: #c6cbe6; font-size: var(--step-1); max-width: 46ch; margin-top: 1rem; }
.track-wrap { position: relative; }
.track { display: flex; gap: 2rem; padding: 2rem var(--gutter) clamp(4rem, 8vw, 6rem); width: max-content; }
.panel { width: min(1100px, calc(100vw - 2 * var(--gutter))); display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.panel-text .mvt { color: var(--brass); font-size: 1rem; font-weight: 600; margin-bottom: .8rem; display: block; }
.panel-text h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); color: #fff; letter-spacing: -0.03em; margin-bottom: 1rem; }
.panel-text p { color: #c6cbe6; }
.panel-text .gain { margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid #3d457e; color: var(--paper); }
.panel-text .gain strong { color: var(--brass); font-size: 1.4rem; display: block; letter-spacing: -0.02em; }
.demo { background: var(--paper); color: var(--ink); border-radius: var(--radius-l); min-height: 400px; padding: 1.2rem; position: relative; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.demo-bar { display: flex; align-items: center; gap: .4rem; margin-bottom: 1rem; font-size: .85rem; color: var(--slate); }
.demo-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); display: block; }
.demo-bar span { margin-left: .6rem; }
.progress-rail { height: 3px; background: #2a2f58; margin: 0 var(--gutter); border-radius: 2px; position: relative; top: -2.4rem; }
.progress-rail b { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--brass); border-radius: 2px; }
@media (max-width: 900px) {
  .track { flex-direction: column; width: auto; }
  .panel { width: 100%; grid-template-columns: 1fr; }
  .progress-rail { display: none; }
}

/* Démo 1 : boîte mail */
.inbox { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.mail { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: .7rem .85rem; display: grid; grid-template-columns: 1fr auto; gap: .2rem .8rem; font-size: .92rem; transform: translateY(-14px); opacity: 0; transition: transform .5s cubic-bezier(.2,.8,.2,1), opacity .5s, background .4s; }
.mail.in { transform: none; opacity: 1; }
.mail b { font-weight: 600; }
.mail .sub { color: var(--slate); grid-column: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mail .tag { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-size: .8rem; font-weight: 600; border-radius: 999px; padding: .25rem .65rem; opacity: 0; transform: scale(.8); transition: opacity .35s, transform .35s; }
.mail.tagged .tag { opacity: 1; transform: none; }
.tag.client { background: #dfe6ff; color: #23308f; }
.tag.facture { background: #f6ecc8; color: #6b5409; }
.tag.urgent { background: #ffe1dc; color: #9a2615; }
.tag.pub { background: #e6e8ee; color: #565d78; }
.mail.archived { opacity: .38; }
.mail .draft { grid-column: 1 / -1; font-size: .85rem; color: var(--ok); max-height: 0; overflow: hidden; transition: max-height .5s; }
.mail.drafted .draft { max-height: 2.4em; }
.demo-foot { position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1rem; display: flex; justify-content: space-between; font-size: .85rem; color: var(--slate); font-variant-numeric: tabular-nums; }

/* Démo 2 : facture vers tableur */
.invoice-demo { display: grid; grid-template-columns: 1fr 1.2fr; gap: 1rem; align-items: start; }
.invoice { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 1rem; font-size: .82rem; position: relative; overflow: hidden; }
.invoice h4 { margin: 0 0 .6rem; font-size: 1rem; }
.invoice .row { display: flex; justify-content: space-between; padding: .25rem 0; border-bottom: 1px dashed var(--paper-2); }
.invoice .hl { transition: background .3s; border-radius: 3px; padding: 0 .2rem; }
.invoice .hl.on { background: #f6ecc8; }
.scanline { position: absolute; left: 0; right: 0; height: 40px; top: -40px; background: linear-gradient(transparent, rgba(201,162,39,.35), transparent); }
.invoice.scan .scanline { animation: scan 1.6s ease-in-out; }
@keyframes scan { to { top: 100%; } }
.sheet { width: 100%; border-collapse: collapse; font-size: .82rem; background: var(--white); border-radius: 8px; overflow: hidden; }
.sheet th { background: var(--paper-2); text-align: left; font-weight: 600; padding: .45rem .5rem; }
.sheet td { padding: .45rem .5rem; border-top: 1px solid var(--paper-2); font-variant-numeric: tabular-nums; }
.sheet tr.new td { animation: rowin .8s ease; }
@keyframes rowin { from { background: #f6ecc8; } to { background: transparent; } }
@media (max-width: 560px) { .invoice-demo { grid-template-columns: 1fr; } }

/* Démo 3 : agenda */
.week { display: grid; grid-template-columns: repeat(5, 1fr); gap: .4rem; }
.day { background: var(--white); border: 1px solid var(--line); border-radius: 8px; min-height: 250px; padding: .4rem; display: flex; flex-direction: column; gap: .35rem; }
.day > span { font-size: .78rem; color: var(--slate); text-align: center; }
.slot { background: var(--paper-2); border-radius: 6px; padding: .35rem .4rem; font-size: .74rem; line-height: 1.25; transition: background .4s, transform .4s; }
.slot b { display: block; font-weight: 600; }
.slot.confirmed { background: #dcefe5; }
.slot.moved { background: #f6ecc8; transform: translateY(4px); }
.slot.new { background: #dfe6ff; animation: pop .5s ease; }
@keyframes pop { from { transform: scale(.7); opacity: 0; } }
.toast { position: absolute; right: 1rem; bottom: 2.8rem; background: var(--ink); color: var(--paper); border-radius: 10px; padding: .6rem .8rem; font-size: .82rem; max-width: 260px; opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .4s; }
.toast.show { opacity: 1; transform: none; }

/* Démo 4 : assistant */
.chat { display: flex; flex-direction: column; gap: .7rem; min-height: 320px; }
.bubble { max-width: 85%; padding: .7rem .9rem; border-radius: 14px; font-size: .92rem; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; }
.bubble.show { opacity: 1; transform: none; }
.bubble.q { align-self: flex-end; background: var(--ink); color: var(--paper); border-bottom-right-radius: 4px; }
.bubble.a { align-self: flex-start; background: var(--white); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.bubble .src { display: inline-block; margin-top: .45rem; font-size: .78rem; color: var(--brass-deep); border: 1px solid #e3d29a; background: #fbf5e1; border-radius: 6px; padding: .1rem .45rem; }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--slate); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .2; } }

/* ---------- Simulateur ---------- */
.sim { background: var(--paper); }
.sim-shell { background: var(--ink); color: var(--paper); border-radius: 22px; overflow: hidden; display: grid; grid-template-columns: 1fr 340px; min-height: 520px; }
.sim-canvas { position: relative; padding: 1.2rem; background:
  radial-gradient(circle at 1px 1px, #2f3770 1px, transparent 0) 0 0 / 22px 22px; }
.sim-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.sim-tabs button { background: transparent; color: #c6cbe6; border: 1px solid #3d457e; border-radius: 999px; padding: .45rem .95rem; font: inherit; font-size: .9rem; cursor: pointer; }
.sim-tabs button[aria-selected="true"] { background: var(--paper); color: var(--ink); border-color: var(--paper); }
#sim-svg { width: 100%; height: auto; display: block; }
.sim-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 700px) { #sim-svg { min-width: 640px; } }
#sim-svg .edge { fill: none; stroke: #4a5288; stroke-width: 2; }
#sim-svg .edge.done { stroke: var(--brass); }
#sim-svg .node rect { fill: var(--night-2); stroke: #4a5288; stroke-width: 1.5; rx: 12; transition: fill .3s, stroke .3s; }
#sim-svg .node.active rect { stroke: var(--brass); fill: #2a2f58; }
#sim-svg .node.done rect { stroke: var(--brass); }
#sim-svg .node.skipped { opacity: .35; }
#sim-svg .node text { fill: var(--paper); font: 600 14px var(--font); }
#sim-svg .node text.k { fill: #8f96bd; font-weight: 500; font-size: 12px; }
#sim-svg .node .badge { fill: var(--brass); }
#sim-svg .packet { fill: var(--glow); filter: drop-shadow(0 0 6px var(--brass)); }
.sim-run { position: absolute; left: 1.2rem; bottom: 1.2rem; display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.sim-run .stat { font-size: .9rem; color: #c6cbe6; font-variant-numeric: tabular-nums; }
.sim-run .stat b { color: var(--brass); }
.sim-log { background: #0f1226; padding: 1.1rem 1.1rem 1.4rem; font-size: .84rem; line-height: 1.5; overflow-y: auto; max-height: 520px; border-left: 1px solid #2a2f58; }
.sim-log h3 { font-size: 1rem; margin-bottom: .8rem; color: #fff; }
.sim-log ol { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.sim-log li { border-left: 2px solid var(--brass); padding-left: .7rem; animation: logIn .35s ease; }
.sim-log li .t { color: #8f96bd; font-variant-numeric: tabular-nums; font-size: .78rem; }
.sim-log li .o { color: #c6cbe6; display: block; }
.sim-log li.wait { border-left-color: #8f96bd; }
.sim-log .empty { color: #8f96bd; }
@keyframes logIn { from { opacity: 0; transform: translateX(-6px); } }
@media (max-width: 960px) { .sim-shell { grid-template-columns: 1fr; } .sim-log { border-left: 0; border-top: 1px solid #2a2f58; max-height: 320px; } .sim-run { position: static; margin-top: 1rem; } }

/* Méthode : la ligne se remplit au défilement */
.timeline { position: relative; }
.timeline .steps { border-top: 0; }
.timeline-line { height: 2px; background: var(--line); position: relative; margin-bottom: 0; }
.timeline-line b { position: absolute; left: 0; top: 0; bottom: 0; background: var(--ink); width: 0; }

/* Calculateur : visualisation des semaines */
.weeks-viz { display: grid; grid-template-columns: repeat(26, 1fr); gap: 3px; margin: 1.2rem 0 1.4rem; }
.weeks-viz i { aspect-ratio: 1; border-radius: 2px; background: #3d457e; transition: background .3s; }
.weeks-viz i.on { background: var(--brass); }
.weeks-cap { font-size: .86rem; color: #aeb4d4; margin-top: -.6rem; margin-bottom: 1.2rem; }

/* Bande d'outils défilante, à vitesse lente */
.tools-band { overflow: hidden; border-block: 1px solid var(--line); padding: 1.1rem 0; margin-top: 3rem; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.tools-band ul { display: flex; gap: 3rem; width: max-content; list-style: none; margin: 0; padding: 0; animation: band 40s linear infinite; font-size: 1.15rem; font-weight: 600; color: var(--ink-soft); }
@keyframes band { to { transform: translateX(-50%); } }

/* Accroche en filigrane pendant l'ouverture : trois temps en fondu, derrière le titre.
   Le mode « screen » la fond dans le nuage et la portée, comme si elle était dessous. */
.stage-annonce { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; pointer-events: none;
  font-weight: 600; font-size: clamp(3rem, 8.2vw, 9.5rem); line-height: 1; letter-spacing: -0.045em; text-align: center;
  color: #f3d77a; mix-blend-mode: screen; transition: opacity .8s ease; }
.stage-annonce span { grid-area: 1 / 1; max-width: 92vw; padding: 0 4vw; opacity: 0; text-shadow: 0 0 70px rgba(201,162,39,.5); }
.stage.annonce .stage-annonce span { animation: annonce 2.8s cubic-bezier(.45,0,.35,1) both; }
.stage.annonce .stage-annonce span:nth-child(1) { animation-delay: .5s; }
.stage.annonce .stage-annonce span:nth-child(2) { animation-delay: 2.9s; }
.stage.annonce .stage-annonce span:nth-child(3) { animation-delay: 5.3s; animation-duration: 3.2s; }
@keyframes annonce {
  0%   { opacity: 0; transform: scale(.985); filter: blur(.5px); }
  35%  { opacity: .5; transform: none; filter: none; }
  65%  { opacity: .5; }
  100% { opacity: 0; transform: scale(1.01); }
}
/* Le vrai titre prend le relais quand l'accroche s'achève (la classe est retirée ensuite par app.js) */
.stage.annonce .act-1 { animation: titre-relais 1.4s ease 7.4s both; }
.stage.annonce .act-1:focus-within { animation: none; opacity: 1; }
/* Le visiteur fait défiler ou appuie sur une touche : l'accroche s'efface en fondu, le titre arrive aussitôt */
.stage.annonce-fin .stage-annonce { opacity: 0; }
.stage.annonce-fin .act-1 { animation: none; }
@keyframes titre-relais { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
  .stage-annonce { font-size: clamp(2.6rem, 13vw, 4.4rem); align-items: start; padding-top: 22vh; }
}

/* Curseur baguette sur la scène */
.baton { position: fixed; left: 0; top: 0; width: 34px; height: 34px; border: 1.5px solid var(--brass); border-radius: 50%; pointer-events: none; z-index: 60; transform: translate(-50%, -50%); opacity: 0; transition: opacity .3s, width .3s, height .3s; mix-blend-mode: screen; }
.baton.on { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  /* Accroche fixe, sans fondu, et titre visible d'emblée */
  .stage.annonce .stage-annonce span, .stage.annonce .act-1 { animation: none; }
  .stage-annonce { display: block; inset: 5.6rem 0 auto 0; font-size: clamp(1.6rem, 3.6vw, 3.2rem); }
  .stage-annonce span { opacity: .4; padding: 0; }
  .sound-toggle.waiting svg { animation: none; }
  .stage { height: auto; }
  .stage-sticky { position: relative; height: 100vh; }
  .tools-band ul { animation: none; flex-wrap: wrap; width: auto; }
  .stage-hint i, .typing i { animation: none; }
}

/* Sélecteur de langue */
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .7rem; border-radius: 999px; border: 1px solid #3d457e; font-size: .9rem; color: #c6cbe6; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { width: 15px; height: 15px; }
.lang[open] summary, .lang summary:hover { color: #fff; border-color: var(--brass); }
.lang ul { position: absolute; right: 0; top: calc(100% + .5rem); list-style: none; margin: 0; padding: .4rem; min-width: 10rem; background: var(--night-2); border: 1px solid #3d457e; border-radius: 12px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); z-index: 70; }
.lang li a { display: block; padding: .5rem .75rem; border-radius: 8px; color: #c6cbe6 !important; text-decoration: none; font-size: .95rem; }
.lang li a:hover { background: #2a2f58; color: #fff !important; text-decoration: none; }
.lang li a[aria-current="true"] { color: var(--brass) !important; }
.v2 .site-head.light .lang summary { color: var(--ink-soft); border-color: var(--line); }
.v2 .site-head.light .lang[open] summary, .v2 .site-head.light .lang summary:hover { color: var(--ink); border-color: var(--brass-deep); }
@media (max-width: 880px) {
  .lang { padding: .8rem 0; border-bottom: 1px solid #2a2f58; }
  .lang summary { display: none; }
  .lang ul { position: static; display: flex; flex-wrap: wrap; gap: .3rem; padding: 0; border: 0; box-shadow: none; background: none; min-width: 0; }
  .lang:not([open]) ul { display: flex; }
  .lang li a { border: 1px solid #3d457e; padding: .4rem .8rem; border-radius: 999px; font-size: .9rem; }
  .v2 .site-head.light .lang { border-bottom-color: var(--paper-2); }
  .v2 .site-head.light .lang li a { color: var(--ink-soft) !important; border-color: var(--line); }
}

/* Simulateur : « 6 h » ou « 35 € » restent toujours sur une seule ligne */
.field output { white-space: nowrap; }

/* Témoignage client */
.quote { margin: 0; max-width: 46rem; padding-left: 1.6rem; border-left: 3px solid var(--brass); }
.quote blockquote { margin: 0; }
.quote blockquote p { font-size: var(--step-1); line-height: 1.5; color: var(--ink); margin: 0 0 .9rem; }
.quote figcaption { margin-top: 1.2rem; font-weight: 650; }
.quote figcaption span { display: block; font-weight: 400; color: var(--slate); }

/* Portrait du fondateur */
.portrait img { display: block; width: 100%; height: 100%; object-fit: cover; }

.quote figcaption .quote-note { margin-top: .4rem; font-size: .8rem; font-weight: 400; font-style: italic; color: var(--slate); }

/* Accueil : le lien secondaire reste lisible par-dessus les particules */
.hero-actions .link-quiet, .act .link-quiet { text-shadow: 0 0 6px #141731, 0 0 14px #141731, 0 0 22px #141731; }

/* Mobile : le bouton flottant « musique » ne masque plus le bas du pied de page */
@media (max-width: 760px) { .site-foot { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px)); } }

/* Marque bien visible à l'arrivée : en haut de page, le logo est agrandi par un zoom qui déborde
   dans l'espace libre au-dessus du titre (sans décaler la page), puis reprend sa taille compacte
   dès qu'on fait défiler (classes solid / light posées par app.js) */
.v2 .site-head .brand { transform-origin: left top; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.v2 .site-head:not(.solid):not(.light) .brand { transform: translateY(-.35rem) scale(2.6); }
.v2 .site-head:not(.solid):not(.light) .brand circle { filter: drop-shadow(0 0 2.5px rgba(243, 215, 122, .9)); }
.v2 .site-head:not(.solid):not(.light) .brand b { text-shadow: 0 0 10px rgba(201, 162, 39, .5); }
@media (max-width: 1240px) {
  .v2 .site-head:not(.solid):not(.light) .brand { transform: translateY(-.25rem) scale(1.7); }
}
@media (max-width: 860px) {
  .v2 .site-head:not(.solid):not(.light) .brand { transform: translateY(-.2rem) scale(1.75); }
}
@media (max-width: 360px), (max-width: 860px) and (max-height: 700px) {
  .v2 .site-head:not(.solid):not(.light) .brand { transform: translateY(-.1rem) scale(1.3); }
}
@media (max-width: 360px) {
  .v2 .site-head:not(.solid):not(.light) .brand { transform: scale(1.1); }
}
@media (prefers-reduced-motion: reduce) {
  .v2 .site-head .brand { transition: none; }
}
