/* 1.7.76 — small movements of people; original illustration and stationary framing. */
.tsg-scene{width:100%;height:100%;display:flex;align-items:center;justify-content:center;pointer-events:none}
.tsg-universal-header.has-theme .tsg-universal-header__visual{animation:none!important;opacity:1;display:flex;align-items:center;justify-content:center}
.tsg-scene--image{height:auto;aspect-ratio:4/3;max-height:100%}
.tsg-scene__composition{position:relative;width:100%;max-width:500px;aspect-ratio:4/3;isolation:isolate;animation:none!important;transform:none!important;filter:drop-shadow(0 9px 10px rgba(20,10,40,.14))}
.tsg-scene__picture{display:block;width:100%;height:auto;aspect-ratio:4/3}
.tsg-scene .tsg-scene__image{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;object-position:center;animation:none!important;transform:none!important}
.tsg-scene__people{display:none;position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.tsg-scene.has-people-motion .tsg-scene__people{display:block}
.tsg-scene.has-people-motion .tsg-scene__picture{visibility:hidden}
.tsg-actes__hero-visual .tsg-scene{max-width:440px;aspect-ratio:500/380;height:auto}
:is(.tsg-scene.is-static,.is-animation-static) .tsg-scene__people,body:not(.tsg-motion-enabled) .tsg-scene__people{display:none!important}
:is(.tsg-scene.is-static,.is-animation-static) .tsg-scene__picture,body:not(.tsg-motion-enabled) .tsg-scene__picture{visibility:visible!important}
body:not(.tsg-motion-enabled) .tsg-editorial *{transition:none!important}
@media(prefers-reduced-motion:reduce){.tsg-scene__people{display:none!important}.tsg-scene__picture{visibility:visible!important}}

/* Editable, self-contained content: unaffected pages have no tsg-editorial wrapper. */
.tsg-editor-content:has(>.tsg-editorial){padding:0;background:transparent;box-shadow:none;border:0}
.tsg-editorial{color:#50475e;line-height:1.75;--tsg-editorial-purple:var(--tsg-primary,#3b1e7b);--tsg-editorial-green:var(--tsg-green-dark,#526e41)}
.tsg-editorial *{box-sizing:border-box}
.tsg-editorial .tsg-editorial__intro{max-width:860px;margin:0 auto 42px;text-align:center}
.tsg-editorial .tsg-editorial__eyebrow{font-size:11px;letter-spacing:.15em;font-weight:700;text-transform:uppercase;color:var(--tsg-editorial-green);margin:0 0 12px}
.tsg-editorial h2,.tsg-editorial h3{color:var(--tsg-editorial-purple);line-height:1.25;text-wrap:balance}
.tsg-editorial h2{font-size:clamp(25px,2.5vw,36px);margin:0 0 18px}
.tsg-editorial h3{font-size:20px;margin:0 0 12px}
.tsg-editorial p{margin:0 0 16px;max-width:none}
.tsg-editorial__nav{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin:24px 0 40px}
.tsg-editorial__nav a{display:inline-flex;align-items:center;min-height:44px;padding:10px 17px;background:#f2edf8;border-radius:999px;font-size:12px;font-weight:600;text-decoration:none;color:var(--tsg-editorial-purple)}
.tsg-editorial__section{position:relative;margin:0 0 36px;padding:32px;border-radius:24px;scroll-margin-top:130px;background:#fff;border:1px solid #eee8f4;box-shadow:0 9px 26px rgba(59,30,123,.035)}
.tsg-editorial__section:nth-of-type(even){background:linear-gradient(135deg,#f5f8f1,#fbfcf9);border-color:#e9eee3}
.tsg-editorial__section:before{content:"";display:block;width:42px;height:3px;border-radius:9px;background:var(--tsg-green,#8faf74);margin-bottom:22px}
.tsg-editorial__cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.tsg-editorial__cards>.wp-block-group,.tsg-editorial__steps>.wp-block-group{margin-block:0}
.tsg-editorial p{text-align:left}
.tsg-editorial__intro>p{text-align:center}
.tsg-editorial__intro>p.tsg-editorial__eyebrow{text-align:center}
.tsg-editorial__card{min-width:0;padding:24px;background:#fff;border:1px solid #e8e1ef;border-radius:20px;box-shadow:0 6px 18px rgba(59,30,123,.035);transition:transform .22s ease,box-shadow .22s ease}
.tsg-editorial__card p:last-child{margin:0}
.tsg-editorial a{overflow-wrap:anywhere;text-underline-offset:4px}
.tsg-editorial__steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));list-style:none;padding:0!important;margin:0!important;gap:24px;counter-reset:tsg-step}
.tsg-editorial__steps>.tsg-editorial__step{counter-increment:tsg-step;min-width:0;position:relative;padding-top:58px}
.tsg-editorial__steps>.tsg-editorial__step:before{content:counter(tsg-step,decimal-leading-zero);position:absolute;top:0;left:0;display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--tsg-editorial-purple);color:white;font-size:15px;font-weight:700}
.tsg-editorial__list{padding-left:24px;margin:0;columns:2;column-gap:38px}
.tsg-editorial__list li{break-inside:avoid;margin:0 0 14px;padding-left:5px}
.tsg-editorial__list li::marker{color:var(--tsg-editorial-green)}
.tsg-editorial__notice{padding:20px 24px;border-left:4px solid #8faf74;background:#f4f6ef;border-radius:0 16px 16px 0;margin:24px 0;font-size:14px}
.tsg-editorial__notice p:last-child{margin:0}
.tsg-editorial__resources{list-style:none;padding:0!important;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0!important}
.tsg-editorial__resources a{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:56px;padding:16px 20px;border:1px solid #e5ddee;background:#fff;border-radius:14px;font-weight:600;color:var(--tsg-editorial-purple);text-decoration:none;font-size:14px}
.tsg-editorial__resources a:after{content:"↗";color:var(--tsg-editorial-green)}
.tsg-editorial__contact{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 32px;border-radius:24px;background:#eee8f6;margin:36px 0}
.tsg-editorial__contact p{margin:0}
.tsg-editorial__contact a.tsg-editorial__button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:13px 24px;border-radius:999px;background:var(--tsg-editorial-purple);color:white;text-decoration:none;white-space:nowrap;font-weight:600;font-size:14px}
.tsg-editorial__sources{font-size:12px;line-height:1.65;color:#6d6277;margin-top:28px}
.tsg-editorial__sources a{color:inherit}
.tsg-editorial :focus-visible{outline:3px solid #72945d;outline-offset:4px}
@media(hover:hover) and (pointer:fine){.tsg-editorial__card:hover{transform:translateY(-3px);box-shadow:0 12px 24px rgba(59,30,123,.07)}.tsg-editorial__resources a:hover,.tsg-editorial__nav a:hover{background:#ede6f5}}
/* Content is visible by default: failing/no JS never hides municipal information. */
:is(.tsg-editorial__section,.tsg-editorial__contact).is-awaiting{opacity:0;transform:translateY(18px)}
:is(.tsg-editorial__section,.tsg-editorial__contact){transition:opacity .65s ease,transform .65s ease}
@media(max-width:980px){.tsg-editorial__cards{grid-template-columns:repeat(2,minmax(0,1fr))}.tsg-editorial__section{padding:26px}.tsg-editorial__steps{gap:18px}}
@media(min-width:761px) and (max-width:1100px){
  .tsg-universal-header.has-theme .tsg-universal-header__content{width:58%;padding-right:20px}
  .tsg-universal-header.has-theme .tsg-universal-header__visual{right:3%;width:min(34vw,340px)}
}
@media(max-width:980px){
  .tsg-layout-demarches .tsg-demarches-source__layout{grid-template-columns:minmax(0,1fr)}
  .tsg-layout-demarches .tsg-demarches-source__sidebar,.tsg-layout-demarches .tsg-demarches-source__main{min-width:0;max-width:100%}
  .tsg-layout-services .tsg-vm-mayor-card{grid-template-columns:minmax(0,1fr)}
  .tsg-layout-services .tsg-vm-mayor-card__content,.tsg-layout-services .tsg-vm-mayor-card__media{min-width:0;max-width:100%}
  .tsg-layout-services .tsg-vm-mayor-tabs{flex-wrap:wrap}
  .tsg-layout-services .tsg-vm-mayor-tabs button:not(.tsg-vm-mayor-tabs__arrow){min-width:0;flex:1 1 55px;padding-inline:7px}
}
@media(max-width:760px){
  .tsg-layout-services .tsg-vm-history-orbit{overflow:hidden}
  .tsg-universal-header.has-theme .tsg-universal-header__visual{bottom:8px;top:auto;right:50%;width:250px;height:190px;aspect-ratio:auto;transform:translateX(50%);opacity:.94}
  .tsg-universal-header.has-theme .tsg-universal-header__content{padding-bottom:215px}
  .tsg-actes__hero-visual .tsg-scene{max-width:300px}  .tsg-editorial__intro{margin-bottom:28px;text-align:left}
  .tsg-editorial__intro>p,.tsg-editorial__intro>p.tsg-editorial__eyebrow{text-align:left}
  .tsg-editorial__cards,.tsg-editorial__steps,.tsg-editorial__resources{grid-template-columns:1fr}
  .tsg-editorial__section{padding:24px 20px;margin-bottom:24px;border-radius:20px}
  .tsg-editorial__card{padding:22px}
  .tsg-editorial__list{columns:1}
  .tsg-editorial__nav{justify-content:flex-start;gap:8px}
  .tsg-editorial__contact{flex-direction:column;align-items:stretch;padding:24px}
  .tsg-editorial__contact a.tsg-editorial__button{white-space:normal}
}
@media(prefers-reduced-motion:reduce){
  .tsg-scene *,.tsg-editorial *{animation:none!important;transition:none!important}
  :is(.tsg-editorial__section,.tsg-editorial__contact).is-awaiting{opacity:1!important;transform:none!important}}
