/* ==========================================================================
   CYBER65 — Styles des pages du site (contenu)
   Couleurs et polices définies dans chrome.css (variables --c65-*).
   Aucune police externe : polices système uniquement (pas d'appel à Google).
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--c65-paper); color: var(--c65-ink);
  font: 400 17px/1.62 var(--c65-sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--c65-gave); text-underline-offset: 3px; }
a:hover { color: var(--c65-gave-dark); }
:focus-visible { outline: 3px solid var(--c65-gave); outline-offset: 2px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
strong { font-weight: 700; }

h1, h2, h3 { font-family: var(--c65-serif); font-weight: 700; color: var(--c65-ink); margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(34px, 5.2vw, 56px); line-height: 1.06; letter-spacing: -.01em; }
h2 { font-size: clamp(27px, 3.4vw, 38px); line-height: 1.15; }
h3 { font-size: 21px; line-height: 1.25; }
h4 { font: 700 16.5px/1.35 var(--c65-sans); margin: 0 0 .4em; }

.wrap { max-width: var(--c65-wrap); margin: 0 auto; padding: 0 20px; }
.measure { max-width: 68ch; }
.lede { font-size: 19.5px; line-height: 1.55; color: var(--c65-ink-2); max-width: 62ch; }
.muted { color: var(--c65-slate); }
.small { font-size: 14.5px; }

/* --- Fil d'Ariane --------------------------------------------------------- */
.crumbs { background: var(--c65-granite); border-bottom: 1px solid var(--c65-line); font-size: 14px; }
.crumbs ol { list-style: none; margin: 0; padding: 10px 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs li { color: var(--c65-slate); }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: #9AA7B4; }
.crumbs a { color: var(--c65-slate); }
.crumbs [aria-current] { color: var(--c65-ink); font-weight: 600; }

/* --- Sections ---------------------------------------------------------------- */
.section { padding: 72px 0; }
.section--tint { background: var(--c65-granite); }
.section--ink { background: var(--c65-ink); color: #DCE4EC; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink a { color: #9FD3E6; }
.section__head { max-width: 68ch; margin-bottom: 36px; }
.section__head p { color: var(--c65-slate); font-size: 18px; }
.section--ink .section__head p { color: #B8C5D3; }

/* --- Héros ------------------------------------------------------------------- */
.hero { padding: 64px 0 72px; background: var(--c65-paper); border-bottom: 1px solid var(--c65-line); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.hero__kicker { font: 600 15px/1.4 var(--c65-sans); color: var(--c65-gave); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.hero__kicker img { height: 34px; width: auto; }
.hero h1 { max-width: 16ch; }
.hero--page { padding: 48px 0 56px; }
.hero--page h1 { max-width: 22ch; font-size: clamp(32px, 4.4vw, 50px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__facts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 8px; }
.hero__facts li { padding-left: 26px; position: relative; color: var(--c65-ink-2); }
.hero__facts li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 12px; height: 7px; border-left: 2.5px solid var(--c65-gave); border-bottom: 2.5px solid var(--c65-gave); transform: rotate(-45deg); }

/* --- L'étiquette « scellé » (élément signature) -------------------------- */
.tag {
  position: relative; background: var(--c65-paper);
  border: 1.5px solid var(--c65-ink); border-radius: 6px 6px 6px 6px;
  box-shadow: 8px 8px 0 var(--c65-granite), 8px 8px 0 1.5px var(--c65-line);
  padding: 0 0 18px;
}
.tag::before { /* œillet de l'étiquette */
  content: ""; position: absolute; top: 18px; right: 20px; width: 18px; height: 18px;
  border-radius: 50%; border: 1.5px solid var(--c65-ink); background: var(--c65-granite);
}
.tag__band { background: var(--c65-seal); color: #fff; padding: 16px 56px 14px 22px; border-radius: 4px 4px 0 0; }
.tag__band h2 { font: 700 21px/1.25 var(--c65-sans); color: #fff; margin: 0; }
.tag__band p { margin: 4px 0 0; font-size: 14.5px; color: #FFE3E0; }
.tag ol { list-style: none; counter-reset: geste; margin: 0; padding: 8px 22px 0; }
.tag li { counter-increment: geste; position: relative; padding: 14px 0 14px 46px; border-bottom: 1px dashed var(--c65-line); }
.tag li::before {
  content: counter(geste); position: absolute; left: 0; top: 13px;
  width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--c65-seal); color: var(--c65-seal);
  font: 800 15px/26px var(--c65-sans); text-align: center;
}
.tag li strong { display: block; }
.tag__call { padding: 16px 22px 0; }
.tag__call .btn { width: 100%; justify-content: center; }
.tag__hash { margin: 14px 22px 0; font: 12px/1.4 var(--c65-mono); color: var(--c65-slate); word-break: break-all; }

/* --- Boutons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  font: 700 16px/1 var(--c65-sans); text-decoration: none; cursor: pointer;
  padding: 15px 22px; border-radius: 4px; border: 2px solid transparent;
}
.btn--primary { background: var(--c65-gave); color: #fff; }
.btn--primary:hover { background: var(--c65-gave-dark); color: #fff; }
.btn--urgent { background: var(--c65-seal); color: #fff; }
.btn--urgent:hover { background: var(--c65-seal-dark); color: #fff; }
.btn--ghost { border-color: var(--c65-ink); color: var(--c65-ink); background: transparent; }
.btn--ghost:hover { background: var(--c65-ink); color: #fff; }
.section--ink .btn--ghost { border-color: #fff; color: #fff; }
.section--ink .btn--ghost:hover { background: #fff; color: var(--c65-ink); }
.btn--small { padding: 11px 16px; font-size: 15px; }
button.btn { font-family: var(--c65-sans); }

/* --- Liste de services (lignes, pas de cartes identiques) ----------------- */
.services { border-top: 2px solid var(--c65-ink); }
.service {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) 210px; gap: 28px; align-items: baseline;
  padding: 26px 0; border-bottom: 1px solid var(--c65-line);
}
.service h3 { margin: 0; }
.service p { margin: 0; color: var(--c65-ink-2); }
.service__meta { display: block; font-size: 14px; color: var(--c65-slate); margin-top: 6px; }
.service a.more { font-weight: 600; text-align: right; }
@media (max-width: 960px) { .service a.more { text-align: left; } }

/* --- Grilles & blocs -------------------------------------------------------- */
.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.block { background: var(--c65-paper); border: 1px solid var(--c65-line); border-radius: 6px; padding: 26px; }
.section--tint .block { border-color: #CBD4DC; }
.block h3 { margin-bottom: .35em; }
.block p:last-child, .block ul:last-child { margin-bottom: 0; }
.block--accent { border-left: 4px solid var(--c65-gave); }
.block--urgent { border-left: 4px solid var(--c65-seal); }
.block__label { font: 600 13.5px/1.3 var(--c65-sans); color: var(--c65-gave); margin-bottom: 8px; display: block; }
.block__foot { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--c65-line); font-weight: 600; }

/* Étapes numérotées (uniquement pour de vraies séquences) */
.steps { list-style: none; counter-reset: etape; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--c65-ink); }
.steps li { counter-increment: etape; padding: 22px 22px 6px 0; }
.steps li + li { padding-left: 22px; border-left: 1px solid var(--c65-line); }
.steps li::before { content: counter(etape); display: block; font: 700 38px/1 var(--c65-serif); color: var(--c65-gave); margin-bottom: 12px; }
.steps h3 { font: 700 17.5px/1.3 var(--c65-sans); }
.steps p { color: var(--c65-slate); font-size: 16px; }

/* Liste à coches */
.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { position: relative; padding: 5px 0 5px 28px; }
.checks li::before { content: ""; position: absolute; left: 3px; top: .8em; width: 12px; height: 7px; border-left: 2.5px solid var(--c65-gave); border-bottom: 2.5px solid var(--c65-gave); transform: rotate(-45deg); }
.crosses li::before { border: 0; width: 12px; height: 2.5px; background: var(--c65-seal); transform: rotate(45deg); top: 1.05em; box-shadow: none; }
.crosses li::after { content: ""; position: absolute; left: 3px; top: 1.05em; width: 12px; height: 2.5px; background: var(--c65-seal); transform: rotate(-45deg); }

/* Chiffres clés */
.figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--c65-line); border-bottom: 1px solid var(--c65-line); }
.figure { padding: 26px 20px 24px 0; }
.figure + .figure { padding-left: 20px; border-left: 1px solid var(--c65-line); }
.figure b { display: block; font: 700 34px/1.05 var(--c65-serif); color: var(--c65-ink); }
.figure span { display: block; color: var(--c65-slate); font-size: 15px; margin-top: 6px; }

/* Tableau de prix */
.prices { width: 100%; border-collapse: collapse; }
.prices th, .prices td { text-align: left; padding: 16px 12px 16px 0; border-bottom: 1px solid var(--c65-line); vertical-align: top; }
.prices th { font: 600 14px/1.3 var(--c65-sans); color: var(--c65-slate); border-bottom: 2px solid var(--c65-ink); }
.prices td:last-child, .prices th:last-child { text-align: right; padding-right: 0; white-space: nowrap; }
.prices .price { font: 700 19px/1.2 var(--c65-serif); }
.table-scroll { overflow-x: auto; }

/* FAQ (balises details/summary : fonctionne sans JavaScript) */
.faq { border-top: 2px solid var(--c65-ink); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--c65-line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative;
  font: 700 18px/1.4 var(--c65-sans); color: var(--c65-ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 26px; width: 10px; height: 10px;
  border-right: 2.5px solid var(--c65-gave); border-bottom: 2.5px solid var(--c65-gave); transform: rotate(45deg);
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 30px; }
.faq details > div { padding: 0 0 20px; color: var(--c65-ink-2); max-width: 72ch; }

/* Encadré d'alerte */
.callout { border: 1.5px solid var(--c65-seal); background: #FBEFED; border-radius: 6px; padding: 22px 24px; }
.callout h2, .callout h3 { color: var(--c65-seal-dark); font-family: var(--c65-sans); font-size: 19px; }
.callout p:last-child, .callout ol:last-child, .callout ul:last-child { margin-bottom: 0; }
.callout--info { border-color: var(--c65-gave); background: var(--c65-gave-tint); }
.callout--info h2, .callout--info h3 { color: var(--c65-gave-dark); }

/* Communes desservies */
.towns { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.towns li { background: var(--c65-paper); border: 1px solid var(--c65-line); border-radius: 3px; padding: 5px 10px; font-size: 14.5px; }

/* Bandeau d'appel à l'action */
.cta { background: var(--c65-gave); color: #fff; padding: 56px 0; }
.cta h2 { color: #fff; max-width: 24ch; }
.cta p { color: #D7ECF3; max-width: 60ch; font-size: 18px; }
.cta__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 32px; align-items: center; }
.cta__actions { display: flex; flex-direction: column; gap: 12px; min-width: 260px; }
.cta .btn--white { background: #fff; color: var(--c65-ink); }
.cta .btn--white:hover { background: var(--c65-ink); color: #fff; }
.cta .btn--line { border-color: #fff; color: #fff; }
.cta .btn--line:hover { background: #fff; color: var(--c65-gave-dark); }
.copy-mail { font: inherit; }
.copy-mail[data-copied="1"]::after { content: " (copiée)"; font-weight: 400; }

/* Partenaire */
.partner { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: start; }
.partner__mark { width: 84px; height: 84px; border-radius: 50%; border: 2px solid var(--c65-ink); display: grid; place-items: center; font: 700 15px/1.1 var(--c65-sans); text-align: center; }

/* Bloc légal / long texte */
.prose { max-width: 74ch; }
.prose h2 { font-size: 28px; margin-top: 1.6em; padding-top: .4em; border-top: 1px solid var(--c65-line); }
.prose h3 { font-family: var(--c65-sans); font-size: 18.5px; margin-top: 1.4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 15.5px; }
.prose th, .prose td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--c65-line); vertical-align: top; }
.prose th { color: var(--c65-slate); font-weight: 600; width: 34%; }
.toc { background: var(--c65-granite); border-radius: 6px; padding: 18px 22px; margin-bottom: 32px; }
.toc ol { margin: 6px 0 0; columns: 2; column-gap: 32px; }

/* Plan du site */
.sitemap-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.sitemap-cols h2 { font-size: 22px; border-bottom: 2px solid var(--c65-ink); padding-bottom: 8px; }
.sitemap-cols ul { list-style: none; padding: 0; }
.sitemap-cols li { padding: 5px 0; }

/* 404 */
.notfound { padding: 96px 0; }
.notfound .code { font: 13px/1.5 var(--c65-mono); color: var(--c65-slate); background: var(--c65-granite); display: inline-block; padding: 6px 10px; border-radius: 3px; }

.anchor-offset { scroll-margin-top: 90px; }

/* --- Responsive --------------------------------------------------------- */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service { grid-template-columns: 1fr; gap: 8px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figure:nth-child(3) { padding-left: 0; border-left: 0; }
  .cta__grid { grid-template-columns: 1fr; }
  .sitemap-cols { grid-template-columns: 1fr 1fr; }
  .toc ol { columns: 1; }
}
@media (max-width: 620px) {
  body { font-size: 16.5px; }
  .section { padding: 52px 0; }
  .hero { padding: 40px 0 52px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--c65-line); }
  .figures { grid-template-columns: 1fr 1fr; }
  .partner { grid-template-columns: 1fr; }
  .sitemap-cols { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .tag { box-shadow: 5px 5px 0 var(--c65-granite), 5px 5px 0 1.5px var(--c65-line); }
}
@media print {
  .cta, .hero__actions { display: none; }
  body { font-size: 12pt; }
}

.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .steps--3 { grid-template-columns: 1fr; } .steps--3 li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--c65-line); } }
.mt { margin-top: 20px; }
a.block { display: block; text-decoration: none; color: inherit; }
a.block:hover { border-color: var(--c65-gave); }
a.block h3 { color: var(--c65-gave); }
.h3 { font-size: 21px; }
.big-figure { font: 700 44px/1.05 var(--c65-serif); color: var(--c65-gave); margin: 4px 0; }
.cta a.cta__link { color: #fff; }

/* --- Correctif mobile : chiffres clés et mots longs ---------------------- */
h1, h2, h3, .lede, .figure b { overflow-wrap: break-word; hyphens: manual; }
@media (max-width: 520px) {
  .figures { grid-template-columns: 1fr; }
  .figure, .figure + .figure, .figure:nth-child(3) {
    display: grid; grid-template-columns: 9.5em 1fr; gap: 14px; align-items: baseline;
    padding: 16px 0; border-left: 0; border-top: 1px solid var(--c65-line);
  }
  .figure:first-child { border-top: 0; }
  .figure b { font-size: 24px; }
  .figure span { margin-top: 0; }
  .hero h1 { font-size: 32px; }
  .hero__kicker { font-size: 14px; }
  .tag__band { padding-right: 48px; }
  .cta__actions { min-width: 0; }
  .cta .btn { white-space: normal; text-align: center; }
  .btn { white-space: normal; text-align: center; }
}
.block a, .prose a, .cta a, .block p { overflow-wrap: anywhere; }

/* ==========================================================================
   Bandeau « collectif d'experts » (accueil)
   CYBER65 au centre, les experts autour ; l'arc lumineux tourne d'un expert
   à l'autre. Pause automatique au survol, au clavier et si l'utilisateur
   a demandé à réduire les animations.
   ========================================================================== */
.collectif { background: var(--c65-ink); color: #DCE4EC; padding: 44px 0 40px; overflow: hidden; }
.collectif__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.collectif__kicker { font: 600 14.5px/1.3 var(--c65-sans); color: #8FCBE0; margin: 0 0 10px; }
.collectif h2 { color: #fff; font-size: clamp(25px, 3vw, 34px); max-width: 22ch; margin-bottom: 22px; }

.collectif__slides { position: relative; min-height: 150px; border-left: 3px solid #5FB3CE; padding-left: 18px; }
.collectif__slide { margin: 0; }
[data-ready] .collectif__slide { position: absolute; inset: 0 0 auto 18px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .45s ease, transform .45s ease, visibility 0s linear .45s; }
[data-ready] .collectif__slide.is-active { position: relative; inset: auto; opacity: 1; visibility: visible; transform: none; transition: opacity .45s ease, transform .45s ease; }
.collectif__slide + .collectif__slide { margin-top: 18px; }
[data-ready] .collectif__slide + .collectif__slide { margin-top: 0; }
.collectif__who { font: 700 13.5px/1.2 var(--c65-sans); color: #8FCBE0; margin: 0 0 4px; letter-spacing: .02em; }
.collectif__role { font: 700 23px/1.2 var(--c65-serif); color: #fff; margin: 0 0 6px; }
.collectif__desc { margin: 0 0 8px; color: #C3CFDB; max-width: 52ch; }
.collectif__link { color: #9FD3E6; font-weight: 600; font-size: 15px; }
.collectif__link:hover { color: #fff; }

.collectif__bar { display: flex; flex-wrap: nowrap; align-items: center; gap: 12px; margin-top: 16px; max-width: 520px; }
.collectif__pause {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; cursor: pointer;
  display: grid; place-items: center; padding: 0;
  background: transparent; border: 1.5px solid #4A5D75; color: #DCE4EC;
  transition: border-color .2s ease, background .2s ease;
}
.collectif__pause:hover { border-color: #DCE4EC; background: rgba(255, 255, 255, .06); }
/* icône pause (deux barres) ↔ lecture (triangle) */
.collectif__pause-icon { width: 12px; height: 14px; position: relative; display: block; }
.collectif__pause-icon::before, .collectif__pause-icon::after {
  content: ""; position: absolute; top: 0; width: 4px; height: 14px; background: currentColor; border-radius: 1px;
}
.collectif__pause-icon::before { left: 0; }
.collectif__pause-icon::after { right: 0; }
.collectif__pause[aria-pressed="true"] .collectif__pause-icon::before {
  width: 0; height: 0; background: none; border-radius: 0; left: 2px;
  border-left: 12px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent;
}
.collectif__pause[aria-pressed="true"] .collectif__pause-icon::after { display: none; }
/* barre de défilement sous la fiche */
.collectif__progress { height: 2px; background: #2A3A50; margin: 18px 0 0; overflow: hidden; border-radius: 2px; max-width: 520px; }
.collectif__progress span { display: block; height: 100%; width: 100%; background: #5FB3CE; transform-origin: left; animation: c65-progress 5.5s linear forwards; }
.collectif.is-paused .collectif__progress span { animation-play-state: paused; opacity: .35; }
@keyframes c65-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.collectif__pause:focus-visible, .collectif__node:focus-visible, .collectif__hub:focus-visible { outline: 3px solid #5FB3CE; outline-offset: 3px; }

/* Anneau */
.collectif__ring { position: relative; width: 100%; max-width: 380px; aspect-ratio: 1; margin: 0 auto; }
.collectif__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.collectif__arc { transform-origin: 200px 200px; transition: transform .9s cubic-bezier(.45, 0, .2, 1), opacity .4s ease; }
.collectif__orbit { transform-origin: 200px 200px; animation: c65-orbit 60s linear infinite; }
@keyframes c65-orbit { to { transform: rotate(360deg); } }

.collectif__hub, .collectif__node {
  position: absolute; transform: translate(-50%, -50%); cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  font-family: var(--c65-sans); color: #fff; padding: 0; margin: 0;
}
.collectif__hub {
  left: 50%; top: 50%; width: 34%; aspect-ratio: 1; border-radius: 50%;
  background: var(--c65-ink-2); border: 2px solid #4A5D75;
  transition: border-color .4s ease, box-shadow .4s ease;
}
.collectif__hub-name { font: 800 clamp(15px, 1.7vw, 19px)/1 var(--c65-sans); letter-spacing: .02em; }
.collectif__hub-name b { background: var(--c65-seal); color: #fff; padding: 2px 4px 1px; border-radius: 3px; margin-left: 3px; }
.collectif__hub-sub { font: 500 11.5px/1.2 var(--c65-sans); color: #9FB0C2; margin-top: 6px; }
.collectif__hub.is-active { border-color: #5FB3CE; box-shadow: 0 0 0 6px rgba(95, 179, 206, .15); }

.collectif__node { width: 22%; background: none; border: 0; }
.collectif__node--1 { left: 50%;    top: 12.5%; }
.collectif__node--2 { left: 82.48%; top: 31.25%; }
.collectif__node--3 { left: 82.48%; top: 68.75%; }
.collectif__node--4 { left: 17.52%; top: 68.75%; }
.collectif__node--5 { left: 17.52%; top: 31.25%; }
.collectif__node--6 { left: 50%;    top: 87.5%; }
.collectif__mono {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--c65-ink); border: 2px solid #4A5D75; font: 700 17px/1 var(--c65-sans); color: #DCE4EC;
  transition: background .4s ease, border-color .4s ease, color .4s ease, transform .4s ease;
}
.collectif__lbl { font: 600 12.5px/1.2 var(--c65-sans); color: #9FB0C2; margin-top: 7px; transition: color .4s ease; white-space: nowrap; }
.collectif__node:hover .collectif__mono { border-color: #9FB0C2; }
.collectif__node.is-active .collectif__mono { background: #5FB3CE; border-color: #5FB3CE; color: var(--c65-ink); transform: scale(1.08); }
.collectif__node.is-active .collectif__lbl { color: #fff; }

/* Pastilles (mobile) */
.collectif__chips { display: none; list-style: none; padding: 0; margin: 0 0 16px; gap: 8px; }
.collectif__chip {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid #4A5D75; font: 700 13px/1 var(--c65-sans); color: #DCE4EC; transition: all .3s ease;
}
.collectif__chip--c65 { border-color: var(--c65-seal); }
.collectif__chip.is-active { background: #5FB3CE; border-color: #5FB3CE; color: var(--c65-ink); }

@media (max-width: 860px) {
  .collectif__grid { grid-template-columns: 1fr; gap: 28px; }
  .collectif__ring { max-width: 320px; }
}
@media (max-width: 620px) {
  .collectif { padding: 30px 0 28px; }
  .collectif__ring { display: none; }
  .collectif__chips { display: flex; }
  .collectif__slides { min-height: 170px; }
  .collectif__role { font-size: 21px; }
  .collectif__bar .btn { flex: 1 1 auto; }
  .collectif__progress { margin-top: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .collectif__orbit { animation: none; }
  .collectif__arc, [data-ready] .collectif__slide, .collectif__mono, .collectif__hub { transition: none; }
}
.collectif__chip { cursor: pointer; }
.collectif__certs { list-style: none; padding: 0; margin: 2px 0 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.collectif__certs li {
  font: 600 12.5px/1.2 var(--c65-sans); color: #DCE4EC; padding: 5px 9px 5px 24px; position: relative;
  border: 1px solid #4A5D75; border-radius: 3px; background: rgba(95, 179, 206, .08);
}
.collectif__certs li::before {
  content: ""; position: absolute; left: 9px; top: 50%; width: 8px; height: 4.5px; margin-top: -4px;
  border-left: 2px solid #5FB3CE; border-bottom: 2px solid #5FB3CE; transform: rotate(-45deg);
}
@media (max-width: 620px) { .collectif__slides { min-height: 210px; } }
/* hauteur réservée = diapositive la plus haute : la page ne « saute » pas */
.collectif__slides { min-height: 218px; }
@media (max-width: 620px) { .collectif__slides { min-height: 288px; } }
/* « Savoir-faire » : présenté comme un atout, pas comme une certification */
.collectif__certs--skill li { background: transparent; border-style: dashed; padding-left: 22px; }
.collectif__certs--skill li::before { border: 0; width: 6px; height: 6px; border-radius: 50%; background: #5FB3CE; transform: none; margin-top: -3px; left: 10px; }

/* Place libre « Vous ? » : le collectif est ouvert */
.collectif__node--join .collectif__mono { border-style: dashed; color: #8FCBE0; font-size: 24px; background: transparent; }
.collectif__node--join .collectif__lbl { color: #8FCBE0; }
.collectif__chip--join { border-style: dashed; color: #8FCBE0; font-size: 18px; }
.collectif__ring { margin-bottom: 18px; }

/* Bandeau collectif sur téléphone : fiches de hauteur homogène, sans grand vide */
@media (max-width: 620px) {
  .collectif h2 { font-size: 26px; }
  .collectif__desc {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3;
    overflow: hidden; font-size: 15.5px;
  }
  .collectif__role { font-size: 20px; }
  .collectif__certs li { font-size: 12px; padding: 4px 8px 4px 22px; }
  .collectif__chips { gap: 6px; flex-wrap: wrap; }
  .collectif__chip { width: 38px; height: 38px; font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) { .collectif__progress { display: none; } }
