/* Accueil du site vitrine : récit en scènes pleine largeur, alternance nuit / beige,
   captures réelles annotées de flèches dessinées. Les jetons et l'en-tête sont dans site.css. */
.scene { padding-block: clamp(80px, 11vw, 150px); overflow: hidden; }
.u { background-image: linear-gradient(var(--blue), var(--blue)); background-size: 100% 3px; background-repeat: no-repeat; background-position: 0 100%; padding-bottom: 4px; }

/* 1. Héros */
/* L'image inclinée du héros dépasse à droite vers 700-1000 px : on la coupe ici
   (clip ne crée pas de zone de défilement ; hidden en repli pour les vieux Safari). */
.hero { overflow-x: hidden; overflow-x: clip; }
.hero { min-height: 0; padding-block: clamp(150px, 16vw, 210px) clamp(70px, 9vw, 120px); background: radial-gradient(900px 600px at 85% 40%, #1a2246 0%, transparent 65%), var(--night); }
.hero .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.hero-txt { display: grid; gap: 26px; position: relative; z-index: 2; }
.hero h1 { font-size: clamp(3.6rem, 9vw, 7.6rem); line-height: .95; letter-spacing: -.035em; }
.hero h1 span { display: block; }
.hero-txt > a { justify-self: start; }
.hero .sub { font-size: 1.15rem; color: #d8d4cc; max-width: 34ch; }
.hero .meta { font-size: .74rem; letter-spacing: .18em; color: var(--mute-light); text-transform: uppercase; }
.hero-vis { position: relative; perspective: 1600px; min-width: 0; }
.tilt { transform: rotateY(-16deg) rotateX(6deg) rotate(-2deg); transform-origin: left center; border-radius: 10px; overflow: hidden; box-shadow: -30px 40px 80px rgba(0, 0, 0, .6); position: relative; }
.tilt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 11, 13, .55) 0%, transparent 35%, transparent 70%, rgba(11, 11, 13, .35) 100%), linear-gradient(0deg, rgba(11, 11, 13, .7) 0%, transparent 40%); }
.hero-tag { position: absolute; z-index: 3; font-family: var(--serif); font-size: 1.5rem; line-height: 1.1; }
.hero-tag small { display: block; font-family: var(--sans); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--mute-light); margin-bottom: 6px; }
.ht1 { right: 2%; top: -26%; }
.ht2 { left: 18%; bottom: -16%; }

/* Flèches dessinées */
.arrow { position: absolute; overflow: visible; pointer-events: none; }
.arrow path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.draw path { stroke-dasharray: 400; stroke-dashoffset: 0; }
.draw.pre-draw path { stroke-dashoffset: 400; }
.draw.go path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s cubic-bezier(.4, .1, .2, 1) .2s; }

/* 1 bis. JAL + INPI intégrés */
.integ { background: var(--cream); color: var(--ink-dark); }
.integ .label { color: var(--mute-dark); }
.integ-head { display: grid; gap: 18px; max-width: 980px; margin-bottom: clamp(36px, 5vw, 60px); }
.integ-head h2 { font-size: clamp(2.6rem, 6vw, 5.2rem); }
.integ-head p { color: var(--mute-dark); font-size: 1.12rem; max-width: 56ch; }
.rail { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: clamp(56px, 8vw, 96px); }
.rail::before { content: ""; position: absolute; left: 6px; right: 6px; top: 6px; height: 2px; background: var(--line-dark); }
.rail .run { position: absolute; top: 6px; left: 6px; height: 2px; width: 0; background: var(--blue); }
.rail .dot { position: absolute; top: 1px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 6px rgba(52, 97, 255, .18); }
.rail.go .run { animation: run 4.5s cubic-bezier(.5, 0, .3, 1) infinite; }
.rail.go .dot { animation: dot 4.5s cubic-bezier(.5, 0, .3, 1) infinite; }
@keyframes run { 0% { width: 0; } 80%, 100% { width: calc(100% - 12px); } }
@keyframes dot { 0% { left: 0; } 80%, 100% { left: calc(100% - 12px); } }
.rail div { position: relative; padding-top: 30px; display: grid; gap: 4px; }
.rail div::before { content: ""; position: absolute; top: 0; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--cream); border: 2px solid var(--ink-dark); }
.rail div.hl::before { border-color: var(--blue); background: var(--blue); }
.rail div:last-of-type { text-align: right; justify-items: end; }
.rail div:last-of-type::before { left: auto; right: 0; }
.rail b { font-family: var(--serif); font-weight: 400; font-size: clamp(1.3rem, 2.2vw, 1.8rem); line-height: 1.05; }
.rail div.hl b { color: var(--blue); }
.rail small { font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--mute-dark); }
.feat { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.feat + .feat { margin-top: clamp(64px, 9vw, 120px); }
.feat.rev .ft { order: 2; }
.ft { display: grid; gap: 18px; min-width: 0; }
.ft .no { font-family: var(--serif); font-size: clamp(4rem, 9vw, 7rem); line-height: .8; color: var(--blue); }
.ft h3 { font-size: clamp(2rem, 3.8vw, 3.2rem); }
.pts { list-style: none; margin: 6px 0 0; padding: 0; border-top: 1px solid var(--line-dark); }
.pts li { padding: 13px 0; border-bottom: 1px solid var(--line-dark); display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: .98rem; }
.pts li::before { content: "→"; color: var(--blue); font-weight: 700; }
.pts b { color: var(--ink-dark); font-weight: 600; }
.fv { position: relative; min-width: 0; }
.fv .sh { border-radius: 8px; overflow: hidden; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .45); }
.fv .sh.b { position: absolute; width: 52%; right: -4%; bottom: -14%; border: 6px solid var(--cream); border-radius: 12px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); }
.fv .pop { position: absolute; z-index: 2; background: var(--night); color: var(--ink-light); padding: 14px 18px; border-radius: 10px; font-size: .86rem; max-width: 230px; box-shadow: 0 20px 40px -15px rgba(0, 0, 0, .5); }
.fv .pop b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.35rem; line-height: 1.05; margin-bottom: 4px; }
.fv .pop.p-a { left: -6%; top: 54%; }
.fv .pop.p-b { right: -4%; top: -8%; }
.fv .pop.p-c { left: -6%; bottom: -10%; }

/* Barre de lecture */
.progress { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--blue); z-index: 50; }

/* Fil du héros */
.ticker { display: inline-flex; align-items: center; gap: 12px; border: 1px solid var(--line-light); background: rgba(255, 255, 255, .04); border-radius: 99px; padding: 8px 18px 8px 12px; font-size: .9rem; max-width: 100%; min-height: 44px; justify-self: start; }
.ticker .pulse { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; flex: none; animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); } 70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.ticker small { color: var(--mute-light); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; }
.ticker .msg { display: inline-block; transition: opacity .35s ease, transform .35s ease; }
.ticker .msg.out { opacity: 0; transform: translateY(-8px); }
.tilt { transition: transform .4s ease-out; }

/* Bande défilante */
.marquee { background: var(--blue); color: #fff; overflow: hidden; padding-block: 22px; white-space: nowrap; }
.marquee .tr { display: inline-flex; gap: 48px; animation: mq 30s linear infinite; font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.4rem); }
.marquee .tr span::after { content: "✦"; margin-left: 48px; font-size: .55em; vertical-align: middle; opacity: .7; }
@keyframes mq { to { transform: translateX(-50%); } }

/* Démos animées JAL / INPI */
.live { background: var(--night); }
.live-head { display: grid; gap: 18px; max-width: 900px; margin-bottom: clamp(40px, 6vw, 64px); }
.live-head h2 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
.live-head p { color: var(--mute-light); font-size: 1.08rem; max-width: 56ch; }
.consoles { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.console { background: #111114; border: 1px solid var(--line-light); border-radius: 18px; padding: 24px; display: grid; gap: 18px; align-content: start; min-width: 0; position: relative; }
.console::before { content: ""; position: absolute; inset: -1px; border-radius: 18px; padding: 1px; background: linear-gradient(120deg, transparent 35%, var(--blue) 50%, transparent 65%); background-size: 300% 100%; animation: sheen 5s linear infinite; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
@keyframes sheen { from { background-position: 150% 0; } to { background-position: -150% 0; } }
.c-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.c-top b { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; }
.c-top .ex { font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute-light); border: 1px solid var(--line-light); padding: 3px 9px; border-radius: 99px; }
.c-sub { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute-light); }
.jrows { display: grid; gap: 8px; }
.jrow { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-light); font-size: .92rem; transition: background .35s ease, border-color .35s ease, transform .35s ease; }
.jrow .pr { font-variant-numeric: tabular-nums; color: var(--mute-light); }
.jrow .ck { font-size: .74rem; padding: 3px 11px; border-radius: 99px; border: 1px solid var(--line-light); color: var(--mute-light); white-space: nowrap; transition: all .35s ease; }
.jrow.sel { border-color: var(--blue); background: rgba(52, 97, 255, .14); transform: scale(1.015); }
.jrow.sel .ck { background: var(--blue); border-color: var(--blue); color: #fff; }
.steps2 { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.steps2 li { display: grid; grid-template-columns: 24px 1fr auto; gap: 12px; align-items: center; font-size: .93rem; color: #6f6c67; transition: color .3s ease; }
.steps2 li i { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-light); display: grid; place-items: center; font-style: normal; font-size: .7rem; font-weight: 700; color: transparent; transition: background .3s ease, border-color .3s ease, color .3s ease; }
.steps2 li.ok { color: var(--ink-light); }
.steps2 li.ok i { background: #22c55e; border-color: #22c55e; color: #06210f; }
.steps2 li.run { color: var(--ink-light); }
.steps2 li.run i { border-color: var(--blue); border-top-color: transparent; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.steps2 li small { font-size: .74rem; color: var(--mute-light); font-variant-numeric: tabular-nums; }
.pwrap { display: grid; gap: 8px; }
.pwrap .lb { display: flex; justify-content: space-between; font-size: .84rem; color: var(--mute-light); }
.pbar { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.pbar span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--blue), #7aa2ff); }
.result { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px; background: rgba(34, 197, 94, .1); border: 1px solid rgba(34, 197, 94, .35); color: #86efac; font-size: .9rem; transition: opacity .45s ease, transform .45s ease; }
.result.hide { opacity: 0; transform: translateY(8px); }
.result b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.3rem; color: #dcfce7; line-height: 1.1; }
.result .seal { width: 40px; height: 40px; border-radius: 50%; background: #22c55e; color: #06210f; display: grid; place-items: center; font-weight: 800; flex: none; }

/* Ailleurs / Ici */
.cmpz { background: var(--cream-2); color: var(--ink-dark); }
.cmpz .label { color: var(--mute-dark); }
.cmp-wrap { overflow-x: auto; }
.cmp { width: 100%; border-collapse: collapse; font-size: .98rem; min-width: 640px; }
.cmp th { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; text-align: left; padding: 14px 18px; color: var(--mute-dark); border-bottom: 2px solid var(--ink-dark); font-weight: 600; }
.cmp th.ici { color: var(--blue); }
.cmp td { padding: 20px 18px; border-bottom: 1px solid var(--line-dark); vertical-align: top; }
.cmp td:first-child { font-family: var(--serif); font-size: 1.35rem; width: 28%; line-height: 1.15; color: var(--ink-dark); }
.cmp td.no { color: var(--mute-dark); }
.cmp td.no::before { content: "✕"; color: #b91c1c; font-weight: 700; margin-right: 10px; }
.cmp td.yes { color: var(--ink-dark); font-weight: 500; background: rgba(52, 97, 255, .07); }
.cmp td.yes::before { content: "✓"; color: var(--blue); font-weight: 800; margin-right: 10px; }

/* 2. Constat */
.constat { background: var(--night-2); }
.constat .wrap { display: grid; gap: 64px; }
.constat h2 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); text-align: right; justify-self: end; max-width: 14ch; }
.desk { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; align-items: end; }
.paper { background: #f5f2ec; color: #1a1a1a; border-radius: 4px; padding: 18px 16px 22px; min-height: 190px; display: grid; gap: 8px; align-content: start; box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .7); position: relative; }
.paper:nth-child(1) { transform: rotate(-4deg) translateY(10px); }
.paper:nth-child(2) { transform: rotate(2deg); }
.paper:nth-child(3) { transform: rotate(-1deg) translateY(24px); }
.paper:nth-child(4) { transform: rotate(3deg) translateY(6px); }
.paper:nth-child(5) { transform: rotate(-3deg) translateY(18px); }
.paper b { font-family: var(--serif); font-weight: 500; font-size: 1.15rem; }
.paper span { font-size: .82rem; color: #55524d; }
.paper i { font-style: normal; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: #8a867f; }
.paper .ln { height: 6px; border-radius: 3px; background: #e2ddd4; }
.paper .ln.s { width: 60%; }
.stamp { position: absolute; right: 10px; bottom: 10px; font-size: .62rem; font-weight: 700; letter-spacing: .12em; color: #b91c1c; border: 1.5px solid #b91c1c; padding: 2px 6px; transform: rotate(-8deg); }
.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.note { position: relative; padding-top: 14px; }
.note .big { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.05; }
.note p { color: var(--mute-light); font-size: .92rem; margin-top: 6px; max-width: 30ch; }

/* 3. Plateforme annotée */
.annot { position: relative; padding-inline: clamp(0px, 15vw, 210px); }
.annot .shot { border-radius: 8px; overflow: hidden; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .45); }
.tag { position: absolute; width: clamp(150px, 14vw, 200px); color: var(--ink-dark); }
.tag small { display: block; font-size: .64rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 4px; }
.tag b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.05; }
.tag span { display: block; font-size: .84rem; color: var(--mute-dark); margin-top: 6px; line-height: 1.45; }
.t1 { left: 0; top: 18%; }
.t2 { right: 0; top: 4%; text-align: left; }
.t3 { left: 0; top: 64%; }
.t4 { right: 0; top: 56%; }
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(48px, 7vw, 90px); }
.intro h2 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
.intro p { color: var(--mute-dark); font-size: 1.08rem; max-width: 46ch; }

/* 4. Parcours, façon story */
.prog .wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.prog h2 { font-size: clamp(2.4rem, 4.6vw, 3.8rem); margin: 18px 0 34px; }
.days { display: grid; gap: 10px; }
.day { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 62px 120px 1fr; gap: 16px; align-items: center; padding: 10px; border: 1px solid var(--line-light); border-radius: 10px; background: #111114; position: relative; overflow: hidden; transition: background .3s ease, border-color .3s ease; }
.day:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.day .num { border: 1px solid var(--line-light); border-radius: 6px; text-align: center; padding: 6px 0; font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute-light); line-height: 1.2; }
.day .num b { display: block; font-size: 1.3rem; color: var(--ink-light); letter-spacing: 0; }
.day .th { height: 60px; border-radius: 6px; overflow: hidden; }
.day .th img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.6) brightness(.8); transition: filter .3s ease; }
.day h3 { font-size: 1.55rem; color: #77746e; transition: color .3s ease; }
.day p { font-size: .82rem; color: var(--mute-light); }
.day .bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: rgba(255, 255, 255, .85); }
.day.on { background: var(--blue); border-color: var(--blue); }
.day.on h3 { color: #fff; }
.day.on p { color: rgba(255, 255, 255, .85); }
.day.on .num { border-color: rgba(255, 255, 255, .5); color: rgba(255, 255, 255, .8); }
.day.on .th img { filter: none; }
.day.on .bar { animation: fill 5.5s linear forwards; }
.prog.paused .day.on .bar { animation-play-state: paused; }
@keyframes fill { to { width: 100%; } }
.player { border: 1px solid var(--line-light); border-radius: 24px; padding: 14px; background: #0f0f12; box-shadow: 0 40px 90px -30px rgba(52, 97, 255, .35); min-width: 0; }
.segs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; margin-bottom: 12px; }
.segs i { height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .18); overflow: hidden; position: relative; }
.segs i.done { background: var(--blue); }
.segs i.now::after { content: ""; position: absolute; inset: 0; width: 0; background: var(--blue); animation: fill 5.5s linear forwards; }
.prog.paused .segs i.now::after { animation-play-state: paused; }
.p-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: .86rem; font-weight: 600; }
.p-head .av { width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; border: 2px solid #c9a96e; }
.p-head span { margin-left: auto; font-weight: 500; color: var(--mute-light); font-size: .8rem; }
.p-screen { position: relative; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: #000; }
.p-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transform: scale(1.04); transition: opacity .6s ease, transform 6s ease; }
.p-screen img.on { opacity: 1; transform: scale(1); }
.p-foot { margin-top: 12px; display: flex; gap: 10px; align-items: center; border: 1px solid var(--line-light); border-radius: 99px; padding: 10px 16px; font-size: .84rem; color: var(--mute-light); }
.p-foot b { color: var(--ink-light); font-weight: 600; }
.strip { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line-light); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 34px; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--mute-light); }
.strip .cta-solid { margin-left: auto; }

/* 5. Trois ateliers, sur la fiche réelle */
.atel { background: var(--cream-2); color: var(--ink-dark); }
.atel .frame { position: relative; border-radius: 6px; overflow: hidden; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .5); }
.atel .frame img { width: 100%; }
.atel .frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(236, 232, 225, 0) 55%, rgba(226, 221, 212, .95) 100%); }
.trio { position: relative; margin-top: -9%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; z-index: 2; }
.trio div { display: grid; gap: 8px; }
.trio b { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1; }
.trio small { font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.trio p { color: var(--mute-dark); font-size: .95rem; max-width: 34ch; }

/* 6. Ce que vous obtenez */
.get .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.get h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); margin: 18px 0 30px; }
.list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-light); }
.list li { display: grid; grid-template-columns: 52px 1fr auto; gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line-light); }
.list li i { font-style: normal; font-size: .72rem; letter-spacing: .14em; color: var(--mute-light); }
.list li b { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; }
.list li span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.stack { position: relative; aspect-ratio: 4 / 3.4; min-width: 0; }
.stack .pg { position: absolute; width: 74%; aspect-ratio: 1 / 1.35; background: #f6f3ee; color: #1a1a1a; border-radius: 3px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); padding: 9% 8%; font-family: var(--serif); font-size: clamp(.55rem, .9vw, .78rem); line-height: 1.55; overflow: hidden; border-top: 8px solid #1a365d; }
.stack .pg h4 { font-family: Arial, sans-serif; text-align: center; letter-spacing: .12em; font-size: 1.15em; margin: 0 0 4px; }
.stack .pg .c { text-align: center; color: #555; margin-bottom: 1.4em; }
.stack .pg .a { font-family: Arial, sans-serif; font-weight: 700; font-size: .9em; margin-top: 1em; }
.stack .pg mark { background: #dbe6ff; color: inherit; padding: 0 2px; }
.pg.p1 { left: 0; top: 8%; transform: rotate(-6deg); }
.pg.p2 { left: 13%; top: 4%; transform: rotate(-1deg); }
.pg.p3 { left: 26%; top: 0; transform: rotate(4deg); }
.sign { position: absolute; right: 8%; bottom: 10%; font-family: "Brush Script MT", "Segoe Script", cursive; font-size: 1.8em; color: #1e3a8a; transform: rotate(-6deg); }

/* 7. FAQ en conversation */
.faqs .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.faqs h2 { font-size: clamp(2.4rem, 4.6vw, 3.8rem); margin-top: 18px; }
.faqs .side p { color: var(--mute-dark); margin-top: 18px; max-width: 36ch; }
.chat { background: #fff; border-radius: 22px; padding: 22px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .35); display: grid; gap: 14px; min-width: 0; }
.c-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line-dark); font-weight: 600; font-size: .92rem; }
.c-head .av { width: 36px; height: 36px; border-radius: 50%; background: var(--blue-deep); color: #fff; display: grid; place-items: center; font-size: .8rem; }
.c-head small { display: block; color: #059669; font-weight: 500; font-size: .76rem; }
.log { display: grid; gap: 10px; min-height: 220px; align-content: start; }
.b { max-width: 86%; padding: 11px 15px; border-radius: 18px; font-size: .93rem; line-height: 1.5; animation: pop .35s ease both; }
.b.q { justify-self: end; background: var(--blue); color: #fff; border-bottom-right-radius: 5px; }
.b.a { background: #f1efeb; color: var(--ink-dark); border-bottom-left-radius: 5px; }
.dots { display: inline-flex; gap: 4px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: #9a968f; animation: blink 1.1s infinite; }
.dots i:nth-child(2) { animation-delay: .18s; }
.dots i:nth-child(3) { animation-delay: .36s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line-dark); }
.chips button { all: unset; cursor: pointer; font-size: .84rem; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line-dark); color: var(--ink-dark); transition: background .2s ease, border-color .2s ease; }
.chips button:hover { border-color: var(--blue); color: var(--blue); }
.chips button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.chips button[disabled] { opacity: .35; cursor: default; }

/* 8. À vous */
.final { text-align: left; background: radial-gradient(800px 500px at 15% 100%, #1a2246 0%, transparent 70%), var(--night); }
.final .wrap { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: end; }
.final h2 { font-size: clamp(2.8rem, 6.8vw, 5.8rem); margin-top: 18px; }
.offer { display: grid; gap: 18px; justify-items: start; }
.offer .price { font-family: var(--serif); font-size: 3rem; line-height: 1; }
.offer p { color: var(--mute-light); font-size: .95rem; max-width: 34ch; }


/* Apparitions : seuls les blocs sous l'écran au chargement sont décalés */
.pre { opacity: 0; transform: translateY(34px); }
.shown { opacity: 1; transform: none; transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.pre.paper, .shown.paper { transition-property: opacity; }
@media (prefers-reduced-motion: no-preference) {
  .hero-txt > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  .hero h1 span:nth-child(1) { animation: rise .9s .05s both; }
  .hero h1 span:nth-child(2) { animation: rise .9s .2s both; }
  .hero h1 span:nth-child(3) { animation: rise .9s .35s both; }
  .hero-vis { animation: slidein 1.3s .3s cubic-bezier(.2, .7, .2, 1) both; }
}
@media (prefers-reduced-motion: reduce) {
  .pre { opacity: 1; transform: none; }
  .draw.pre-draw path { stroke-dashoffset: 0; }
  .day.on .bar, .segs i.now::after { animation: none; width: 100%; }
}
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes slidein { from { opacity: 0; transform: translateX(80px); } to { opacity: 1; transform: none; } }

@media (max-width: 1000px) {
  .hero .wrap, .prog .wrap, .get .wrap, .faqs .wrap, .final .wrap, .intro, .feat { grid-template-columns: 1fr; }
  .feat.rev .ft { order: 0; }
  .fv .pop { position: static; margin-top: 14px; max-width: none; }
  .fv .sh.b { position: static; width: 70%; margin: -12% 0 0 auto; }
  .rail { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .consoles { grid-template-columns: 1fr; }
  .rail::before, .rail .run, .rail .dot { display: none; }
  .rail div:last-of-type { text-align: left; justify-items: start; }
  .rail div:last-of-type::before { left: 0; right: auto; }
  .ht1, .ht2 { display: none; }
  .annot { padding-inline: 0; }
  .tag { position: static; width: auto; }
  .annot .tags { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
  .tag .arrow { display: none; }
  .desk { grid-template-columns: repeat(3, 1fr); }
  .notes, .trio { grid-template-columns: 1fr; }
  .trio { margin-top: 32px; }
}
@media (min-width: 1001px) { .annot .tags { display: contents; } }
@media (max-width: 640px) {
  .desk { grid-template-columns: 1fr 1fr; }
  .paper:nth-child(5) { display: none; }
  .annot .tags { grid-template-columns: 1fr; }
  .day { grid-template-columns: 52px 1fr; }
  .day .th { display: none; }
  .strip .cta-solid { margin-left: 0; }
}

/* Ailleurs / Ici sur téléphone : chaque ligne devient une carte, pour que la colonne
   « Avec Macssolution » se lise sans faire glisser le tableau. */
@media (max-width: 640px) {
  .cmp { min-width: 0; }
  .cmp thead { display: none; }
  .cmp tr { display: grid; gap: 8px; padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
  .cmp td { display: block; padding: 0; border: 0; width: auto; }
  .cmp td:first-child { width: auto; font-size: 1.3rem; margin-bottom: 2px; }
  .cmp td.no, .cmp td.yes { padding: 10px 12px; border-radius: 6px; font-size: .95rem; }
  .cmp td.no { background: rgba(185, 28, 28, .05); }
}
