

.pg-store-t { font-family: var(--sans); font-weight: 600; font-size: 21px; letter-spacing: .22em; fill: #f3e8d4; }
.mt-store-t-vieille { fill: #e6d6b8; }
.mt-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.mt-chapeau { font-size: clamp(1.16rem, 1.55vw, 1.36rem); line-height: 1.45; font-weight: 500; letter-spacing: -.016em; color: var(--b6-ink); max-width: 30em; margin-top: 18px; text-wrap: pretty; }
.mt-lien-txt { color: var(--b6-ink); font-weight: 600; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--b6-acc) 55%, transparent); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.mt-lien-txt:hover { color: var(--b6-acc); }

.mt .pg-band { padding: clamp(64px, 8.4vh, 96px) 0; }
.mt section[id], .mt [id] { scroll-margin-top: 72px; }


.mt .pg-hero { min-height: clamp(600px, 84vh, 760px); }
.mt .pg-hero-ill { position: relative; align-self: stretch; height: auto; }
.mt-ciel { position: absolute; bottom: 0; left: 50%; height: 100%; aspect-ratio: 620 / 700; transform: translateX(-50%); pointer-events: none; }
.mt-ciel div, .mt-ciel .pg-l { position: absolute; inset: 0; width: 100%; height: 100%; }
.mt-ciel .pg-l { display: block; overflow: visible; pointer-events: none; }
.mt-cible { pointer-events: auto; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.mt-orb path { fill: none; stroke: #2f3139; stroke-opacity: .34; stroke-width: 1.7; stroke-dasharray: 5 8; stroke-linecap: round; }
.mt-orb-av path { stroke-opacity: .5; }
.mt-boutique { transform-origin: 50% 62%; }
.mt-defile, .mt-elan, .mt-montee, .mt-boutique, .mt-sat-w, .mt-n-passe, .mt-n-mil-w, .mt-n-av-w, .mt-n-loin { will-change: transform; }
.mt-sat-l use { filter: drop-shadow(0 6px 7px rgba(31, 51, 80, .22)); }

@media (prefers-reduced-motion: no-preference) {
  .mt-montee { transform: translateY(72%); animation: mt-secours-t 0s 4s forwards; }
  .mt-sat-w, .mt-orb { opacity: 0; animation: mt-secours-o 0s 4s forwards; }
  @keyframes mt-secours-t { to { transform: none; } }
  @keyframes mt-secours-o { to { opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) { .mt-cible { cursor: default; } }


.mt-ou { overflow: hidden; }
body[data-mode="day"] .mt-ou { background-image: var(--b6-grain), linear-gradient(180deg, #eef4fa 0%, #f7f4ef 40%, #fbf6ee 100%); }
.mt-ou-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px 48px; flex-wrap: wrap; margin-bottom: clamp(36px, 4.5vw, 56px); }
.mt-ou-head .b6-p { max-width: 24em; }
.mt-cartes { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr); grid-template-areas: "c1 c2 c3" "c4 c5 c3"; gap: 18px; }
.mt-ca1 { grid-area: c1; } .mt-ca2 { grid-area: c2; } .mt-ca3 { grid-area: c3; } .mt-ca4 { grid-area: c4; } .mt-ca5 { grid-area: c5; }
.mt-cartes > li { display: flex; }
.mt-carte { --t: #fffdf8; position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; width: 100%; padding: 24px 24px 20px; border-radius: 20px; background: var(--t); color: #1d1d1f;
  box-shadow: 0 1px 2px rgba(31, 51, 80, .08), 0 16px 30px -22px rgba(31, 51, 80, .45); transition: translate .45s var(--b6-ease), box-shadow .45s var(--b6-ease); }
body:not([data-mode="day"]) .mt-carte { box-shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 18px 34px -20px rgba(0, 0, 0, .8); }
.mt-t-ciel { --t: #e3eff9; } .mt-t-rose { --t: #fbe6e9; } .mt-t-creme { --t: #f5ebd9; }
.mt-ca1 .mt-carte { rotate: -.6deg; } .mt-ca2 .mt-carte { rotate: .5deg; } .mt-ca4 .mt-carte { rotate: .4deg; } .mt-ca5 .mt-carte { rotate: -.5deg; }
.mt-c-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .7); color: #2f3139; }
.mt-c-ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mt-c-q { quotes: "«\00a0" "\00a0»"; font-size: clamp(1.08rem, 1.3vw, 1.22rem); line-height: 1.38; letter-spacing: -.015em; font-weight: 500; color: #1d1d1f; }
.mt-c-q::before, .mt-c-q::after { color: #6e3ad6; font-weight: 600; }
.mt-c-lien { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-size: 13.5px; font-weight: 600; color: #5d616b; transition: color .25s; }
.mt-c-lien svg { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--b6-ease); }
.mt-carte:hover, .mt-carte:focus-visible { translate: 0 -5px; }
.mt-carte:hover .mt-c-lien, .mt-carte:focus-visible .mt-c-lien { color: #6e3ad6; }
.mt-carte:hover .mt-c-lien svg { transform: translateX(3px); }
.pg .mt-carte:focus-visible { outline: 2.5px solid #6e3ad6; outline-offset: 5px; }

.mt-carte-grande { --t: #2f3139; color: #fbf6ee; padding: 30px 30px 26px; justify-content: flex-start; overflow: hidden; }
body:not([data-mode="day"]) .mt-carte-grande { --t: #24252c; border: 1px solid rgba(255, 255, 255, .1); }
.mt-carte-grande .mt-c-ic { width: 48px; height: 48px; border-radius: 14px; background: rgba(251, 246, 238, .1); color: #c4b0fb; }
.mt-carte-grande .mt-c-q { color: #fbf6ee; font-size: clamp(1.35rem, 1.9vw, 1.7rem); line-height: 1.28; letter-spacing: -.025em; max-width: 15em; }
.mt-carte-grande .mt-c-q::before, .mt-carte-grande .mt-c-q::after { color: #c4b0fb; }
.mt-carte-grande .mt-c-lien { color: rgba(251, 246, 238, .78); font-size: 14.5px; margin-top: 6px; }
.mt-carte-grande:hover .mt-c-lien, .mt-carte-grande:focus-visible .mt-c-lien { color: #c4b0fb; }
.pg .mt-carte-grande:focus-visible { outline-color: #6e3ad6; }
.mt-c-cle { width: 190px; height: auto; margin-top: auto; align-self: flex-end; rotate: -10deg; translate: 18px 8px; overflow: visible; }
.mt-c-cle circle:last-child { fill: #2f3139; }
@media (prefers-reduced-motion: reduce) { .mt-carte { transition: none; } }


.mt-s-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(40px, 5vw, 80px); align-items: end; }
.mt-s-txt .pg-h2 { font-size: clamp(2rem, 3.2vw, 2.9rem); }
.mt-s-side { display: flex; align-items: flex-end; gap: 24px; }
.mt-s-side .b6-p { font-size: 1.06rem; flex: 1 1 auto; }
.mt-s-ill { display: block; flex: none; width: clamp(130px, 13vw, 180px); height: auto; overflow: visible; }
.mt-fil { fill: none; stroke: var(--b6-ink); stroke-opacity: .3; stroke-width: 1.5; stroke-dasharray: 2 5; stroke-linecap: round; }
.mt-etiq { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 22px; margin-top: clamp(40px, 4.5vw, 56px); }
.mt-etiq > li { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 34px 24px 22px; background: var(--b6-card); color: var(--b6-ink);
  clip-path: polygon(18px 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%, 0 18px); filter: drop-shadow(0 1px 1px rgba(31, 51, 80, .1)) drop-shadow(0 10px 14px rgba(31, 51, 80, .12)); }
body:not([data-mode="day"]) .mt-etiq > li { filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .55)); }
.mt-etiq > li::before { content: ""; position: absolute; top: 12px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--b6-sky); box-shadow: inset 0 1px 2px rgba(31, 51, 80, .3), 0 0 0 3px color-mix(in srgb, var(--b6-ink) 10%, transparent); }
.mt-etiq > li:nth-child(odd) { rotate: -.7deg; } .mt-etiq > li:nth-child(even) { rotate: .8deg; translate: 0 10px; }
.mt-e-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--b6-sky); color: var(--b6-acc); }
.mt-e-ic svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.mt-e-t { font-family: var(--sans); font-size: 1.1rem; font-weight: 600; letter-spacing: -.022em; line-height: 1.22; color: var(--b6-ink); }
.mt-etiq p { font-size: .97rem; line-height: 1.52; color: var(--b6-mute); }
.mt-etiq > li:target { outline: 2px solid var(--b6-acc); outline-offset: -2px; }
.mt-encadre { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; margin-top: clamp(48px, 5vw, 64px); padding: 16px 24px; border-radius: 16px; background: var(--b6-paper); background-image: var(--b6-grain); border: 1px solid var(--b6-line); font-size: 1rem; line-height: 1.5; color: var(--b6-mute); }
.mt-encadre > svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--b6-mute); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.mt-encadre span { flex: 1 1 30em; }
.mt-encadre a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; font-weight: 600; color: var(--b6-ink); white-space: nowrap; }
.mt-encadre a svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--b6-ease); }
.mt-encadre a:hover { color: var(--b6-acc); } .mt-encadre a:hover svg { transform: translateX(3px); }


.mt-ch-head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.mt-ch-head .pg-h2 { max-width: 15em; }
.mt-ch-head .mt-chapeau { max-width: 28em; }
.mt-schema { position: relative; margin-top: clamp(40px, 5vw, 60px); }
.mt-pas { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px; }
.mt-pas > li { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 18px 22px 24px; border-radius: 20px; background: var(--b6-card); border: 1px solid var(--b6-line); box-shadow: var(--b6-shadow); }
.mt-pas > li:nth-child(odd) { rotate: -.5deg; } .mt-pas > li:nth-child(even) { rotate: .5deg; margin-top: 12px; }

.mt-pas > li:not(:last-child)::after { content: ""; position: absolute; top: 74px; right: -30px; width: 26px; height: 22px; z-index: 1; background: #e6d8c3;
  clip-path: polygon(0 30%, 55% 30%, 55% 0, 100% 50%, 55% 100%, 55% 70%, 0 70%); filter: drop-shadow(0 2px 2px rgba(31, 51, 80, .2)); }
.mt-pas-ill { display: block; width: 100%; max-width: 150px; height: auto; margin: 0 auto 4px; overflow: visible; }
.mt-calque { opacity: .38; }
.mt-pas-t { font-family: var(--sans); font-size: 1.16rem; font-weight: 600; letter-spacing: -.022em; color: var(--b6-ink); }
.mt-pas p { font-size: .97rem; line-height: 1.52; color: var(--b6-mute); }
.mt-retour, .mt-boucle path { fill: none; stroke: var(--b6-acc); stroke-width: 2.4; stroke-dasharray: 6 6; stroke-linecap: round; }
.mt-retour-pointe { fill: none; stroke: var(--b6-acc); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.mt-boucle { display: block; width: 100%; height: 64px; margin-top: 4px; overflow: visible; }
.mt-boucle path { vector-effect: non-scaling-stroke; stroke-width: 2; }
.mt-boucle path + path { stroke-dasharray: none; stroke-linejoin: round; }
.mt-ch-phrase { max-width: 36em; margin: clamp(24px, 3vw, 36px) auto 0; text-align: center; font-size: clamp(1.12rem, 1.45vw, 1.28rem); line-height: 1.5; font-weight: 500; letter-spacing: -.014em; color: var(--b6-mute); text-wrap: balance; }
.mt-ch-phrase b { color: var(--b6-ink); font-weight: 600; }
.mt-ch-note { max-width: 44em; margin: 22px auto 0; padding: 12px 20px; border-radius: 14px; border: 1px dashed var(--b6-line-2); text-align: center; font-size: .95rem; line-height: 1.55; color: var(--b6-mute); }
.mt-ch-note a { color: var(--b6-ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--b6-line-2); text-underline-offset: 3px; }
.mt-ch-note a:hover { color: var(--b6-acc); }


.mt-pourquoi { overflow: hidden; }
.mt-p-head .pg-h2 { max-width: 13em; font-size: clamp(2rem, 3.1vw, 2.75rem); }
.mt-p-head .mt-chapeau { color: var(--b6-mute); font-size: clamp(1.08rem, 1.4vw, 1.22rem); }
.mt-p-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 40px clamp(40px, 5vw, 80px); align-items: start; }
.mt-cal { margin: clamp(32px, 4vw, 44px) 0 0; }
.mt-faits { padding-top: 6px; }
.mt-cal-cap { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--b6-faint); margin-bottom: 18px; }
.mt-mois { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 16px; }
.mt-mois > li { position: relative; display: flex; flex-direction: column; min-height: 112px; padding: 20px 12px 12px; border-radius: 6px 6px 10px 10px; background: #fbf3e6; color: #2f3139;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .25), 0 12px 18px -12px rgba(0, 0, 0, .7); }
.mt-mois > li::before { content: ""; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #f4c3ca; box-shadow: 0 2px 3px rgba(0, 0, 0, .45); }
.mt-mois > li::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; border-radius: 6px 6px 0 0; background: #e6d8c3; }
.mt-mois > li:nth-child(3n+1) { rotate: -1.2deg; } .mt-mois > li:nth-child(3n+2) { rotate: .9deg; } .mt-mois > li:nth-child(4n) { rotate: -.5deg; }
.mt-m-nom { display: flex; align-items: baseline; justify-content: space-between; gap: 4px; font-family: var(--sans); font-weight: 600; font-size: .98rem; letter-spacing: -.01em; }
.mt-m-nom small { font-family: var(--mono); font-size: 10.5px; font-weight: 500; color: #8a8e97; }
.mt-m-dates { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 10px; }
.mt-m-dates i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #a9cfec; font-style: normal; font-size: 13px; font-weight: 600; color: #1f3350; font-variant-numeric: tabular-nums; box-shadow: 0 2px 3px rgba(31, 51, 80, .25); }
.mt-mois > li.mt-vide { background: #e9e1d2; }
.mt-vide .mt-m-dates::before { content: ""; width: 100%; height: 0; border-top: 1px dashed rgba(47, 49, 57, .2); margin-bottom: 10px; }
.mt-nov { background: #fffaf2 !important; }
.mt-nov .mt-m-dates i { width: 50px; height: 50px; font-size: 19px; background: #c4b0fb; color: #2b1a5c; }
.mt-cal-leg { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 13.5px; color: var(--b6-mute); }
.mt-cal-pt { width: 14px; height: 14px; border-radius: 50%; background: #a9cfec; }
.mt-faits { display: flex; flex-direction: column; gap: 22px; }
.mt-fait { padding-bottom: 20px; border-bottom: 1px solid var(--b6-line); }
.mt-fait:last-child { border-bottom: 0; padding-bottom: 0; }
.mt-fait h3 { font-family: var(--sans); font-size: 1.1rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; color: var(--b6-ink); margin-bottom: 6px; }
.mt-fait p { font-size: .98rem; line-height: 1.56; color: var(--b6-mute); }
.mt-srcs { display: inline-flex; flex-wrap: wrap; gap: 4px 16px; }
.mt-src { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .03em; color: var(--b6-faint); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: color .25s, text-decoration-color .25s; }
.mt-src::after { content: ""; width: 11px; height: 11px; background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7'/%3E%3Cpath d='M7 7h10v10'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7'/%3E%3Cpath d='M7 7h10v10'/%3E%3C/svg%3E") center / contain no-repeat; }
.mt-src:hover { color: var(--b6-ink); text-decoration-color: currentColor; }
.mt-src-inline { margin-top: 0; margin-left: 4px; }
.mt-routine { display: flex; flex-direction: column; gap: 8px; margin-top: clamp(28px, 3vw, 40px); padding: 22px 26px; border-radius: 20px; background: #fbf3e6; color: #2f3139; box-shadow: 0 18px 34px -22px rgba(0, 0, 0, .8); }
.mt-routine-k { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: #6e3ad6; }
.mt-routine p { font-size: 1.04rem; line-height: 1.55; color: #3a3a3f; max-width: 46em; }
.mt-routine b { color: #1d1d1f; font-weight: 600; }


.mt-reprise { background-color: #f1ecf8; background-image: var(--b6-grain), linear-gradient(180deg, #f3eef9 0%, #ece5f7 100%); border-top: 1px solid rgba(110, 58, 214, .1); border-bottom: 1px solid rgba(110, 58, 214, .1); }
body:not([data-mode="day"]) .mt-reprise { background: #15131c; border-color: rgba(167, 139, 250, .14); }
.mt-r-head { max-width: 900px; }
.mt-r-head .pg-h2 { max-width: 16em; }
.mt-r-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 5vw, 80px); align-items: start; margin-top: clamp(40px, 5vw, 60px); }
.mt-r-txt { display: flex; flex-direction: column; gap: 20px; }
.mt-r-txt > p { font-size: 1.04rem; line-height: 1.62; color: var(--b6-mute); }
.mt-r-txt .mt-r-fort { font-size: 1.14rem; line-height: 1.5; font-weight: 600; letter-spacing: -.014em; color: var(--b6-ink); padding-left: 16px; border-left: 3px solid var(--b6-acc); }
.mt-r-bloc .pg-h3 { font-size: 1.12rem; margin-bottom: 6px; }
.mt-r-bloc p { font-size: 1rem; line-height: 1.58; color: var(--b6-mute); }

.mt-fiche-w { position: relative; padding: 6px 10px 40px 0; }
.mt-fiche { position: relative; padding: 26px 34px 30px 58px; border-radius: 6px; background: #fffdf8; color: #1d1d1f; rotate: -.8deg;
  background-image: linear-gradient(90deg, transparent 40px, rgba(242, 179, 189, .75) 40px, rgba(242, 179, 189, .75) 42px, transparent 42px);
  box-shadow: 0 1px 2px rgba(31, 51, 80, .1), 0 30px 60px -30px rgba(31, 51, 80, .5), 6px 8px 0 -2px #ece2cf; }
body:not([data-mode="day"]) .mt-fiche { box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .85), 6px 8px 0 -2px #c9bca6; }
.mt-fiche::before { content: ""; position: absolute; left: 14px; top: 72px; width: 12px; height: 12px; border-radius: 50%; background: #ece5f7; box-shadow: inset 0 1px 2px rgba(31, 51, 80, .3), 0 260px 0 0 #ece5f7; }
body:not([data-mode="day"]) .mt-fiche::before { background: #15131c; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .6), 0 260px 0 0 #15131c; }
.mt-f-tete { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px 24px; padding-bottom: 14px; border-bottom: 2px solid #2f3139; }
.mt-f-titre { grid-column: 1 / -1; font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: #6e3ad6; }
.mt-f-champ { display: flex; align-items: flex-end; gap: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #6b6f78; }
.mt-f-champ i { flex: 1 1 auto; min-width: 80px; height: 1px; margin-bottom: 4px; border-bottom: 1.5px dotted rgba(47, 49, 57, .45); }
.mt-f-champ-c i { min-width: 70px; }
.mt-f-lignes { list-style: none; }
.mt-f-lignes li { position: relative; padding: 15px 0 15px 44px; border-bottom: 1px solid rgba(169, 207, 236, .9); font-size: .98rem; line-height: 1.5; color: #4a4d57; }
.mt-f-lignes li:last-child { border-bottom: 0; }
.mt-f-lignes b { color: #1d1d1f; font-weight: 600; }
.mt-case { position: absolute; left: 0; top: 15px; width: 24px; height: 24px; border-radius: 4px; background: #fbf3e6; border: 2px solid #2f3139; box-shadow: 1px 2px 0 rgba(31, 51, 80, .18); rotate: -3deg; }
.mt-f-lignes li:nth-child(even) .mt-case { rotate: 2deg; }
.mt-ok .mt-case::after { content: ""; position: absolute; inset: -6px -8px -2px -2px; background: #2f3139;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 13l5 5L21 5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 13l5 5L21 5'/%3E%3C/svg%3E") center / contain no-repeat; }
.mt-q .mt-case { background: #e9defc; border-color: #6e3ad6; }
.mt-q .mt-case::after { content: "?"; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--sans); font-size: 15px; font-weight: 700; line-height: 1; color: #6e3ad6; }
.mt-cle { position: absolute; right: -6px; bottom: -4px; width: clamp(150px, 15vw, 210px); height: auto; rotate: -14deg; overflow: visible; }
body:not([data-mode="day"]) .mt-cle circle:nth-of-type(2) { fill: #15131c; }
.mt-franc { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 10px 32px; margin-top: clamp(36px, 4vw, 52px); padding: 24px 32px; border-radius: 20px; background: #fbf3e6; color: #3a3a3f; box-shadow: 0 16px 34px -26px rgba(31, 51, 80, .5); }
.mt-franc .pg-h3 { color: #1d1d1f; font-size: 1.15rem; white-space: nowrap; }
.mt-franc p { font-size: 1.06rem; line-height: 1.58; }
.mt-franc b { color: #1d1d1f; font-weight: 700; }
.mt-franc .mt-lien-txt { color: #1d1d1f; } 


.mt-l-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px clamp(40px, 5vw, 80px); align-items: center; }
.mt-l-txt .b6-p { margin-top: 16px; font-size: 1.06rem; }
.mt-l-fin { margin-top: 22px; padding: 14px 18px; border-radius: 14px; background: var(--b6-sky); font-size: 1.04rem; line-height: 1.5; font-weight: 600; letter-spacing: -.01em; color: var(--b6-ink); max-width: 32em; }
.mt-l-ill svg { display: block; width: 100%; max-width: 480px; height: auto; margin: 0 auto; overflow: visible; }
.mt-pile-t { font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: -.01em; fill: #2f3139; }
.mt-pile-fort { font-size: 18px; }


.mt .mt-serveur { padding: clamp(64px, 8vh, 92px) 0; overflow: hidden; }
.mt-h-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px clamp(40px, 5vw, 80px); align-items: center; }
.mt-h-ill svg { display: block; width: 100%; max-width: 380px; height: auto; margin: 0 auto; overflow: visible; }
.mt-h-ill use { filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .35)); }
.mt-fil-nuit { fill: none; stroke: #fbf3e6; stroke-opacity: .55; stroke-width: 2; stroke-dasharray: 5 6; stroke-linecap: round; }
.mt-h-txt .pg-h2 { font-size: clamp(2rem, 3.2vw, 2.8rem); }
.mt-nuit-p { margin-top: 16px; font-size: 1.04rem; line-height: 1.6; color: var(--b6-mute); max-width: 36em; }


.mt-e-head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.mt-e-h2 { letter-spacing: -.01em; line-height: 1.2; }
.mt-grand { max-width: 17em; text-wrap: balance; }
.mt-e-head .b6-p { margin-top: 22px; max-width: 40em; }
.mt-engag { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: clamp(40px, 5vw, 60px); }
.mt-engag li { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 28px 28px 30px; border-radius: 22px; background: var(--b6-card); border: 1px solid var(--b6-line); box-shadow: var(--b6-shadow); }
.mt-engag .pg-ic { background: var(--b6-sky); }
.mt-engag .pg-h3 { font-size: 1.16rem; }
.mt-engag p { font-size: 1rem; line-height: 1.55; color: var(--b6-mute); }
.mt-renvoi { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 14px; margin-top: clamp(36px, 4vw, 52px); font-size: 1.04rem; color: var(--b6-mute); text-align: center; }
.mt-renvoi a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; font-weight: 600; color: var(--b6-ink); }
.mt-renvoi a svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--b6-ease); }
.mt-renvoi a:hover { color: var(--b6-acc); } .mt-renvoi a:hover svg { transform: translateX(3px); }


.mt-suffit { background-color: #f4ebdb; background-image: var(--b6-grain), linear-gradient(180deg, #f6eee0 0%, #f1e6d2 100%); }
body:not([data-mode="day"]) .mt-suffit { background: #17150f; border-top: 1px solid rgba(255, 255, 255, .06); border-bottom: 1px solid rgba(255, 255, 255, .06); }

.mt-suffit { overflow-x: clip; }
.mt-sp-ill { margin: clamp(24px, 3vw, 40px) auto 0; max-width: 1000px; }
.mt-sp-ill svg { display: block; width: 100%; height: auto; overflow: visible; }
.mt-sp-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px clamp(36px, 5vw, 72px); margin-top: clamp(28px, 3vw, 40px); }
.mt-sp-cols p { font-size: 1.05rem; line-height: 1.62; color: var(--b6-mute); }
.mt-sp-bas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 22px; }
.mt-btn-2 { display: inline-flex; align-items: center; gap: 9px; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--b6-card); color: var(--b6-ink); font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; border: 1px solid var(--b6-line-2); box-shadow: var(--b6-shadow); transition: transform .4s var(--b6-ease), border-color .25s; }
.mt-btn-2 svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--b6-ease); }
.mt-btn-2:hover, .mt-btn-2:focus-visible { transform: translateY(-2px); border-color: var(--b6-acc); }
.mt-btn-2:hover svg { transform: translateX(3px); }
.mt-sp-bas .mt-srcs .mt-src { margin-top: 0; }


.mt-cas { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.mt-cas > li { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 30px 32px 22px; border-radius: 24px; background: var(--b6-card); border: 1px solid var(--b6-line); box-shadow: var(--b6-shadow); }
.mt-cas-2 { translate: 0 22px; }
.mt-cas-url { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; color: var(--b6-faint); }
.mt-cas .r-logo { height: 56px; margin: 4px 0 6px; background: transparent; }
.mt-cas .r-logo img { height: min(var(--lh, 30px), 52px); max-width: none; border-radius: 6px; }
.mt-cas .pg-h3 { font-size: clamp(1.35rem, 1.9vw, 1.7rem); }
.mt-cas p:not(.r-sec) { font-size: 1.02rem; line-height: 1.58; color: var(--b6-mute); max-width: 32em; }
.mt-vigie { display: flex; align-items: flex-start; justify-content: center; gap: 12px; max-width: 46em; margin: clamp(52px, 6vw, 72px) auto 0; font-size: 1.04rem; line-height: 1.55; color: var(--b6-ink); text-align: left; }
.mt-vigie svg { width: 22px; height: 22px; flex: none; margin-top: 1px; fill: none; stroke: var(--b6-acc); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }


.mt-faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 36px clamp(40px, 6vw, 96px); align-items: start; }
.mt-faq-g { position: sticky; top: 110px; }
.mt-faq-g .pg-h2 { max-width: 10em; font-size: clamp(2rem, 3.4vw, 3rem); }
.mt-acc { padding: 6px clamp(22px, 3vw, 34px); border-radius: 24px; background: var(--b6-card); border: 1px solid var(--b6-line); box-shadow: var(--b6-shadow); }
.mt-q { border-bottom: 1px solid var(--b6-line); }
.mt-q:last-child { border-bottom: 0; }
.mt-q summary { position: relative; list-style: none; cursor: pointer; padding: 19px 48px 19px 0; font-size: 1.08rem; font-weight: 600; letter-spacing: -.018em; line-height: 1.35; color: var(--b6-ink); border-radius: 8px; }
.mt-q summary::-webkit-details-marker { display: none; }
.mt-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);
  background: linear-gradient(currentColor, currentColor) center / 12px 1.8px no-repeat, linear-gradient(currentColor, currentColor) center / 1.8px 12px no-repeat; color: var(--b6-ink); transition: transform .3s var(--b6-ease); }
.mt-q[open] summary::after { transform: rotate(45deg); color: var(--b6-acc); border-color: var(--b6-acc); }
.mt-q summary:hover { color: var(--b6-acc); }
.mt-q summary:focus-visible { outline: 2px solid var(--b6-acc); outline-offset: 4px; }
.mt-q p { padding: 0 48px 22px 0; font-size: 1rem; line-height: 1.6; color: var(--b6-mute); }
@media (prefers-reduced-motion: reduce) { .mt-q summary::after { transition: none; } }


@media (max-width: 1100px) {
  .mt-pas { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 34px; }
  .mt-pas > li:nth-child(2)::after { display: none; }
  .mt-boucle { display: none; }
  .mt-pas-retour { border: 1.5px dashed var(--b6-acc) !important; }
  .mt-mois { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .mt .pg-hero { min-height: 0; }
  .mt .pg-hero-ill { width: 100%; aspect-ratio: 620 / 640; margin-top: -10px; overflow: hidden; }
  .mt-ciel { left: 0; width: 100%; height: auto; aspect-ratio: 620 / 700; transform: none; }
  .mt-cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "c3 c3" "c1 c2" "c4 c5"; }
  .mt-c-cle { width: 150px; }
  .mt-s-grid, .mt-p-grid, .mt-r-grid, .mt-l-grid, .mt-h-grid, .mt-faq-grid { grid-template-columns: minmax(0, 1fr); }
  .mt-s-txt, .mt-cal, .mt-faq-g { position: static; }
  .mt-s-ill { display: none; }
  .mt-h-ill { order: 2; }
  .mt-h-ill svg { max-width: 300px; }
  .mt-engag { grid-template-columns: minmax(0, 1fr); }
  .mt-sp-cols { grid-template-columns: minmax(0, 1fr); }
  .mt-cas { grid-template-columns: minmax(0, 1fr); }
  .mt-cas-2 { translate: none; }
  .mt-routine, .mt-franc { grid-template-columns: minmax(0, 1fr); }
  .mt-franc .pg-h3 { white-space: normal; }
}
@media (max-width: 640px) {
  .mt .pg-band { padding: 68px 0; }
  .mt-cartes { grid-template-columns: minmax(0, 1fr); grid-template-areas: "c1" "c2" "c3" "c4" "c5"; gap: 14px; }
  .mt-carte:not(.mt-carte-grande) { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 18px; }
  .mt-carte:not(.mt-carte-grande) .mt-c-q { flex: 1 1 0; min-width: 0; font-size: 1.04rem; }
  .mt-carte:not(.mt-carte-grande) .mt-c-lien { flex-basis: 100%; }
  .mt-c-cle { width: 120px; margin-top: -10px; }
  .mt-etiq { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .mt-etiq > li:nth-child(even) { translate: none; }
  .mt-pas { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .mt-pas > li:nth-child(even) { margin-top: 0; }
  .mt-pas > li:not(:last-child)::after { display: block; top: auto; bottom: -27px; right: auto; left: 50%; margin-left: -11px; width: 22px; height: 24px; clip-path: polygon(30% 0, 70% 0, 70% 55%, 100% 55%, 50% 100%, 0 55%, 30% 55%); }
  .mt-pas-ill { max-width: 150px; }
  .mt-mois { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 10px; }
  .mt-mois > li { min-height: 92px; padding: 18px 8px 10px; }
  .mt-m-nom { flex-direction: column; gap: 0; font-size: .9rem; }
  .mt-m-dates i { width: 26px; height: 26px; font-size: 11.5px; }
  .mt-nov .mt-m-dates i { width: 40px; height: 40px; font-size: 16px; }
  .mt-routine, .mt-franc { padding: 20px; }
  .mt-fiche { padding: 22px 16px 24px 44px; rotate: 0deg; background-image: linear-gradient(90deg, transparent 30px, rgba(242, 179, 189, .75) 30px, rgba(242, 179, 189, .75) 32px, transparent 32px); }
  .mt-fiche::before { left: 9px; width: 10px; height: 10px; }
  .mt-f-tete { grid-template-columns: minmax(0, 1fr); }
  .mt-f-lignes li { padding-left: 38px; font-size: .95rem; }
  .mt-case { width: 22px; height: 22px; }
  .mt-cle { width: 130px; right: 0; bottom: 0; }
  .mt-sp-ill svg { margin-left: -4%; width: 108%; }
  .mt-cas > li { padding: 24px 22px 18px; }
  .mt-q summary { font-size: 1.02rem; padding-right: 44px; }
  .mt-q p { padding-right: 0; }
  .mt-encadre { padding: 16px 18px; }
}


.mt-r-grid { margin-top: clamp(32px, 4vw, 48px); }
.mt-r-txt { gap: 16px; }
.mt-r-txt > p { font-size: 1rem; line-height: 1.6; }
.mt-f-lignes li { padding-top: 12px; padding-bottom: 12px; }
.mt-case { top: 12px; }
.mt-l-txt .pg-h2 { font-size: clamp(2rem, 3.2vw, 2.8rem); max-width: 13em; }
.mt-l-ill svg { max-width: 430px; }
.mt-grand { font-size: clamp(2rem, 3.6vw, 3.1rem); }
.mt-preuves .pg-h2 { max-width: none; }
.mt-preuves .b6-head { margin-bottom: 32px; }
.mt-cas-2 { translate: 0 14px; }
.mt-vigie { margin-top: clamp(44px, 5vw, 60px); }
.mt-sp-ill { max-width: 860px; }

.mt-faq-ill { display: block; width: min(220px, 60%); height: auto; margin-top: 34px; overflow: visible; }
@media (max-width: 1100px) {
  .mt-etiq { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .mt-s-top { grid-template-columns: minmax(0, 1fr); }
  .mt-s-side .mt-s-ill { display: none; }
  .mt-faq-ill { display: none; }
}
@media (max-width: 640px) {
  .mt-etiq { grid-template-columns: minmax(0, 1fr); }
}

.mt .pg-band { padding: clamp(60px, 8vh, 84px) 0; }
.mt .pg-band .b6-h2.pg-h2 { font-size: clamp(2rem, 3.2vw, 2.9rem); }
.mt .mt-ensemble .mt-grand { font-size: clamp(2rem, 3.4vw, 2.95rem); }
.mt-chapeau { margin-top: 14px; }
.mt-schema { margin-top: clamp(32px, 4vw, 44px); }
.mt-pas > li { padding: 16px 20px 20px; }
.mt-ch-phrase { margin-top: 18px; }
.mt-ch-note { margin-top: 14px; }
.mt-etiq > li { padding: 32px 22px 20px; gap: 8px; }
.mt-etiq p { font-size: .95rem; line-height: 1.5; }
.mt-engag { margin-top: clamp(32px, 4vw, 44px); }
.mt-engag li { padding: 24px 24px 26px; }
.mt-renvoi { margin-top: 28px; }
.mt-q summary { padding-top: 16px; padding-bottom: 16px; }
.mt-cas > li { padding: 26px 30px 18px; }
@media (max-width: 640px) { .mt .pg-band { padding: 60px 0; } }
.mt-pas-t { line-height: 1.2; }
.mt-etiq > li:nth-child(odd) { rotate: -.35deg; } .mt-etiq > li:nth-child(even) { rotate: .4deg; }

body:not([data-mode="day"]) .mt-orb path { stroke: #fbf3e6; stroke-opacity: .42; }
body:not([data-mode="day"]) .mt-orb-av path { stroke-opacity: .6; }


nav.mt-som { position: relative; z-index: 1; padding: clamp(26px, 3.2vw, 38px) 0 0; background-color: var(--b6-paper); border: 0; }
body[data-mode="day"] nav.mt-som { background-color: #eef4fa; background-image: var(--b6-grain); border: 0; }
.mt-som-in { display: flex; align-items: flex-start; gap: 10px 18px; }
.mt-som-k { flex: none; font-family: var(--sans); font-weight: 600; font-size: 14px; line-height: 36px; letter-spacing: -.01em; color: var(--b6-acc); margin: 0; }
.mt-som-l { flex: 1 1 auto; min-width: 0; display: flex; flex-wrap: wrap; gap: 4px 6px; list-style: none; margin: 0; padding: 0; }
.mt-som-l a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 600; letter-spacing: -.01em; color: var(--b6-mute); white-space: nowrap; transition: color .35s ease, background-color .35s ease; }
.mt-som-l a::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .7; flex: none; }
.mt-som-l a:hover, .mt-som-l a:focus-visible { color: var(--b6-acc); background: color-mix(in srgb, var(--b6-acc) 10%, transparent); }
.mt-som-l a:hover::before, .mt-som-l a:focus-visible::before { opacity: 1; }


.mt-som-s { display: none; }


@media (max-width: 640px) {
  nav.mt-som { padding-top: 20px; }
  .mt-som-k { display: none; }
  .mt-som-s { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 16px; border-radius: 999px; list-style: none; cursor: pointer;
    font-family: var(--sans); font-weight: 600; font-size: 14px; letter-spacing: -.01em; color: var(--b6-ink);
    background: var(--b6-card); border: 1px solid var(--b6-line); }
  .mt-som-s::-webkit-details-marker { display: none; }
  .mt-som-s::marker { content: ""; }
  .mt-som-s svg { width: 16px; height: 16px; fill: none; stroke: var(--b6-acc); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s ease; }
  .mt-som-d[open] .mt-som-s svg { transform: rotate(180deg); }
  .mt-som-s:focus-visible { outline: 2px solid var(--b6-acc); outline-offset: 4px; }
  .mt-som-in { margin-top: 8px; }
  .mt-som-l { flex-direction: column; align-items: flex-start; gap: 2px; margin-left: -10px; }
  .mt-som-l a { min-height: 34px; padding: 0 10px; font-size: 13.5px; gap: 7px; }
}
@media (prefers-reduced-motion: reduce) { .mt-som-l a, .mt-som-s svg { transition: none; } }


.mt-pas p.mt-pas-t { font-size: 1.16rem; line-height: 1.2; color: var(--b6-ink); }
.mt-pas p.mt-pas-t b { font-weight: inherit; }


.mt details[data-seul-nouveau]:has(> summary:empty) { display: none; }
