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


input, textarea, select { font: inherit; font-size: 16px; color: inherit; }
h2, h3 { text-wrap: balance; }
.lien-texte { color: var(--lien); font-weight: 600; text-underline-offset: 3px; text-decoration-thickness: 1px; }


.tete-support { position: relative; margin-top: calc(-1 * (var(--entete-h) + env(safe-area-inset-top, 0px))); padding: calc(var(--entete-h) + env(safe-area-inset-top, 0px) + clamp(28px, 5vw, 64px)) 0 clamp(32px, 5vw, 64px); background: var(--bande); }
.tete-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 400px); gap: 32px clamp(32px, 5vw, 72px); align-items: end; }
.tete-support h1 { margin: 0; font-family: var(--police-titre); font-weight: 400; font-size: var(--t-h1); line-height: 1.04; letter-spacing: -.022em; text-wrap: balance; max-width: 13em; }
.tete-support h1 .suite { display: block; color: var(--mot); }
.trait-titre { display: block; width: min(420px, 78%); height: 18px; margin-top: 8px; overflow: visible; }
.trait-titre path { fill: none; stroke: var(--or); stroke-width: 3; stroke-linecap: round; filter: url(#main); }
@media (prefers-reduced-motion: no-preference) {
  .trait-titre path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: trait 900ms var(--ease-out) 180ms forwards; }
}
@keyframes trait { to { stroke-dashoffset: 0; } }
.tete-support .chapeau { margin-top: 18px; max-width: 34em; }
.tete-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.joindre { padding: 22px 24px 20px; border-radius: var(--rayon); background: var(--carte-fond); box-shadow: var(--ombre-grande); }
.joindre h2 { margin: 0 0 14px; font-size: 1rem; font-weight: 600; }
.joindre dl { margin: 0; display: grid; gap: 14px; }
.joindre dt { color: var(--doux); font-size: .86rem; }
.joindre dd { margin: 2px 0 0; line-height: 1.45; }
.joindre .mail { font-family: var(--police-titre); font-size: clamp(1.35rem, 1.1rem + .8vw, 1.6rem); line-height: 1.2; color: var(--lien); text-decoration: none; overflow-wrap: anywhere; box-shadow: inset 0 -1.5px 0 color-mix(in srgb, var(--or) 80%, transparent); }
.joindre .tel { color: var(--lien); font-weight: 600; text-decoration: none; }
.joindre .petit { color: var(--doux); font-size: .92rem; }
@media (hover: hover) and (pointer: fine) { .joindre .mail:hover, .joindre .tel:hover { box-shadow: inset 0 -2px 0 var(--or); } }


.questions { padding-block: clamp(48px, 7vw, 96px); }
.questions > h2, .ecrire-texte h2 { margin: 0; font-family: var(--police-titre); font-weight: 400; font-size: var(--t-h2); line-height: 1.08; letter-spacing: -.015em; }
.faq { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px clamp(32px, 6vw, 96px); margin-top: clamp(22px, 3vw, 36px); }
.sommaire { position: sticky; top: calc(var(--entete-h) + 24px); align-self: start; }
.sommaire ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.sommaire a { display: flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 12px; color: var(--doux); font-weight: 600; font-size: .94rem; text-decoration: none; transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out); }
.sommaire a[aria-current="true"] { background: color-mix(in srgb, var(--pastel) 70%, var(--fond)); color: var(--violet); }
@media (prefers-color-scheme: dark) { .sommaire a[aria-current="true"] { background: rgba(227, 211, 242, .14); color: #F3EEF6; } }
@media (hover: hover) and (pointer: fine) { .sommaire a:hover { color: var(--violet); } }
@media (hover: hover) and (pointer: fine) and (prefers-color-scheme: dark) { .sommaire a:hover { color: #F3EEF6; } }
.groupe + .groupe { margin-top: clamp(36px, 5vw, 56px); }
.groupe h3 { margin: 0 0 6px; font-family: var(--police-titre); font-weight: 400; font-size: clamp(1.4rem, 1.15rem + .7vw, 1.75rem); line-height: 1.15; }
.groupe > p { margin: 0 0 10px; color: var(--doux); max-width: 40em; }
details { box-shadow: inset 0 -1px 0 var(--trait-doux); }
summary { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) 22px; gap: 14px; align-items: center; min-height: 58px; padding: 12px 0; cursor: pointer; font-weight: 600; font-size: 1.02rem; line-height: 1.35; touch-action: manipulation; -webkit-user-select: none; user-select: none; }
summary::-webkit-details-marker { display: none; }
summary svg { width: 20px; height: 20px; fill: none; stroke: var(--or-texte); stroke-width: 2; stroke-linecap: round; transition: transform 220ms var(--ease-out); }
details[open] summary svg { transform: rotate(45deg); }
@media (hover: hover) and (pointer: fine) { summary:hover { color: var(--violet); } }
@media (hover: hover) and (pointer: fine) and (prefers-color-scheme: dark) { summary:hover { color: #E3D3F2; } }
.reponse { padding: 0 0 20px; max-width: 42em; color: var(--doux); line-height: 1.6; }
.reponse p { margin: 0; }
.reponse p + p { margin-top: 10px; }
.reponse b { color: var(--texte); font-weight: 600; }
.reponse a { color: var(--lien); font-weight: 600; text-underline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) { details[open] .reponse { animation: deplie 240ms var(--ease-out); } }
@keyframes deplie { from { opacity: 0; transform: translateY(-4px); } }
details:target summary, details.vise summary { color: var(--violet); }
@media (prefers-color-scheme: dark) { details:target summary, details.vise summary { color: #E3D3F2; } }


.ecrire { padding-block: clamp(48px, 7vw, 96px); background: color-mix(in srgb, var(--pastel) 22%, var(--fond)); }
@media (prefers-color-scheme: dark) { .ecrire { background: var(--bande); } }
.ecrire-grille { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(32px, 6vw, 96px); align-items: start; }
.ecrire-texte .chapeau { margin-top: 14px; }
.utile { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; counter-reset: utile; }
.utile li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: start; line-height: 1.5; counter-increment: utile; }
.utile li::before { content: counter(utile); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--or) 80%, transparent); color: var(--or-texte); font-weight: 600; font-size: .88rem; }
.utile b { font-weight: 600; }
.utile span { color: var(--doux); }
.ecrire-texte .note { margin: 24px 0 0; color: var(--doux); font-size: .95rem; line-height: 1.55; max-width: 30em; }

.carte { position: relative; min-width: 0; padding: clamp(20px, 3vw, 34px); border-radius: 24px; background: var(--carte-fond); box-shadow: var(--ombre-grande), inset 0 3px 0 #C9A24D; }
.form { display: grid; gap: 18px; }
.champ { display: grid; gap: 6px; align-content: start; }
.champ > label, .puces legend { font-weight: 600; font-size: .94rem; }
.facultatif { color: var(--doux); font-weight: 400; }
.aide { margin: -2px 0 0; color: var(--doux); font-size: .86rem; line-height: 1.45; }
.deux { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 16px; }
.saisie { caret-color: var(--violet); width: 100%; min-height: 50px; 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); transition: box-shadow 160ms var(--ease-out); }
textarea.saisie { min-height: 150px; resize: vertical; line-height: 1.5; }
.saisie::placeholder { color: color-mix(in srgb, var(--doux) 85%, transparent); }
.saisie:focus { outline: none; box-shadow: inset 0 0 0 2px var(--violet); }
.saisie:focus-visible { outline: 3px solid var(--or); outline-offset: 2px; }
.saisie[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #B4232A; }
@media (prefers-color-scheme: dark) {
  .saisie { caret-color: #E3D3F2; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .28); }
  .saisie:focus { box-shadow: inset 0 0 0 2px #E3D3F2; }
  .saisie[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #FF9A9E; }
}
.puces { margin: 0; padding: 0; border: 0; min-width: 0; }
.puces legend { width: 100%; margin-bottom: 8px; padding: 0; }
.puces .liste { display: flex; flex-wrap: wrap; gap: 8px; }
.puce { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 15px; 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 var(--ease-out), box-shadow 160ms var(--ease-out), transform 120ms var(--ease-out); -webkit-user-select: none; user-select: none; touch-action: manipulation; }
.puce input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.puce:active { transform: scale(.97); }
.puce:has(input:checked) { background: color-mix(in srgb, var(--violet) 14%, var(--carte-fond)); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--violet) 60%, transparent); color: var(--violet); }
.puce:has(input:focus-visible) { outline: 3px solid var(--or); outline-offset: 2px; }
.puces[aria-invalid="true"] legend { color: #B4232A; }
@media (prefers-color-scheme: dark) {
  .puce { background: rgba(255, 255, 255, .06); }
  .puce:has(input:checked) { background: rgba(227, 211, 242, .18); box-shadow: inset 0 0 0 1.5px rgba(227, 211, 242, .6); color: #F3EEF6; }
  .puces[aria-invalid="true"] legend { color: #FF9A9E; }
}
@media (hover: hover) and (pointer: fine) { .puce:hover { background: color-mix(in srgb, var(--pastel) 60%, var(--carte-fond)); } }
.selon-sujet { display: grid; gap: 18px; }
.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; } }
.erreur { margin: 0; color: #B4232A; font-size: .88rem; font-weight: 600; line-height: 1.4; }
@media (prefers-color-scheme: dark) { .erreur { color: #FF9A9E; } }
.alerte { margin: 0; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, #B4232A 9%, var(--carte-fond)); color: #8E1B21; font-weight: 600; font-size: .94rem; line-height: 1.45; }
.alerte a { color: inherit; }
@media (prefers-color-scheme: dark) { .alerte { background: rgba(255, 154, 158, .12); color: #FFC2C4; } }
.saisie-fichier { width: 100%; min-height: 50px; padding: 6px; 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); font-size: .92rem; color: var(--doux); cursor: pointer; }
.saisie-fichier::file-selector-button { min-height: 38px; margin-right: 12px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--violet); font: inherit; font-weight: 600; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, #C9A24D 75%, transparent); cursor: pointer; }
.saisie-fichier:focus-visible { outline: 3px solid var(--or); outline-offset: 2px; }
.saisie-fichier[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #B4232A; }
.fichier.choisi .saisie-fichier { display: none; }
.apercu { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px; border-radius: 14px; background: color-mix(in srgb, var(--pastel) 26%, var(--carte-fond)); }
.apercu img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; background: var(--fond); }
.apercu span { font-size: .9rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.retirer { min-height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--violet); font-weight: 600; font-size: .9rem; cursor: pointer; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--violet) 35%, transparent); }
.retirer:active { transform: scale(.97); }
@media (prefers-color-scheme: dark) {
  .saisie-fichier, .apercu { background: rgba(255, 255, 255, .06); }
  .saisie-fichier { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .28); }
  .saisie-fichier::file-selector-button, .retirer { color: #F3EEF6; }
  .saisie-fichier[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #FF9A9E; }
}
.bas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.bouton[disabled] { opacity: .55; cursor: progress; }
.rgpd { margin: 0; color: var(--doux); font-size: .86rem; line-height: 1.5; }
.rgpd a, .carte .lien { color: var(--lien); font-weight: 600; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.parti { display: grid; gap: 12px; justify-items: start; }
.parti h3 { margin: 0; font-family: var(--police-titre); font-weight: 400; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.1rem); line-height: 1.12; }
.parti h3:focus { outline: none; }
.parti p { margin: 0; color: var(--doux); line-height: 1.55; max-width: 32em; }
.parti b { color: var(--texte); font-weight: 600; overflow-wrap: anywhere; }
.coche { width: 44px; height: 44px; fill: none; stroke: var(--or); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: no-preference) {
  .parti:not([hidden]) { animation: parti 320ms var(--ease-out) both; }
  .parti:not([hidden]) .coche path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: trait 600ms var(--ease-out) 160ms forwards; }
}
@keyframes parti { from { opacity: 0; transform: translateY(8px); filter: blur(3px); } }

@media (max-width: 1023px) {
  .tete-grille { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .sommaire { position: static; }
  .sommaire ul { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * clamp(16px, 5vw, 80px)); padding-inline: clamp(16px, 5vw, 80px); overscroll-behavior-x: contain; }
  .sommaire ul::-webkit-scrollbar { display: none; }
  .sommaire a { white-space: nowrap; background: color-mix(in srgb, var(--pastel) 32%, var(--fond)); border-radius: 999px; padding: 0 14px; }
  .ecrire-grille { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .deux { grid-template-columns: minmax(0, 1fr); }
  .carte { padding: 20px 16px 18px; border-radius: 20px; }
  .tete-actions .bouton { flex: 1 1 100%; }
  .bas .bouton { width: 100%; }
}
@media print { .ecrire, .tete-actions, .sommaire { display: none !important; } details .reponse { display: block; } }
