/* =========================================================================
   WFX — Composant "Parcourir le site" (shortcode [wfx_parcourir])
   Autonome : chaque couleur a un fallback hex, donc rendu correct meme si
   wfx-charte.css (variables --wfx-*) n'est pas charge. Scope prefixe .wfx-pc.
   ========================================================================= */

.wfx-parcourir{max-width:1160px;margin:0 auto}
.wfx-parcourir .wfx-pc-head{margin:0 0 26px}
.wfx-parcourir .wfx-pc-title{
  font-family:'Roboto Slab',Georgia,serif;
  color:var(--wfx-ink,#54595F);
  font-size:1.9rem;line-height:1.15;margin:0 0 8px;font-weight:600;
}
.wfx-parcourir .wfx-pc-sub{
  font-family:'Roboto',system-ui,Arial,sans-serif;
  color:var(--wfx-text,#7A7A7A);
  font-size:1.02rem;line-height:1.5;margin:0;max-width:620px;
}

.wfx-parcourir .wfx-pc-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}

.wfx-parcourir .wfx-pc-card{
  border:1px solid var(--wfx-line,#E0E3E6);
  border-radius:16px;padding:24px 24px 20px;background:#fff;
  position:relative;overflow:hidden;
}
.wfx-parcourir .wfx-pc-card::before{content:"";position:absolute;top:0;bottom:0;left:0;width:4px}
.wfx-parcourir .wfx-pc-card.is-objectif::before{background:var(--wfx-green-deep,#3FB050)}
.wfx-parcourir .wfx-pc-card.is-type::before{background:var(--wfx-cta,#2E96C4)}

.wfx-parcourir .wfx-pc-cardhead{display:flex;align-items:center;gap:12px;margin:0 0 4px}
.wfx-parcourir .wfx-pc-ic{
  flex:0 0 auto;width:38px;height:38px;border-radius:10px;
  display:flex;align-items:center;justify-content:center;
}
.wfx-parcourir .wfx-pc-card.is-objectif .wfx-pc-ic{background:var(--wfx-green-soft,#E9F7EC);color:var(--wfx-green-deep,#3FB050)}
.wfx-parcourir .wfx-pc-card.is-type .wfx-pc-ic{background:var(--wfx-blue-soft,#E8F4FB);color:var(--wfx-cta,#2E96C4)}
.wfx-parcourir .wfx-pc-ic svg{width:20px;height:20px}
.wfx-parcourir .wfx-pc-h{
  font-family:'Roboto Slab',Georgia,serif;color:var(--wfx-ink,#54595F);
  font-size:1.18rem;font-weight:600;margin:0;
}
.wfx-parcourir .wfx-pc-pitch{
  font-family:'Roboto',system-ui,Arial,sans-serif;
  color:var(--wfx-text,#7A7A7A);font-size:.92rem;line-height:1.45;margin:2px 0 18px;
}

.wfx-parcourir .wfx-pc-chips{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.wfx-parcourir .wfx-pc-chip{
  display:flex;align-items:center;gap:10px;text-decoration:none;
  border:1px solid var(--wfx-line,#E0E3E6);border-radius:10px;padding:11px 14px;
  background:var(--wfx-panel,#F4F6F7);
  transition:border-color .15s,transform .15s,background .15s;
}
.wfx-parcourir .wfx-pc-chip:hover{transform:translateY(-2px)}
.wfx-parcourir .wfx-pc-card.is-objectif .wfx-pc-chip:hover{border-color:var(--wfx-green-deep,#3FB050);background:var(--wfx-green-soft,#E9F7EC)}
.wfx-parcourir .wfx-pc-card.is-type .wfx-pc-chip:hover{border-color:var(--wfx-cta,#2E96C4);background:var(--wfx-blue-soft,#E8F4FB)}
.wfx-parcourir .wfx-pc-chip .lbl{
  display:flex;align-items:center;gap:9px;
  font-family:'Roboto',system-ui,Arial,sans-serif;
  color:var(--wfx-ink,#54595F);font-weight:500;font-size:.95rem;
}
.wfx-parcourir .wfx-pc-dot{width:8px;height:8px;border-radius:50%;flex:0 0 auto}
.wfx-parcourir .wfx-pc-card.is-objectif .wfx-pc-dot{background:var(--wfx-green-deep,#3FB050)}
.wfx-parcourir .wfx-pc-card.is-type .wfx-pc-dot{background:var(--wfx-cta,#2E96C4)}

/* Responsive : bloc autonome, degrade proprement (1 colonne de cartes puis de chips) */
@media(max-width:820px){
  .wfx-parcourir .wfx-pc-grid{grid-template-columns:1fr}
}
@media(max-width:480px){
  .wfx-parcourir .wfx-pc-chips{grid-template-columns:1fr}
  .wfx-parcourir .wfx-pc-title{font-size:1.55rem}
}
