/* ocsia2.com, page « questionnaire » (questionnaire.html), construit par publication/construire.py. Ne pas modifier ici. */


:root { --ease-tiroir: cubic-bezier(.32, .72, 0, 1); --ease-rebond: cubic-bezier(.34, 1.7, .5, 1); --c: var(--violet); }
@media (prefers-color-scheme: dark) { :root { --c: #E3D3F2; } }
input, textarea, select { font: inherit; font-size: 16px; color: inherit; }
button { touch-action: manipulation; }
.contact-ligne { margin: 0; color: var(--doux); font-size: .94rem; }
.contact-ligne a { color: var(--violet); font-weight: 600; }
@media (prefers-color-scheme: dark) { .contact-ligne a { color: #E3D3F2; } }
.proto { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--or-voile); color: var(--or-texte); }
.bouton[disabled], .bouton[aria-disabled="true"] { opacity: .42; cursor: not-allowed; transform: none; }
.lien-doux { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 6px; border: 0; background: none; color: var(--doux); font-weight: 600; font-size: .95rem; cursor: pointer; text-decoration: none; border-radius: 10px; }
.lien-doux svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) { .bouton:not([disabled]):hover { background: #3A105A; } .bouton.second:not([disabled]):hover { background: var(--pastel); } .lien-doux:hover { color: var(--texte); } }

.objet { flex: none; display: block; width: 50px; height: 50px; color: var(--encre); transform: rotate(-5deg); }
.objet svg { width: 100%; height: 100%; overflow: visible; display: block; }
.objet .t { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.objet .o-f { fill: var(--or-voile); }
.objet .o-o { fill: #C9A24D; }
.objet .o-ecrit { stroke: var(--violet); stroke-width: 1.6; }
@media (prefers-color-scheme: dark) { .objet .o-ecrit { stroke: #E3D3F2; } }

.crayon-el { position: fixed; left: 0; top: 0; width: 0; height: 0; z-index: 80; pointer-events: none; opacity: 0; transition: opacity 240ms var(--ease-out); will-change: transform; }
.crayon-el svg { position: absolute; left: -306px; top: -20px; overflow: visible; }
@media (prefers-color-scheme: dark) { .cr-corps, .cr-mine { fill: #E3D3F2; stroke: #E3D3F2; } .cr-cone { stroke: #E3D3F2; } .cr-encoche { stroke: #2E1F3B; } }

.mot-main { font-family: var(--police-main); font-weight: 400; color: var(--violet); line-height: 1; display: inline-block; padding: .05em .2em .1em 0; }
@media (prefers-color-scheme: dark) { .mot-main { color: #F3EEF6; } }
.mot-main.ecrit { animation: ecrire var(--duree, 1100ms) cubic-bezier(.45, .05, .35, 1) both; }
@keyframes ecrire { from { clip-path: inset(-10% 100% -10% 0); } to { clip-path: inset(-10% -4% -10% 0); } }
@media (prefers-reduced-motion: reduce) { .mot-main.ecrit { animation: none; } .crayon-el { display: none; } }
@media (prefers-color-scheme: dark) { .saisie { caret-color: #E3D3F2 !important; } }



.q { display: grid; gap: 18px; padding-block: 18px 40px; grid-template-areas: "tete" "scene" "compris" "ensuite" "parler"; }
@media (min-width: 1024px) {
  .q { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "tete scene" "compris scene" "ensuite scene" "parler scene"; grid-template-rows: auto auto 1fr auto; column-gap: clamp(32px, 4vw, 64px); row-gap: 26px; min-height: calc(100svh - var(--entete-h)); padding-block: 20px 36px; }
}
.q > * { min-width: 0; }
.q-tete { grid-area: tete; }
.q-tete h1 { margin: 0; font-family: var(--police-titre); font-weight: 400; font-size: var(--t-h1-parcours); line-height: 1.04; letter-spacing: -.02em; }
.q-tete .chapeau { margin: 14px 0 0; color: var(--doux); font-size: 1.04rem; line-height: 1.55; max-width: 32em; text-wrap: pretty; }
@media (max-width: 640px) { .q-tete .chapeau { font-size: .97rem; margin-top: 8px; } .q-tete .chapeau .long { display: none; } }
@media (min-width: 641px) { .q-tete .chapeau .court { display: none; } }


.avance { justify-self: stretch; width: 100%; max-width: 680px; }
.avance-tete { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; font-size: .9rem; color: var(--doux); }
.avance-tete b { color: var(--texte); font-weight: 600; }
.etapes-grandes { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; padding: 0; list-style: none; font-size: .82rem; color: var(--doux); }
.etapes-grandes li { display: inline-flex; align-items: center; gap: 6px; }
.etapes-grandes li + li::before { content: ""; width: 14px; height: 1.5px; background: color-mix(in srgb, var(--texte) 25%, transparent); }
.etapes-grandes li[aria-current="step"] { color: var(--texte); font-weight: 600; }
@media (max-width: 640px) { .etapes-grandes { display: none; } }
.cap { position: relative; width: 100%; max-width: 680px; height: 64px; }
.cap-eau { position: absolute; left: 0; right: 0; bottom: 6px; width: 100%; height: 22px; overflow: visible; }
.eau-fond { fill: none; stroke: color-mix(in srgb, var(--texte) 16%, transparent); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 2 7; }
.eau-faite { fill: none; stroke: var(--violet); stroke-width: 2.4; stroke-linecap: round; transition: stroke-dashoffset 700ms var(--ease-out); }
@media (prefers-color-scheme: dark) { .eau-faite { stroke: #E3D3F2; } }
.voilier { position: absolute; left: 0; bottom: 4px; width: 54px; height: 54px; transform: translateX(calc(var(--p, 0) * (var(--l, 600px) - 54px))) rotate(-3deg); transition: transform 900ms var(--ease-out); }
.voilier .o-c { fill: color-mix(in srgb, var(--c) 70%, var(--fond)); transition: fill 400ms var(--ease-out); }
@media (prefers-reduced-motion: no-preference) { .voilier svg { animation: tangue 4.8s ease-in-out infinite; transform-origin: 50% 80%; } }
@keyframes tangue { 0%, 100% { transform: rotate(-2deg) translateY(0); } 50% { transform: rotate(2.5deg) translateY(-1.5px); } }
@media (max-width: 640px) { .cap { height: 46px; } .voilier { width: 40px; height: 40px; } }


.q-compris { grid-area: compris; align-self: start; padding: 18px 20px 20px; border-radius: var(--rayon); background: var(--bande); }
.q-compris-tete { display: flex; align-items: center; gap: 12px; }
.q-compris-tete h2 { margin: 0; font-size: 1.02rem; font-weight: 600; }
.q-compris-tete .objet { width: 44px; height: 44px; }
.q-compris-tete p { margin: 2px 0 0; color: var(--doux); font-size: .86rem; }
.compris { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 2px; }
.compris li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; align-items: start; padding: 5px 0; font-size: .94rem; line-height: 1.4; }
.compris li svg { width: 16px; height: 16px; margin-top: 2px; fill: none; stroke: #7D5F17; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-color-scheme: dark) { .compris li svg { stroke: #E0C27A; } }
.compris li.neuf { animation: arrive 360ms var(--ease-out) both; }
@keyframes arrive { from { opacity: 0; transform: translateY(6px); filter: blur(3px); } }
.compris li.deduit span::after { content: " (déduit de tes réponses)"; color: var(--doux); font-size: .84rem; }
.compris-vide { margin: 12px 0 0; color: var(--doux); font-size: .92rem; }
.reprise { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 14px 0 0; padding-top: 12px; box-shadow: inset 0 1px 0 var(--trait-doux); color: var(--doux); font-size: .88rem; }
.reprise .lien-doux { min-height: 36px; font-size: .88rem; }
@media (max-width: 1023px) { .q-compris { padding: 16px; } }

.q-ensuite { grid-area: ensuite; align-self: start; }
.q-ensuite h2 { margin: 0; font-size: 1.02rem; font-weight: 600; }
.q-ensuite ol { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; counter-reset: e; }
.q-ensuite li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: start; color: var(--doux); font-size: .94rem; line-height: 1.45; counter-increment: e; }
.q-ensuite li::before { content: counter(e); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, #C9A24D 70%, transparent); color: var(--or-texte); font-weight: 600; font-size: .84rem; }
.q-ensuite li b { color: var(--texte); font-weight: 600; }
.q-parler { grid-area: parler; display: grid; gap: 4px; }
.q-parler p { margin: 0; font-weight: 600; }
.q-parler .ligne { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 6px; }


.q-scene { grid-area: scene; position: relative; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; align-items: center; justify-items: center; gap: 14px; padding: clamp(14px, 3vw, 44px); border-radius: 30px; background: color-mix(in srgb, var(--c) 13%, var(--fond)); transition: background-color 400ms var(--ease-out); isolation: isolate; overflow: clip; }
.q-scene::before { content: ""; position: absolute; inset: -20%; z-index: -1; background: radial-gradient(40% 36% at 86% 12%, color-mix(in srgb, var(--c) 30%, transparent), transparent 70%), radial-gradient(36% 32% at 8% 92%, color-mix(in srgb, #C9A24D 22%, transparent), transparent 72%); filter: blur(16px); pointer-events: none; }
@media (prefers-color-scheme: dark) { .q-scene { background: color-mix(in srgb, var(--c) 14%, #3A2949); } }
@media (max-width: 640px) { .q-scene { padding: 10px; border-radius: 26px; margin-inline: -6px; } }
.carte { position: relative; min-width: 0; width: 100%; max-width: 680px; padding: clamp(20px, 3.2vw, 40px); border-radius: 24px; background: var(--carte-fond); box-shadow: var(--ombre-grande), inset 0 3px 0 #C9A24D; }
@media (max-width: 640px) { .carte { padding: 20px 16px 16px; border-radius: 20px; } }
.carte.entre { animation: carte-entre 320ms var(--ease-out) both; }
.carte.entre-retour { animation: carte-retour 320ms var(--ease-out) both; }
@keyframes carte-entre { from { opacity: 0; transform: translateX(18px); filter: blur(4px); } }
@keyframes carte-retour { from { opacity: 0; transform: translateX(-18px); filter: blur(4px); } }
.module { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 10px; font-size: .82rem; font-weight: 600; color: var(--or-texte); }
.module svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.rebond { margin: 0 0 6px; color: var(--doux); font-size: 1rem; line-height: 1.45; text-wrap: pretty; }
.question { margin: 0; font-family: var(--police-titre); font-weight: 400; font-size: clamp(1.6rem, 1.1rem + 1.5vw, 2.3rem); line-height: 1.12; letter-spacing: -.012em; text-wrap: balance; }
.question:focus { outline: none; }
.aide { margin: 10px 0 0; color: var(--doux); font-size: .94rem; line-height: 1.5; max-width: 40em; }
.reponse { margin-top: 20px; }
@media (max-width: 640px) { .reponse { margin-top: 14px; } .question { font-size: 1.55rem; } }


.opts { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; }
.opts.deux { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.opt { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 26px; align-items: center; gap: 12px; min-height: 56px; padding: 12px 14px 12px 16px; border-radius: 16px; background: color-mix(in srgb, var(--pastel) 32%, var(--carte-fond)); box-shadow: inset 0 0 0 1.5px transparent; cursor: pointer; transition: background-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out), transform 140ms var(--ease-out); -webkit-user-select: none; user-select: none; }
@media (prefers-color-scheme: dark) { .opt { background: rgba(255, 255, 255, .06); } }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt b { display: block; font-weight: 600; font-size: 1rem; line-height: 1.3; }
.opt small { display: block; margin-top: 2px; color: var(--doux); font-size: .88rem; line-height: 1.38; }
.opt .sugg { display: inline-block; margin-left: 6px; vertical-align: 1px; font-size: .72rem; font-weight: 600; padding: 3px 7px 2px; border-radius: 999px; background: var(--or-voile); color: var(--or-texte); }
.opt .marque-coche { width: 26px; height: 26px; overflow: visible; }
.opt .marque-coche .rond { fill: none; stroke: color-mix(in srgb, var(--texte) 28%, transparent); stroke-width: 1.6; }
.opt .marque-coche .cercle, .opt .marque-coche .v { opacity: 0; fill: none; stroke: var(--violet); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 300ms var(--ease-out); }
.opt .marque-coche .v { transition-delay: 0ms; }
@media (prefers-color-scheme: dark) { .opt .marque-coche .cercle, .opt .marque-coche .v { stroke: #E3D3F2; } }
.opt:has(input:checked) { background: color-mix(in srgb, var(--c) 14%, var(--carte-fond)); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--c) 70%, transparent); }
.opt:has(input:checked) .cercle, .opt:has(input:checked) .v { opacity: 1; }
.opt:has(input:checked) .cercle { stroke-dashoffset: 0; }
.opt:has(input:checked) .v { stroke-dashoffset: 0; transition-delay: 160ms; }
.opt:has(input:focus-visible) { outline: 3px solid var(--or); outline-offset: 2px; }
.opt:active { transform: scale(.985); }
@media (hover: hover) and (pointer: fine) { .opt:hover { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--violet) 30%, transparent); } }


.bulles { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 4px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 640px) { .bulles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.bulle { position: relative; width: 100%; padding: 8px 2px 10px; border: 0; border-radius: 18px; background: transparent; cursor: pointer; display: grid; justify-items: center; gap: 7px; -webkit-touch-callout: none; }
.bulle-forme { position: relative; width: 62px; height: 62px; transition: transform 420ms var(--ease-rebond); }
.bulle-forme svg { width: 100%; height: 100%; overflow: visible; display: block; }
.bulle .tache { fill: color-mix(in srgb, var(--cb) 70%, var(--carte-fond)); transform-box: fill-box; transform-origin: center; transition: fill 240ms var(--ease-out); animation: respire 7s ease-in-out infinite; animation-delay: calc(var(--i) * -1.3s); }
@keyframes respire { 0%, 100% { transform: scale(1) rotate(0deg); } 50% { transform: scale(1.035) rotate(3deg); } }
.bulle .dessin { fill: none; stroke: #24152B; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.bulle .anneau { fill: none; stroke: var(--texte); stroke-width: 2.3; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 420ms var(--ease-out); }
.bulle .coche { position: absolute; right: -4px; top: -3px; width: 23px; height: 23px; opacity: 0; transform: scale(.6); transition: opacity 180ms var(--ease-out), transform 280ms var(--ease-rebond); }
.bulle .coche circle { fill: var(--texte); }
.bulle .coche path { fill: none; stroke: var(--carte-fond); stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.bulle-nom { font-weight: 600; font-size: .86rem; line-height: 1.2; color: var(--doux); text-align: center; transition: color 200ms; }
.bulle[aria-pressed="true"] .tache { fill: var(--cb); }
.bulle[aria-pressed="true"] .bulle-forme { transform: scale(1.07); }
.bulle[aria-pressed="true"] .anneau { stroke-dashoffset: 0; }
.bulle[aria-pressed="true"] .coche { opacity: 1; transform: scale(1); }
.bulle[aria-pressed="true"] .bulle-nom { color: var(--texte); }
.bulle:active .bulle-forme { transform: scale(.93); transition-duration: 120ms; transition-timing-function: var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .bulle:hover .bulle-forme { transform: translateY(4px); } .bulle[aria-pressed="true"]:hover .bulle-forme { transform: translateY(4px) scale(1.07); } .bulle:hover .tache { fill: var(--cb); } .bulle:hover .bulle-nom { color: var(--texte); } }
@media (max-width: 640px) { .bulle { padding: 4px 1px 6px; gap: 4px; } .bulle-forme { width: 50px; height: 50px; } .bulle-nom { font-size: .8rem; } }
.anim-store { transform-box: fill-box; transform-origin: 50% 0; animation: store 5.5s ease-in-out infinite; }
@keyframes store { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(1.16); } }
.anim-coeur { transform-box: fill-box; transform-origin: 50% 70%; animation: coeur 4.8s ease-in-out infinite; }
@keyframes coeur { 0%, 70%, 100% { transform: scale(1); } 78% { transform: scale(1.18); } 86% { transform: scale(.96); } }
.anim-ecrit { stroke-dasharray: 34; animation: ecritb 6s ease-in-out infinite; }
@keyframes ecritb { 0% { stroke-dashoffset: 34; } 45%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -34; } }
.anim-feuilles { transform-box: view-box; transform-origin: 32px 40px; animation: feuilles 5s ease-in-out infinite; }
@keyframes feuilles { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
.anim-avion { animation: avion 4.6s ease-in-out infinite; }
@keyframes avion { 0%, 100% { transform: translate(0, 0) rotate(0deg); } 50% { transform: translate(1.5px, -2px) rotate(-3deg); } }
.anim-coup { transform-box: view-box; transform-origin: 30px 48px; animation: coup 4.2s ease-in-out infinite; }
@keyframes coup { 0%, 80%, 100% { transform: rotate(0deg); } 86% { transform: rotate(-12deg); } 92% { transform: rotate(3deg); } }
.anim-vapeur { stroke-dasharray: 9 20; animation: vapeur 3.6s linear infinite; }
.anim-vapeur.v2 { animation-delay: -1.8s; }
@keyframes vapeur { from { stroke-dashoffset: 29; opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } to { stroke-dashoffset: 0; opacity: 0; } }


.champ { display: grid; gap: 6px; }
.champ label { font-weight: 600; font-size: .94rem; }
.saisie { caret-color: var(--violet); width: 100%; min-height: 52px; padding: 12px 14px; border: 0; border-radius: 14px; background: color-mix(in srgb, var(--pastel) 26%, var(--carte-fond)); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--texte) 22%, transparent); color: var(--texte); line-height: 1.45; transition: box-shadow 160ms var(--ease-out); }
.saisie::placeholder { color: color-mix(in srgb, var(--doux) 86%, transparent); }
@media (prefers-color-scheme: dark) { .saisie { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .28); } }
.saisie:focus { outline: none; box-shadow: inset 0 0 0 2px var(--violet); }
@media (prefers-color-scheme: dark) { .saisie:focus { box-shadow: inset 0 0 0 2px #E3D3F2; } }
textarea.saisie { min-height: 132px; resize: vertical; }
.erreur { margin: 6px 0 0; color: #B4232A; font-size: .9rem; font-weight: 600; }
@media (prefers-color-scheme: dark) { .erreur { color: #FF9A9E; } }
.autre { margin-top: 10px; }
#ouvrir-autre { margin-top: 6px; }
.outils { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.puce { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 14px; border-radius: 999px; background: color-mix(in srgb, var(--pastel) 32%, var(--carte-fond)); font-weight: 600; font-size: .92rem; cursor: pointer; box-shadow: inset 0 0 0 1.5px transparent; transition: background-color 160ms, box-shadow 160ms, transform 140ms; -webkit-user-select: none; user-select: none; }
@media (prefers-color-scheme: dark) { .puce { background: rgba(255, 255, 255, .06); } }
.puce input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.puce:has(input:checked) { background: color-mix(in srgb, var(--c) 18%, var(--carte-fond)); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--c) 70%, transparent); }
.puce:has(input:focus-visible) { outline: 3px solid var(--or); outline-offset: 2px; }
.puce:active { transform: scale(.97); }
.puce .sugg { font-size: .7rem; color: var(--or-texte); }
.sorts { display: grid; gap: 6px; margin-top: 16px; }
.sorts:empty { display: none; }
.sort { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding: 8px 0; box-shadow: inset 0 -1px 0 var(--trait-doux); }
.sort b { font-weight: 600; font-size: .95rem; }
.segments { display: inline-flex; padding: 3px; border-radius: 999px; background: color-mix(in srgb, var(--pastel) 40%, var(--carte-fond)); }
@media (prefers-color-scheme: dark) { .segments { background: rgba(255, 255, 255, .07); } }
.segments label { position: relative; display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 999px; font-size: .86rem; font-weight: 600; color: var(--doux); cursor: pointer; transition: background-color 160ms, color 160ms; }
.segments input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.segments label:has(input:checked) { background: var(--carte-fond); color: var(--texte); box-shadow: var(--ombre-douce); }
.segments label:has(input:focus-visible) { outline: 3px solid var(--or); outline-offset: 1px; }
.nsp { margin-top: 10px; }
.nsp.choisi { color: var(--texte); }
.nsp.choisi svg { stroke: #7D5F17; }
.retour { min-height: 1.5em; margin: 14px 0 0; color: var(--or-texte); font-weight: 600; font-size: .95rem; line-height: 1.45; }
.retour:empty { margin: 0; min-height: 0; }
.retour.neuf { animation: arrive 320ms var(--ease-out) both; }


.nav-carte { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 22px; padding-top: 16px; box-shadow: inset 0 1px 0 var(--trait-doux); }
.nav-carte .droite { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-left: auto; }
.astuce { width: 100%; margin: 0; color: var(--doux); font-size: .82rem; }
@media (pointer: coarse) { .astuce { display: none; } }
@media (max-width: 640px) { .nav-carte { margin-top: 16px; padding-top: 12px; } .nav-carte .droite { width: 100%; } .nav-carte .droite .bouton { flex: 1 1 auto; } .nav-carte > .lien-doux { order: 2; } }


.ecran-titre { margin: 0; font-family: var(--police-titre); font-weight: 400; font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.4rem); line-height: 1.1; letter-spacing: -.012em; text-wrap: balance; }
.ecran-titre:focus { outline: none; }
.deux-voies { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 10px; margin-top: 20px; }
.voie { display: grid; gap: 6px; align-content: start; padding: 18px; border-radius: 18px; background: color-mix(in srgb, var(--pastel) 30%, var(--carte-fond)); }
@media (prefers-color-scheme: dark) { .voie { background: rgba(255, 255, 255, .06); } }
.voie h3 { margin: 0; font-size: 1.06rem; font-weight: 600; }
.voie p { margin: 0 0 8px; color: var(--doux); font-size: .92rem; line-height: 1.45; }
.voie .bouton { justify-self: start; }
.resume { scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--violet) 35%, transparent) transparent; list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 0; max-height: min(44vh, 420px); overflow-y: auto; overscroll-behavior: contain; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--trait-doux); }
.resume li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 12px; font-size: .93rem; line-height: 1.4; }
.resume li + li { box-shadow: inset 0 1px 0 var(--trait-doux); }
.resume li small { display: block; color: var(--doux); font-size: .8rem; }
.resume .lien-doux { min-height: 36px; font-size: .86rem; }
.accords { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; border: 0; }
.accords legend { padding: 0; margin-bottom: 4px; font-weight: 600; }
.case { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; cursor: pointer; font-size: .95rem; line-height: 1.45; }
.case input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--violet); }
@media (prefers-color-scheme: dark) { .case input { accent-color: #E3D3F2; } }
.case small { color: var(--doux); }
.rgpd { margin: 12px 0 0; color: var(--doux); font-size: .86rem; line-height: 1.5; }
.rgpd a, .fin a:not(.bouton) { color: var(--violet); font-weight: 600; }
@media (prefers-color-scheme: dark) { .rgpd a, .fin a:not(.bouton) { color: #E3D3F2; } }

.fin-merci { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
.fin-merci .mot-main { font-size: clamp(3rem, 2rem + 3vw, 4.4rem); }
.fin-merci p { margin: 0; color: var(--doux); flex: 1 1 16em; }
.fin .offre { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 14px 0 0; padding: 10px 14px; border-radius: 14px; background: var(--or-voile); color: var(--or-texte); font-weight: 600; }
.fin ol { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; counter-reset: e; }
.fin ol li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; align-items: start; line-height: 1.45; counter-increment: e; }
.fin ol li::before { content: counter(e); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: color-mix(in srgb, var(--c) 20%, var(--carte-fond)); font-weight: 600; font-size: .9rem; }
.app-aussi { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: center; margin-top: 18px; padding: 14px; border-radius: 16px; background: color-mix(in srgb, var(--c-etudiant) 16%, var(--carte-fond)); }
.app-aussi p { margin: 0; font-size: .94rem; line-height: 1.45; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
@media (max-width: 640px) { .actions .bouton { flex: 1 1 100%; } }
.proto-ligne { margin: 16px 0 0; }
.rdv-propose { margin: 18px 0 0; padding: 14px 16px; border-radius: 16px; background: color-mix(in srgb, var(--pastel) 40%, var(--carte-fond)); line-height: 1.5; }
@media (prefers-color-scheme: dark) { .rdv-propose { background: rgba(255, 255, 255, .07); } }
.depuis-rdv { justify-self: stretch; width: 100%; max-width: 680px; margin: 0 0 10px; padding: 10px 14px; border-radius: 14px; background: var(--or-voile); color: var(--or-texte); font-weight: 600; font-size: .92rem; line-height: 1.45; }
.depuis-rdv a { color: inherit; }
.vide-js { padding: 18px; }
.vers-app { margin: 10px 0 0; }
.vers-app .lien-doux { color: var(--violet); padding-left: 0; }
@media (prefers-color-scheme: dark) { .vers-app .lien-doux { color: #E3D3F2; } }

@media (prefers-reduced-motion: reduce) {
  .bulle .tache, .anim-store, .anim-coeur, .anim-ecrit, .anim-feuilles, .anim-avion, .anim-coup, .anim-vapeur { animation: none !important; }
  .anim-vapeur { stroke-dasharray: none; }
  .carte.entre, .carte.entre-retour, .compris li.neuf, .retour.neuf { animation: none; }
  .bulle:hover .bulle-forme, .bulle:active .bulle-forme, .bulle[aria-pressed="true"] .bulle-forme { transform: none !important; }
}
