


.eq-page { --eq-papier: #fffdf8; --eq-violet: #6e3ad6; }
.eq-b.pg-band { padding-top: clamp(72px, 9vh, 104px); padding-bottom: clamp(72px, 9vh, 104px); }
.eq-acc { color: var(--b6-acc); }

.eq-epingle { position: absolute; z-index: 2; top: -9px; left: 50%; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: #f4c3ca;
  box-shadow: inset -3px -3px 0 rgba(0, 0, 0, .12), 0 3px 4px rgba(0, 0, 0, .18); }


.eq-hero, body[data-mode="day"] .eq-hero { background: linear-gradient(180deg, #b9d9f1 0%, #d3e7f6 46%, #ecebe9 78%, #f8e8da 100%); }
.eq-ill { align-self: stretch; }
.eq-scene { position: relative; width: 100%; aspect-ratio: 620 / 540; margin-top: auto; }
.eq-h-ciel, .eq-h-lien, .eq-h-banc { position: absolute; left: 0; width: 100%; height: auto; overflow: visible; pointer-events: none; }
.eq-h-ciel, .eq-h-lien { top: 0; height: 100%; }
.eq-h-banc { bottom: -2px; z-index: 4; }
.eq-h-sat { position: absolute; z-index: 1; top: 6%; right: 5%; width: 15%; height: auto; aspect-ratio: 160 / 112; overflow: visible; filter: drop-shadow(0 4px 5px rgba(31, 51, 80, .16)); }
.eq-lien { fill: none; stroke: var(--eq-violet); stroke-width: 3; stroke-dasharray: .5 9; stroke-linecap: round; }
.eq-lien-pt { fill: var(--eq-violet); }
body:not([data-mode="day"]) .eq-lien { stroke: #c4b0fb; }
body:not([data-mode="day"]) .eq-lien-pt { fill: #c4b0fb; }


.eq-porte { position: absolute; z-index: 3; width: 33%; }
.eq-porte--b { left: 8%; top: 30%; }
.eq-porte--t { left: 55%; top: 36%; }
.eq-vol { position: relative; transform-origin: 50% 0; }
.eq-ballons { position: absolute; left: 50%; bottom: calc(100% - 6px); width: 74%; height: auto; transform: translateX(-50%); overflow: visible; pointer-events: none; }
.eq-fils path { fill: none; stroke: #2f3139; stroke-opacity: .4; stroke-width: 1.6; }
body:not([data-mode="day"]) .eq-fils path { stroke: #fbf3e6; stroke-opacity: .55; }
.eq-grappe { transform-box: fill-box; transform-origin: 50% 100%; }

.eq-cadre { position: relative; isolation: isolate; display: block; padding: 7% 7% 0; transform: rotate(var(--tilt, 0deg)); border-radius: 4px;
  filter: drop-shadow(0 1px 1px rgba(31, 51, 80, .14)) drop-shadow(0 14px 18px rgba(31, 51, 80, .22));
  transition: translate .45s var(--b6-ease); -webkit-tap-highlight-color: transparent; }

.eq-cadre::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--eq-papier);
  clip-path: polygon(0.6% 0.9%, 30% 0, 62% 0.6%, 99.2% 0, 100% 34%, 99.4% 70%, 100% 99.3%, 64% 100%, 28% 99.4%, 0 100%, 0.7% 62%, 0 28%); }
.eq-cadre:hover { translate: 0 -6px; }
.pg .eq-cadre:focus-visible { outline: 3px solid var(--eq-violet); outline-offset: 5px; border-radius: 6px; }
body:not([data-mode="day"]) .pg .eq-cadre:focus-visible { outline-color: #c4b0fb; }
body:not([data-mode="day"]) .eq-cadre { filter: drop-shadow(0 14px 20px rgba(0, 0, 0, .5)); }
.eq-cadre-in { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 2px; background: #e6d8c3; }
.eq-cadre-in img, .eq-cadre-in svg { display: block; width: 100%; height: 100%; object-fit: cover; }
.eq-cadre-nom { display: block; padding: 9px 0 11px; text-align: center; font-family: var(--sans); font-size: clamp(14px, 1.15vw, 17px); font-weight: 600; letter-spacing: -.015em; color: #1d1d1f; }

.eq-h-silh { display: none !important; }
body[data-heros="silhouettes"] .eq-h-photo { display: none; }
body[data-heros="silhouettes"] .eq-h-silh { display: block !important; }


.eq-img-b { transform: scale(1.62); transform-origin: 51% 38%; }
.eq-img-t { transform: none; }


.eq-portraits { background-color: var(--b6-paper); background-image: var(--b6-grain); overflow: hidden; }
.eq-po-head { margin-bottom: clamp(36px, 4.4vw, 56px); }
.eq-perso { position: relative; display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 24px clamp(36px, 4.6vw, 64px); align-items: center; max-width: 980px; scroll-margin-top: 90px; }
.eq-perso:focus { outline: none; }
.eq-perso--b { margin-right: auto; }
.eq-perso--t { margin-left: auto; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); }
.eq-perso--t .eq-photo { grid-column: 2; grid-row: 1; }
.eq-perso--t .eq-perso-txt { grid-column: 1; grid-row: 1; }

.eq-photo { position: relative; margin: 0; padding: 16px 16px 16px; rotate: -2.2deg;
  filter: drop-shadow(0 1px 1px rgba(31, 51, 80, .12)) drop-shadow(0 22px 26px rgba(31, 51, 80, .2)); transition: transform .9s var(--b6-ease), opacity .7s; }
.eq-perso--t .eq-photo { rotate: 2.2deg; }
.eq-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--eq-papier);
  clip-path: polygon(0.5% 0.8%, 34% 0, 70% 0.5%, 99.4% 0, 100% 40%, 99.5% 76%, 100% 99.5%, 60% 100%, 22% 99.5%, 0 100%, 0.6% 58%, 0 22%); }
body:not([data-mode="day"]) .eq-photo { filter: drop-shadow(0 22px 28px rgba(0, 0, 0, .55)); }
.eq-photo-in { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 3px; background: #e6d8c3; }
.eq-photo-in img { width: 100%; height: 100%; object-fit: cover; }
.eq-perso--t .eq-epingle { background: #a9cfec; }
.tr-anim .eq-photo:not(.is-on) { opacity: 0; transform: translateY(46px); }

.eq-perso-txt { display: flex; flex-direction: column; align-items: flex-start; }
.eq-nom { font-family: var(--sans); font-weight: 600; font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1.02; letter-spacing: -.04em; color: var(--b6-ink); }
.eq-role { margin-top: 10px; font-family: var(--sans); font-size: clamp(15px, 1.15vw, 17px); font-weight: 600; line-height: 1.35; color: var(--b6-acc); }
.eq-desc { margin-top: 16px; font-size: 1.1rem; line-height: 1.58; color: var(--b6-mute); max-width: 30em; }

.eq-cit { position: relative; margin-top: 26px; padding: 26px 30px 24px; max-width: 30em; background: var(--eq-papier); border-radius: 6px 6px 18px 6px; rotate: 1.2deg;
  filter: drop-shadow(0 1px 1px rgba(31, 51, 80, .1)) drop-shadow(0 14px 20px rgba(31, 51, 80, .14)); }
.eq-perso--t .eq-cit { rotate: -1.2deg; }
.eq-perso--t .eq-cit .eq-epingle { background: #6e3ad6; }
.eq-cit p { font-family: var(--sans); font-size: clamp(1.22rem, 1.75vw, 1.5rem); font-weight: 500; line-height: 1.34; letter-spacing: -.022em; color: #1d1d1f; text-wrap: pretty; }
body:not([data-mode="day"]) .eq-cit { filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .55)); }
.eq-lk { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; margin-top: 22px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--b6-line-2); background: var(--b6-card);
  font-size: 14.5px; font-weight: 600; color: var(--b6-ink); transition: border-color .25s, color .25s, transform .35s var(--b6-ease); }
.eq-lk:hover { border-color: var(--b6-acc); color: var(--b6-acc); transform: translateY(-2px); }
.eq-li { width: 16px; height: 16px; color: #0a66c2; flex: none; }
body:not([data-mode="day"]) .eq-li { color: #67d6ef; }


.eq-fil { display: block; width: 100%; height: clamp(60px, 7vw, 110px); margin: 6px 0; overflow: visible; }
.eq-fil path { fill: none; stroke: var(--b6-acc); stroke-width: 2.5; stroke-dasharray: 1 10; stroke-linecap: round; opacity: .75; }


.eq-rep { background-color: var(--b6-sky); background-image: var(--b6-grain); }
.eq-rep-head { max-width: 760px; }
.eq-rep-head .b6-p { margin-top: 18px; }
.eq-schema { display: grid; grid-template-columns: minmax(0, 1fr) minmax(36px, 90px) minmax(0, .72fr) minmax(36px, 90px) minmax(0, 1fr); align-items: center; margin-top: clamp(36px, 4.4vw, 56px); }
.eq-sc { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 26px 24px; border-radius: 20px; background: var(--b6-card); border: 1px solid var(--b6-line); box-shadow: var(--b6-shadow);
  transition: transform .8s var(--b6-ease), opacity .6s; }
.eq-sc--b { rotate: -1.4deg; } .eq-sc--t { rotate: 1.4deg; }
.eq-sc .pg-h3 span { color: var(--b6-acc); }
.eq-sc p { font-size: 1rem; line-height: 1.52; color: var(--b6-mute); }
.eq-sc--vous { align-items: center; text-align: center; padding: 24px 18px; border-radius: 999px; aspect-ratio: 1; justify-content: center; max-width: 210px; justify-self: center; width: 100%;
  background: var(--eq-violet); border-color: transparent; color: #fbf6ee; }
.eq-sc--vous .pg-h3 { color: #fbf6ee; }
.eq-sc--vous p { color: rgba(251, 246, 238, .86); font-size: .96rem; }
body:not([data-mode="day"]) .eq-sc--vous { background: #c4b0fb; }
body:not([data-mode="day"]) .eq-sc--vous .pg-h3, body:not([data-mode="day"]) .eq-sc--vous p { color: #1d1d1f; }
.eq-sc-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--b6-sky); color: var(--b6-acc); }
.eq-sc--vous .eq-sc-ic { background: rgba(251, 246, 238, .16); color: #fbf6ee; }
body:not([data-mode="day"]) .eq-sc--vous .eq-sc-ic { background: rgba(29, 29, 31, .12); color: #1d1d1f; }
.eq-sc-ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.eq-sc-fil { display: block; height: 3px; margin: 0 6px; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--b6-acc) 0 3px, transparent 3px 11px);
  transform-origin: 0 50%; transition: transform .7s var(--b6-ease); }
.eq-sc-fil + .eq-sc + .eq-sc-fil { transform-origin: 100% 50%; }
.tr-anim .eq-schema:not(.is-on) .eq-sc--b { opacity: 0; transform: translateX(-40px); }
.tr-anim .eq-schema:not(.is-on) .eq-sc--t { opacity: 0; transform: translateX(40px); }
.tr-anim .eq-schema:not(.is-on) .eq-sc--vous { opacity: 0; transform: scale(.7); }
.tr-anim .eq-schema:not(.is-on) .eq-sc-fil { transform: scaleX(0); }
.eq-sc--vous { transition-delay: .15s; } .eq-sc-fil { transition-delay: .45s; } .eq-sc--t { transition-delay: .1s; }

.eq-change-t { margin-top: clamp(52px, 6vw, 76px); font-family: var(--sans); font-size: clamp(1.4rem, 2vw, 1.75rem); font-weight: 600; letter-spacing: -.03em; color: var(--b6-ink); }
.eq-fiches { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 26px; }
.eq-fiches li { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 30px 26px 26px; border-radius: 8px 8px 20px 8px; background: var(--eq-papier); color: #1d1d1f;
  filter: drop-shadow(0 1px 1px rgba(31, 51, 80, .1)) drop-shadow(0 14px 22px rgba(31, 51, 80, .14)); }
.eq-fiches li:nth-child(1) { rotate: -1.6deg; } .eq-fiches li:nth-child(2) { rotate: 1deg; } .eq-fiches li:nth-child(3) { rotate: -.8deg; }
.eq-fiches li:nth-child(2) .eq-epingle { background: #a9cfec; } .eq-fiches li:nth-child(3) .eq-epingle { background: #6e3ad6; }
.eq-fiches .pg-h3 { color: #1d1d1f; }
.eq-fiches p { font-size: 1rem; line-height: 1.52; color: #4a4d56; }
.eq-fiches .pg-ic { background: #fbf3e6; border-color: rgba(31, 51, 80, .1); color: #6e3ad6; }
body:not([data-mode="day"]) .eq-fiches li { filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .5)); }
.eq-entourage { margin-top: clamp(30px, 3.6vw, 44px); padding: 18px 26px; border-radius: 18px; border: 1.5px dashed var(--b6-line-2); font-size: 1.08rem; line-height: 1.5; color: var(--b6-mute); max-width: 46em; }
.eq-entourage span { color: var(--b6-ink); font-weight: 600; }
body[data-entourage="off"] [data-entourage] { display: none !important; }
.eq-rep-pied { margin-top: 22px; }


.eq-ia-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px clamp(40px, 6vw, 96px); align-items: center; }
.eq-ia .pg-h2 { max-width: 13em; }
.eq-ia .b6-p { margin-top: 20px; }
.eq-ia-fort { margin-top: 18px; font-size: clamp(1.14rem, 1.5vw, 1.3rem); line-height: 1.45; font-weight: 600; letter-spacing: -.015em; color: var(--b6-ink); max-width: 28em; }
.eq-ia .b6-lien { margin-top: 20px; }
.eq-ia .tr-tag { background: #fffdf8; color: #2f3139; }
.eq-ia .tr-tag-ic { background: #6e3ad6; color: #fbf6ee; }
.eq-boite svg { display: block; width: 100%; max-width: 460px; height: auto; margin: 0 auto; overflow: visible; }
.eq-o { transform-box: fill-box; transform-origin: 50% 100%; transition: transform .8s cubic-bezier(.34, 1.4, .64, 1), opacity .4s; }
.eq-o-2 { transition-delay: .15s; } .eq-o-3 { transition-delay: .3s; } .eq-o-4 { transition-delay: .55s; }
.tr-anim .eq-boite:not(.is-on) .eq-o { transform: translateY(90px); opacity: 0; }


.eq-relais { background-color: var(--b6-paper); background-image: var(--b6-grain); }
.eq-relais .tr-relais-grid { grid-template-columns: minmax(0, 1fr); }
.eq-relais-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; }
.eq-relais .pg-h2 { max-width: 14em; }
.eq-realis { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 14px; font-size: 1.02rem; color: var(--b6-mute); }
.eq-relais .tr-relais-cartes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.eq-relais .tr-relais-cartes li:nth-child(3) .tr-carte:hover, .eq-relais .tr-relais-cartes li:nth-child(3) .tr-carte:focus-visible { transform: translateY(-5px) rotate(-.4deg); }


@media (prefers-reduced-motion: reduce) {
  .eq-cadre, .eq-photo, .eq-sc, .eq-sc-fil, .eq-o, .eq-lk { transition: none; }
  .eq-cadre:hover { translate: none; }
}


@media (max-width: 1100px) {
  .eq-relais .tr-relais-cartes { gap: 16px; }
}

.eq-rep { overflow-x: clip; }
@media (max-width: 900px) {
  .eq-scene { max-width: 560px; margin: 0 auto; }
  .eq-perso, .eq-perso--t { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto; }
  .eq-perso--t .eq-photo, .eq-perso--t .eq-perso-txt { grid-column: 1; grid-row: auto; }
  .eq-photo { width: min(100%, 340px); }
  .eq-perso--t .eq-photo { justify-self: end; }
  .eq-fil { height: 56px; }
  .eq-schema { grid-template-columns: minmax(0, 1fr); justify-items: stretch; }
  .eq-sc-fil { width: 3px; height: 34px; margin: 6px auto; background: repeating-linear-gradient(180deg, var(--b6-acc) 0 3px, transparent 3px 11px); transform-origin: 50% 0; }
  .eq-sc-fil + .eq-sc + .eq-sc-fil { transform-origin: 50% 0; }
  .tr-anim .eq-schema:not(.is-on) .eq-sc-fil { transform: scaleY(0); }
  .eq-sc--vous { aspect-ratio: auto; border-radius: 20px; max-width: none; }
  .eq-sc--b, .eq-sc--t { rotate: none; }
  .eq-fiches { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .eq-fiches li:nth-child(n) { rotate: none; }
  .eq-ia-grid { grid-template-columns: minmax(0, 1fr); }
  .eq-boite svg { max-width: 340px; }
  .eq-relais .tr-relais-cartes { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .eq-porte { width: 37%; }
  .eq-porte--b { left: 6%; top: 32%; }
  .eq-porte--t { left: 56%; top: 38%; }
  .eq-cadre-nom { padding: 6px 0 8px; font-size: 13px; }
  .eq-photo { padding: 12px; }
  .eq-cit { padding: 22px 22px 20px; }
  .eq-nom { font-size: 2rem; }
}
