/* ── REPRISE (IA + humain) ── bloo-header ──
 * FICHIER : assets/css/www/www-guide-reseaux-magasins.css
 * ROLE : Styles de la page « Guide réseaux de magasins » (/guide-reseaux-magasins) : fil d'Ariane, héros avec photo et
 *        repère « Emplacement illustratif du Board », encart de l'exemple fictif PATTILO, parcours en 3 étapes (mise
 *        en évidence successive), cartes « À partager / À adapter », tableau bénéfices / points à prévoir, encadrés,
 *        FAQ (<details>).
 * ENTREES/SORTIES : Préfixe .gr-* et classe du body .bloo-www-gr. Classes posées par le script : .gr-anim (racine
 *                   #grPath, animation possible), .is-on / .is-done (étapes), .is-run (barre). Ruptures 900 et 560 px.
 * DEPEND : /assets/css/bloo-www-2026.css (jetons --surf, --surf-2, --surf-glass, --line, --line-2, --ink, --ink-2,
 *          --ink-3, --brand, --brand-ink, --maxw, --r, --r-l, --shadow, --sans ; .wrap, .card, .grid-2, .grid-3,
 *          .cta-band, .btn) recopiée par www/_partials/header.php.
 * APPELE PAR : www/www-guide-reseaux-magasins.html via $PAGE['head'] (<link> avec ?v= = empreinte SHA-256 du fichier).
 * REPRISE :
 *   - Couleurs : uniquement les jetons du site (thèmes clair et sombre). Le vert PATTILO reste DANS les photos : ne pas
 *     recolorer la page.
 *   - Mouvement : fondus et légères translations seulement, une lecture (pas de boucle). Aucun mouvement si
 *     prefers-reduced-motion ou html.a11y-motion (panneau d'accessibilité du site) : les étapes restent toutes
 *     visibles. Sans .gr-anim (pas de JS), aucune étape n'est atténuée.
 *   - Photos : proportions conservées (aspect-ratio 1672/941, object-fit:cover seulement sur ce même ratio) ; le logo
 *     PATTILO garde tout son canevas (object-fit:contain).
 *   - Cibles tactiles ≥ 44 px (boutons, résumés de la FAQ, liens du fil d'Ariane, Rejouer).
 * MAJ :
 *   - 2026-10-07 · rel2905 · création
 * ── fin REPRISE ── */

.gr-crumbs{max-width:var(--maxw);margin:0 auto;padding:10px 22px 0;font-size:13px;color:var(--ink-3)}
.gr-crumbs ol{list-style:none;margin:0;padding:0;display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.gr-crumbs li+li::before{content:"›";margin-right:6px;color:var(--ink-3)}
.gr-crumbs a{display:inline-flex;align-items:center;min-height:44px;color:var(--ink-2);text-decoration:underline;text-underline-offset:2px}

.gr-hero{padding-top:28px}
.gr-hero h1{font-size:clamp(28px,4.4vw,48px);max-width:20ch;margin:14px auto 0}
.gr-cta{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin-top:20px}
.bloo-www-gr .btn-lg{max-width:100%;white-space:normal;min-height:44px}

.gr-hero-fig{max-width:1060px;margin:30px auto 0;position:relative;z-index:2}
.gr-hero-media{position:relative;border-radius:var(--r-l);overflow:hidden;border:1px solid var(--line);box-shadow:var(--shadow);aspect-ratio:1672/941;background:var(--surf-2)}
.gr-hero-media img{display:block;width:100%;height:100%;object-fit:cover}
/* Repère du Board : schéma, pas une photo du matériel (cadre en pointillés + étiquette). Position sur la vitre gauche. */
.gr-mark{position:absolute;left:33%;top:31%;display:flex;flex-direction:column;align-items:flex-start;gap:6px;pointer-events:none}
.gr-mark-box{display:block;width:clamp(28px,6vw,64px);aspect-ratio:3/4;border:2px dashed #fff;border-radius:8px;background:rgba(255,255,255,.14);box-shadow:0 0 0 1px rgba(0,0,0,.35)}
.gr-mark-txt{font:700 12px/1.25 var(--sans);color:#fff;background:rgba(10,12,30,.78);padding:5px 9px;border-radius:999px;white-space:nowrap}
.gr-note{margin:10px auto 0;max-width:820px;font-size:13px;line-height:1.55;color:var(--ink-2);text-align:center}

.gr-actors .card p,.gr-q .card p{color:var(--ink-2)}
.gr-actors h3,.gr-q h3{font-size:18px}

.gr-example{display:grid;grid-template-columns:1fr 1.1fr;gap:22px;align-items:center;margin-top:22px;background:var(--surf-glass);border:1px solid var(--line);border-radius:var(--r);padding:22px}
.gr-example-logo{display:block;width:240px;max-width:100%;height:auto;object-fit:contain;padding:10px 12px;margin:0 0 12px;background:#fff;border-radius:12px;border:1px solid var(--line)}
.gr-example h3{margin:0 0 8px;font-size:18px}
.gr-example p{margin:0;color:var(--ink-2);line-height:1.65}
.gr-example-photo{display:block;width:100%;height:auto;aspect-ratio:1672/941;object-fit:cover;border-radius:12px}

/* Parcours : lisible sans script ; avec .gr-anim, chaque étape est mise en évidence à son tour (1,5 s), puis toutes
   restent visibles. */
.gr-path{position:relative;margin-top:18px}
.gr-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.gr-step{display:flex;gap:14px;align-items:flex-start;background:var(--surf-glass);border:1px solid var(--line);border-radius:var(--r);padding:20px;box-shadow:var(--shadow)}
.gr-num{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;font:800 17px/1 var(--sans);color:var(--brand);border:2px solid var(--brand);background:transparent}
.gr-step-body h3{margin:4px 0 8px;font-size:18px}
.gr-step-body p{margin:0 0 10px;color:var(--ink-2);line-height:1.65}
.gr-step-body p:last-child{margin-bottom:0}
.gr-caveat,.gr-example-line{font-size:14px;border-left:3px solid var(--line-2);padding-left:10px}
.gr-caveat strong,.gr-example-line strong{color:var(--ink)}
.gr-path-bar{height:4px;margin:16px 0 0;border-radius:4px;background:var(--line);overflow:hidden}
.gr-path-bar span{display:block;height:100%;width:100%;background:var(--brand);transform:scaleX(1);transform-origin:left center}
.gr-replay{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin-top:12px;padding:0 16px;border-radius:999px;border:1px solid var(--line-2);background:var(--surf-glass);color:var(--ink);font:600 14px/1 var(--sans);cursor:pointer}
.gr-replay:focus-visible{outline:3px solid var(--brand);outline-offset:2px}

.gr-anim .gr-step{transition:opacity .45s ease,transform .45s ease,border-color .45s ease,box-shadow .45s ease}
.gr-anim .gr-num{transition:background-color .45s ease,color .45s ease}
.gr-anim .gr-step:not(.is-on):not(.is-done){opacity:.72}
.gr-anim .gr-step.is-on{transform:translateY(-4px);border-color:var(--brand)}
.gr-anim .gr-step.is-on .gr-num,.gr-anim .gr-step.is-done .gr-num{background:var(--brand);color:#fff}
.gr-anim .gr-path-bar span{transform:scaleX(0)}
.gr-anim .gr-path-bar.is-run span{transform:scaleX(1);transition:transform 4.5s linear}
.gr-anim .gr-path-bar.is-end span{transform:scaleX(1)}

.gr-fig{max-width:1060px;margin:26px auto 0}
.gr-fig img{display:block;width:100%;height:auto;aspect-ratio:1672/941;object-fit:cover;border-radius:var(--r-l);border:1px solid var(--line)}

.gr-lede{max-width:820px}
.gr-split{margin-top:18px}
.gr-split-card img{display:block;width:100%;height:auto;aspect-ratio:1672/941;object-fit:cover;border-radius:12px;margin:0 0 14px}
.gr-split-card h3{margin:0 0 6px;font-size:18px}
.gr-split-card h3 i{color:var(--brand);margin-right:4px}
.gr-split-card p{margin:0;color:var(--ink-2)}

.gr-box{max-width:820px;margin:20px auto 0;background:var(--surf-glass);border:1px solid var(--line);border-radius:var(--r);padding:18px 22px;color:var(--ink-2);line-height:1.7}
.gr-box h3{margin:0 0 8px;font-size:18px;color:var(--ink)}
.gr-box p{margin:0}
.gr-more{max-width:820px;margin:18px auto 0;text-align:center;color:var(--ink-2)}
.gr-more a,.bloo-www-gr .gr-box a{color:var(--brand-ink,var(--brand));text-decoration:underline;text-underline-offset:2px;display:inline-flex;align-items:center;gap:6px;min-height:44px}

.gr-table-wrap{max-width:920px;margin:18px auto 0;overflow-x:auto;border:1px solid var(--line);border-radius:var(--r);background:var(--surf-glass)}
.gr-table{width:100%;border-collapse:collapse;font-size:15px;line-height:1.55}
.gr-table th,.gr-table td{text-align:left;vertical-align:top;padding:14px 16px;border-bottom:1px solid var(--line)}
.gr-table th{font-size:13px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--ink-2);background:var(--surf-2)}
.gr-table td:first-child{color:var(--ink);font-weight:600}
.gr-table td:last-child{color:var(--ink-2)}
.gr-table tbody tr:last-child td{border-bottom:0}

.gr-faq{max-width:820px;margin:10px auto 0}
.gr-faq details{border:1px solid var(--line);border-radius:12px;padding:0 16px;margin:10px 0;background:var(--surf-glass)}
.gr-faq summary{cursor:pointer;font-weight:600;line-height:20px;padding:12px 0}
.gr-faq details p{margin:0 0 12px;line-height:1.65;color:var(--ink-2)}

@media (max-width:900px){
  .gr-steps{grid-template-columns:1fr}
  .gr-example{grid-template-columns:1fr}
}
@media (max-width:560px){
  .gr-hero h1{max-width:none}
  .gr-example,.gr-box{padding:16px}
  .gr-step{padding:16px}
  .gr-mark{left:30%;top:24%}
  .gr-mark-txt{font-size:11px;white-space:normal;max-width:140px}
  .gr-table th,.gr-table td{padding:12px}
}
@media (prefers-reduced-motion:reduce){
  .gr-anim .gr-step,.gr-anim .gr-num,.gr-anim .gr-path-bar span{transition:none!important}
  .gr-anim .gr-step{opacity:1!important;transform:none!important}
  .gr-anim .gr-path-bar span{transform:scaleX(1)!important}
}
html.a11y-motion .gr-anim .gr-step,html.a11y-motion .gr-anim .gr-num,html.a11y-motion .gr-anim .gr-path-bar span{transition:none!important}
html.a11y-motion .gr-anim .gr-step{opacity:1!important;transform:none!important}
html.a11y-motion .gr-anim .gr-path-bar span{transform:scaleX(1)!important}
