


body[data-mode="day"] .ac-page { --ac-1: linear-gradient(180deg, #fbece6 0%, #fbf3ea 100%); --ac-2: #fbf6ee; --ac-3: linear-gradient(180deg, #f6e6ec 0%, #f1e8f4 100%); --b6-acc: #6e3ad6; }
.ac-page { --ac-1: linear-gradient(180deg, #1a1830 0%, #15162a 100%); --ac-2: #101222; --ac-3: linear-gradient(180deg, #211b34 0%, #1a1730 100%); }
.ac-b { background: var(--ac-2); background-image: var(--b6-grain); }
.ac-b.pg-band { padding-top: clamp(64px, 8vh, 88px); padding-bottom: clamp(64px, 8vh, 88px); }
.ac-b1 { background: var(--ac-1); }
.ac-b3 { background: var(--ac-3); }
.ac-acc { color: var(--b6-acc); }
.ac-page .pg-h2 { max-width: 15em; }


.ac-hero, body[data-mode="day"] .ac-hero { background: linear-gradient(104deg, #fbf3e6 0%, #fbe7df 30%, #f6cfd2 52%, #c9b8d8 72%, #7d84b3 88%, #3b4673 100%); }
body:not([data-mode="day"]) .ac-hero { background: linear-gradient(104deg, #121a33 0%, #1b2140 34%, #2f2b52 58%, #5a4569 80%, #9a6878 100%); }
.ac-h-etoiles path, .ac-h-etoiles circle { fill: #fbf3e6; }
body[data-mode="day"] .ac-h-etoiles { opacity: .85; }
.ac-orbite { fill: none; stroke: #fbf3e6; stroke-opacity: .85; stroke-width: 2.2; stroke-dasharray: 6 8; stroke-linecap: round; }
body[data-mode="day"] .ac-hero .pg-acc { color: #6e3ad6; }



.ac-apres { overflow: hidden; }
.ac-apres-sat { position: absolute; right: clamp(20px, 7vw, 120px); top: 54px; width: clamp(90px, 9vw, 130px); aspect-ratio: 160 / 112; height: auto; overflow: visible; filter: drop-shadow(0 6px 8px rgba(31, 51, 80, .2)); }
.ac-ja-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px clamp(40px, 6vw, 96px); align-items: start; }
.ac-ja-grid .b6-p + .b6-p { margin-top: 14px; }
.ac-fiches { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: clamp(32px, 4vw, 44px); }
.ac-fiches li { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 30px 26px 26px; border-radius: 8px 8px 20px 8px; background: #fffdf8; color: #1d1d1f;
  filter: drop-shadow(0 1px 1px rgba(31, 51, 80, .1)) drop-shadow(0 14px 22px rgba(31, 51, 80, .14)); }
.ac-fiches li:nth-child(1) { transform: rotate(-2deg); } .ac-fiches li:nth-child(2) { transform: rotate(1.2deg) translateY(14px); } .ac-fiches li:nth-child(3) { transform: rotate(-1deg); }
.ac-fiches .pg-h3 { color: #1d1d1f; }
.ac-fiches p { font-size: 1rem; line-height: 1.52; color: #4a4d56; }
.ac-fiches .pg-ic { background: #fbf3e6; border-color: rgba(31, 51, 80, .1); color: #6e3ad6; }
.ac-epingle { position: absolute; top: -8px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: #f4c3ca; box-shadow: inset -3px -3px 0 rgba(0, 0, 0, .12), 0 3px 4px rgba(0, 0, 0, .18); }
.ac-fiches li:nth-child(2) .ac-epingle { background: #a9cfec; }
.ac-fiches li:nth-child(3) .ac-epingle { background: #6e3ad6; }
body:not([data-mode="day"]) .ac-fiches li { filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .5)); }


.ac-ch-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(40px, 6vw, 96px); align-items: center; }
.ac-ch-grid .pg-h2 { margin-bottom: 22px; }
.ac-ch-grid .b6-p + .b6-p { margin-top: 14px; }
.ac-ch-grid .b6-lien { margin-top: 16px; }
.ac-maison svg { display: block; width: 100%; max-width: 520px; height: auto; overflow: visible; }
body:not([data-mode="day"]) .ac-maison path[stroke] { stroke: #fbf3e6; }
.ac-m-2, .ac-m-3, .ac-m-4, .ac-m-plus { transform-box: fill-box; transition: transform .8s cubic-bezier(.34, 1.4, .64, 1), opacity .4s; }
.ac-m-2 { transform-origin: 50% 100%; transition-delay: .3s; }
.ac-m-3 { transform-origin: 0% 100%; transition-delay: .9s; }
.ac-m-4 { transform-origin: 100% 100%; transition-delay: 1.5s; }
.ac-m-plus { transform-origin: 50% 50%; transition-delay: 2.1s; }
.tr-anim .ac-maison:not(.is-on) .ac-m-2 { transform: scaleY(0); opacity: 0; }
.tr-anim .ac-maison:not(.is-on) .ac-m-3, .tr-anim .ac-maison:not(.is-on) .ac-m-4 { transform: scaleX(0); opacity: 0; }
.tr-anim .ac-maison:not(.is-on) .ac-m-plus { transform: scale(0); }


.ac-ma-head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.ac-ma-head .pg-h2 { margin: 0 auto; }
.ac-ma-head .b6-p { margin: 18px auto 0; }
.ac-boite-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 220px) minmax(0, 1fr); grid-template-rows: auto auto; gap: 18px clamp(24px, 3vw, 44px); align-items: center; margin-top: clamp(30px, 3.6vw, 44px); }
.ac-fiche-1 { grid-column: 1; grid-row: 1; } .ac-fiche-2 { grid-column: 1; grid-row: 2; }
.ac-boite { grid-column: 2; grid-row: 1 / span 2; }
.ac-fiche-3 { grid-column: 3; grid-row: 1; } .ac-fiche-4 { grid-column: 3; grid-row: 2; }
.ac-boite svg { display: block; width: 100%; height: auto; overflow: visible; }
.ac-fiche { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; padding: 22px 24px; border-radius: 18px; background: var(--b6-card); border: 1px solid var(--b6-line); box-shadow: var(--b6-shadow);
  transition: transform .8s var(--b6-ease), opacity .6s; }
.ac-fiche .pg-h3 { align-self: center; }
.ac-fiche p { grid-column: 2; font-size: .99rem; line-height: 1.52; color: var(--b6-mute); }
.ac-fiche-ic { grid-row: 1 / span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: #6e3ad6; color: #fbf6ee; }
.ac-fiche-ic svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
body:not([data-mode="day"]) .ac-fiche-ic { background: #c4b0fb; color: #1d1d1f; }
.ac-fiche-1 { transform: rotate(-1.5deg); } .ac-fiche-2 { transform: rotate(1deg); } .ac-fiche-3 { transform: rotate(1.4deg); } .ac-fiche-4 { transform: rotate(-1deg); }
.ac-fiche-2 { transition-delay: .12s; } .ac-fiche-3 { transition-delay: .24s; } .ac-fiche-4 { transition-delay: .36s; }
.tr-anim .ac-boite-grid:not(.is-on) .ac-fiche-1, .tr-anim .ac-boite-grid:not(.is-on) .ac-fiche-2 { opacity: 0; transform: translateX(120px) scale(.7); }
.tr-anim .ac-boite-grid:not(.is-on) .ac-fiche-3, .tr-anim .ac-boite-grid:not(.is-on) .ac-fiche-4 { opacity: 0; transform: translateX(-120px) scale(.7); }
.ac-b-couv { transform-box: fill-box; transform-origin: 0% 100%; transition: transform .6s var(--b6-ease); }
.tr-anim .ac-boite-grid:not(.is-on) .ac-b-couv { transform: translateY(26px); }
.ac-renvoi { margin: clamp(32px, 4vw, 48px) auto 0; text-align: center; font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.45; font-weight: 500; color: var(--b6-mute); max-width: 40em; }
.ac-renvoi span { color: var(--b6-ink); font-weight: 600; }


.ac-cs-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 20px clamp(36px, 5vw, 80px); align-items: end; }
.ac-frises { display: flex; flex-direction: column; gap: clamp(22px, 2.4vw, 30px); margin-top: clamp(30px, 3.6vw, 44px); }
.ac-frise { display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 1fr); gap: 14px clamp(24px, 3vw, 44px); align-items: center; padding-top: clamp(20px, 2.4vw, 28px); border-top: 1px solid var(--b6-line); }
.ac-frise-t { font-family: var(--sans); font-size: clamp(1.15rem, 1.5vw, 1.32rem); font-weight: 600; line-height: 1.22; letter-spacing: -.025em; color: var(--b6-ink); }
.ac-frise-t .pg-client { color: var(--b6-acc); }
.ac-frise ol { position: relative; list-style: none; display: flex; gap: 18px; grid-column: 2; grid-row: 1 / span 2; }
.ac-frise ol::before { content: ""; position: absolute; left: 14px; right: 14px; top: 50%; border-top: 2px dashed var(--b6-line-2); }
.ac-frise li { position: relative; flex: 1 1 0; min-width: 0; padding: 16px 16px 16px; border-radius: 14px; background: var(--b6-card); border: 1px solid var(--b6-line); box-shadow: var(--b6-shadow); font-size: .95rem; line-height: 1.42; color: var(--b6-ink);
  transition: transform .55s var(--b6-ease), opacity .45s; }
.ac-frise li:nth-child(2) { transition-delay: .18s; } .ac-frise li:nth-child(3) { transition-delay: .36s; } .ac-frise li:nth-child(4) { transition-delay: .54s; } .ac-frise li:nth-child(5) { transition-delay: .72s; }
.ac-frise li.ac-suite { flex: 0 0 auto; display: grid; place-items: center; padding: 16px 20px; background: var(--ac-2); border: 2px dashed var(--b6-line-2); box-shadow: none; color: var(--b6-faint); font-weight: 600; }
.tr-anim .ac-frise:not(.is-on) li { opacity: 0; transform: translateX(-22px); }
.ac-frise .pg-plus { grid-column: 1; }


.ac-df-head { max-width: 760px; }
.ac-df-head .b6-p { margin-top: 16px; }
.ac-deux { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: clamp(26px, 3vw, 36px); }
.ac-facon { display: flex; flex-direction: column; gap: 12px; padding: 26px clamp(24px, 3vw, 36px) 30px; border-radius: 24px; background: var(--b6-card); border: 1px solid var(--b6-line); box-shadow: var(--b6-shadow); }
.ac-facon p { font-size: 1.02rem; line-height: 1.58; color: var(--b6-mute); }
.ac-facon-ill { width: 170px; height: auto; overflow: visible; color: var(--b6-ink); margin-bottom: 4px; }
.ac-orbite-mini { animation: ac-orbite 26s linear infinite; }
@keyframes ac-orbite {
  0% { transform: translate(212px, 66px) scale(.95); } 25% { transform: translate(120px, 96px) scale(1.05); }
  50% { transform: translate(28px, 66px) scale(.95); } 75% { transform: translate(120px, 36px) scale(.85); } 100% { transform: translate(212px, 66px) scale(.95); }
}
.ac-reprise { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; margin-top: 28px; padding: 22px 28px; border-radius: 20px; border: 1.5px dashed var(--b6-line-2); }
.ac-reprise p { font-size: 1.08rem; line-height: 1.5; color: var(--b6-mute); max-width: 40em; }
.ac-reprise span { color: var(--b6-ink); font-weight: 600; }


@media (prefers-reduced-motion: reduce) {
  .ac-orbite-mini { animation: none; transform: translate(120px, 96px); }
  .ac-m-2, .ac-m-3, .ac-m-4, .ac-m-plus, .ac-fiche, .ac-b-couv, .ac-frise li { transition: none; }
}


@media (max-width: 1100px) {
  .ac-frise { grid-template-columns: minmax(0, 1fr); }
  .ac-frise ol { grid-column: 1; grid-row: auto; }
  .ac-frise .pg-plus { grid-column: 1; }
}
@media (max-width: 900px) {
  
  .ac-main { overflow-x: clip; }
  .ac-ja-grid, .ac-ch-grid, .ac-cs-head { grid-template-columns: minmax(0, 1fr); }
  .ac-fiches { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .ac-fiches li:nth-child(n) { transform: none; }
  .ac-boite-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .ac-boite, .ac-fiche-1, .ac-fiche-2, .ac-fiche-3, .ac-fiche-4 { grid-column: 1; grid-row: auto; }
  .ac-boite { width: 200px; justify-self: center; order: -1; }
  .ac-frise ol { flex-direction: column; gap: 10px; }
  .ac-frise ol::before { left: 22px; right: auto; top: 10px; bottom: 10px; border-top: 0; border-left: 2px dashed var(--b6-line-2); }
  .ac-frise li.ac-suite { justify-items: start; }
  .ac-deux { grid-template-columns: minmax(0, 1fr); }
  .ac-apres-sat { top: 24px; width: 80px; }
}
@media (max-width: 640px) {
  .ac-fiche { grid-template-columns: minmax(0, 1fr); }
  .ac-fiche-ic { grid-row: auto; }
  .ac-fiche p { grid-column: 1; }
  .ac-facon-ill { width: 180px; }
}
