.guides { position: relative; background: var(--night); padding: 48px clamp(16px, 5vw, 72px) 96px; overflow: hidden; }
.guides-inner { position: relative; max-width: 1240px; margin: 0 auto; }

.gd-queue, .gd-oreille, .gd-souffle, .gd-paupiere { transform-box: view-box; }
.gd-queue { animation: gd-queue 3.2s ease-in-out infinite; }
.gd-oreille { animation: gd-oreille 5s ease-in-out infinite; }
.gd-souffle { animation: gd-souffle 3.6s ease-in-out infinite; }
.gd-paupiere { animation: gd-cligne 4.5s infinite; transform: scaleY(0); }
@keyframes gd-queue { 0%,100% { transform: rotate(0deg); } 50% { transform: rotate(-5deg); } }
@keyframes gd-oreille { 0%,86%,100% { transform: rotate(0deg); } 90% { transform: rotate(-9deg); } 94% { transform: rotate(2deg); } }
@keyframes gd-souffle { 0%,100% { transform: scale(1, 1); } 50% { transform: scale(1.012, 1.025); } }
@keyframes gd-cligne { 0%,94%,100% { transform: scaleY(0); } 97% { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .gd-queue, .gd-oreille, .gd-souffle, .gd-paupiere { animation: none; } }

.g-card { position: relative; display: grid; gap: 12px; align-content: start; padding: 18px 18px 22px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); color: inherit; transition: border-color 250ms var(--ease-out), transform 300ms var(--ease-out), background-color 250ms var(--ease-out); }
.g-card:hover { border-color: rgba(169,214,247,.4); background: var(--card-2); transform: translateY(-3px); }
.g-card:focus-visible { outline: 2px solid var(--sky); outline-offset: 4px; }
.g-ill { height: 128px; border-radius: 12px; background: radial-gradient(70% 90% at 50% 30%, rgba(169,214,247,.08), transparent 70%), #070C1C; display: grid; place-items: center; overflow: hidden; }
.g-ill svg { width: 100%; height: 100%; }
.g-card { min-width: 0; }
.g-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; }
.niveau { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .74rem; letter-spacing: .02em; padding: 5px 10px; border-radius: 999px; border: 1px solid currentColor; }
.niveau i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.n1 { color: var(--green); } .n2 { color: var(--sky); } .n3 { color: var(--amber); }
.duree { white-space: nowrap; font-size: .85rem; color: var(--muted); }
.g-card h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: .98; margin: 0; font-size: 1.6rem; text-wrap: balance; transition: color 200ms var(--ease-out); }
.g-card:hover h3 { color: var(--sky); }
.g-card p { margin: 0; color: var(--muted); line-height: 1.55; font-size: .95rem; }
.g-lire { font-weight: 600; font-size: .92rem; color: var(--ink); display: inline-flex; align-items: center; gap: 10px; margin-top: 4px; }
.g-lire i { width: 16px; height: 1.5px; background: var(--sky); position: relative; transition: width 220ms var(--ease-out); }
.g-lire i::after { content: ""; position: absolute; right: 0; top: -3.5px; width: 7px; height: 7px; border-top: 1.5px solid var(--sky); border-right: 1.5px solid var(--sky); transform: rotate(45deg); }
.g-card:hover .g-lire i { width: 24px; }

.vb { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: start; padding-top: 30px; }
.vb a.g-card:nth-of-type(1) { margin-top: 120px; }
.vb a.g-card:nth-of-type(2) { margin-top: 60px; }
.vb a.g-card:nth-of-type(3) { margin-top: 0; }
.vb-trait { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.vb-trait path { fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 8px rgba(84,236,150,.55)); stroke-dasharray: var(--len, 2000); stroke-dashoffset: var(--len, 2000); transition: stroke-dashoffset 2.4s var(--ease-out); }
.vb.in .vb-trait path { stroke-dashoffset: 0; }
.vb .marche { position: absolute; top: -12px; left: 22px; width: 14px; height: 14px; border-radius: 50%; background: var(--night); border: 2px solid rgba(244,246,251,.3); transition: background-color 400ms var(--ease-out), box-shadow 400ms var(--ease-out), border-color 400ms; }
.vb.in .marche { background: var(--green); border-color: #D9FFE9; box-shadow: 0 0 0 6px rgba(84,236,150,.15), 0 0 22px rgba(84,236,150,.8); }
.vb.in a.g-card:nth-of-type(2) .marche { transition-delay: .8s; } .vb.in a.g-card:nth-of-type(3) .marche { transition-delay: 1.6s; }

.vb-sommet { position: absolute; left: 6px; top: -20px; width: 200px; pointer-events: none; z-index: 2; }
.vb-sommet svg { width: 100%; display: block; }
.vb-mot { position: absolute; left: 210px; top: 6px; max-width: 290px; margin: 0; font-size: .98rem; line-height: 1.45; color: var(--muted); }
.vb-mot b { color: var(--ink); }
.vb-lune { position: absolute; right: -4px; top: -34px; width: 54px; height: 54px; border-radius: 50%; background: radial-gradient(circle at 38% 32%, #F1F4FA, #C9D0DF 65%, #8E97AD); box-shadow: 0 0 40px rgba(241,244,250,.25); pointer-events: none; }
.vb-lune::before, .vb-lune::after { content: ""; position: absolute; border-radius: 50%; background: #AEB6C8; opacity: .55; }
.vb-lune::before { width: 10px; height: 10px; left: 13px; top: 29px; } .vb-lune::after { width: 6px; height: 6px; left: 32px; top: 15px; }
@media (max-width: 1000px) {
  .vb { grid-template-columns: 1fr; padding-top: 170px; padding-left: 34px; gap: 18px; }
  .vb-lune { display: none; }
  .vb a.g-card:nth-of-type(n) { margin-top: 0; }
  .vb .g-card { grid-template-columns: 120px minmax(0,1fr); }
  .vb .g-ill { height: 100%; min-height: 110px; grid-row: span 4; }
  .vb .marche { left: -34px; top: 26px; }
  .vb-trait { display: none; }
  .vb::before { content: ""; position: absolute; left: 6px; top: 170px; bottom: 0; width: 2px; border-radius: 2px; background: linear-gradient(to top, var(--red), var(--amber) 40%, var(--green)); box-shadow: 0 0 14px rgba(84,236,150,.45); }
  .vb-sommet { right: auto; left: 50%; transform: translateX(-50%); width: 180px; top: 0; }
  .vb-mot { display: none; }
}
@media (max-width: 560px) { .vb .g-card { grid-template-columns: 1fr; } .vb .g-ill { grid-row: auto; height: 120px; } }
