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



:root { --ecran-fond: #FFFFFF; --vert: #2FB36B; --rouge: #E5484D; --ease-rebond: cubic-bezier(.34, 1.7, .5, 1); }
@media (prefers-color-scheme: dark) { :root { --ecran-fond: #3A2949; } }

h1, h2, h3 { text-wrap: balance; }
h2 { margin: 0; font-family: var(--police-titre); font-weight: 400; font-size: var(--t-h2); line-height: 1.1; letter-spacing: -.015em; }
.bientot { margin-left: 6px; }

.lien { color: var(--violet); font-weight: 600; text-underline-offset: 3px; text-decoration-thickness: 1.5px; text-decoration-color: color-mix(in srgb, #C9A24D 80%, transparent); }
@media (prefers-color-scheme: dark) { .lien { color: #E3D3F2; } }


.haut { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 20px 40px; }
@media (min-width: 1024px) {
  .haut { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); grid-template-rows: auto auto; align-items: center; column-gap: clamp(28px, 3.5vw, 56px); row-gap: 26px; padding-block: 8px 44px; }
}
h1 { font-family: var(--police-titre); font-weight: 400; font-size: var(--t-h1); line-height: 1.05; letter-spacing: -.022em; margin: 0; }
h1 .suite { color: var(--violet); }
@media (prefers-color-scheme: dark) { h1 .suite { color: #D7C4EA; } }
.sous-titre { margin: 20px 0 0; font-size: clamp(1.06rem, .98rem + .3vw, 1.2rem); line-height: 1.58; color: var(--doux); max-width: 30em; text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; gap: 10px 12px; margin-top: 28px; align-items: center; }
.actions .bouton .pastille { margin-left: -2px; padding: 3px 8px 2px; border-radius: 999px; font-size: .74rem; background: rgba(255, 255, 255, .16); }
@media (prefers-color-scheme: dark) { .actions .bouton .pastille { background: rgba(46, 31, 59, .12); } }
@media (max-width: 640px) { .actions .bouton { flex: 1 1 100%; justify-content: center; } }


.rapides { grid-column: 1 / -1; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 900px) { .rapides { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; } }
.rapides a { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: center; min-height: 58px; padding: 9px 12px; border-radius: 16px; background: var(--carte-fond); box-shadow: inset 0 0 0 1px var(--trait-doux), var(--ombre-douce); color: var(--texte); text-decoration: none; transition: transform 140ms var(--ease-out), box-shadow 180ms var(--ease-out); }
.rapides a:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) { .rapides a:hover { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, #C9A24D 80%, transparent), var(--ombre-douce); } }
.rapides .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--pastel); color: var(--violet); }
@media (prefers-color-scheme: dark) { .rapides .ico { background: rgba(227, 211, 242, .14); color: #E3D3F2; } }
.rapides .ico svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rapides b { display: block; font-weight: 600; font-size: .92rem; line-height: 1.25; }
.rapides small { display: block; font-size: .8rem; color: var(--doux); line-height: 1.3; }
.rapides small.ok { color: #1E7A48; font-weight: 600; }
@media (prefers-color-scheme: dark) { .rapides small.ok { color: #7FE0A8; } }
@media (max-width: 899px) { .rapides li:last-child { grid-column: 1 / -1; } }


.oeuvre { position: relative; width: 100%; aspect-ratio: 640 / 520; max-width: 760px; justify-self: center; container-type: inline-size; }
@media (max-width: 1023px) { .oeuvre { max-width: 560px; } }
.oeuvre-plan { position: absolute; left: 0; top: 0; width: 640px; height: 520px; transform-origin: 0 0; transform: scale(var(--k, 1)); }
.oeuvre-traits { position: absolute; inset: 0; width: 640px; height: 520px; overflow: visible; pointer-events: none; z-index: 3; }
.oeuvre-traits.t-avant { z-index: 5; }
.oeuvre-traits path { fill: none; stroke: var(--encre); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.oeuvre-traits .t-doux { stroke-width: 2; opacity: .55; }
.oeuvre-traits .t-fleche { stroke: var(--or-texte); stroke-width: 2.2; }
.mot-main { font-family: var(--police-main); font-size: 52px; fill: var(--violet); }
@media (prefers-color-scheme: dark) { .mot-main { fill: #E3D3F2; } }
.ecran { position: absolute; overflow: hidden; background: var(--ecran-fond); color: var(--texte); z-index: 2; transition: opacity 420ms var(--ease-out), transform 520ms var(--ease-out), filter 420ms var(--ease-out); }
.dessine-avant .ecran { opacity: 0; transform: translateY(10px); filter: blur(3px); }
.ecran > * { transition: opacity 360ms var(--ease-out), transform 420ms var(--ease-out); }
.dessine-avant .ecran > * { opacity: 0; transform: translateY(6px); }
.ecran-ordi { left: 22px; top: 52px; width: 436px; height: 266px; border-radius: 9px; box-shadow: inset 0 0 0 1px var(--trait-doux); }
.ecran-tel { z-index: 4; left: 414px; top: 86px; width: 192px; height: 410px; border-radius: 26px; font-size: 11px; line-height: 1.3; box-shadow: var(--ombre-grande); }
.oeuvre-legende { position: absolute; left: 0; bottom: -6px; margin: 0; font-size: .8rem; color: var(--doux); }
@media (min-width: 1024px) { .oeuvre-legende { bottom: 2px; } }


.ecran { --a-fond: #FBFAF6; --a-fond-2: #F4F1EC; --a-ligne: #E9E3EE; --a-texte: #24152B; --a-doux: #5E5468; --a-accent: #2C4A75; --a-contraste: #fff; --a-selection: #DCE4F0; --a-carte: #FFFFFF; --a-marge: #C9A0A8; --a-rouge: #8A3B4A;
  --m-bio: #2F6B5E; --m-chimie: #85571C; --m-stats: #4A55A0; --m-anglais: #9A4A2A; background: var(--a-fond); color: var(--a-texte); }
@media (prefers-color-scheme: dark) { .ecran { --a-fond: #1B0F22; --a-fond-2: #160B1C; --a-ligne: #2E2537; --a-texte: #EFE9F3; --a-doux: #B9AEC4; --a-accent: #9DB5DC; --a-contraste: #14213A; --a-selection: #2B3A55; --a-carte: #271A31; --a-marge: #7A4A57; --a-rouge: #E39AA8;
  --m-bio: #85CDB9; --m-chimie: #E2B36F; --m-stats: #A9B3F0; --m-anglais: #EBA283; } }
.mac { display: grid; grid-template-columns: 24px 98px minmax(0, 1fr); height: 100%; font-size: 8.4px; line-height: 1.3; }
.mac-bande { background: var(--a-fond-2); box-shadow: inset -1px 0 0 var(--a-ligne); display: grid; justify-items: center; align-content: start; gap: 6px; padding-top: 6px; }
.feux { display: flex; gap: 2.5px; margin-bottom: 3px; } .feux i { width: 5px; height: 5px; border-radius: 50%; background: #FF5F57; } .feux i:nth-child(2) { background: #FEBC2E; } .feux i:nth-child(3) { background: #28C840; }
.mac-bande img { width: 14px; height: 14px; }
.av { width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; font-size: 6.5px; font-weight: 600; color: #fff; background: var(--a-accent); box-shadow: 0 0 0 1.5px var(--a-fond-2), 0 0 0 2.5px var(--a-accent); }
@media (prefers-color-scheme: dark) { .av { color: var(--a-contraste); } }
.av.p { background: #4B176F; color: #fff; box-shadow: none; }
.av.plus { background: transparent; color: var(--a-doux); box-shadow: inset 0 0 0 1px var(--a-ligne); font-size: 9px; font-weight: 400; }
.mac-volet { background: var(--a-fond-2); box-shadow: inset -1px 0 0 var(--a-ligne); padding: 9px 6px; display: grid; align-content: start; gap: 2px; }
.mac-volet .nom { margin: 0 0 1px 4px; font-family: var(--police-titre); font-size: 11.5px; line-height: 1.1; }
.mac-volet .sous { margin: 0 0 6px 4px; color: var(--a-doux); font-size: 7px; }
.mac-volet .it { display: flex; align-items: center; gap: 5px; padding: 3px 4px; border-radius: 5px; }
.mac-volet .it small { margin-left: auto; color: var(--a-doux); font-size: 7px; }
.mac-volet .it.ici { background: var(--a-selection); color: var(--a-accent); font-weight: 600; }
.mac-volet .it svg { width: 8px; height: 8px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.mac-volet .titre-g { margin: 6px 0 1px 4px; color: var(--a-doux); font-size: 6.8px; }
.onglet { width: 4px; height: 8px; border-radius: 1.5px; background: var(--m); flex: none; }
.mac-main { display: grid; grid-template-rows: auto 1fr; min-width: 0; }
.mac-haut { display: flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px; box-shadow: inset 0 -1px 0 var(--a-ligne); color: var(--a-doux); font-size: 7.6px; }
.mac-haut b { color: var(--a-texte); font-weight: 600; }
.mac-cherche { margin-left: auto; padding: 3px 7px; border-radius: 5px; box-shadow: inset 0 0 0 1px var(--a-ligne); font-size: 7px; white-space: nowrap; }
.mac-ajout { padding: 3px 7px; border-radius: 5px; background: var(--a-accent); color: var(--a-contraste); font-weight: 600; font-size: 7px; white-space: nowrap; }
.mac-feuille { padding: 8px 62px 10px 10px; display: grid; grid-template-rows: auto 1fr auto; gap: 6px; min-height: 0; }
.mac-t { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 8px; }
.mac-t h4 { margin: 0; font-family: var(--police-titre); font-weight: 400; font-size: 14px; line-height: 1.05; }
.mac-t h4 small { display: block; font-family: var(--police-texte); font-size: 7px; color: var(--a-doux); margin-top: 2px; }
.etapes5 { display: flex; gap: 6px; }
.etapes5 > span { display: grid; grid-template-rows: 9px auto; align-content: start; justify-items: center; gap: 2px; white-space: nowrap; font-size: 6.2px; color: var(--a-doux); }
.etapes5 i { width: 9px; height: 9px; border-radius: 2.5px; box-shadow: inset 0 0 0 1px var(--a-ligne); background: var(--a-carte); }
.etapes5 .coche i { background: var(--a-accent); box-shadow: none; }
.co-cornell { display: grid; grid-template-columns: 36% 1fr; border-radius: 6px 6px 0 0; background: var(--a-carte); box-shadow: 0 0 0 1px var(--a-ligne); overflow: hidden; min-height: 0; }
.co-cornell > div { padding: 6px 7px; display: grid; align-content: start; gap: 4px; }
.co-q { background: color-mix(in srgb, var(--a-rouge) 5%, var(--a-carte)); box-shadow: inset -1.5px 0 0 var(--a-marge); }
.co-q i { font-style: normal; color: var(--a-rouge); font-weight: 600; font-size: 7px; }
.co-q p { margin: 0; padding-bottom: 3px; box-shadow: inset 0 -1px 0 var(--a-ligne); }
.co-n h5 { margin: 0; font-size: 9.5px; font-weight: 600; }
.co-n p { margin: 0; }
.co-n .surligne { background: color-mix(in srgb, #F7B500 34%, transparent); border-radius: 2px; padding: 0 1.5px; }
.co-n ul { margin: 0; padding-left: 9px; display: grid; gap: 1px; }
.co-resume { padding: 5px 7px 7px; border-radius: 0 0 6px 6px; background: var(--a-carte); box-shadow: 0 0 0 1px var(--a-ligne), 0 -1.5px 0 var(--a-marge); margin-top: -6px; }
.co-resume i { display: block; font-style: normal; color: var(--a-rouge); font-weight: 600; font-size: 7px; }


.au { padding: 20px 11px 0; display: grid; gap: 7px; align-content: start; height: 100%; position: relative; }
.au-espace { justify-self: center; display: inline-flex; align-items: center; gap: 4px; margin: -6px 0 0; font-size: 9px; font-weight: 600; }
.au-espace i { width: 5px; height: 5px; border-radius: 50%; background: var(--a-accent); }
.au-h { margin: 0; font-family: var(--police-titre); font-size: 20px; line-height: 1.05; }
.au-date { margin: -3px 0 1px; color: var(--a-doux); font-size: 9px; line-height: 1.3; }
.au-date b { color: var(--a-texte); font-weight: 600; }
.au-carte { padding: 8px 9px; border-radius: 12px; background: var(--a-carte); box-shadow: 0 0 0 1px var(--a-ligne), 0 8px 18px -12px rgba(36, 21, 43, .35); display: grid; gap: 4px; }
.au-carte .quand { font-size: 8.5px; color: var(--a-doux); } .au-carte .quand b { color: var(--a-rouge); font-weight: 600; }
.au-carte .cours { font-family: var(--police-titre); font-size: 14px; line-height: 1.1; }
.au-carte small { color: var(--a-doux); font-size: 8.5px; }
.au-btns { display: flex; gap: 5px; margin-top: 2px; }
.au-btn { padding: 4px 8px; border-radius: 6px; background: var(--a-accent); color: var(--a-contraste); font-weight: 600; font-size: 8.5px; }
.au-btn.s { background: transparent; color: var(--a-accent); box-shadow: inset 0 0 0 1px var(--a-ligne); }
.au-nb { display: flex; align-items: baseline; gap: 5px; } .au-nb b { font-family: var(--police-titre); font-size: 19px; font-weight: 400; } .au-nb span { font-size: 9px; color: var(--a-doux); }
.au-mat { display: flex; align-items: center; gap: 5px; font-size: 8.5px; } .au-mat small { margin-left: auto; font-size: 8.5px; }
.au-titre { font-size: 10px; font-weight: 600; margin: 2px 0 -3px 1px; } .au-titre small { font-weight: 400; color: var(--a-doux); margin-left: 3px; }
.au-ligne { display: flex; align-items: center; gap: 7px; font-size: 9px; padding: 4px 1px; box-shadow: inset 0 -1px 0 var(--a-ligne); }
.au-ligne b { color: var(--a-accent); font-weight: 600; width: 26px; }
.au-ligne .onglet { margin-left: auto; }
.au-barre { position: absolute; left: 0; right: 0; bottom: 0; height: 46px; padding: 0 6px 6px; background: color-mix(in srgb, var(--a-fond) 92%, transparent); box-shadow: inset 0 1px 0 var(--a-ligne); display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; justify-items: center; color: var(--a-doux); font-size: 6.5px; }
.au-barre span { display: grid; justify-items: center; gap: 2px; }
.au-barre span.ici { color: var(--a-accent); font-weight: 600; }
.au-barre svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.au-plus { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--a-accent); color: var(--a-contraste); margin-top: -12px; }
.au-plus svg { width: 14px; height: 14px; }


.crayon-el { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 6; pointer-events: none; opacity: 0; transition: opacity 260ms var(--ease-out); transform-origin: 0 0; 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; } }


.appareils { padding-block: clamp(44px, 4vw, 60px) clamp(48px, 7vw, 88px); background: var(--bande); }
.app-grille { margin-top: 28px; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .app-grille { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: stretch; } }
.choisi { position: relative; padding: clamp(20px, 3vw, 32px); border-radius: var(--rayon); background: var(--carte-fond); box-shadow: inset 0 3px 0 #C9A24D, var(--ombre-grande); }
.choisi-tete { display: flex; align-items: center; gap: 14px; }
.choisi-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--pastel); color: var(--violet); flex: none; }
@media (prefers-color-scheme: dark) { .choisi-ico { background: rgba(227, 211, 242, .14); color: #E3D3F2; } }
.choisi-ico svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.choisi h3 { margin: 0; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); font-weight: 600; line-height: 1.2; }
.choisi .ici { display: block; font-size: .86rem; font-weight: 400; color: var(--doux); }
.etat { display: inline-block; font-size: .78rem; font-weight: 600; padding: 4px 10px 3px; border-radius: 999px; white-space: nowrap; }
.etat.essai { background: color-mix(in srgb, #2FB36B 16%, var(--carte-fond)); color: #1E7A48; }
.etat.demande { background: color-mix(in srgb, var(--c-employe) 16%, var(--carte-fond)); color: #0E6B7A; }
.etat.web { background: var(--pastel); color: var(--violet); }
.etat.attente { background: var(--or-voile); color: var(--or-texte); }
@media (prefers-color-scheme: dark) { .etat.essai { color: #7FE0A8; } .etat.demande { color: #8FE3EF; } .etat.web { background: rgba(227, 211, 242, .14); color: #E3D3F2; } }
.choisi-texte { margin: 16px 0 0; color: var(--doux); line-height: 1.55; max-width: 36em; }
.etapes { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; counter-reset: e; }
.etapes li { counter-increment: e; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: start; line-height: 1.5; }
.etapes li::before { content: counter(e); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: .9rem; color: var(--or-texte); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, #C9A24D 80%, transparent); }
.etapes b { font-weight: 600; }
.choisi .actions { margin-top: 22px; }
.choisi-note { margin: 16px 0 0; font-size: .9rem; color: var(--doux); }
.choisi-corps { transition: opacity 200ms var(--ease-out), transform 260ms var(--ease-out); }
.choisi-corps.change { opacity: 0; transform: translateY(6px); }

.autres { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.autres-titre { margin: 0 0 10px; font-weight: 600; color: var(--doux); font-size: .95rem; }
.autre { width: 100%; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 14px; border: 0; border-radius: 16px; background: color-mix(in srgb, var(--carte-fond) 72%, transparent); text-align: left; cursor: pointer; box-shadow: inset 0 0 0 1px var(--trait-doux); transition: background-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out), transform 140ms var(--ease-out); }
.autre:active { transform: scale(.98); }
.autre[aria-pressed="true"] { background: var(--carte-fond); box-shadow: inset 0 0 0 2px #C9A24D, var(--ombre-douce); }
@media (hover: hover) and (pointer: fine) { .autre:hover { background: var(--carte-fond); } }
.autre .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--carte-fond); box-shadow: var(--ombre-douce); color: var(--violet); }
@media (prefers-color-scheme: dark) { .autre .ico { color: #E3D3F2; } }
.autre .ico svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.autre b { display: block; font-weight: 600; }
.autre small { display: block; color: var(--doux); font-size: .86rem; line-height: 1.35; }
.relier { margin: 18px 0 0; padding: 14px 16px; border-radius: 16px; background: color-mix(in srgb, var(--pastel) 55%, transparent); color: var(--doux); font-size: .92rem; line-height: 1.5; }
@media (prefers-color-scheme: dark) { .relier { background: rgba(227, 211, 242, .08); } }


.fait { padding-block: clamp(56px, 8vw, 104px) clamp(40px, 6vw, 72px); }
.profils { display: flex; gap: 8px; margin: 24px 0 0; padding: 0 0 4px; list-style: none; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.profils::-webkit-scrollbar { display: none; }
.profils-tete { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-top: 26px; }
.profils-tete p { margin: 0; font-weight: 600; }
.pp { flex: none; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 10px; border: 0; border-radius: 999px; background: var(--carte-fond); color: var(--doux); font-weight: 600; font-size: .95rem; cursor: pointer; box-shadow: inset 0 0 0 1px var(--trait-doux); transition: background-color 200ms var(--ease-out), color 200ms var(--ease-out), box-shadow 200ms, transform 140ms var(--ease-out); }
.pp i { width: 22px; height: 22px; border-radius: 50%; background: var(--c); flex: none; box-shadow: inset 0 0 0 2px color-mix(in srgb, #fff 35%, transparent); }
.pp.tout i { background: conic-gradient(var(--c-etudiant) 0 33%, var(--c-perso) 0 66%, var(--c-employe) 0); }
.pp:active { transform: scale(.97); }
.pp[aria-pressed="true"] { background: color-mix(in srgb, var(--c) 20%, var(--carte-fond)); color: var(--texte); box-shadow: inset 0 0 0 2px var(--c); }
.pp.tout[aria-pressed="true"] { background: var(--carte-fond); box-shadow: inset 0 0 0 2px #C9A24D; }
.pp-structure { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; color: var(--violet); font-weight: 600; font-size: .92rem; }
@media (prefers-color-scheme: dark) { .pp-structure { color: #E3D3F2; } }
.profil-mot { margin: 16px 0 0; max-width: 44em; color: var(--doux); line-height: 1.55; min-height: 3.1em; transition: opacity 200ms var(--ease-out); }
.bientot-pro { margin: 14px 0 0; display: flex; gap: 12px; align-items: start; padding: 14px 16px; border-radius: 16px; background: color-mix(in srgb, var(--c-employe) 12%, var(--fond)); max-width: 46em; line-height: 1.5; }
.bientot-pro svg { width: 22px; height: 22px; flex: none; margin-top: 1px; fill: none; stroke: #0E6B7A; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-color-scheme: dark) { .bientot-pro svg { stroke: #8FE3EF; } }

.vues { margin-top: 28px; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .vues { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 760px) and (max-width: 1099px) { .v[data-span="6"] { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .vues { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; } .v[data-span="2"] { grid-column: span 2; } .v[data-span="3"] { grid-column: span 3; } .v[data-span="4"] { grid-column: span 4; } .v[data-span="6"] { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); grid-template-rows: auto; column-gap: 28px; align-items: center; } }
.v { --c: var(--violet); position: relative; display: grid; grid-template-rows: auto 1fr; gap: 14px; padding: 20px; border-radius: var(--rayon); background: color-mix(in srgb, var(--c) 9%, var(--carte-fond)); box-shadow: var(--ombre-grande); overflow: hidden; transition: opacity 260ms var(--ease-out), transform 320ms var(--ease-out); }
.v[hidden] { display: none; }
.v.entre { opacity: 0; transform: translateY(12px); }
.v-tete h3 { margin: 0; font-size: 1.12rem; font-weight: 600; line-height: 1.25; }
.v-tete p { margin: 6px 0 0; color: var(--doux); font-size: .94rem; line-height: 1.5; text-wrap: pretty; }
.v-tete .remplace { margin-top: 8px; font-size: .84rem; }
.v-tete .remplace b { font-weight: 600; color: var(--texte); }
.v-vue { align-self: end; background: var(--ecran-fond); border-radius: 16px; padding: 12px; box-shadow: 0 0 0 1px var(--trait-doux), var(--ombre-douce); font-size: .88rem; line-height: 1.35; }


.rangee { display: flex; align-items: center; gap: 10px; padding: 8px 2px; }
.rangee + .rangee { box-shadow: inset 0 1px 0 var(--trait-doux); }
.rangee b { white-space: nowrap; margin-right: 2px; }
.rangee small { margin-left: auto; color: var(--doux); font-size: .8rem; white-space: nowrap; }
.pastille-c { width: 10px; height: 10px; border-radius: 3px; background: var(--c); flex: none; }
.feuilles { display: flex; flex-wrap: wrap; gap: 6px; }
.feuilles span { padding: 5px 10px; border-radius: 999px; background: color-mix(in srgb, var(--c-etudiant) 16%, var(--carte-fond)); font-size: .8rem; font-weight: 600; color: var(--texte); }
.feuilles span:first-child { background: var(--c-etudiant); color: #24152B; }
.note-reliee { margin-top: 10px; padding: 9px 10px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--trait-doux); font-size: .84rem; color: var(--doux); }
.note-reliee a, .note-reliee u { color: var(--violet); text-decoration-color: color-mix(in srgb, var(--violet) 40%, transparent); text-underline-offset: 2px; }
@media (prefers-color-scheme: dark) { .note-reliee a, .note-reliee u { color: #E3D3F2; } }
.carte-rev { perspective: 900px; }
.carte-rev button { position: relative; width: 100%; min-height: 108px; border: 0; padding: 0; background: transparent; cursor: pointer; transform-style: preserve-3d; transition: transform 520ms var(--ease-out); display: block; }
.carte-rev button[aria-pressed="true"] { transform: rotateY(180deg); }
.face { position: absolute; inset: 0; display: grid; align-content: center; gap: 4px; padding: 12px 14px; border-radius: 12px; background: var(--carte-fond); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--c-etudiant) 70%, transparent); backface-visibility: hidden; -webkit-backface-visibility: hidden; text-align: left; font-size: .92rem; -webkit-user-select: none; user-select: none; }
.face small { color: var(--doux); font-size: .78rem; }
.face.dos { transform: rotateY(180deg); background: color-mix(in srgb, var(--c-etudiant) 14%, var(--carte-fond)); }
.notes4 { margin-top: 10px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.notes4 span { display: grid; place-items: center; min-height: 32px; border-radius: 9px; font-size: .78rem; font-weight: 600; background: var(--carte-fond); box-shadow: inset 0 0 0 1px var(--trait-doux); }
.notes4 span:nth-child(1) { color: #A3262B; } .notes4 span:nth-child(4) { color: #1E7A48; }
@media (prefers-color-scheme: dark) { .notes4 span:nth-child(1) { color: #FF9A9D; } .notes4 span:nth-child(4) { color: #7FE0A8; } }
.pret { margin-top: 10px; display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--doux); }
.pret svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.phrase { display: grid; gap: 8px; }
.phrase .dit { padding: 9px 12px; border-radius: 12px 12px 12px 4px; background: color-mix(in srgb, var(--pastel) 60%, var(--carte-fond)); font-size: .88rem; }
.phrase .compris { display: flex; flex-wrap: wrap; gap: 6px; }
.phrase .compris span { padding: 4px 9px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: var(--carte-fond); box-shadow: inset 0 0 0 1px var(--trait-doux); }
.matrice { margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.matrice div { padding: 7px 9px; border-radius: 10px; font-size: .78rem; line-height: 1.3; background: var(--carte-fond); box-shadow: inset 0 0 0 1px var(--trait-doux); }
.matrice div:first-child { background: color-mix(in srgb, var(--c-perso) 16%, var(--carte-fond)); box-shadow: none; }
.matrice b { display: block; font-size: .72rem; color: var(--doux); font-weight: 600; }
.semaine { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; }
.jour { display: grid; gap: 4px; align-content: start; min-height: 120px; }
.jour > b { font-size: .74rem; color: var(--doux); font-weight: 600; text-align: center; }
.evt { padding: 4px 5px; border-radius: 6px; font-size: .7rem; line-height: 1.2; background: color-mix(in srgb, var(--c) 22%, var(--carte-fond)); box-shadow: inset 2px 0 0 var(--c); overflow: hidden; }
.evt.libre { background: transparent; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--vert) 65%, transparent); color: #1E7A48; font-weight: 600; text-align: center; }
@media (prefers-color-scheme: dark) { .evt.libre { color: #7FE0A8; } }
.legende-agenda { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 10px; font-size: .78rem; color: var(--doux); }
.legende-agenda span { display: inline-flex; align-items: center; gap: 5px; }
.legende-agenda i { width: 9px; height: 9px; border-radius: 3px; background: var(--c); }
.habitudes { display: grid; gap: 6px; }
.hab { display: grid; grid-template-columns: minmax(0, 1fr) repeat(7, 26px); gap: 4px; align-items: center; font-size: .82rem; }
.hab.tete { font-size: .7rem; color: var(--doux); font-weight: 600; text-align: center; }
.hab.tete span:first-child { text-align: left; }
.case { width: 26px; height: 26px; border: 0; border-radius: 8px; padding: 0; cursor: pointer; background: var(--carte-fond); box-shadow: inset 0 0 0 1.5px var(--trait-doux); display: grid; place-items: center; transition: background-color 160ms var(--ease-out), transform 140ms var(--ease-out); }
.case:active { transform: scale(.9); }
.case svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(.6); transition: opacity 160ms var(--ease-out), transform 260ms var(--ease-rebond); }
.case[aria-pressed="true"] { background: var(--c-perso); box-shadow: none; }
.case[aria-pressed="true"] svg { opacity: 1; transform: none; }
.a-part { margin-top: 10px; display: flex; gap: 8px; align-items: center; font-size: .8rem; color: var(--doux); }
.a-part svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.plus-rapide { display: grid; gap: 8px; }
.plus-rapide .champ { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--violet) 30%, transparent); font-size: .88rem; }
.plus-rapide .champ .caret { width: 1.5px; height: 1.1em; background: var(--violet); animation: caret 1.1s steps(1) infinite; }
@media (prefers-color-scheme: dark) { .plus-rapide .champ .caret { background: #E3D3F2; } }
@keyframes caret { 50% { opacity: 0; } }
.plus-rapide .ou { display: flex; flex-wrap: wrap; gap: 6px; }
.plus-rapide .ou span { padding: 5px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: var(--carte-fond); box-shadow: inset 0 0 0 1px var(--trait-doux); }
.plus-rapide .ou span.propose { background: var(--violet); color: #FBFAF6; box-shadow: none; }
@media (prefers-color-scheme: dark) { .plus-rapide .ou span.propose { background: #E3D3F2; color: #2E1F3B; } }
.partiel { color: var(--doux); font-size: .8rem; }

.apres-vues { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 28px; }
.apres-vues p { margin: 0; flex: 1 1 18em; font-weight: 600; }


.chez-toi { padding-block: clamp(48px, 7vw, 88px); background: color-mix(in srgb, var(--c-etudiant) 10%, var(--fond)); }
@media (prefers-color-scheme: dark) { .chez-toi { background: color-mix(in srgb, var(--c-etudiant) 7%, var(--fond)); } }
.chez-grille { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 960px) { .chez-grille { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; } }
.garanties { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.garanties li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; }
.garanties .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--carte-fond); box-shadow: var(--ombre-douce); color: var(--or-texte); }
.garanties .ico svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.garanties b { display: block; font-weight: 600; }
.garanties span { color: var(--doux); line-height: 1.5; }
.beta { padding: clamp(20px, 3vw, 30px); border-radius: var(--rayon); background: var(--carte-fond); box-shadow: var(--ombre-grande); }
.beta h3 { margin: 0; font-family: var(--police-titre); font-weight: 400; font-size: clamp(1.5rem, 1.2rem + .8vw, 1.9rem); line-height: 1.15; }
.beta p { margin: 12px 0 0; color: var(--doux); line-height: 1.55; }
.beta dl { margin: 18px 0 0; display: grid; gap: 12px; }
.beta dl div { display: grid; grid-template-columns: minmax(0, 8.5em) minmax(0, 1fr); gap: 4px 14px; padding-top: 12px; box-shadow: inset 0 1px 0 var(--trait-doux); }
@media (max-width: 520px) { .beta dl div { grid-template-columns: minmax(0, 1fr); } }
.beta dt { font-weight: 600; }
.beta dd { margin: 0; color: var(--doux); line-height: 1.5; }


.structure { position: relative; padding-block: clamp(56px, 8vw, 104px); background: color-mix(in srgb, var(--c-employe) 8%, var(--fond)); overflow: hidden; }
@media (prefers-color-scheme: dark) { .structure { background: color-mix(in srgb, var(--c-employe) 6%, var(--fond)); } }
.structure h2 { max-width: 16em; }
.voile-dessin { position: absolute; right: clamp(-60px, -3vw, -10px); bottom: -14px; width: min(420px, 40vw); height: auto; pointer-events: none; }
.voile-dessin path { fill: none; stroke: var(--violet); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: .55; }
.voile-dessin .v-plein { fill: color-mix(in srgb, var(--c-employe) 14%, transparent); stroke: var(--violet); }
.voile-dessin .v-or { stroke: #C9A24D; opacity: .9; }
@media (prefers-color-scheme: dark) { .voile-dessin path, .voile-dessin .v-plein { stroke: #E3D3F2; } }
@media (max-width: 720px) { .voile-dessin { display: none; } }
.structure .page { position: relative; }


@media (prefers-reduced-motion: reduce) {
  .ecran, .ecran > *, .v, .choisi-corps, .carte-rev button, .case svg, .pp, .autre, .bouton, .e-btn { transition-duration: 1ms !important; }
  .dessine-avant .ecran, .dessine-avant .ecran > * { opacity: 1; transform: none; filter: none; }
  .plus-rapide .champ .caret { animation: none; }
  .crayon-el { display: none; }
}
