/* Pages de service v2 (06, 24/10/2026) : contact, roadmap, désinstallation, 404.
   Compositions asymétriques de la charte (7/5), cartes en relief, Nix avec .nix et .socle. Chargé après site-v2.css.
   Les formulaires (action, name, champs anti-robot) et les scripts de ces pages sont inchangés. */

.grille > * { min-width: 0; }
.socle { bottom: 0; }

/* champs de formulaire communs */
.ct-field { margin-bottom: 16px; }
.ct-field label { display: block; margin-bottom: 8px; font: 600 12px/1 var(--corps); letter-spacing: .14em; text-transform: uppercase; color: var(--or); }
.ct-field input, .ct-field textarea, .un-free { width: 100%; font: 400 16px/1.5 var(--corps); color: var(--texte); background: rgba(0, 0, 0, .3); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px; padding: 14px 16px; transition: border-color .2s, box-shadow .2s, background .2s; resize: vertical; }
.ct-field input:focus, .ct-field textarea:focus, .un-free:focus { outline: none; border-color: var(--or-35); background: var(--or-06); box-shadow: 0 0 0 4px rgba(224, 169, 81, .12); }
.ct-field input::placeholder, .ct-field textarea::placeholder, .un-free::placeholder { color: var(--gris-2); }
button.btn { border: 0; cursor: pointer; }
button.btn-ligne { border: 1px solid rgba(255, 255, 255, .16); }
.btn[disabled] { opacity: .55; cursor: default; transform: none; }

/* ═════════ CONTACT : formulaire 7 | infos 5 ═════════ */
.ct-wrap { padding-top: 64px; }
.ct-hero .display { margin-top: 20px; font-size: 64px; }
.ct-hero .chapo { max-width: 52ch; }
.ct-form { margin-top: 40px; padding: 36px; }
.ct-card h2 { font: 700 26px/1.15 var(--titre); letter-spacing: -.015em; }
.ct-card .sub { margin: 8px 0 24px; color: var(--gris); font-size: 15.5px; }
.ct-champs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.ct-field textarea { min-height: 150px; }
.ct-envoi { display: flex; align-items: center; gap: 22px; margin-top: 6px; }
.ct-note { font-size: 13px; color: var(--gris-2); line-height: 1.55; }
.ct-note a { color: var(--or); text-decoration: underline; text-underline-offset: 2px; }
.ct-ok { display: none; align-items: flex-start; gap: 12px; margin-bottom: 22px; padding: 16px 18px; border-radius: 14px; font-size: 15px; line-height: 1.55;
         color: #9BE8C1; background: rgba(62, 207, 142, .08); border: 1px solid rgba(62, 207, 142, .3); }
.ct-ok.show { display: flex; }
.ct-ok svg { flex: none; width: 22px; height: 22px; color: var(--vert); }
.ct-aside { display: grid; gap: 18px; position: sticky; top: 96px; }
.ct-scene { position: relative; height: 270px; display: grid; place-items: end center; }
.ct-scene .socle { bottom: 6px; width: 240px; }
.ct-scene img { position: relative; width: 270px; }
.ct-aside .ct-card { padding: 26px; }
.ct-line { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; color: var(--texte); }
.ct-line + .ct-line { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--trait); }
.ct-line .ic { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--or); background: var(--or-06); border: 1px solid var(--or-20); }
.ct-line .ic svg { width: 20px; height: 20px; }
.ct-line a { color: var(--or); font-weight: 600; }
.ct-line small { display: block; margin-top: 3px; color: var(--gris); font-size: 14px; }
.ct-nl h2 { font-size: 22px; }
.ct-nl .sub { margin-bottom: 16px; }
.ct-nl .ct-field { margin-bottom: 12px; }
.ct-nl .btn { width: 100%; justify-content: center; }

/* ═════════ ROADMAP : héros 7/5, tableau en 3 colonnes, bande lumineuse ═════════ */
.rm-heros { padding-top: 40px; padding-bottom: 104px; }
.rm-heros .ariane { margin-bottom: 40px; }
.rm-heros .display { margin-top: 22px; font-size: 62px; }
.rm-heros .display .acc { background: linear-gradient(100deg, var(--or-clair), var(--or) 50%, var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rm-scene { position: relative; height: 380px; display: grid; place-items: end center; }
.rm-scene .socle { bottom: 4px; width: 260px; }
.rm-scene img { position: relative; width: 330px; }
.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gouttiere); align-items: start; }
.board > * { min-width: 0; }
.col { padding: 22px; }
.col-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--trait); font: 700 18px/1.2 var(--titre); }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot.doing { background: var(--or); box-shadow: 0 0 12px var(--or); }
.dot.planned { background: var(--orange); box-shadow: 0 0 10px rgba(255, 140, 56, .6); }
.dot.vote { background: var(--vert); box-shadow: 0 0 10px rgba(62, 207, 142, .6); }
.item { padding: 16px 18px; margin-bottom: 12px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--trait); }
.item:last-child { margin-bottom: 0; }
.item.doing { border-color: var(--or-35); background: var(--or-06); }
.item h3 { font: 600 16px/1.35 var(--corps); color: var(--texte); }
.item p { margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--gris); }
.vote-row { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.vote-btn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 16px; border-radius: var(--pilule); cursor: pointer; font: 600 14px/1 var(--corps);
            color: var(--or); background: var(--or-06); border: 1px solid var(--or-35); transition: background .2s, color .2s; }
.vote-btn:hover { background: var(--or-12); }
.vote-btn.voted { color: var(--or-encre); background: linear-gradient(180deg, var(--or-clair), var(--or)); border-color: transparent; cursor: default; }
.vote-count { font: 700 18px/1 var(--corps); color: var(--texte); }
.final .h2 { margin-top: 0; }
.final-btns { display: flex; justify-content: flex-end; }

/* ═════════ DÉSINSTALLATION : question 7 | Nix et retour 5 ═════════ */
.un-wrap { padding-top: 64px; }
.un-h { font-size: 60px; }
.un-sub { max-width: 54ch; }
.un-card { margin-top: 36px; padding: 32px; }
.un-q { font: 700 24px/1.25 var(--titre); letter-spacing: -.01em; margin-bottom: 18px; }
.un-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.un-opt { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; cursor: pointer; font-size: 15.5px; line-height: 1.45;
          background: rgba(255, 255, 255, .03); border: 1px solid var(--trait); transition: border-color .2s, background .2s; }
.un-opt:hover { border-color: var(--or-35); background: var(--or-06); }
.un-opt:has(input:checked) { border-color: var(--or); background: rgba(224, 169, 81, .12); }
.un-opt input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--or); }
.un-free { min-height: 100px; }
.un-envoi { display: flex; align-items: center; gap: 22px; margin-top: 16px; }
.un-note { font-size: 13px; color: var(--gris-2); line-height: 1.55; }
.un-ok { display: none; padding: 18px 20px; border-radius: 14px; font-size: 16px; line-height: 1.6; color: #9BE8C1; background: rgba(62, 207, 142, .08); border: 1px solid rgba(62, 207, 142, .3); }
.un-ok.show { display: block; }
.un-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.un-aside { display: grid; gap: 18px; position: sticky; top: 96px; }
.un-scene { position: relative; height: 320px; display: grid; place-items: end center; }
.un-scene .socle { bottom: 6px; width: 240px; }
.un-scene img { position: relative; width: 300px; }
.un-after { font-size: 16px; line-height: 1.6; color: var(--gris); }
.un-after a { color: var(--or); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ═════════ 404 : texte 7 | Nix 5 ═════════ */
.nf-wrap { min-height: calc(100vh - 72px); display: flex; align-items: center; padding-top: 72px; }
.nf-wrap > .conteneur { width: min(var(--largeur), 100% - 2 * var(--gouttiere)); }
.nf-glow { position: absolute; right: 8%; top: 50%; transform: translateY(-50%); width: 640px; height: 520px; max-width: 100%; pointer-events: none; z-index: -1;
           background: radial-gradient(closest-side, rgba(224, 169, 81, .18), transparent 70%); }
.nf-code { font: 800 clamp(96px, 13vw, 180px)/.9 var(--titre); letter-spacing: -.04em;
           background: linear-gradient(100deg, var(--or-clair), var(--or) 50%, var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf-title { margin-top: 18px; font: 700 clamp(32px, 3.4vw, 48px)/1.06 var(--titre); letter-spacing: -.025em; }
.nf-sub { margin-top: 16px; font-size: 19px; line-height: 1.55; color: var(--gris); max-width: 50ch; }
.nf-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.nf-links { margin-top: 32px; font-size: 15px; color: var(--gris); }
.nf-links a { color: var(--or); }
.nf-links a:hover { text-decoration: underline; }
.nf-emblem { position: relative; height: 420px; display: grid; place-items: end center; }
.nf-emblem .socle { bottom: 8px; width: 280px; }
.nf-emblem img { position: relative; width: 380px; }

/* bandeau newsletter (newsletter-band.js, roadmap) au dessin v2, comme sur les fiches */
body section.nx-nl { display: block; padding: var(--sec) 0; background: linear-gradient(180deg, var(--noir), var(--charbon)); border-top: 1px solid var(--trait); }
body .nx-nl .nx-nl-card { width: min(var(--largeur), 100% - 2 * var(--gouttiere)); max-width: none; margin-inline: auto; display: grid; grid-template-columns: 7fr 5fr; column-gap: 56px; align-items: center;
  grid-template-areas: "pill form" "titre form" "texte note"; text-align: left; padding: 40px; border-radius: var(--rayon);
  background: radial-gradient(700px 300px at 0% 0%, rgba(224, 169, 81, .14), transparent 70%), linear-gradient(180deg, var(--charbon-3), var(--charbon-2)); border: 1px solid var(--or-20); box-shadow: var(--ombre); }
body .nx-nl .nx-nl-pill { grid-area: pill; justify-self: start; color: var(--or); background: var(--or-06); border-color: var(--or-35); }
body .nx-nl .nx-nl-card > h2 { grid-area: titre; text-align: left; font: 700 clamp(28px, 2.6vw, 38px)/1.1 var(--titre); letter-spacing: -.02em; color: var(--texte); }
body .nx-nl .nx-nl-card > p { grid-area: texte; text-align: left; margin: 0; max-width: 52ch; color: var(--gris); font-size: 16px; }
body .nx-nl form { grid-area: form; max-width: none; width: 100%; margin: 0; align-self: end; }
body .nx-nl .nx-nl-note { grid-area: note; max-width: none; margin: 14px 0 0; text-align: left; align-self: start; }
body .nx-nl .nx-nl-note a { color: var(--or); }
body .nx-nl input[type=email] { height: 52px; border-radius: var(--pilule); padding: 0 20px; }
body .nx-nl input[type=email]:focus { border-color: var(--or-35); background: var(--or-06); }
body .nx-nl button { height: 52px; border-radius: var(--pilule); padding: 0 26px; font: 600 16px/1 var(--corps); color: var(--or-encre);
  background: linear-gradient(180deg, var(--or-clair), var(--or)); box-shadow: 0 10px 30px -8px rgba(224, 169, 81, .55), inset 0 1px 0 rgba(255, 255, 255, .5); }

/* ═════════════ MOBILE 390 ═════════════ */
@media (max-width: 760px) {
  .ct-wrap, .un-wrap { padding-top: 32px; }
  .ct-hero .display, .un-h { font-size: 40px; }
  .ct-form, .un-card { margin-top: 28px; padding: 20px 16px; }
  .ct-champs { grid-template-columns: 1fr; }
  .ct-envoi, .un-envoi { flex-direction: column; align-items: stretch; gap: 14px; }
  .ct-envoi .btn, .un-envoi .btn { justify-content: center; }
  .ct-aside, .un-aside { position: static; }
  .ct-scene, .un-scene { display: none; }
  .ct-aside .ct-card { padding: 20px 16px; }
  .rm-heros { padding-top: 20px; padding-bottom: 56px; }
  .rm-heros .ariane { margin-bottom: 24px; }
  .rm-heros .display { font-size: 38px; }
  .rm-scene { height: 220px; } .rm-scene img { width: 200px; } .rm-scene .socle { width: 160px; }
  .board.carrousel > * { flex: 0 0 84%; }
  .col { padding: 16px; }
  .final-btns { justify-content: flex-start; } .final-btns .btn { flex: 1; justify-content: center; }
  .un-opts { grid-template-columns: 1fr; }
  .un-q { font-size: 20px; }
  .nf-wrap { min-height: 0; padding-top: 40px; }
  .nf-scene { order: -1; }
  .nf-emblem { height: 230px; } .nf-emblem img { width: 220px; } .nf-emblem .socle { width: 170px; }
  .nf-sub { font-size: 17px; }
  .nf-actions .btn { flex: 1 1 100%; justify-content: center; }
  body .nx-nl .nx-nl-card { grid-template-columns: 1fr; grid-template-areas: "pill" "titre" "texte" "form" "note"; padding: 24px 16px; row-gap: 12px; }
  body .nx-nl form { margin-top: 8px; }
}
.item.done .pastille { margin-bottom: 8px; }

/* ── finitions (00 + CEO, 24/10 soir) : états visibles sur tout ce qui se clique ── */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, label:focus-within {
  outline: 2px solid var(--or); outline-offset: 3px; border-radius: 10px; }
.btn:active, .px-btn:active, button:active { transform: translateY(0) scale(.98); }
a.carte:active, .carte a:active { filter: brightness(1.08); }
details > summary:hover { color: var(--or-clair); }
/* visuel de carte : pastille d'icône */
.ct-ic { flex: none; width: 42px; height: 42px; border-radius: 12px; display: inline-grid; place-items: center; color: var(--or); background: var(--or-06); border: 1px solid var(--or-20); }
.ct-ic svg { width: 20px; height: 20px; }
.ct-titre { display: flex; align-items: center; gap: 14px; }
.un-after { display: flex; gap: 14px; align-items: flex-start; color: var(--texte); }
/* roadmap : chaque idée porte une icône de son état */
.item { position: relative; padding-left: 60px; }
.item::before { content: ''; position: absolute; left: 16px; top: 16px; width: 30px; height: 30px; border-radius: 9px; background: var(--or-06); border: 1px solid var(--or-20); }
.item::after { content: ''; position: absolute; left: 23px; top: 23px; width: 16px; height: 16px; background: var(--or);
  -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
.col .item { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 3a9 9 0 1 0 9 9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.col .item.done { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); }
.col .item.done::before { background: rgba(62, 207, 142, .08); border-color: rgba(62, 207, 142, .3); } .col .item.done::after { background: var(--vert); }
.col:nth-child(2) .item { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.col-vote .item { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M9 18h6M10 21h4M12 3a6 6 0 0 0-4 10.5c.7.7 1 1.5 1 2.5h6c0-1 .3-1.8 1-2.5A6 6 0 0 0 12 3z'/%3E%3C/svg%3E"); }
.item .pastille { margin-bottom: 8px; }
.item p { color: #C4BEB4; }
.vote-btn:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; }
.vote-btn:active { transform: scale(.97); }

/* Lisibilité (06, 04/11) : roadmap sur tablette, une colonne par statut pour que les titres tiennent. */
@media (min-width: 761px) and (max-width: 1023px) { .board { grid-template-columns: 1fr; } }
