/* Maquette de l'accueil, 12 nov. 2026 (aperçu seulement) */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 36px; }
.door { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 28px 24px; border-radius: 22px; color: var(--ink); text-decoration: none;
  background: linear-gradient(180deg, var(--card-top), var(--card)); border: 1px solid var(--line); box-shadow: inset 0 1px 0 var(--sheen), var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease; overflow: hidden; }
.door::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--door, var(--accent)); }
.door--apps { --door: #2F6FDB; }
.door--biz { --door: #2E9E5B; }
.door:hover { transform: translateY(-3px); }
.door:focus-visible { outline: 2px solid var(--door); outline-offset: 3px; }
.door-label { font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--door); }
.door-title { font-size: clamp(22px, 2.6vw, 28px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.door-text { color: var(--soft); font-size: 16px; max-width: 44ch; }
.door-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.chip { font-family: var(--sans); font-size: 13px; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; background: var(--paper); }
.chip--live { border-color: var(--live); color: var(--live); background: var(--live-bg); font-weight: 600; }
.door-go { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--door); }

.nav-soon { color: var(--faint); cursor: default; font-size: inherit; }
.nav-soon::after { content: " · bientôt"; font-size: .8em; }
.carnet-more .nav-soon::after { content: ""; }

.group-head { padding-top: 64px; padding-bottom: 8px; border-top: 1px solid var(--line); margin-top: 24px; }
.group-title { font-size: clamp(28px, 4vw, 42px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 600; margin: 0 0 18px; max-width: 24ch; }
.group-title span { color: var(--faint); }
.group-nav { display: flex; flex-wrap: wrap; gap: 6px; }
.group-nav a { font-size: 14px; color: var(--ink); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; background: var(--card); }
.group-nav a:hover { border-color: var(--ink); }

.app-sub .thumb { outline: 2px solid #2F6FDB; outline-offset: -2px; }
.thumb--soon { display: grid; place-items: center; aspect-ratio: 16 / 10; background: repeating-linear-gradient(135deg, var(--board) 0 12px, var(--paper) 12px 24px); }
.thumb--soon span { font: 600 22px/1 var(--sans); letter-spacing: -0.02em; color: var(--soft); }

.stack-head { margin: 18px 0 8px; font-size: 14px; color: var(--soft); }
.tools li { display: inline-flex; gap: 6px; align-items: baseline; }
.tools small { color: var(--faint); font-size: 12px; }

.carnet { margin-top: 18px; }
.carnet .label { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.carnet-date { text-transform: none; letter-spacing: 0; color: var(--faint); }
.carnet-title { font-size: clamp(20px, 2.4vw, 26px); letter-spacing: -0.02em; font-weight: 600; margin: 0 0 14px; }
.carnet-title span { color: var(--faint); }
.carnet-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.carnet-list li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: baseline; padding-top: 12px; border-top: 1px solid var(--line); }
.carnet-list time { font: 500 12px/1.4 var(--mono); color: var(--faint); }
.carnet-list p { margin: 0; color: var(--soft); font-size: 15px; }
.carnet-list b { color: var(--ink); font-weight: 600; }
.carnet-more { margin: 16px 0 0; font-size: 14px; }

@media (max-width: 700px) {
  header .nav-soon { display: none; }
  .doors { grid-template-columns: 1fr; }
  .door { padding: 22px 20px 20px; }
  .carnet-list li { grid-template-columns: 1fr; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) { .door { transition: none; } }

/* Ndakaaru : vues du jeu en stickers */
.thumb--stickers { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--board); overflow: hidden; }
.thumb--stickers img { position: absolute; width: 62%; height: auto; top: auto; aspect-ratio: 16 / 9; object-fit: cover; border: 4px solid #fff; border-radius: 6px; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .45); }
.thumb--stickers img:nth-child(1) { left: 3%; top: 5%; width: 50%; transform: rotate(-4deg); z-index: 1; }
.thumb--stickers img:nth-child(2) { right: 3%; top: 3%; width: 50%; transform: rotate(3.5deg); }
.thumb--stickers img:nth-child(3) { left: 22%; bottom: 4%; width: 56%; transform: rotate(-1deg); z-index: 2; }

/* pastille « veille » en haut à droite, sous le menu */
.veille-pop { position: fixed; top: 74px; right: 16px; z-index: 40; display: flex; align-items: center; gap: 4px; max-width: min(320px, calc(100vw - 32px));
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 8px 6px 8px 12px; font-size: 14px; }
.veille-pop[hidden] { display: none; }
.veille-pop a { display: flex; flex-direction: column; gap: 2px; color: var(--ink); text-decoration: none; min-width: 0; }
.vp-label { font: 500 11px/1.2 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--live); }
.vp-label::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--live); margin-right: 6px; vertical-align: 1px; }
.vp-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.veille-pop a:hover .vp-text { text-decoration: underline; }
.vp-close { flex: none; width: 28px; height: 28px; border: 0; background: none; color: var(--faint); font-size: 18px; line-height: 1; cursor: pointer; border-radius: 8px; }
.vp-close:hover { background: var(--board); color: var(--ink); }
@media (max-width: 560px) { .veille-pop { top: 62px; right: 10px; font-size: 13px; } }

/* variante : on ouvre directement sur les applis */
.intro--court { padding-block: 40px 8px; }
.intro--court { padding-block: 28px 0; }
.intro--court h1 { font-size: clamp(28px, 3.4vw, 40px); max-width: 26ch; }
.intro--court .lede { margin-top: 10px; }
#applis { padding-top: 28px; }
#veille, #applis, #services { scroll-margin-top: 76px; }

/* réseau outils ↔ tâches */
.reseau { --c-anthropic: #C2683A; --c-google: #2F6FDB; --c-autre: #7A7B84; --c-tache: #2E9E5B; position: relative; margin: 6px 0 0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .reseau { --c-anthropic: #E58A5B; --c-google: #6A9BF0; --c-autre: #A6A7AF; --c-tache: #4FC383; } }
:root[data-theme="dark"] .reseau { --c-anthropic: #E58A5B; --c-google: #6A9BF0; --c-autre: #A6A7AF; --c-tache: #4FC383; }
.reseau svg { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--sans); }
.rs-link { fill: none; stroke: var(--line); stroke-width: 1.4; transition: stroke .25s, stroke-width .25s, opacity .25s; }
.rs-link.fam-anthropic { stroke: color-mix(in srgb, var(--c-anthropic) 30%, var(--line)); }
.rs-link.fam-google { stroke: color-mix(in srgb, var(--c-google) 30%, var(--line)); }
.rs-link.fam-autre { stroke: color-mix(in srgb, var(--c-autre) 30%, var(--line)); }
.is-active .rs-link { opacity: .18; }
.is-active .rs-link.lit { opacity: 1; stroke-width: 2.4; }
.rs-link.lit.fam-anthropic { stroke: var(--c-anthropic); }
.rs-link.lit.fam-google { stroke: var(--c-google); }
.rs-link.lit.fam-autre { stroke: var(--c-autre); }
.rs-pulse { fill: var(--accent); pointer-events: none; }
.rs-node { cursor: pointer; outline: none; }
.rs-node circle { stroke: var(--card); stroke-width: 2.5; transition: r .2s; }
.rs-node.fam-anthropic circle { fill: var(--c-anthropic); }
.rs-node.fam-google circle { fill: var(--c-google); }
.rs-node.fam-autre circle { fill: var(--c-autre); }
.rs-tache circle { fill: var(--c-tache); }
.rs-node text { fill: var(--ink); transition: opacity .25s; }
.rs-tache text { font-weight: 600; }
.is-active .rs-node:not(.lit) text { opacity: .35; }
.rs-node.lit circle { r: 8; }
.rs-node:focus-visible text { text-decoration: underline; }
.rs-info { min-height: 3em; margin: 10px 0 0; font-size: 15px; color: var(--soft); }
.rs-info b { color: var(--ink); }
.rs-legend { display: flex; flex-wrap: wrap; gap: 14px; margin: 10px 0 0; font-size: 13px; color: var(--faint); }
.rs-legend span::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: 0; background: var(--c); }
.rs-legend .fam-anthropic { --c: #C2683A; } .rs-legend .fam-google { --c: #2F6FDB; } .rs-legend .fam-autre { --c: #7A7B84; } .rs-legend .rs-t { --c: #2E9E5B; }
.rs-fail::after { content: "Le schéma n’a pas pu se charger."; color: var(--faint); font-size: 14px; }
@media (prefers-reduced-motion: reduce) { .rs-link, .rs-node text { transition: none; } }

/* v3 : bouton contact, groupes, « Voir plus », comment ça marche */
.cta, .nav-cta { display: inline-block; font-weight: 600; text-decoration: none; border-radius: 999px; background: var(--ink); color: var(--paper) !important; }
.cta { padding: 12px 22px; font-size: 16px; }
.nav-cta { padding: 6px 14px; }
.cta:hover, .nav-cta:hover { opacity: .88; }
.cta:focus-visible, .nav-cta:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.grp-cta { margin: 22px 0 0; }
.sub-head { margin: 18px 0 6px; font: 500 12px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--soft); }
.anchor { display: block; position: relative; top: -76px; height: 0; }
details.more { margin-top: 10px; }
details.more > summary { display: inline-flex; gap: 8px; align-items: center; cursor: pointer; list-style: none; font-weight: 600; font-size: 15px;
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; background: var(--card); }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::after { content: "↓"; }
details.more[open] > summary::after { content: "↑"; }
details.more > summary:hover { border-color: var(--ink); }
details.more > .board { margin-top: 12px; }
#methode { scroll-margin-top: 76px; margin-top: 40px; }
.steps { list-style: none; counter-reset: st; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.steps li { counter-increment: st; display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.steps li::before { content: counter(st); font: 600 13px/1 var(--mono); color: var(--paper); background: #2E9E5B; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; }
.steps b { font-size: 17px; }
.steps span { color: var(--soft); font-size: 15px; }
.contact-sub { color: var(--soft); margin: 6px 0 14px; }
.thumb--velo { background: repeating-linear-gradient(135deg, color-mix(in srgb, #2F6FDB 12%, var(--board)) 0 12px, var(--paper) 12px 24px); }
@media (max-width: 700px) {
  header .nav-cta, header nav a[href="#methode"] { display: none; }
  .steps { grid-template-columns: 1fr; }
}
.thumb--jeu { background: repeating-linear-gradient(135deg, color-mix(in srgb, #E8702A 12%, var(--board)) 0 12px, var(--paper) 12px 24px); }
:lang(en) .nav-soon::after { content: " · soon"; }
:lang(en) .carnet-more .nav-soon::after { content: ""; }
/* Ndakaaru Gox City : miniature sur la carte, fenêtre des vues au clic (Richard, 12 nov. 2026) */
.app-jeu { cursor: pointer; text-align: left; font: inherit; color: inherit; }
.jeu-dlg { padding: 0; border: 0; background: transparent; overflow: visible; width: min(1100px, 94vw, calc((100dvh - 150px) * 16 / 9)); max-width: none; max-height: none; }
.jeu-dlg::backdrop { background: rgba(10, 12, 16, .82); }
.jd-box { position: relative; display: grid; gap: 10px; }
.jd-stage { position: relative; background: #000; border-radius: 6px; overflow: hidden; }
.jd-big { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.jd-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.88); color: #111; font: 600 28px/1 var(--sans, sans-serif); cursor: pointer; }
.jd-prev { left: 10px; } .jd-next { right: 10px; }
.jd-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: #111; font: 400 26px/1 var(--sans, sans-serif); cursor: pointer; }
.jd-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(96px, 1fr); gap: 6px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 2px; }
.jd-strip button { padding: 0; border: 0; background: none; cursor: pointer; border-radius: 3px; overflow: hidden; opacity: .6; outline: 2px solid transparent; outline-offset: -2px; }
.jd-strip button[aria-current="true"] { opacity: 1; outline-color: #FFCD40; }
.jd-strip img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 600px) { .jd-nav { width: 36px; height: 36px; font-size: 22px; } .jd-close { width: 34px; height: 34px; font-size: 22px; } }

/* Applis : miniatures 16:9 façon YouTube, sans recadrage (Richard, 12 nov. 2026) */
#applis .note--app .thumb, #apps .note--app .thumb { aspect-ratio: 16 / 9; }
/* Jeux : badge cliquable (image → jeu, titre → page du jeu), boutons Jouer / Découvrir (Richard, 20 nov. 2026) */
.app-game { cursor: default; }
.app-game .thumb { display: block; position: relative; }
.app-game .thumb::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0); transition: background .2s ease; }
.app-game .thumb:hover::after, .app-game .thumb:focus-visible::after { background: rgba(0, 0, 0, .12); }
.app-game .g-link { text-decoration: none; color: inherit; }
.app-game .g-link:hover, .app-game .g-link:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.g-btns { display: flex; gap: 8px; margin-top: 4px; }
.g-btns a { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 0 14px; border-radius: 999px; font: 700 14px/1 var(--sans); text-decoration: none; transition: transform .15s ease; }
.g-btns a:hover, .g-btns a:focus-visible { transform: translateY(-1px); }
.g-play { flex: 1; color: #fff; background: var(--g, #E8702A); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .18); }
.g-play svg { width: 13px; height: 13px; }
.g-more { color: var(--note-ink); border: 1px solid var(--line); background: var(--note); }
.app-ndk { --g: #D9601C; } .app-cor { --g: #00853F; } .app-pir { --g: #0F6E9C; } .app-ana { --g: #9E4735; }
@media (prefers-reduced-motion: reduce) { .g-btns a, .app-game .thumb::after { transition: none; } }
/* Veille : lien vers les articles (20 nov. 2026) */
.carnet-list a { color: var(--ink); text-decoration-color: color-mix(in srgb, var(--accent) 60%, transparent); text-underline-offset: 3px; }
.carnet-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); font: 600 15px/1 var(--sans); text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.carnet-link:hover, .carnet-link:focus-visible { border-color: var(--accent); transform: translateX(2px); }
@media (max-width: 860px) { header nav { gap: 16px; } }
