:root {
  color-scheme: light;
  --ink: #15225f;
  --muted: #455072;
  --paper: #fdfcfb;
  --cream: #fff6ec;
  --white: #fff;
  --line: #e4ddd2;
  --orange: #fc8f2a;
  --orange-ink: #9a3f00;
  --serif: Charter, "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --shadow: 4px 4px 0 var(--ink);
  --sym: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 553 572%22%3E%3Cpath d=%22M4.61096 444.651C9.62532 444.641 15.7561 432.308 18.2657 428.052C25.031 415.795 30.7324 401.745 38.0607 390.895C40.5607 387.231 45.3938 381.558 49.1295 386.749C50.5179 388.538 51.453 390.829 52.3023 393.042C54.7021 399.669 56.3624 406.749 58.6859 415.352C63.4522 433.82 70.394 451.535 89.8885 458.081C106.816 463.701 127.961 463.515 144.775 456.612C156.449 451.53 158.191 443.944 152.981 431.812C97.0212 323.9 170.6 135.478 217.862 19.0979C220.076 13.0387 223.124 4.90411 221.431 1.37354C217.247 -5.4061 195.591 14.8374 189.117 20.1905C72.1975 126.065 -0.818465 282.259 0.00692481 429.774C0.593762 437.227 0.808457 443.496 4.59666 444.651H4.61096Z%22 fill=%22%23FC8F2A%22/%3E%3Cpath d=%22M503.783 511.655C501.622 507.132 487.853 506.899 482.929 506.46C468.955 505.615 453.816 506.507 440.868 504.551C436.483 503.869 429.284 501.942 432.366 496.34C433.387 494.318 435.052 492.49 436.683 490.773C441.636 485.758 447.318 481.216 454.088 475.419C468.716 463.177 481.727 449.298 479.26 428.883C477.061 411.187 467.805 392.17 454.346 379.956C444.742 371.597 437.146 373.286 428.425 383.205C355.037 480.105 153.279 494.642 27.8818 501.985C21.46 502.59 12.8054 503.335 10.3435 506.379C6.02095 513.072 33.6071 523.922 41.2217 527.471C187.068 587.544 359.478 586.351 492.323 522.214C498.802 518.478 504.37 515.592 503.783 511.675V511.66V511.655Z%22 fill=%22%23FC8F2A%22/%3E%3Cpath d=%22M309.445 12.2612C306.578 16.3739 313.162 28.4684 315.208 32.9627C321.368 45.5344 329.607 58.2636 334.293 70.4917C335.862 74.6425 337.737 81.8563 331.339 81.9375C329.073 82.0472 326.664 81.4985 324.369 80.926C317.565 79.0891 310.81 76.3887 302.432 73.3591C284.569 66.6701 266.076 62.1997 249.535 74.4087C235.222 85.0482 223.247 102.482 219.258 120.211C216.725 132.687 221.939 138.465 234.864 141.16C355.357 157.215 467.5 325.566 535.726 431.029C539.419 436.316 544.333 443.482 548.197 444.121C556.151 444.579 551.985 415.233 551.317 406.859C531.651 250.355 445.587 100.96 324.278 17.0227C317.837 13.2297 312.58 9.8089 309.459 12.2517L309.45 12.2612H309.445Z%22 fill=%22%23FC8F2A%22/%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font: 1.0625rem/1.6 var(--sans); color: var(--ink); background: var(--paper); -webkit-text-size-adjust: 100%; overflow-x: hidden; }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.1; letter-spacing: -.012em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.5rem); }
h2 { font-size: clamp(1.75rem, 3.3vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { max-width: 60ch; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button, select, textarea { font: inherit; color: inherit; }
button, select, summary { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--orange-ink); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.skip { position: absolute; left: 10px; top: 10px; z-index: 20; background: var(--white); padding: .6rem .9rem; transform: translateY(-160%); }
.skip:focus { transform: none; }

/* En-tête */
.header { position: sticky; top: 0; z-index: 10; background: rgba(253,252,251,.93); backdrop-filter: blur(6px); }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 1rem; }
.logo { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; font-family: var(--serif); font-weight: 700; font-size: 1.6rem; letter-spacing: -.02em; }
.bar nav { display: flex; align-items: center; gap: 1.6rem; font-size: .95rem; }
.bar nav a { text-decoration: none; }
.bar nav a:not(.tel):hover { text-decoration: underline; text-underline-offset: 4px; }
.bar .tel { font-weight: 700; border: 1.5px solid var(--ink); border-radius: 999px; padding: .35rem .9rem; transition: background .2s, color .2s; }
.bar .tel:hover { background: var(--ink); color: var(--white); }

/* Boutons : ils se soulèvent au survol et s'enfoncent au clic */
.actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.6rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 50px; padding: .7rem 1.5rem; border-radius: 999px; font-weight: 700; text-decoration: none; border: 1.5px solid var(--ink); background: transparent; line-height: 1.2; transition: transform .3s var(--spring), background .2s, color .2s, box-shadow .3s var(--spring); }
.button.primary { background: var(--ink); color: var(--white); box-shadow: 3px 3px 0 var(--orange); }
.button.primary:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--orange); }
.button.primary:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--orange); transition-duration: .08s; }
.button.primary svg { transition: transform .3s var(--spring); }
.button.primary:hover svg { transform: translateY(2px); }
.button.plain:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); }
.button.plain:active { transform: translateY(1px); }
.button.small { min-height: 44px; padding: .5rem 1.2rem; font-size: .95rem; }
.contact .button.primary { background: var(--white); color: var(--ink); border-color: var(--white); box-shadow: 3px 3px 0 #8d9bd1; }
.contact .button.primary:hover { box-shadow: 5px 5px 0 #8d9bd1; }
.contact .button.primary:active { box-shadow: 0 0 0 #8d9bd1; }
.note { margin-top: .9rem; font-size: .92rem; color: var(--muted); }
.note a, .src a { color: var(--orange-ink); }

/* Entrée */
.hero { padding: clamp(1.8rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem); overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.lead { margin-top: 1.2rem; font-size: 1.22rem; color: var(--muted); }

/* La fenêtre de l'espace des élus */
.scene { margin: 0; }
.scene figcaption { margin-top: 1rem; font-size: .85rem; color: var(--muted); text-align: right; }
.win { background: var(--white); border: 2px solid var(--ink); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; transform: rotate(-1deg); }
.win-top { display: flex; align-items: center; gap: .6rem; padding: .55rem .8rem; background: var(--cream); border-bottom: 2px solid var(--ink); font-size: .8rem; font-weight: 700; min-height: 44px; }
.win-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sym { display: inline-block; width: 15px; height: 15px; background: var(--sym) center / contain no-repeat; flex: none; }
.ctl { display: inline-flex; align-items: center; gap: .35rem; min-height: 32px; padding: .2rem .7rem; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--white); font-size: .78rem; font-weight: 700; transition: background .2s, color .2s; }
.ctl:hover { background: var(--ink); color: var(--white); }
.ctl .i-play, .ctl .i-redo { display: none; }
.ctl[data-s="paused"] .i-pause { display: none; }
.ctl[data-s="paused"] .i-play { display: inline; }
.win-body { display: grid; grid-template-columns: 38% 1fr; min-height: 340px; }
.shelf { list-style: none; padding: .8rem .55rem; border-right: 2px solid var(--ink); background: var(--cream); display: flex; flex-direction: column; gap: .2rem; }
.row { display: flex; align-items: center; gap: .55rem; padding: .5rem .55rem; border-radius: 10px; font-size: .8rem; line-height: 1.25; font-weight: 600; min-height: 38px; transition: transform .45s var(--spring), opacity .3s, background .25s, box-shadow .3s; }
.ic { flex: none; width: 14px; height: 14px; }
.ic.sq { background: var(--ink); border-radius: 3px; }
.ic.ci { border: 2.5px solid var(--orange); border-radius: 50%; }
.row.sel { background: var(--white); box-shadow: 3px 3px 0 var(--ink); transform: scale(1.04); }
.stage { position: relative; overflow: hidden; }

.tcard { position: absolute; left: 5%; top: 4%; width: 66%; background: var(--white); border: 2px solid var(--ink); border-radius: 14px; padding: .5rem .75rem; transform: rotate(-2deg); transition: transform .4s var(--spring), box-shadow .25s; }
.tcard small { font-size: .72rem; font-weight: 700; color: var(--orange-ink); }
.tcard p { font-size: .86rem; font-weight: 600; line-height: 1.3; }

.fiche { position: absolute; left: 6%; right: 6%; top: 26%; background: var(--white); border: 2px solid var(--ink); border-radius: 16px; padding: .75rem .8rem .8rem; transform-origin: 50% 100%; transform: translateY(var(--fy, 10%)) scale(.62); z-index: 2; transition: transform .55s var(--spring), opacity .3s; }
.fiche h2 { font-size: 1.02rem; margin-bottom: .55rem; }
.tag { display: grid; gap: .05rem; padding: .4rem .6rem; border-radius: 10px; margin-top: .4rem; font-size: .78rem; line-height: 1.3; border: 2px solid var(--ink); transform: rotate(var(--tr, 0deg)); transition: transform .47s var(--spring), opacity .2s; }
.tag b { font-size: .72rem; }
.t1 { --tr: -.8deg; background: var(--ink); color: var(--white); }
.t2 { --tr: .6deg; background: var(--white); }
.t3 { --tr: -.4deg; background: var(--orange); }
.stamp { display: flex; align-items: center; gap: .3rem; position: absolute; right: -3%; top: -17px; padding: .25rem .6rem; border: 2.5px solid var(--ink); border-radius: 10px; background: var(--cream); font-size: .74rem; font-weight: 800; transform: rotate(-9deg); transition: transform .35s var(--spring), opacity .15s; }
@keyframes turn { 0% { transform: rotate(0) scale(1); } 50% { transform: rotate(180deg) scale(1.9); } 100% { transform: rotate(360deg) scale(1); } }
.burst .spin { animation: turn .47s ease-in-out .23s both; }

.folder { position: absolute; left: 5%; right: 5%; bottom: 4%; height: 31%; transition: transform .47s var(--spring), opacity .25s; }
.folder .back { position: absolute; z-index: 1; inset: 0; background: var(--ink); border-radius: 14px; }
.folder .back::before { content: ""; position: absolute; left: 6%; top: -9px; width: 34%; height: 12px; background: var(--ink); border-radius: 8px 8px 0 0; }
.folder .front { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; top: 30%; background: var(--cream); border: 2px solid var(--ink); border-radius: 12px 12px 14px 14px; padding: .35rem .7rem; display: flex; flex-direction: column; gap: .2rem; justify-content: center; }
.folder .front span { font-size: .8rem; font-weight: 800; }
.chip { align-self: flex-start; font-style: normal; font-size: .68rem; font-weight: 700; background: var(--white); border: 1.5px solid var(--ink); border-radius: 999px; padding: .05rem .5rem; transition: transform .45s var(--spring), opacity .3s; }

/* Départ de la séquence : la page est écrite dans son état final, le script la remet à zéro */
html.anim .win-body .tcard.go { transform: translateY(-5px) rotate(-2deg) scale(1.04); box-shadow: 4px 4px 0 var(--ink); }
html.anim .win-body .row.sel:not(.lift) { background: transparent; box-shadow: none; transform: none; }
html.anim .win-body .fiche { opacity: 0; transform: translateY(14px) scale(.92); z-index: 4; }
html.anim .win-body .fiche.go { opacity: 1; transform: none; }
html.anim .win-body .fiche.go.file { transform: translateY(var(--fy, 10%)) scale(.62); z-index: 2; }
html.anim .win-body .tag { opacity: 0; transform: translateY(-40px) rotate(-5deg); }
html.anim .win-body .tag.go { opacity: 1; transform: rotate(var(--tr)); }
html.anim .win-body .stamp { opacity: 0; transform: scale(2.6) rotate(-26deg); }
html.anim .win-body .stamp.go { opacity: 1; transform: rotate(-9deg); }
html.anim .win-body .chip { opacity: 0; transform: translateY(8px); }
html.anim .win-body .chip.go { opacity: 1; transform: none; }
html.anim .win-body.instant, html.anim .win-body.instant * { transition: none !important; }

/* Sections */
.block { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.head p { margin-top: 1rem; color: var(--muted); }
.src { margin-top: 1rem; font-size: .9rem; color: var(--muted); }
html.js [data-rise] { opacity: 0; transform: translateY(12px) rotate(1deg); transition: opacity .35s, transform .45s var(--spring); transition-delay: calc(var(--i, 0) * 60ms); }
html.js [data-rise].in { opacity: 1; transform: none; }

/* Ce que les élus retrouvent : trois cartes posées sur la table */
.shelf-sec h2 { max-width: 24ch; }
.things { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; margin-top: 2.4rem; align-items: start; }
.thing { background: var(--cream); border: 2px solid var(--ink); border-radius: 18px; padding: 1.5rem 1.5rem 1.7rem; }
.thing:nth-child(1) { transform: rotate(-1deg); }
.thing:nth-child(2) { margin-top: 1.4rem; background: var(--white); }
.thing:nth-child(3) { margin-top: .5rem; }
html.js .thing[data-rise].in:nth-child(1) { transform: rotate(-1deg); }
html.js .thing[data-rise].in:nth-child(2), html.js .thing[data-rise].in:nth-child(3) { transform: none; }
.thing p { margin-top: .5rem; color: var(--muted); }
.thing::before { content: ""; display: block; width: 24px; height: 25px; background: var(--sym) center / contain no-repeat; margin-bottom: .9rem; }

/* Essayer */
.try { background: var(--cream); border-radius: 36px; margin-inline: 12px; }
.try .head { margin-bottom: 1.6rem; }
.atelier { max-width: 880px; }
.tablist { position: relative; display: flex; flex-wrap: wrap; gap: .2rem 1.6rem; margin-bottom: 1rem; border-bottom: 2px solid var(--ink); }
.tablist button { border: 0; background: none; padding: .7rem .1rem; min-height: 48px; font-weight: 700; color: var(--muted); transition: color .2s; }
.tablist button:hover, .tablist button[aria-selected="true"] { color: var(--ink); }
.ink { position: absolute; left: var(--x, 0); width: var(--w, 0); bottom: -2px; height: 5px; background: var(--orange); border-radius: 3px; transition: left .28s var(--spring), width .28s var(--spring); }
html:not(.js) .tablist button[aria-selected="true"] { box-shadow: inset 0 -5px 0 var(--orange); }
.panels { background: var(--white); border: 2px solid var(--ink); border-radius: 18px; padding: clamp(1.3rem, 3.4vw, 2.2rem); }
.panel { animation: enter .22s ease-out; }
@keyframes enter { from { opacity: 0; transform: translateY(8px); } }
.panel label, .panel legend { display: block; font-weight: 700; margin: 1.1rem 0 .4rem; }
.panel > label:first-child { margin-top: 0; }
.panel legend { font-family: var(--serif); font-size: 1.3rem; line-height: 1.3; padding: 0; }
fieldset { border: 0; padding: 0; margin: 1.2rem 0 0; min-width: 0; }
select, textarea { width: 100%; padding: .7rem .9rem; border: 1.5px solid #b9b2a6; border-radius: 14px; background: var(--white); min-height: 46px; }
textarea { resize: vertical; line-height: 1.5; }
#reponses { display: grid; gap: .6rem; margin-top: .9rem; }
.choice { position: relative; text-align: left; width: 100%; padding: .85rem 3rem .85rem 1.1rem; border: 1.5px solid #b9b2a6; border-radius: 14px; background: var(--white); min-height: 50px; transition: transform .2s var(--spring), border-color .15s, background .15s; }
.choice:hover { border-color: var(--ink); transform: translateX(4px); }
.choice[aria-pressed="true"] { border-color: var(--ink); background: var(--cream); }
.choice.shake { animation: shake .3s ease-in-out; }
@keyframes shake { 20% { transform: translateX(-5px); } 45% { transform: translateX(4px); } 70% { transform: translateX(-2px); } }
.choice .tick { position: absolute; right: .9rem; top: 50%; width: 24px; height: 24px; margin-top: -12px; }
.choice .tick path { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .3s ease-out .05s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.debrief { margin-top: 1rem; padding: 1rem 1.2rem; background: var(--cream); border-left: 5px solid var(--orange); border-radius: 0 14px 14px 0; transform-origin: top; animation: unfold .25s ease-out; }
@keyframes unfold { from { opacity: 0; transform: scaleY(.6); } }
#suivant { margin-top: 1rem; }
.inline { display: flex; align-items: center; flex-wrap: wrap; gap: .9rem; margin-top: .9rem; }
.inline .note { margin: 0; }
.result { margin-top: 1.3rem; padding: 1.2rem 1.4rem; background: var(--cream); border-radius: 16px; }
.result strong { font-family: var(--serif); font-size: 1.9rem; }
.result p { margin-top: .3rem; color: var(--muted); }

/* Fiche PDF : la page se redresse et la suivante dépasse */
.fichepdf { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(1.8rem, 5vw, 4rem); align-items: center; }
.vignette { position: relative; display: block; max-width: 330px; transform: rotate(-2deg); transition: transform .45s var(--spring); }
.vignette img { position: relative; border: 2px solid var(--ink); border-radius: 8px; box-shadow: var(--shadow); background: var(--white); }
.vignette .sheet { position: absolute; inset: 0; background: var(--white); border: 2px solid var(--ink); border-radius: 8px; transform: rotate(0) translate(0, 0); transition: transform .45s var(--spring); background-image: repeating-linear-gradient(var(--white) 0 18px, #e7e1d8 18px 20px); }
.vignette:hover, .vignette:focus-visible { transform: rotate(0) translateY(-4px); }
.vignette:hover .sheet, .vignette:focus-visible .sheet { transform: rotate(3.5deg) translate(16px, 6px); }
.fichepdf h2 + p { margin-top: 1rem; color: var(--muted); }


/* Tout le mandat : le symbole Doxa se construit en trois temps, tient 10 s, recommence */
.mandat { display: flex; align-items: center; gap: 1rem; }
.mandat::before { display: none; }
.symloop { flex: none; }
.symloop path { transform-box: fill-box; transform-origin: center; }
.symloop.run path { animation: sym 11s infinite both; }
.symloop.run .s1 { animation-delay: 0s; } .symloop.run .s3 { animation-delay: .8s; } .symloop.run .s2 { animation-delay: 1.6s; }
.symloop.halt path { animation-play-state: paused; }
@keyframes sym { 0% { opacity: 0; transform: scale(.4) rotate(-14deg); animation-timing-function: var(--spring); }
  6% { opacity: 1; transform: scale(1) rotate(0); }
  92% { opacity: 1; transform: none; animation-timing-function: ease-in; }
  98%, 100% { opacity: 0; transform: scale(.92); } }
.mini { margin-top: .6rem; min-height: 44px; padding: .2rem .9rem; border: 1.5px solid var(--ink); border-radius: 999px; background: none; font-size: .8rem; font-weight: 700; transition: background .2s, color .2s; }
.mini:hover { background: var(--ink); color: var(--white); }
html:not(.js) .mini { display: none; }

/* Préparez votre réunion */
.lead-in { color: var(--muted); max-width: 56ch; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; margin-top: .3rem; }
.fgrid textarea, .fgrid input { margin: 0; }
input[type="text"] { width: 100%; padding: .7rem .9rem; border: 1.5px solid #b9b2a6; border-radius: 14px; background: var(--white); min-height: 46px; }
.panel .inline { margin-top: 1.2rem; }
.linkbtn { background: none; border: 0; min-height: 44px; padding: 0 .5rem; text-decoration: underline; color: var(--muted); }
.linkbtn:hover { color: var(--ink); }

/* La formation : de gros blocs, un sélecteur au-dessus */
.format { margin-top: 2rem; }
.seg-row { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.4rem; }
.fmt-eg { font-weight: 700; color: var(--muted); }
.seg { display: inline-flex; border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; }
.seg button { border: 0; background: var(--white); padding: .5rem 1.2rem; min-height: 44px; font-weight: 700; transition: background .2s, color .2s; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
html:not(.js) .seg-row { display: none; }
.blocks { list-style: none; display: flex; align-items: stretch; gap: 1.2rem; }
.bk { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: .7rem; padding: 1.6rem 1.5rem 1.8rem; border-radius: 18px; border: 2px solid var(--ink); min-height: 200px; transition: flex-grow .45s var(--spring), opacity .25s, padding .3s, margin .3s, border-width .3s; }
.bk b { font-family: var(--serif); font-size: clamp(2.1rem, 4vw, 2.9rem); line-height: 1; }
.bk span { font-size: 1rem; }
.b3 { background: var(--ink); color: var(--white); box-shadow: var(--shadow); }
.b2 { background: var(--orange); color: var(--ink); box-shadow: var(--shadow); }
.b6 { background: var(--cream); }
.b6 b { font-size: 1.7rem; line-height: 1.1; }
.b6 span { color: var(--muted); }
.cut { flex: 0 0 auto; width: 30px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem; color: var(--ink); transition: width .3s var(--spring), opacity .2s, margin .3s; overflow: hidden; }
.cut::before, .cut::after { content: ""; flex: 1; border-left: 3px dashed var(--ink); }
.format[data-mode="bloc"] .b3 { flex-grow: 2; }
.format[data-mode="bloc"] .b2 { flex-grow: 0; flex-basis: 0; padding-inline: 0; opacity: 0; border-width: 0; margin-left: -1.2rem; overflow: hidden; box-shadow: none; }
.format[data-mode="bloc"] .cut { width: 0; opacity: 0; margin-left: -1.2rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Contact */
.contact { background: var(--ink); color: var(--white); border-radius: 36px 36px 0 0; margin-inline: 12px; margin-top: 12px; }
.two { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(1.8rem, 5vw, 4.5rem); align-items: start; }
.contact .head p { color: #d8def2; }
.who .name { font-family: var(--serif); font-size: 1.6rem; font-weight: 700; }
.who .org { color: #d8def2; }
.phone-unused { display: inline-block; margin-top: 1rem; font-family: var(--serif); font-weight: 700; font-size: clamp(2rem, 5vw, 2.9rem); text-decoration: none; letter-spacing: .01em; transition: transform .3s var(--spring); }
.phone:hover { transform: translateX(6px); }
.contact .actions { margin-top: 1.2rem; }
.who .mail { margin-top: 1rem; font-size: .95rem; color: #d8def2; }
.contact :focus-visible { outline-color: var(--white); }

.footer { padding: 1.4rem 0; background: var(--ink); color: #d8def2; font-size: .92rem; margin-inline: 12px; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; }
.footer strong { color: var(--white); }

@media (max-width: 860px) {
  .hero-grid, .two, .fichepdf, .things { grid-template-columns: minmax(0, 1fr); }
  .bar nav a:not(.tel) { display: none; }
  .vignette { max-width: 250px; }
  .actions .button { flex: 1 1 100%; }
  .thing:nth-child(n) { margin-top: 0; }
  .blocks { grid-template-columns: minmax(0, 1fr); }
  .cut { flex-direction: row; height: 34px; }
  .cut::before, .cut::after { border-left: 0; border-top: 3px dashed var(--ink); }
  .bk { min-height: 0; }
  .try { border-radius: 26px; margin-inline: 8px; }
  .contact, .footer { margin-inline: 8px; }
}
@media (max-width: 520px) {
  .win-body { grid-template-columns: 52px 1fr; }
  .row span { display: none; }
  .row { justify-content: center; padding-inline: 0; }
  .win-title { font-size: .74rem; }
  .ctl span { display: none; }
  .ctl { padding: .2rem .55rem; }
}

/* Moins d'animations : image finale, rien ne bouge */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js [data-rise] { opacity: 1; transform: none; transition: none; }
  html.js .thing[data-rise]:nth-child(1), html.js .b3[data-rise] { transform: rotate(-1deg); }
  html.js .b2[data-rise] { transform: rotate(1.2deg); }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .choice .tick path { stroke-dashoffset: 0; }
}

.who .org a, .footer strong a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.who .org a:hover, .footer strong a:hover { text-decoration-thickness: 2px; }
.who .mail { margin-top: .5rem; }
.who .actions + .mail { margin-top: 1.2rem; }
.tel2 { font-weight: 700; color: var(--white); }
@media (max-width: 860px) { .blocks { flex-direction: column; } .bk { flex: 0 0 auto; min-height: 0; transition: max-height .4s var(--spring), opacity .25s, padding .3s, margin .3s, border-width .3s; max-height: 400px; } .cut { width: auto; height: 34px; flex-direction: row; } .cut::before, .cut::after { border-left: 0; border-top: 3px dashed var(--ink); } .format[data-mode="bloc"] .b2 { flex: 0 0 auto; margin-left: 0; margin-top: -1.2rem; max-height: 0; padding-block: 0; border-width: 0; } .format[data-mode="bloc"] .cut { height: 0; width: auto; margin: -1.2rem 0 0; } .tablist { flex-wrap: nowrap; overflow-x: auto; gap: 0 1.2rem; scrollbar-width: none; } .tablist::-webkit-scrollbar { display: none; } .tablist button { white-space: nowrap; flex: none; } .fgrid { grid-template-columns: minmax(0, 1fr); }  }
