/* ═══════════════════════════════════════════════════════════════
   FOCUS · identité « document d'audit » : papier, radar, matrice, Gantt
   ═══════════════════════════════════════════════════════════════ */
.fc-hero { background: var(--bg); color: var(--text); padding-bottom: clamp(3rem, 6vw, 5rem); position: relative; overflow: hidden; }
.fc-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at 75% 40%, #000, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 75% 40%, #000, transparent 70%); opacity: .7; pointer-events: none; }
.fc-hero-grid { position: relative; display: grid; gap: 3rem; align-items: center; }
.fc-hero-copy { display: grid; gap: 1.4rem; justify-items: start; } .fc-hero h1 { font-size: var(--step-5); }
@media (min-width: 960px) { .fc-hero-grid { grid-template-columns: 1.05fr .95fr; gap: 4rem; } }

.doc { margin: 0; border-radius: 18px; background: #fff; border: 1px solid #e3e0f2; box-shadow: 0 40px 80px -30px rgba(31,16,89,.35); overflow: hidden; color: #15122b; transform: rotate(-1.2deg); }
.doc-bar { display: flex; align-items: center; gap: .8rem; padding: .8rem 1rem; border-bottom: 1px solid #ece9f7; background: #faf9ff; font-size: .85rem; }
.doc-lock { display: inline-flex; align-items: center; gap: .45rem; flex: 1; min-width: 0; font-weight: 600; color: #3b2a8f; font-size: .78rem; letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .doc-lock svg { flex: none; color: #7c3aed; }
.doc-seal { margin-left: auto; flex: none; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 12px; color: #6d28d9; background: linear-gradient(135deg, #f1ebff, #e6dcff); border: 1px solid #d9ccff; }
.doc-bar b { font-weight: 600; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.doc-dots { display: flex; gap: 5px; } .doc-dots i { width: 9px; height: 9px; border-radius: 50%; background: #dcd7ef; }
.doc-body { display: grid; gap: 1.2rem; padding: 1.2rem; }
@media (min-width: 560px) { .doc-body { grid-template-columns: 1.25fr .9fr; align-items: center; } }
.radar-wrap { color: #cfc7ea; } .radar { width: 100%; max-width: 340px; margin-inline: auto; display: block; overflow: visible; }
.rd-shape { fill: rgba(124,58,237,.2); stroke: #7c3aed; stroke-width: 2; transform-origin: 110px 110px; transform: scale(.2); opacity: 0; transition: transform 1.1s var(--ease), opacity .6s; }
.is-in .rd-shape { transform: none; opacity: 1; } .rd-dots circle { fill: #7c3aed; } .rd-lab text { font-size: 13px; font-weight: 700; fill: #2a2347; font-family: var(--font-body); }
.finds { display: grid; gap: .6rem; } .finds li { display: grid; gap: .3rem; padding: .7rem .8rem; border-radius: 12px; background: #f6f4ff; font-size: .88rem; justify-items: start; }
.sev { display: inline-block; padding: .12rem .55rem; border-radius: 99px; font-size: .72rem; font-weight: 700; }
.sev--hi { background: #fde2e4; color: #b4232f; } .sev--mid { background: #fdecc8; color: #8a5a00; } .sev--lo { background: #dff5e6; color: #1b7a3d; }

.sym { display: grid; border-top: 1px solid var(--line); }
.sym-row { display: grid; gap: 1rem; padding-block: 1.75rem; border-bottom: 1px solid var(--line); align-items: center; }
.sym-l small, .sym-r small { color: var(--text-3); font-size: .78rem; font-weight: 600; }
.sym-l h3 { font-size: var(--step-2); margin: .3rem 0 .4rem; } .sym-l p, .sym-r p { color: var(--text-2); margin: 0; } .sym-r p { color: var(--text); margin-top: .3rem; }
.sym-arrow { display: none; width: 56px; height: 2px; background: var(--accent); position: relative; } .sym-arrow::after { content: ""; position: absolute; right: 0; top: -4px; width: 9px; height: 9px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); transform: rotate(45deg); }
@media (min-width: 860px) { .sym-row { grid-template-columns: 1.2fr auto 1fr; gap: 2.5rem; } .sym-arrow { display: block; } }

.fc-matrix-grid { display: grid; gap: 3rem; align-items: center; } .fc-matrix .sec-head { margin-bottom: 0; }
@media (min-width: 900px) { .fc-matrix-grid { grid-template-columns: .9fr 1.1fr; gap: 4rem; } }
.mx { margin: 0; display: grid; gap: .9rem; } .mx-plot { position: relative; aspect-ratio: 1.15; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); display: grid; grid-template: 1fr 1fr / 1fr 1fr; overflow: hidden; }
.mx-plot::before, .mx-plot::after { content: ""; position: absolute; background: var(--line-2); } .mx-plot::before { left: 50%; top: 0; bottom: 0; width: 1px; } .mx-plot::after { top: 50%; left: 0; right: 0; height: 1px; }
.mx-q { padding: .8rem 1rem; font-size: .78rem; color: var(--text-3); font-weight: 600; } .mx-q--a { background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--accent); }
.mx-y, .mx-x { position: absolute; font-size: .72rem; font-weight: 600; color: var(--text-3); z-index: 2; } .mx-y { left: 50%; top: 50%; transform: translate(-50%, -50%); background: var(--bg-2); padding: 0 .4rem; display: none; }
.mx-x { right: 10px; bottom: 8px; }
.mx-dot { position: absolute; left: var(--x); top: var(--y); width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; font-weight: 700; cursor: pointer; z-index: 3; box-shadow: 0 8px 20px -6px var(--glow); transition: transform .3s var(--ease); }
.mx-dot:hover, .mx-dot.on, .mx-dot:focus-visible { transform: scale(1.2); outline-offset: 3px; }
.mx-cap { min-height: 1.6em; color: var(--text-2); font-size: .95rem; } .mx-cap b { color: var(--text); }

.gantt { display: grid; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.g-head, .g-row { display: grid; grid-template-columns: minmax(220px, 1.1fr) 3fr; }
.g-head { padding: .9rem 1.4rem .9rem 0; border-bottom: 1px solid var(--line); font-size: .76rem; color: var(--text-3); font-weight: 600; grid-template-columns: minmax(220px, 1.1fr) repeat(8, 3fr / 8); }
.g-head { grid-template-columns: minmax(220px, 1.1fr) repeat(8, minmax(0, 1fr)); } .g-head span { text-align: center; } .g-head span:nth-child(n+7) { padding-inline: 0; }
.g-row { border-bottom: 1px solid var(--line); } .g-row:last-child { border: 0; }
.g-name { padding: 1.4rem 1.4rem; } .g-name h3 { font-size: var(--step-1); } .g-name p { color: var(--text-2); font-size: .92rem; margin: .35rem 0 0; }
.g-track { position: relative; display: grid; grid-template-columns: repeat(8, 1fr); align-items: center; }
.g-bar { grid-column: var(--a) / var(--b); height: 26px; border-radius: 99px; background: linear-gradient(90deg, #7c3aed, #d946ef); transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease) .2s; }
.is-in .g-bar { transform: none; } .g-bar--loop { background: repeating-linear-gradient(90deg, #7c3aed 0 14px, transparent 14px 20px); }
.g-bar--loop { grid-column: 7 / 9; }
.g-row:nth-child(2) .g-bar { transition-delay: .2s; } .g-row:nth-child(3) .g-bar { transition-delay: .9s; } .g-row:nth-child(4) .g-bar { transition-delay: 1.6s; }

.fc-plan { background: var(--bg-2); } .fc-plan-grid { display: grid; gap: 3rem; align-items: center; } .fc-plan .sec-head { margin-bottom: 0; }
@media (min-width: 900px) { .fc-plan-grid { grid-template-columns: .9fr 1.1fr; gap: 4rem; } }
.plan { border-radius: 18px; background: #fff; border: 1px solid #e3e0f2; box-shadow: 0 30px 60px -30px rgba(31,16,89,.3); overflow: hidden; color: #15122b; }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border-bottom: 1px solid #ece9f7; background: #faf9ff; }
.plan table { width: 100%; border-collapse: collapse; font-size: .9rem; } .plan th { text-align: left; padding: .7rem 1.2rem; font-size: .76rem; color: #6a6585; border-bottom: 1px solid #ece9f7; } .plan td { padding: .85rem 1.2rem; border-bottom: 1px solid #f1eefa; } .plan tr:last-child td { border: 0; }

.g-when { display: none; }
.plan tr td .sev { margin-left: auto; }
@media (max-width: 760px) {
  .plan table.rt { --line: #ece9f7; --text-3: #6a6585; --text: #15122b; }
  .g-head { display: none; } .g-row { grid-template-columns: 1fr; min-width: 0; }
  .g-name { padding: 1.2rem 1.2rem .6rem; } .g-track { padding: 0 1.2rem 1.3rem; }
  .g-when { display: inline-block; margin-top: .6rem; padding: .2rem .7rem; border-radius: 99px; background: var(--accent-soft); color: var(--accent); font-size: .78rem; font-weight: 600; }
}

/* Aperçu d'audit : en-tête, pied et radar animé */
.doc-pg { font-size: .75rem; color: #8b84ad; }
.doc-head { display: flex; align-items: center; gap: .8rem; padding: 1rem 1.2rem .2rem; }
.doc-logo { flex: none; width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(140deg, #7c3aed, #d946ef); box-shadow: 0 8px 18px -6px rgba(124,58,237,.6); }
.doc-head small { display: block; font-size: .72rem; color: #7a7399; letter-spacing: .02em; } .doc-head h2 { font-size: 1.15rem; color: #15122b; letter-spacing: -.02em; }
.doc-stamp { margin-left: auto; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #b4235a; border: 1.5px solid currentColor; border-radius: 6px; padding: .15rem .45rem; transform: rotate(4deg); opacity: .85; }
.doc-foot { display: flex; flex-wrap: wrap; gap: .5rem 1rem; padding: .85rem 1.2rem; border-top: 1px solid #ece9f7; background: #faf9ff; font-size: .78rem; font-weight: 600; color: #4c1d95; }
.doc-foot span { display: inline-flex; align-items: center; gap: .4rem; } .doc-foot i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }
.rd-shape { transform-box: fill-box; transform-origin: center; animation: rd-in 1.4s var(--ease) .3s both, rd-breathe 6s ease-in-out 1.8s infinite; }
@keyframes rd-in { from { transform: scale(.15); opacity: 0; } } @keyframes rd-breathe { 50% { transform: scale(.96); } }
.rd-dots circle { animation: rd-dot 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; } .rd-dots circle:nth-child(2) { animation-delay: .4s; } .rd-dots circle:nth-child(3) { animation-delay: .8s; } .rd-dots circle:nth-child(4) { animation-delay: 1.2s; } .rd-dots circle:nth-child(5) { animation-delay: 1.6s; }
@keyframes rd-dot { 50% { transform: scale(1.5); } }

/* Plan classé par priorité (remplace la matrice) */
.fc-matrix-grid { align-items: center; }
.kb { display: grid; gap: .9rem; }
.kb-col { border-radius: 22px; background: var(--surface); border: 1px solid var(--line); padding: 1rem; display: grid; gap: .8rem; align-content: start; }
.kb-h { display: flex; align-items: center; gap: .8rem; } .kb-h h3 { font-size: 1.05rem; } .kb-h small { color: var(--text-3); font-size: .8rem; }
.kb-n { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font-family: var(--font-display); font-weight: 800; color: #fff; background: var(--text-3); }
.kb-1 .kb-n { background: #22c55e; } .kb-2 .kb-n { background: #f59e0b; } .kb-3 .kb-n { background: #8b8aa6; }
.kb-1 { border-color: color-mix(in srgb, #22c55e 45%, var(--line)); background: color-mix(in srgb, #22c55e 6%, var(--surface)); }
.kb ul { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.kb-card { display: grid; gap: .45rem; padding: .75rem .9rem; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); opacity: 0; transform: translateX(-12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.is-in .kb-card, .kb.is-in .kb-card { opacity: 1; transform: none; } .kb.is-in .kb-col:nth-child(2) .kb-card { transition-delay: .35s; } .kb.is-in .kb-col:nth-child(3) .kb-card { transition-delay: .7s; }
.kb-card b { font-size: .95rem; font-weight: 600; line-height: 1.3; }
.kb-m { display: flex; flex-wrap: wrap; gap: .3rem 1rem; font-size: .75rem; color: var(--text-3); } .kb-m > span { display: inline-flex; align-items: center; gap: .4rem; }
.dots { display: inline-flex; gap: 3px; } .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); } .dots i.on { background: var(--accent); } .dots--e i.on { background: #f59e0b; }
.kb-note { color: var(--text-2); font-size: .92rem; margin: .3rem 0 0; }
@media (min-width: 1100px) { .kb { grid-template-columns: repeat(3, 1fr); } .kb-note { grid-column: 1 / -1; } }
