/* Accueil, ouverture vivante (rendue par James le 30 novembre 2026) : l'éveil, la maison et le film des lieux, la grille des divisions, l'appareil, l'exemple réel. Un seul accent par mode, traits d'un pixel, aucune lueur épaisse.
   Mouvement seulement sous html.fx; voir assets/demos/accueil.js. */
:root, :root[data-mode="signature"] { --ac: #c7a476; --ac-hi: #eccb9c; --ac-line: #c7a47640; }
:root[data-mode="platinum"] { --ac: #9fc6ff; --ac-hi: #d9e9ff; --ac-line: #a8c9ff5c; }
:root[data-mode="base"] { --ac: #b4b4b6; --ac-hi: #ececee; --ac-line: #b4b4b63d; }
.ac-hero, .ac-sect, .ac-gam, .ac-tuiles { --ac-pad: clamp(1.2rem, 4.6vw, 4.2rem); background: #000; }

/* ---------- 1. Héros vivant ---------- */
.ac-hero { position: relative; height: max(100svh, 640px); max-height: 1040px; overflow: hidden; display: grid; align-items: end; }
.ac-view { position: absolute; inset: 0; }
.ac-ph, .ac-gl { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.ac-gl { opacity: 0; transition: opacity .5s; }
.ac-hero.is-gl .ac-gl { opacity: 1; }
.ac-view::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, #000000a6 0, #0000 17%, #0000 60%, #000000cc 81%, #000 100%);
}
.ac-spots { position: absolute; inset: 0; z-index: 2; display: none; }
.ac-hero.is-gl .ac-spots { display: block; }
.ac-spot {
  position: absolute; left: var(--px, 50%); top: var(--py, 50%); width: 44px; height: 44px; margin: -22px 0 0 -22px;
  padding: 0; border: 0; background: none; color: #fff; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.ac-spot.is-out { display: none; }
.ac-spot i { position: absolute; left: 50%; top: 50%; width: 11px; height: 11px; margin: -5.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px #0006, 0 0 0 7px #ffffff24; transition: background .4s, box-shadow .4s; }
.ac-spot i::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px solid #ffffffb0; opacity: 0; }
.fx .ac-spot i::after { animation: acOnde 3.6s ease-out infinite; }
.ac-hero.is-hors .ac-spot i::after { animation-play-state: paused; }
.ac-spot:nth-child(2) i::after { animation-delay: .9s; }
.ac-spot:nth-child(3) i::after { animation-delay: 1.8s; }
.ac-spot:nth-child(4) i::after { animation-delay: 2.7s; }
@keyframes acOnde { 0% { transform: scale(.6); opacity: .9; } 70%, 100% { transform: scale(2.1); opacity: 0; } }
.ac-spot[aria-pressed="false"] i { background: #0000; box-shadow: 0 0 0 1.5px #fff, 0 0 0 7px #ffffff14; }
.ac-spot span {
  position: absolute; left: 40px; top: 50%; transform: translate(-6px, -50%); display: flex; gap: .55rem; align-items: baseline;
  padding: .5rem .8rem; white-space: nowrap; font: 500 .8rem/1 var(--sans); letter-spacing: 0;
  background: #060606d1; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--ac-line); border-radius: 4px; opacity: 0; pointer-events: none; transition: opacity .35s, transform .35s;
}
.ac-spot.is-left span { left: auto; right: 40px; transform: translate(6px, -50%); }
.ac-spot b { font-weight: 600; }
.ac-spot em { font-style: normal; color: var(--ac-hi); }
.ac-spot:hover span, .ac-spot:focus-visible span, .ac-spot.is-dit span { opacity: 1; transform: translate(0, -50%); }
.ac-spot:focus-visible { outline: none; }
.ac-spot:focus-visible i { box-shadow: 0 0 0 2px #000, 0 0 0 4px var(--ac-hi); }

/* Le film : cinq autres lieux se posent sur la maison, par un rideau en biais; chaque photo porte ses
   repères, posés sur l'objet, et suit doucement le pointeur. */
.ac-sc { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .01s linear 1.4s; }
.ac-sc.is-on { opacity: 1; z-index: 1; transition: opacity 1.4s cubic-bezier(.4, 0, .2, 1); }
.fx .ac-sc.is-on { transition: none; animation: acRideau 1.25s cubic-bezier(.62, 0, .2, 1) both; }
.ac-hero.vers-maison .ac-sc { transition: opacity 1.4s cubic-bezier(.4, 0, .2, 1); }
@keyframes acRideau { from { clip-path: polygon(0 0, 0 0, -20% 100%, 0 100%); } to { clip-path: polygon(0 0, 140% 0, 120% 100%, 0 100%); } }
.ac-sc-in { position: absolute; inset: 0; }
.ac-sc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fx .ac-sc.is-on .ac-sc-in { animation: acFilm 11s cubic-bezier(.2, .6, .3, 1) both; }
.fx .ac-sc:nth-child(even).is-on .ac-sc-in { animation-name: acFilmB; }
@keyframes acFilm { from { transform: scale(1.1) translate3d(1.2%, .8%, 0); } to { transform: scale(1.02); } }
@keyframes acFilmB { from { transform: scale(1.02) translate3d(-.8%, 0, 0); } to { transform: scale(1.1) translate3d(.8%, -.8%, 0); } }
.ac-sc::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #000000a6 0, #0000 17%, #0000 52%, #000000d6 80%, #000 100%), linear-gradient(90deg, #00000066 0, #0000 42%); }
.ac-hud { position: absolute; inset: 0; z-index: 2; margin: 0; padding: 0; list-style: none; }
.ac-hud li { position: absolute; left: var(--px, -99px); top: var(--py, -99px); width: 0; height: 0; opacity: 0; }
.ac-hud li.is-out { display: none; }
.ac-hud i { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px #0006, 0 0 0 7px #ffffff26; }
.ac-hud i::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid #ffffffc0; opacity: 0; }
.fx .ac-sc.is-on .ac-hud i::after { animation: acOnde 3.2s ease-out infinite; }
.ac-hud li:nth-child(2) i::after { animation-delay: .8s; }
.ac-hud li:nth-child(3) i::after { animation-delay: 1.6s; }
.ac-hud span { position: absolute; left: 26px; top: 0; transform: translateY(-50%); display: flex; gap: .55rem; align-items: baseline; white-space: nowrap; padding: .55rem .85rem; font: 500 .82rem/1 var(--sans); color: #fff; background: #060606cf; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--ac-line); border-radius: 4px; }
.ac-hud span::before { content: ""; position: absolute; right: 100%; top: 50%; width: 14px; height: 1px; background: #ffffff8c; }
.ac-hud li.is-left span { left: auto; right: 26px; }
.ac-hud li.is-left span::before { right: auto; left: 100%; }
.ac-hud b { font-weight: 600; }
.ac-hud em { font-style: normal; color: var(--ac-hi); }
.ac-sc.is-on .ac-hud li { opacity: 1; transition: opacity .7s 1s; }
.ac-sc.is-on .ac-hud li:nth-child(2) { transition-delay: 1.35s; }
.ac-sc.is-on .ac-hud li:nth-child(3) { transition-delay: 1.7s; }
.ac-balai { position: absolute; z-index: 3; top: 0; bottom: 0; left: 0; width: 26%; opacity: 0; transform: translateX(-120%) skewX(-12deg); background: linear-gradient(90deg, #0000, color-mix(in srgb, var(--ac-hi) 26%, transparent) 70%, color-mix(in srgb, var(--ac-hi) 70%, transparent) 99%, #0000); mix-blend-mode: screen; }
.fx .ac-hero.is-change .ac-balai { animation: acBalai 1.25s cubic-bezier(.62, 0, .2, 1); }
@keyframes acBalai { 0% { opacity: 0; transform: translateX(-120%) skewX(-12deg); } 12% { opacity: 1; } 88% { opacity: 1; } 100% { opacity: 0; transform: translateX(440%) skewX(-12deg); } }
.ac-hero[data-scene]:not([data-scene="0"]) .ac-spots, .ac-hero.is-gl[data-scene]:not([data-scene="0"]) .ac-demo { opacity: 0; pointer-events: none; }
.ac-spots, .ac-demo { transition: opacity .6s; }

.ac-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; margin: 1.7rem 0 0; max-width: min(100%, 58rem); }
.ac-tabs button { position: relative; padding: .85rem 0 0; border: 0; background: none; text-align: left; color: #ffffff80; font: 600 .75rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: color .3s; -webkit-tap-highlight-color: transparent; }
.ac-tabs button::before, .ac-tabs i { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: #ffffff2e; }
.ac-tabs i { background: var(--ac-hi); transform: scaleX(0); transform-origin: 0 50%; }
.ac-tabs button:hover, .ac-tabs button[aria-pressed="true"] { color: #fff; }
.ac-tabs button[aria-pressed="true"] i { transform: scaleX(1); }
.ac-hero.is-film .ac-tabs button[aria-pressed="true"] i { animation: acTemps var(--ac-duree, 7s) linear both; }
.ac-hero.is-hors .ac-tabs i, .ac-hero.is-pause .ac-tabs i, .ac-hero.is-arret .ac-tabs i { animation-play-state: paused !important; }
.ac-arret { margin: .9rem 0 0; padding: .7rem 0; min-height: 44px; border: 0; background: none; color: #ffffffb3; font: 600 .75rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.ac-arret:hover, .ac-arret[aria-pressed="true"] { color: #fff; }
.ac-arret:focus-visible { outline: 2px solid var(--ac-hi); outline-offset: 4px; }
.ac-tabs button:focus-visible { outline: 2px solid var(--ac-hi); outline-offset: 4px; }
@keyframes acTemps { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 720px) {
  .ac-tabs { margin-top: 1.2rem; }
  .ac-tabs span { display: none; }
  .ac-tabs button { padding-top: .7rem; }
  .ac-hud { inset: calc(5rem + 16px) auto auto calc(var(--ac-pad) + 16px); display: grid; gap: .35rem; justify-items: start; }
  .ac-hud li, .ac-hud li.is-out { position: static; display: block; width: auto; height: auto; }
  .ac-hud li:nth-child(3) { display: none; }
  .ac-hud i { display: none; }
  .ac-hud span { position: static; transform: none; font-size: .75rem; padding: .45rem .65rem; }
  .ac-hud span::before { display: none; }
  .fx .ac-sc.is-on .ac-sc-in { animation: none; }
  .fx .ac-sc.is-on img { animation: acFilm 11s cubic-bezier(.2, .6, .3, 1) both; }
}

.ac-hero-in { position: relative; z-index: 3; padding: 0 var(--ac-pad); }
.ac-sig { margin: 0 0 .9rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem .9rem; font: 600 1rem/1.3 var(--sans); letter-spacing: .13em; text-transform: uppercase; text-shadow: 0 1px 14px #000c; }
.ac-sig b { color: #f5f5f7; font-weight: 700; }
.ac-sig span { color: var(--ac-hi); padding-left: .9rem; border-left: 1px solid color-mix(in srgb, var(--ac-hi) 55%, transparent); }
.ac-hero h2 { margin: 0 0 1.1rem; font: 600 clamp(2.3rem, 4.5vw, 4.1rem)/1.04 var(--sans); letter-spacing: -.038em; color: #fff; text-wrap: balance; }
.ac-hero-bas { display: flex; align-items: center; gap: 1.2rem 2.6rem; flex-wrap: wrap; }
.ac-phrase { margin: 0; max-width: 33rem; font-size: 1.08rem; line-height: 1.5; color: #dedad2; }
.ac-acts { display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; }
/* Le champ « Demandez à JARVIS » du héros : aligné à gauche, comme le titre */
/* Ce que JARVIS dit du lieu montré */
.ac-dit { margin: -.2rem 0 1.4rem; display: flex; align-items: center; min-height: 1.6em; font-weight: 500; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: #f5f5f7; text-shadow: 0 2px 18px #000c; }
.ac-dit span { transition: opacity .35s, filter .35s; }
.ac-dit span.is-change { opacity: 0; filter: blur(4px); }
.ac-demo { position: absolute; z-index: 3; right: var(--ac-pad); bottom: 3.2rem; margin: 0; font-size: .82rem; color: #ffffffcc; text-shadow: 0 1px 10px #000, 0 0 3px #000; opacity: 0; transition: opacity .6s; }
.ac-hero.is-gl .ac-demo { opacity: 1; }
.fx .ac-hero h2, .fx .ac-dit { animation: acMonte 1s var(--ease) both; }
.fx .ac-dit { animation-delay: .1s; }
.fx .ac-hero-bas { animation-delay: .2s; }
@keyframes acSolVie { from { transform: scale(1.12); } to { transform: scale(1.02); } }
@keyframes acMonte { from { opacity: 0; transform: translateY(14px); } }

@media (max-width: 1180px) { .ac-hero-bas { flex-direction: column; align-items: flex-start; } }

/* ---------- Sections ---------- */
.ac-eveil .ac-acts { justify-content: center; margin-top: 2.4rem; }
.ac-sect { padding: clamp(4rem, 7.5vw, 6.6rem) var(--ac-pad) 0; }
.ac-lien { color: var(--ac-hi); text-decoration: none; font-size: .93rem; padding-bottom: 3px; border-bottom: 1px solid var(--ac-line); transition: border-color .3s; }
.ac-lien:hover, .ac-lien:focus-visible { border-color: var(--ac); }

/* ---------- 2. Les trois divisions : de grandes tuiles, comme l'accueil d'Apple ---------- */
.ac-tuiles { padding: 12px var(--ac-pad) 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 110rem; margin: 0 auto; }
.ac-t { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: clamp(30rem, 52vw, 44rem); background: #0b0b0c; text-align: center; color: #fff; }
.ac-t-prive { grid-column: 1 / -1; min-height: clamp(34rem, 58vw, 52rem); }
.ac-t img { order: 2; flex: 1 1 0; display: block; width: 100%; min-height: 16rem; object-fit: cover; transition: transform 1.6s var(--ease);
  -webkit-mask-image: linear-gradient(180deg, #0000 0, #000 30%); mask-image: linear-gradient(180deg, #0000 0, #000 30%); }
.ac-t:hover img { transform: scale(1.03); }
.ac-t-in { order: 1; position: relative; z-index: 3; padding: clamp(2.6rem, 5vw, 4rem) 1.4rem 1.2rem; }
.ac-t h2 { margin: 0; font: 650 clamp(2.2rem, 4.6vw, 3.8rem)/1.02 var(--sans); letter-spacing: -.045em; }
.ac-t-l { margin: .7rem auto 0; max-width: 30rem; font: 500 clamp(1.1rem, 1.7vw, 1.45rem)/1.3 var(--sans); letter-spacing: -.015em; color: #f5f5f7; }
.ac-t-p { margin: .55rem auto 0; max-width: 34rem; font-size: 1rem; line-height: 1.45; color: #c7c7cc; }
.ac-t-a { margin: 1.3rem 0 0; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: .8rem 1.6rem; }
/* Toute la tuile est un lien vers la division; le bouton et le second lien restent par-dessus. */
.ac-t-lien { position: absolute; inset: 0; z-index: 2; }
.ac-t-in { pointer-events: none; }
.ac-t-a a { pointer-events: auto; }
.ac-t-2 { color: var(--gold-soft); text-decoration: none; font-size: 1.05rem; }
.ac-t-2:hover { text-decoration: underline; }
@media (max-width: 760px) { .ac-tuiles { grid-template-columns: 1fr; } .ac-t { min-height: 0; } .ac-t img { flex: none; height: 15rem; min-height: 0; } }

/* ---------- 4. Pourquoi JARVIS : trois différences, en grand ---------- */

/* ---------- 3. Le logiciel : l'écran posé dans la scène du mode ---------- */
@keyframes acPouls { 50% { box-shadow: 0 0 0 8px #5fd08a00; opacity: .6; } }
/* La visite seule : un cadre se pose sur une zone, le reste s'assombrit, une légende la nomme. */

/* ---------- 4. Fin : l'appel ---------- */
@media (max-width: 900px) {
}

/* ---------- Téléphone ---------- */
@media (max-width: 760px) {
  .ac-hero { display: block; height: auto; max-height: none; }
  .ac-view { position: relative; height: min(64svh, 560px); }
  .ac-ph, .ac-gl { object-position: 56% 30%; }
  .ac-view::after { background: linear-gradient(180deg, #000000a6 0, #0000 20%, #0000 62%, #000 100%); }
  .ac-hero-in { margin-top: -3.4rem; }
  .ac-phrase { font-size: 1.02rem; }
  .ac-sig { font-size: .75rem; letter-spacing: .11em; }
  .ac-sig span { padding-left: 0; border-left: 0; flex-basis: 100%; }
  .ac-demo { left: 0; right: 0; bottom: auto; top: calc(min(64svh, 560px) - 6.2rem); text-align: center; }
  .ac-spot span { font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ac-gl, .ac-t img { transition: none; }
}

/* ---------- Votre lieu, votre appareil : le lieu choisi allume l'appareil conseillé ---------- */
.ac-choisir .lx, .ac-choisir .of-choix, .ac-suite, .ac-composer > * { max-width: 84rem; margin-inline: auto; }
.ac-choisir .lx-t { margin: 0 0 1.5rem; text-wrap: balance; font: 650 clamp(1.9rem, 3.4vw, 2.9rem)/1.1 var(--sans); letter-spacing: -.035em; color: #fff; }
.ac-choisir .pub { margin-bottom: 14px; }
.ac-choisir .lx-g { border-radius: 6px; background: #080808; box-shadow: inset 0 0 0 1px var(--ac-line); }
.ac-choisir .of-choix { margin-top: 12px; }
.ac-choisir .of-hs { max-width: none; margin-top: 0; gap: 12px; }
.ac-choisir .of-h { border-radius: 6px; }
.of-h-lieu { margin: .8rem 0 0; padding: .7rem .9rem; border-radius: 6px; background: color-mix(in srgb, var(--mode-glow) 9%, #0a0c11); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--mode-glow) 55%, transparent); font-size: .88rem; line-height: 1.45; color: #e6e6e2; }
.of-h-lieu[hidden], .of-h-note[hidden] { display: none; }
.of-h-lieu b { display: block; margin-bottom: .15rem; color: var(--gold-soft); font-weight: 600; }
.of-h-note { margin: 12px 0 0; padding: .8rem 1rem; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--ac-line); font-size: .92rem; color: #d6d2ca; }
.ac-suite { display: flex; align-items: center; gap: 1rem 1.8rem; flex-wrap: wrap; margin-top: 1.6rem; }
.ac-suite .of-deux { margin: 0; }
.ac-reel { position: relative; display: block; margin: 12px auto 0; height: clamp(180px, 22vw, 280px); overflow: hidden; border-radius: 6px; color: #fff; text-decoration: none; background: #080808; }
.ac-reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transition: transform 1.4s var(--ease); }
.ac-reel::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #000000f0 0, #000000c4 40%, #0000 72%); }
.ac-reel::after { content: ""; position: absolute; inset: 0; z-index: 2; border: 1px solid var(--ac-line); border-radius: inherit; }
.ac-reel span { position: absolute; z-index: 2; left: clamp(1.2rem, 3vw, 2.4rem); bottom: clamp(1.2rem, 3vw, 2.2rem); max-width: 27rem; display: grid; gap: .35rem; }
/* Au téléphone, le texte sort de la photo : la photo en haut, le texte dessous, sur noir. */
@media (max-width: 760px) {
  .ac-reel { height: auto; display: flex; flex-direction: column; }
  .ac-reel img { position: relative; inset: auto; height: 12rem; -webkit-mask-image: linear-gradient(180deg, #000 65%, #0000); mask-image: linear-gradient(180deg, #000 65%, #0000); }
  .ac-reel::before { display: none; }
  .ac-reel span { position: static; max-width: none; padding: .9rem 1.2rem 1.3rem; }
}
.ac-reel em { font: 600 .75rem/1 var(--mono); font-style: normal; letter-spacing: .15em; text-transform: uppercase; color: var(--ac-hi); }
.ac-reel b { font: 650 clamp(1.3rem, 2.4vw, 1.9rem)/1.15 var(--sans); letter-spacing: -.02em; }
.ac-reel small { font-size: .93rem; color: #d6d2ca; }
.ac-reel:hover img { transform: scale(1.04); }

/* =====================================================================================
   Vitrine (18 novembre 2026) : comme Apple. Un produit, beaucoup d'espace, un bouton doré.
   ===================================================================================== */
.ac-hero h2 { font-size: clamp(2.8rem, 6.2vw, 5.6rem); line-height: .98; letter-spacing: -.045em; }
.ac-hero h2 span { color: var(--gold-soft); }
.ac-lien-f {
  display: inline-flex; align-items: center; gap: .35rem; color: var(--gold-soft); text-decoration: none;
  font: 500 1.02rem/1 var(--sans); transition: gap .3s var(--ease), color .3s;
}
.ac-lien-f i { font-style: normal; font-size: 1.25em; line-height: 1; transform: translateY(-1px); }
.ac-lien-f:hover { gap: .6rem; color: #fff; }
.ac-acts { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }

/* Les liens sous l'appareil */
.ac-pro-acts { margin-top: 2.2rem; display: flex; justify-content: center; align-items: center; gap: 1.8rem; flex-wrap: wrap; }

/* L'appareil : trois tailles, choisies selon le lieu */
.ac-gam { padding: clamp(5rem, 9vw, 8rem) var(--ac-pad) 0; text-align: center; overflow: hidden; }
.ac-gam h2 { margin: 0; font: 650 clamp(2.4rem, 5vw, 4.4rem)/.98 var(--sans); letter-spacing: -.048em; color: #fff; }
.ac-gam h2 span {
  background: var(--mode-display, linear-gradient(100deg, #f6e2b5, #cfa45b)); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent; padding-bottom: .06em;
}
.ac-gt-row {
  display: inline-flex; gap: 4px; margin: 1.8rem auto 0; padding: 4px; border-radius: 999px;
  background: #ffffff0d; box-shadow: inset 0 0 0 1px #ffffff17;
}
.ac-gt {
  border: 0; cursor: pointer; padding: .7rem 1.5rem; border-radius: 999px; background: transparent;
  font: 500 .98rem/1 var(--sans); color: #b9b4ab; transition: background .35s var(--ease), color .35s;
}
.ac-gt:hover { color: #fff; }
.ac-gt[aria-pressed="true"] { background: #ffffff1f; color: #fff; box-shadow: inset 0 0 0 1px #ffffff26; }
.ac-gv { position: relative; max-width: 100%; margin: 1rem auto 0; translate: none; height: clamp(15rem, 40vh, 30rem); width: auto; aspect-ratio: 16 / 10; }
.ac-gv-i {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%;
  opacity: 0; transform: scale(1.03); transition: opacity .9s var(--ease), transform 1.4s var(--ease);
  -webkit-mask-image: radial-gradient(ellipse 58% 62% at 50% 56%, #000 46%, transparent 100%);
  mask-image: radial-gradient(ellipse 58% 62% at 50% 56%, #000 46%, transparent 100%);
}
.ac-gv-i.is-on { opacity: 1; transform: none; }
.ac-gfs { display: grid; margin-top: .4rem; }
.ac-gf { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(10px); pointer-events: none; transition: opacity .6s var(--ease), transform .6s var(--ease), visibility 0s .6s; }
.ac-gf.is-on { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s; }
.ac-gf h3 { margin: 0; font: 650 clamp(1.8rem, 3vw, 2.5rem)/1 var(--sans); letter-spacing: -.035em; color: #fff; }
.ac-gf p { margin: .7rem 0 0; color: #a9a49b; font-size: 1.08rem; }
.ac-gf .ac-gf-pour { margin-top: .4rem; font-size: .92rem; color: #86868b; }
.ac-gam-p { margin: 1.2rem auto 0; max-width: 34rem; font-size: clamp(1.05rem, 1.4vw, 1.22rem); line-height: 1.5; color: #b9b4ab; }
.ac-gam .ac-pro-acts { margin-top: 2rem; }

@media (max-width: 860px) {
  .ac-gv { height: 15rem; }
}

/* Gamme sur grand écran : la photo à gauche, la fiche à droite — tout tient dans un écran. */
@media (min-width: 1000px) {
  .ac-gam {
    display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: clamp(2rem, 5vw, 5rem);
    grid-template-areas: "t t" "p p" "v o" "v f" "v a"; grid-template-rows: auto auto auto auto 1fr;
    max-width: 92rem; margin: 0 auto; text-align: left; align-items: start;
  }
  .ac-gam h2 { grid-area: t; text-align: center; }
  .ac-gam-p { grid-area: p; text-align: center; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
  .ac-gt-row { grid-area: o; justify-self: start; margin: clamp(1rem, 4vh, 3rem) 0 0; }
  .ac-gv { grid-area: v; width: 100%; height: auto; aspect-ratio: 4 / 3; margin: 0; max-height: 72vh; }
  .ac-gv-i { object-position: 50% 60%;
    -webkit-mask-image: radial-gradient(ellipse 66% 70% at 50% 56%, #000 55%, transparent 100%);
    mask-image: radial-gradient(ellipse 66% 70% at 50% 56%, #000 55%, transparent 100%); }
  .ac-gfs { grid-area: f; margin-top: 2rem; }
  .ac-gf h3 { font-size: clamp(2.2rem, 3.4vw, 3rem); }
  .ac-gam .ac-pro-acts { grid-area: a; justify-content: flex-start; margin-top: 2.2rem; }
}

/* ---------- 0. L'éveil : JARVIS se présente; son ruban de voix vibre au-dessus des mots, jamais dessus ---------- */
.ac-eveil { position: relative; min-height: max(100svh, 680px); display: grid; place-items: center; overflow: hidden; padding: 7rem 1.4rem 6rem; text-align: center;
  background: radial-gradient(70% 55% at 50% 50%, #1b140b 0%, #070604 45%, #000 75%); }
.ac-ruban { display: block; width: 100vw; height: clamp(6.5rem, 17vh, 11rem); margin: 0 0 1.4rem calc(50% - 50vw); pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #0000, #000 30%, #000 70%, #0000); mask-image: linear-gradient(180deg, #0000, #000 30%, #000 70%, #0000); }
.ac-eveil-in { position: relative; z-index: 2; width: 100%; min-width: 0; max-width: 62rem; }
.ac-sig2 { margin: 0 0 1.8rem; font: 600 .85rem/1 var(--sans); letter-spacing: .34em; text-indent: .34em; text-transform: uppercase; color: #a1a1a6; }
.ac-eveil h1 { margin: 0; font-weight: 700; font-size: clamp(2.5rem, min(10.4vw, 14.5vh), 8.8rem); line-height: .97; letter-spacing: -.055em; color: #f5f5f7; }
.ac-eveil h1 span { display: block; min-height: .97em; }
.ac-l2 { background: linear-gradient(100deg, #f5f5f7 0%, #fff 28%, var(--gold-soft) 52%, #fff3d6 68%, #f5f5f7 100%); background-size: 240% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: acLueur 7s linear infinite; }
@keyframes acLueur { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.ac-curseur::after { content: ""; display: inline-block; width: .055em; height: .8em; margin-left: .05em; vertical-align: -.04em; background: var(--gold-soft); animation: acClign 1s steps(2) infinite; }
@keyframes acClign { 50% { opacity: 0; } }
.ac-eveil-p { max-width: 38rem; margin: 2.1rem auto 0; font-size: clamp(1.1rem, 1.7vw, 1.38rem); line-height: 1.45; color: #d2d2d7; text-wrap: balance; text-shadow: 0 2px 22px #000, 0 0 4px #000; }
.ac-eveil-p, .ac-eveil .ac-acts { transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.fx .ac-eveil:not(.is-pret) .ac-eveil-p, .fx .ac-eveil:not(.is-pret) .ac-acts { opacity: 0; transform: translateY(18px); }
.ac-eveil.is-pret .ac-acts { transition-delay: .25s; }
.ac-descendre { position: absolute; z-index: 2; left: 50%; bottom: 1.8rem; transform: translateX(-50%); color: #86868b; font-size: .92rem; text-decoration: none; }
.ac-descendre:hover { color: #f5f5f7; }
.ac-tuiles-s { padding: clamp(5rem, 10vw, 8rem) 0 0; text-align: center; }
.ac-tuiles-s .ac-tuiles { margin-top: 3.4rem; text-align: left; }
@media (max-width: 760px) { .ac-eveil { padding-top: 5rem; } .ac-ruban { height: 6.5rem; margin-bottom: 1rem; } }

/* ---------- Le ruban de voix en petit, devant ce que JARVIS dit ---------- */
.jv-onde { display: inline-flex; align-items: center; gap: 3px; height: 1.1em; margin-right: .55em; vertical-align: -.15em; }
.jv-onde i { width: 3px; height: 100%; border-radius: 3px; background: linear-gradient(180deg, #fff, var(--gold-soft)); transform: scaleY(.35); }
.fx .jv-onde i { animation: jvOnde 1.25s ease-in-out infinite; }
.jv-onde i:nth-child(2) { animation-delay: -.25s; } .jv-onde i:nth-child(3) { animation-delay: -.5s; }
.jv-onde i:nth-child(4) { animation-delay: -.75s; } .jv-onde i:nth-child(5) { animation-delay: -1s; }
@keyframes jvOnde { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
