


.pg-store-t { font-family: var(--sans); font-weight: 600; font-size: 21px; letter-spacing: .22em; fill: #f3e8d4; }
.mg-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }


.mg .pg-hero { min-height: clamp(580px, 82vh, 740px); }
.mg .pg-hero-ill { align-self: stretch; height: auto; }
.mg-ciel { position: absolute; bottom: 0; left: 50%; height: 100%; aspect-ratio: 620 / 700; transform: translateX(-50%); pointer-events: none; }
.mg-ciel div { position: absolute; inset: 0; width: 100%; height: 100%; }
.mg-ciel .mg-l { position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.mg-cible { pointer-events: none; }
.mg-tag-t { font-family: var(--mono); font-weight: 600; }
.mg-tag-t-vieux { font-size: 16px; fill: #636975; letter-spacing: .02em; }
.mg-tag-t-9 { font-family: var(--sans); font-size: 46px; font-weight: 700; fill: #fbf3e6; letter-spacing: -.04em; }
.mg-tag9 { transform-box: fill-box; transform-origin: 50% 0; }
.mg-defile, .mg-boutique, .mg-elan, .mg-flot, .mg-bas-w, .mg-levre-bas-w, .mg-n-av-w, .mg-n-av, .mg-rideau-g, .mg-rideau-d, .mg-trace-w { will-change: transform; }
@media (prefers-reduced-motion: no-preference) {
  
  .mg-boutique { transform: translate(-29.84%, 27.43%); animation: mg-secours 0s 4s forwards; }
  .mg-rideau-g { transform: translateX(30%); animation: mg-secours 0s 4s forwards; }
  .mg-rideau-d { transform: translateX(-30%); animation: mg-secours 0s 4s forwards; }
  .mg-trace-w, .mg-tag9 { opacity: 0; animation: mg-secours 0s 4s forwards; }
  @keyframes mg-secours { to { transform: none; opacity: 1; } }
  .mg-cible { pointer-events: auto; cursor: pointer; }
}


.mg .pg-band { padding: clamp(64px, 9vh, 100px) 0; }


.mg-ou { overflow: hidden; }
body[data-mode="day"] .mg-ou { background-image: var(--b6-grain), linear-gradient(180deg, #eef4fa 0%, #f7f4ef 45%, #fbf6ee 100%); }
.mg-ou-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px 48px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 60px); }
.mg-ou-head .b6-p { max-width: 24em; }
.mg-pensees { list-style: none; display: grid; align-items: start; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 64px; max-width: 1040px; margin: 0 auto; }
.mg-pensees > li { display: flex; }
.mg-pensees > li:nth-child(2) { justify-content: flex-end; margin-top: 48px; }
.mg-pensees > li:nth-child(3) { padding-left: 5%; margin-top: -14px; }
.mg-pensees > li:nth-child(4) { justify-content: flex-end; margin-top: 30px; padding-right: 5%; }
.mg-pensees > li:nth-child(even) .qb::after { left: auto; right: 30px; clip-path: polygon(0 0, 100% 0, 86% 100%); }
.mg-pensees > li:nth-child(2) .qb { rotate: -1deg; }
.mg-pensees > li:nth-child(3) .qb { rotate: .8deg; }
.mg-pensees .qb-t { max-width: 19em; }
.mg-pensees .qb-tag { max-width: 24em; line-height: 1.4; }
.mg-pensees .qb-tag svg { flex: none; }

.mg-qb-etq { display: inline-grid; place-items: center; min-width: 40px; height: 30px; padding: 0 10px 0 14px; font-family: var(--mono); font-size: 13.5px; font-weight: 600; color: #1d1d1f;
  clip-path: polygon(9px 0, 100% 0, 100% 100%, 9px 100%, 0 50%); }
.mg-qb-etq-8 { background: #a9cfec; }
.mg-qb-etq-17 { background: #e2ddd5; color: #4b4f58; }
.mg-qb-ic { display: grid; place-items: center; width: 34px; height: 30px; border-radius: 9px; background: #e4eff9; color: #2f3139; }
.mg-qb-ic svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mg-qb-ic-v { background: #6e3ad6; color: #fff; }
.mg-autre { margin: clamp(44px, 5vw, 60px) auto 0; max-width: 40em; text-align: center; font-size: .98rem; line-height: 1.5; color: var(--b6-mute); }
.mg-autre a { color: var(--b6-ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--b6-line-2); text-underline-offset: 4px; border-radius: 4px; }
.mg-autre a:hover { color: var(--b6-acc); text-decoration-color: currentColor; }


.mg-quand-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px 48px; flex-wrap: wrap; }
.mg-quand-head .b6-p { max-width: 25em; }
.mg-frise { position: relative; margin-top: clamp(40px, 4.5vw, 56px); }
.mg-fil { position: absolute; left: -1%; top: 0; width: 102%; height: 40px; overflow: visible; }
.mg-fil path, .mg-m-fil path { fill: none; stroke: var(--b6-ink); stroke-opacity: .32; stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.mg-versions { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; align-items: start; padding-top: 50px; }
.mg-v { position: relative; transform-origin: 50% -34px; filter: drop-shadow(0 1px 1px rgba(31, 51, 80, .12)) drop-shadow(0 12px 16px rgba(31, 51, 80, .16)); }
body:not([data-mode="day"]) .mg-v { filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .5)) drop-shadow(0 12px 18px rgba(0, 0, 0, .55)); }
.mg-v::before { content: ""; position: absolute; left: 50%; top: -34px; width: 2px; height: 46px; margin-left: -1px; border-radius: 2px; background: var(--b6-ink); opacity: .38; }
.mg-v:nth-child(1) { rotate: -2.2deg; } .mg-v:nth-child(2) { rotate: 1.4deg; } .mg-v:nth-child(3) { rotate: -1deg; } .mg-v:nth-child(4) { rotate: 1.6deg; }
.mg-v-in { position: relative; min-height: 236px; padding: 32px 22px 24px; color: #1d1d1f; background: #fffdf8;
  clip-path: polygon(18px 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%, 0 18px); }
.mg-v-in::before { content: ""; position: absolute; top: 10px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--b6-sky); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .28); }
.mg-v.is-fin .mg-v-in { background-color: #e6e2db; color: #4b4f58;
  background-image: linear-gradient(118deg, transparent 44%, rgba(255, 255, 255, .55) 45%, transparent 47.5%), linear-gradient(64deg, transparent 63%, rgba(47, 49, 57, .07) 64%, transparent 67%), linear-gradient(160deg, transparent 72%, rgba(255, 255, 255, .4) 73%, transparent 75%); }
.mg-v.is-actu .mg-v-in { background: #6e3ad6; color: rgba(251, 246, 238, .92); }
.mg-v-etat { display: inline-block; padding: 4px 9px; border-radius: 4px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3; }
.mg-v.is-fin .mg-v-etat { border: 1.5px dashed #8a8f99; color: #5d616b; rotate: -4deg; }
.mg-v.is-secu .mg-v-etat { background: #a9cfec; color: #1d1d1f; }
.mg-v.is-actu .mg-v-etat { background: #fbf3e6; color: #5b27b3; }
.mg-v-num { margin-top: 16px; font-size: clamp(2.4rem, 3.4vw, 3.1rem); font-weight: 600; letter-spacing: -.045em; line-height: 1; }
.mg-v.is-fin .mg-v-num { color: #6b6f78; }
.mg-v.is-actu .mg-v-num { color: #fff; }
.mg-v-nom { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 600; letter-spacing: .01em; opacity: .62; }
.mg-v-date { margin-top: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .02em; opacity: .78; }
.mg-v-txt { margin-top: 8px; font-size: .94rem; line-height: 1.5; }

.mg-php { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 34px; align-items: stretch; }
.mg-php-tete { padding: 4px 4px 0 0; }
.mg-php-k { font-family: var(--sans); font-weight: 600; font-size: 1.05rem; letter-spacing: -.015em; color: var(--b6-ink); }
.mg-php-p { margin-top: 6px; font-size: .92rem; line-height: 1.45; color: var(--b6-mute); }
.mg-php-l { grid-column: 2 / -1; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.mg-php-l li { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 15px; border-radius: 10px; border-left: 5px solid #a0a5ae; background: #ece9e3; color: #3f434c; font-size: .9rem; line-height: 1.45;
  box-shadow: 0 1px 1px rgba(31, 51, 80, .08), 0 8px 14px -10px rgba(31, 51, 80, .3); }
.mg-php-l li::before { content: ""; position: absolute; left: 50%; top: -30px; height: 26px; border-left: 2px dotted var(--b6-ink); opacity: .3; }
.mg-php-l b { font-weight: 600; color: #1d1d1f; font-size: .95rem; letter-spacing: -.01em; }
.mg-php-l li.is-actu { border-left-color: #6e3ad6; background: #efe8fd; }
.mg-legende { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: 13px; color: var(--b6-mute); }
.mg-legende li { display: inline-flex; align-items: center; gap: 8px; }
.mg-legende i { width: 16px; height: 11px; border-radius: 3px; background: #e6e2db; box-shadow: 0 0 0 1px rgba(31, 51, 80, .18); }
.mg-legende i.is-secu { background: #fffdf8; box-shadow: inset 0 -4px 0 #a9cfec, 0 0 0 1px rgba(31, 51, 80, .18); }
.mg-legende i.is-actu { background: #6e3ad6; box-shadow: none; }

.mg-feuille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .82fr); margin-top: clamp(52px, 6vw, 72px); border-radius: 26px; background: var(--b6-card); border: 1px solid var(--b6-line); box-shadow: var(--b6-shadow); overflow: hidden; }
.mg-cas { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: clamp(28px, 3vw, 40px); scroll-margin-top: 128px; }
.mg-cas + .mg-cas { border-left: 1px dashed var(--b6-line-2); }
.mg-cas p { font-size: 1rem; line-height: 1.58; color: var(--b6-mute); }
.mg-change { padding: clamp(28px, 3vw, 40px) clamp(24px, 2.6vw, 34px); background: color-mix(in srgb, var(--b6-acc) 7%, var(--b6-card)); }
.mg-change .pg-h3 { font-size: 1.15rem; }
.mg-change ul { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.mg-change li { position: relative; padding-left: 22px; font-size: .96rem; line-height: 1.5; color: var(--b6-ink); }
.mg-change li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 9px; height: 9px; border-radius: 2px; background: var(--b6-acc); rotate: 45deg; }
.mg-quand-liens { display: flex; flex-wrap: wrap; gap: 0 28px; margin-top: 16px; }
.mg-calme { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px 28px; align-items: center; margin-top: 20px; padding: 24px 30px; border-radius: 22px; background-color: var(--b6-paper); background-image: var(--b6-grain); border: 1px dashed var(--b6-line-2); }
.mg-calme p { margin-top: 6px; font-size: 1rem; line-height: 1.55; color: var(--b6-mute); max-width: 44em; }
.mg-calme-liens { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }


.mg-garde-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 32px clamp(40px, 5vw, 72px); align-items: start; }
.mg-garde-txt .b6-p { margin-top: 18px; }
.mg-note { margin-top: 22px; padding-left: 16px; border-left: 3px solid var(--b6-acc); font-size: .98rem; line-height: 1.58; color: var(--b6-mute); max-width: 34em; }
.mg-chemins { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.mg-chemin { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 24px; border-radius: 22px; background: var(--b6-card); border: 1px solid var(--b6-line); box-shadow: var(--b6-shadow); }
.mg-chemin:nth-child(2) { margin-top: 34px; }
.mg-chemin svg { display: block; width: 100%; height: auto; overflow: visible; margin-bottom: 4px; }
.mg-chemin p { font-size: .97rem; line-height: 1.55; color: var(--b6-mute); }
.mg-tab-w { margin-top: clamp(48px, 5.5vw, 68px); }
.mg-tab-leg { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 14px; font-size: 13.5px; font-weight: 500; color: var(--b6-mute); }
.mg-tab-leg li { display: inline-flex; align-items: center; gap: 8px; }
.mg-pas { display: inline-block; flex: none; width: 13px; height: 13px; border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(31, 51, 80, .14); }
.mg-pas.is-garde, .is-garde > th .mg-pas { background: #b5d9a6; }
.mg-pas.is-verif, .is-verif > th .mg-pas { background: #f0d07a; }
.mg-pas.is-refait, .is-refait > th .mg-pas { background: #f2b3bd; }
.mg-tab { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--b6-card); border: 1px solid var(--b6-line); border-radius: 22px; overflow: hidden; box-shadow: var(--b6-shadow); text-align: left; }
.mg-tab th, .mg-tab td { padding: 15px 20px; vertical-align: top; border-top: 1px solid var(--b6-line); }
.mg-tab thead th { border-top: 0; padding-top: 16px; padding-bottom: 14px; font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; color: var(--b6-faint); background: var(--b6-sky); }
.mg-tab tbody th { width: 31%; font-size: 1rem; font-weight: 600; letter-spacing: -.012em; line-height: 1.38; color: var(--b6-ink); }
.mg-tab tbody th .mg-pas { margin: 4px 12px 0 0; float: left; }
.mg-tab tbody th span { display: block; overflow: hidden; }
.mg-tab tbody th em { display: block; margin: 5px 0 0 25px; font-style: normal; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--b6-faint); }
.mg-tab td { font-size: .97rem; line-height: 1.52; color: var(--b6-mute); }
.mg-tab td:last-child { color: var(--b6-ink); background: color-mix(in srgb, var(--b6-acc) 4%, transparent); }
.mg-tab tbody tr:hover th, .mg-tab tbody tr:hover td { background-color: color-mix(in srgb, var(--b6-acc) 6%, transparent); }


.mg-tm { overflow: hidden; }
.mg-tm-head { max-width: 760px; }
.mg-tm-p { margin-top: 18px; font-size: 1.14rem; line-height: 1.55; color: var(--b6-mute); max-width: 32em; }
.mg-tm-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px clamp(40px, 6vw, 88px); margin-top: clamp(40px, 5vw, 60px); padding-top: clamp(32px, 4vw, 44px); border-top: 1px solid var(--b6-line); }
.mg-tm-col { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; scroll-margin-top: 128px; }
.mg-tm-col p { font-size: 1rem; line-height: 1.6; color: var(--b6-mute); }
.mg-tm-ill { display: block; width: 100%; max-width: 270px; height: auto; overflow: visible; margin-bottom: 8px; }
.mg-puz-q { font-family: var(--sans); font-size: 30px; font-weight: 700; fill: #2f3139; }
.mg-familles { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.mg-familles li { position: relative; padding-left: 20px; font-size: 1rem; line-height: 1.5; color: var(--b6-mute); }
.mg-familles li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px; border-radius: 2px; background: var(--b6-acc); rotate: 45deg; }
.mg-familles b { color: var(--b6-ink); font-weight: 600; }


.mg-seo-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 32px clamp(40px, 5vw, 72px); align-items: center; }
.mg-seo-txt .b6-p { margin-top: 18px; }
.mg-seo-p { margin-top: 16px; font-size: 1rem; line-height: 1.6; color: var(--b6-mute); max-width: 36em; }
.mg-bagages svg { display: block; width: 100%; max-width: 480px; height: auto; margin-left: auto; overflow: visible; }
.mg-url text { font-family: var(--mono); font-size: 13.5px; fill: #2f3139; }
.mg-url .mg-url-perdue { fill-opacity: .5; }
.mg-url-ok { font-family: var(--sans); font-size: 14px; font-weight: 600; fill: #fbf6ee; }
body:not([data-mode="day"]) .mg-bagages [stroke="#6e3ad6"] { stroke: #c4b0fb; }
.mg-seo-etapes { list-style: none; counter-reset: mg-e; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 5vw, 56px); }
.mg-seo-etapes li { counter-increment: mg-e; display: flex; flex-direction: column; gap: 6px; padding: 20px 20px 22px; border-radius: 18px; background: var(--b6-card); border: 1px solid var(--b6-line); }
.mg-seo-etapes li::before { content: counter(mg-e); display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 6px; border-radius: 50%; background: var(--b6-acc); color: var(--b6-card); font-family: var(--mono); font-size: 13px; font-weight: 600; }
.mg-seo-etapes b { font-size: 1.02rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.3; color: var(--b6-ink); }
.mg-seo-etapes span { font-size: .95rem; line-height: 1.5; color: var(--b6-mute); }
.mg-honnete { display: flex; align-items: flex-start; gap: 14px; margin-top: 22px; padding: 20px 24px; border-radius: 16px; background: var(--b6-card); border-left: 4px solid var(--b6-acc); font-size: 1.06rem; font-weight: 500; line-height: 1.5; letter-spacing: -.008em; color: var(--b6-ink); }
.mg-honnete svg { width: 22px; height: 22px; flex: none; margin-top: 1px; fill: none; stroke: var(--b6-acc); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }


.mg-bascule-head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.mg-bascule-head .pg-h2 { max-width: 14em; }
.mg-bascule-head .b6-p { margin-top: 16px; }
.mg-schema { max-width: 1000px; margin: clamp(32px, 4vw, 48px) auto 0; }
.mg-schema svg { display: block; width: 100%; height: auto; overflow: visible; }
.mg-maint { font-family: var(--sans); font-size: 13px; font-weight: 600; fill: #2f3139; }
.mg-schema-9 { font-family: var(--sans); font-size: 27px; font-weight: 700; fill: #fbf3e6; }
body:not([data-mode="day"]) .mg-schema > svg > path[stroke="#2f3139"], body:not([data-mode="day"]) .mg-schema > svg > rect[stroke="#2f3139"] { stroke: #fbf3e6; }
.mg-tourne-g svg { overflow: visible; }
.mg-etapes4 { list-style: none; counter-reset: mg-b; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px clamp(20px, 3vw, 40px); margin-top: clamp(24px, 3vw, 36px); }
.mg-etapes4 li { counter-increment: mg-b; display: flex; flex-direction: column; gap: 6px; padding-top: 16px; border-top: 2px solid var(--b6-ink); }
.mg-etapes4 li:nth-child(3) { border-top-color: var(--b6-acc); }
.mg-etapes4 li:nth-child(4) { border-top-style: dashed; }
.mg-etapes4 li::before { content: counter(mg-b, decimal-leading-zero); font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: .06em; color: var(--b6-acc); }
.mg-etapes4 b { font-size: 1.08rem; font-weight: 600; letter-spacing: -.018em; color: var(--b6-ink); }
.mg-etapes4 span { font-size: .96rem; line-height: 1.5; color: var(--b6-mute); }
.mg-bascule-txt { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px clamp(32px, 5vw, 64px); margin-top: clamp(40px, 5vw, 56px); padding-top: clamp(28px, 3vw, 36px); border-top: 1px dashed var(--b6-line-2); }
.mg-bascule-txt p { font-size: 1.04rem; line-height: 1.6; color: var(--b6-mute); }


.mg-rien-grid { display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); gap: 32px clamp(40px, 6vw, 96px); align-items: center; }
.mg-rien-ill { display: block; width: 100%; max-width: 300px; height: auto; margin: 0 auto; overflow: visible; }
.mg-rien-txt { max-width: 680px; }
.mg-rien-txt > p { margin-top: 16px; font-size: 1.03rem; line-height: 1.62; color: var(--b6-mute); }
.mg-rien-txt > p.mg-chapeau { margin-top: 18px; font-size: 1.2rem; line-height: 1.5; font-weight: 500; letter-spacing: -.012em; color: var(--b6-ink); }
.mg-encadre { margin-top: 28px; padding: 24px 28px 18px; border-radius: 20px; background-color: var(--b6-paper); background-image: var(--b6-grain); border: 1px solid var(--b6-line); }
.mg-encadre p { font-size: 1.02rem; line-height: 1.58; color: var(--b6-mute); }
.mg-encadre b { color: var(--b6-ink); font-weight: 600; }
.mg-encadre-liens { display: flex; flex-wrap: wrap; gap: 0 28px; margin-top: 8px; }


.mg-m-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px 48px; flex-wrap: wrap; }
.mg-m-head .b6-p { max-width: 24em; }
.mg-m-frise { position: relative; margin-top: clamp(36px, 4vw, 52px); }
.mg-m-fil { position: absolute; left: 0; top: 0; width: 100%; height: 40px; overflow: visible; }
.mg-m-etapes { list-style: none; counter-reset: mg-m; display: grid; grid-template-columns: minmax(0, 1.55fr) repeat(5, minmax(0, 1fr)); gap: 14px; align-items: start; padding-top: 50px; }
.mg-m-etapes li { counter-increment: mg-m; position: relative; display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 20px; border-radius: 18px; background: var(--b6-card); border: 1px solid var(--b6-line); box-shadow: var(--b6-shadow); transform-origin: 50% -30px; }
.mg-m-etapes li::before { content: ""; position: absolute; left: 50%; top: -34px; width: 2px; height: 34px; margin-left: -1px; background: var(--b6-ink); opacity: .32; }
.mg-m-etapes li::after { content: counter(mg-m, decimal-leading-zero); position: absolute; right: 16px; top: 16px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .06em; color: var(--b6-faint); }
.mg-m-etapes li:nth-child(even) { rotate: .8deg; } .mg-m-etapes li:nth-child(odd) { rotate: -.6deg; }
.mg-m-etapes b { font-size: 1rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; color: var(--b6-ink); margin-top: 4px; }
.mg-m-etapes li > span:last-child { font-size: .9rem; line-height: 1.48; color: var(--b6-mute); }
.mg-m-etapes .mg-m-1 { padding: 22px 24px 24px; border: 2px solid var(--b6-acc); rotate: -1deg; }
.mg-m-etapes .mg-m-1 b { font-size: 1.24rem; }
.mg-m-etapes .mg-m-1 > span:last-child { font-size: .97rem; }
.mg-m-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--b6-sky); color: var(--b6-acc); }
.mg-m-1 .mg-m-ic { background: var(--b6-acc); color: var(--b6-card); }
.mg-m-ic svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.mg-m-liens { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 28px; }


.mg-p-grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 36px clamp(40px, 5vw, 72px); align-items: center; }
.mg-p-txt { display: flex; flex-direction: column; gap: 16px; }
.mg-p-txt p { font-size: 1.04rem; line-height: 1.6; color: var(--b6-mute); max-width: 34em; }
.mg-chantier { padding: 16px 18px; border-radius: 14px; background: var(--b6-card); border: 1px dashed var(--b6-line-2); color: var(--b6-ink) !important; font-size: .98rem !important; }
.mg-chantier-k { display: inline-block; margin-right: 10px; padding: 2px 8px; border-radius: 4px; background: color-mix(in srgb, var(--b6-acc) 14%, transparent); color: var(--b6-acc); font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; vertical-align: 1px; }
body[data-chantier-herbo="off"] .mg-chantier, .mg-chantier[data-chantier-herbo="off"] { display: none; }
.mg-fens { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.mg-fens > li { display: flex; flex-direction: column; gap: 12px; }
.mg-fens > li:nth-child(1) .pg-fen { rotate: -2deg; }
.mg-fens > li:nth-child(2) { margin-top: 36px; }
.mg-fens > li:nth-child(2) .pg-fen { rotate: 1.2deg; }
.mg-fens > li:nth-child(3) .pg-fen { rotate: -.8deg; }
.mg-fens .pg-fen-barre { height: 26px; padding: 0 10px; gap: 4px; }
.mg-fens .pg-fen-barre i { width: 7px; height: 7px; }
.mg-fens .pg-fen-barre span { margin-left: 6px; padding: 2px 8px; font-size: 9.5px; }
.mg-fens .r-logo { height: 38px; margin: 0; padding: 0 4px; background: transparent; }
.mg-fens .r-logo img { height: min(var(--lh, 28px), 34px); }


.mg-faq-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 40px clamp(40px, 6vw, 96px); align-items: start; }
.mg-faq-g { position: sticky; top: 120px; }
.mg-faq-g .pg-h2 { max-width: 10em; }
.mg-faq-ill { display: block; width: min(240px, 70%); height: auto; margin-top: 34px; overflow: visible; }
.mg-acc { padding: 8px clamp(22px, 3vw, 36px); border-radius: 24px; background: var(--b6-card); border: 1px solid var(--b6-line); box-shadow: var(--b6-shadow); }
.mg-q { border-bottom: 1px solid var(--b6-line); }
.mg-q:last-child { border-bottom: 0; }
.mg-q summary { position: relative; list-style: none; cursor: pointer; padding: 21px 48px 21px 0; font-size: 1.1rem; font-weight: 600; letter-spacing: -.018em; line-height: 1.35; color: var(--b6-ink); border-radius: 8px; }
.mg-q summary::-webkit-details-marker { display: none; }
.mg-q summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; border: 1px solid var(--b6-line-2); color: var(--b6-ink);
  background: linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 12px no-repeat; transition: transform .35s var(--b6-ease), border-color .25s, color .25s; }
.mg-q[open] summary::after { transform: rotate(45deg); color: var(--b6-acc); border-color: var(--b6-acc); }
.mg-q summary:hover { color: var(--b6-acc); }
.mg .mg-q summary:focus-visible { outline: 2px solid var(--b6-acc); outline-offset: 4px; }
.mg-q p { padding: 0 48px 22px 0; font-size: 1.01rem; line-height: 1.6; color: var(--b6-mute); }
@media (prefers-reduced-motion: reduce) { .mg-q summary::after { transition: none; } }


@media (max-width: 1100px) {
  .mg-feuille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mg-change { grid-column: 1 / -1; border-top: 1px dashed var(--b6-line-2); }
  .mg-m-etapes { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-top: 0; }
  .mg-m-fil, .mg-m-etapes li::before { display: none; }
  .mg-m-etapes li, .mg-m-etapes li:nth-child(n), .mg-m-etapes .mg-m-1 { rotate: none; }
  .mg-m-etapes .mg-m-1 { grid-column: 1 / -1; }
  .mg-seo-etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .mg .pg-hero { min-height: 0; }
  .mg .pg-hero-ill { width: 100%; aspect-ratio: 620 / 700; margin-top: -10px; }
  .mg-ciel { left: 0; width: 100%; transform: none; }
  .mg-pensees { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .mg-pensees > li, .mg-pensees > li:nth-child(n) { margin-top: 0; padding: 0; justify-content: flex-start; }
  .mg-pensees > li:nth-child(even) { justify-content: flex-end; }
  .mg-pensees .qb { max-width: 94%; }
  .mg-garde-top, .mg-seo-grid, .mg-p-grid, .mg-faq-grid { grid-template-columns: minmax(0, 1fr); }
  .mg-tm-cols { grid-template-columns: minmax(0, 1fr); }
  .mg-bagages svg { max-width: 420px; margin: 0 auto; }
  .mg-rien-grid { grid-template-columns: minmax(0, 1fr); }
  .mg-rien-ill { max-width: 200px; margin: 0; }
  .mg-etapes4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mg-bascule-txt { grid-template-columns: minmax(0, 1fr); }
  .mg-faq-g { position: static; }
  .mg-faq-ill { display: none; }
}

@media (max-width: 760px) {
  .mg-fil { display: none; }
  .mg-versions { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 0 0 0 30px; position: relative; }
  .mg-versions::before { content: ""; position: absolute; left: 8px; top: -6px; bottom: 30px; width: 2px; border-radius: 2px; background: var(--b6-ink); opacity: .3; }
  .mg-v { transform-origin: 0 40px; }
  .mg-v::before { left: -22px; top: 38px; width: 24px; height: 2px; margin: 0; }
  .mg-v:nth-child(1) { rotate: -1deg; } .mg-v:nth-child(2) { rotate: .7deg; } .mg-v:nth-child(3) { rotate: -.6deg; } .mg-v:nth-child(4) { rotate: .8deg; }
  .mg-v-in { min-height: 0; padding: 20px 20px 20px 40px; clip-path: polygon(0 18px, 18px 0, 100% 0, 100% 100%, 18px 100%, 0 calc(100% - 18px)); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; align-items: baseline; }
  .mg-v-in::before { top: 33px; left: 14px; margin: 0; }
  .mg-v-etat { grid-column: 1 / -1; justify-self: start; }
  .mg-v-num { grid-row: span 2; margin-top: 8px; font-size: 2.3rem; }
  .mg-v-date, .mg-v-txt { grid-column: 2; margin-top: 6px; }
  .mg-php { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .mg-php-l { grid-column: auto; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .mg-php-l li::before { display: none; }
}
@media (max-width: 700px) {
  
  .mg-tab, .mg-tab thead, .mg-tab tbody, .mg-tab tr, .mg-tab th, .mg-tab td { display: block; width: auto; }
  .mg-tab { background: transparent; border: 0; box-shadow: none; border-radius: 0; overflow: visible; }
  .mg-tab thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .mg-tab tbody tr { margin-bottom: 12px; border-radius: 18px; background: var(--b6-card); border: 1px solid var(--b6-line); box-shadow: var(--b6-shadow); overflow: hidden; }
  .mg-tab tbody th { width: auto; border-top: 0; padding: 16px 18px 6px; }
  .mg-tab td { border-top: 0; padding: 6px 18px 12px; }
  .mg-tab td:last-child { padding-bottom: 16px; padding-top: 10px; }
  .mg-tab td::before { content: attr(data-l); display: block; margin-bottom: 3px; font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; color: var(--b6-faint); }
  .mg-tab tbody tr:hover th, .mg-tab tbody tr:hover td { background-color: transparent; }
  .mg-tab td:last-child, .mg-tab tbody tr:hover td:last-child { background: color-mix(in srgb, var(--b6-acc) 5%, transparent); }
}
@media (max-width: 640px) {
  .mg-chemins { grid-template-columns: minmax(0, 1fr); }
  .mg-chemin:nth-child(2) { margin-top: 0; }
  .mg-feuille { grid-template-columns: minmax(0, 1fr); }
  .mg-cas + .mg-cas { border-left: 0; border-top: 1px dashed var(--b6-line-2); }
  .mg-calme { grid-template-columns: minmax(0, 1fr); padding: 22px; }
  .mg-seo-etapes, .mg-etapes4 { grid-template-columns: minmax(0, 1fr); }
  .mg-honnete { padding: 18px; font-size: 1rem; }
  .mg-m-etapes { grid-template-columns: minmax(0, 1fr); }
  .mg-fens { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mg-fens > li:first-child { grid-column: 1 / -1; }
  .mg-fens > li:nth-child(2) { margin-top: 0; }
  .mg-fens > li:nth-child(n) .pg-fen { rotate: none; }
  .mg-q summary { font-size: 1.03rem; padding-right: 44px; }
  .mg-q p { padding-right: 0; }
  .mg-encadre { padding: 20px 20px 14px; }
}
