/* =========================================================
   FV Fidélité v0.4.3 — Front optimisé
   - CSS consolidé : page client, page CMS native, shortcodes compat.
   - Suppression des anciens patchs empilés v0.1/v0.2/v0.3.
========================================================= */

.fvf-account,
.fvf-public-page,
.fvf-shortcode,
.fvf-native-cms{
  --fv-green:#2e7d4f;
  --fv-green-dark:#173f2a;
  --fv-accent:#7CFF85;
  --fv-text:#17251d;
  --fv-muted:#667064;
  --fv-soft:#f7f4ec;
  --fv-card:#fff;
  --fv-border:rgba(46,125,79,.14);
  color:var(--fv-text);
  max-width:980px;
  margin-inline:auto;
}
.fvf-account *,
.fvf-public-page *,
.fvf-shortcode *,
.fvf-native-cms *{box-sizing:border-box}

.fvf-account h1,.fvf-account h2,.fvf-account h3,
.fvf-public-page h1,.fvf-public-page h2,.fvf-public-page h3,
.fvf-shortcode h1,.fvf-shortcode h2,.fvf-shortcode h3,
.fvf-native-cms h1,.fvf-native-cms h2,.fvf-native-cms h3{
  color:var(--fv-text);
  font-weight:600;
  letter-spacing:-.02em;
}
.fvf-account p,.fvf-public-page p,.fvf-shortcode p,.fvf-native-cms p{
  color:var(--fv-muted);
}
.fvf-account strong,.fvf-public-page strong,.fvf-shortcode strong,.fvf-native-cms strong{font-weight:600}

/* ---------- éléments communs / compat shortcodes ---------- */
.fvf-account-kicker{
  margin:0 0 7px!important;
  color:var(--fv-green)!important;
  font-size:10px!important;
  line-height:1.1!important;
  font-weight:600!important;
  letter-spacing:.105em!important;
  text-transform:uppercase!important;
}
.fvf-account-hero,
.fvf-compact-hero{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:24px 26px;
  margin:0 0 18px;
  border-radius:24px;
  background:linear-gradient(135deg,#fff 0%,#fbfaf5 58%,#f2f8ef 100%);
  border:1px solid var(--fv-border);
  box-shadow:0 14px 34px rgba(23,63,42,.055);
}
.fvf-account-hero h2,
.fvf-compact-hero h2{
  margin:0 0 6px;
  font-size:clamp(25px,3vw,32px);
  line-height:1.1;
  color:#15241b;
}
.fvf-account-hero p,
.fvf-compact-hero p{margin:0;color:var(--fv-muted);line-height:1.45}
.fvf-compact-link,
.fvf-hero-link a,
.fvf-btn-secondary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:7px 12px;
  border-radius:999px;
  border:1px solid rgba(46,125,79,.16);
  background:#fff;
  color:var(--fv-green)!important;
  font-size:13px;
  font-weight:500;
  text-decoration:none!important;
  white-space:nowrap;
}
.fvf-compact-link:hover,
.fvf-hero-link a:hover,
.fvf-btn-secondary:hover{background:#f7fbf7;color:#236a40!important}

.fvf-hero-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.fvf-hero-chips span,
.fvf-next-badge{
  display:inline-flex;
  width:max-content;
  max-width:100%;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(46,125,79,.08);
  border:1px solid rgba(46,125,79,.10);
  color:var(--fv-green);
  font-size:12px;
  font-weight:500;
}

.fvf-section{margin:0 0 22px}
.fvf-section-head{margin:0 0 14px}
.fvf-section-head h3{margin:0 0 6px;font-size:22px;line-height:1.18;color:#18251e}
.fvf-section-head p{margin:0;color:var(--fv-muted);line-height:1.45}
.fvf-account-muted{padding:14px 16px;border-radius:16px;background:#faf8f1;border:1px dashed rgba(46,125,79,.2);color:var(--fv-muted);line-height:1.45}

.fvf-account-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px}
.fvf-account-card{padding:18px;border-radius:18px;background:#fff;border:1px solid var(--fv-border);box-shadow:0 8px 18px rgba(20,40,28,.032)}
.fvf-account-card span{display:block;color:#69736a;font-size:12px;text-transform:uppercase;letter-spacing:.045em;font-weight:600;margin-bottom:8px}
.fvf-account-card strong{font-size:24px;color:#18251e;line-height:1.1}
.fvf-account-card small{display:block;margin-top:7px;color:#788178;font-size:12px}
.fvf-progress-wrap{margin:16px 0 24px;padding:20px;border-radius:22px;background:#fff;border:1px solid rgba(46,125,79,.14);box-shadow:0 12px 28px rgba(23,63,42,.045)}
.fvf-progress-title{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:8px}
.fvf-progress-title strong{font-size:17px;color:#17251d}
.fvf-progress-title span{font-size:13px;color:var(--fv-muted)}
.fvf-progress{height:10px;background:#f6f4ec;border:1px solid rgba(46,125,79,.16);border-radius:999px;overflow:hidden}
.fvf-progress span{display:block;height:100%;background:linear-gradient(90deg,var(--fv-green),var(--fv-accent));border-radius:999px}
.fvf-client-note{margin-top:10px;padding:10px 12px;border-radius:14px;background:#f8faf6;border:1px solid rgba(46,125,79,.1);color:#5d6a60;font-size:13px;line-height:1.45}

.fvf-story-grid,
.fvf-threshold-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.fvf-story-grid article,
.fvf-threshold-card{
  padding:18px;
  border-radius:20px;
  background:#fff;
  border:1px solid var(--fv-border);
  box-shadow:0 10px 24px rgba(23,63,42,.035);
}
.fvf-story-grid article>span,
.fvf-threshold-card>span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:28px;
  min-height:28px;
  margin-bottom:10px;
  padding:0 9px;
  border-radius:999px;
  background:rgba(46,125,79,.09);
  color:var(--fv-green);
  font-size:12px;
  font-weight:600;
}
.fvf-story-grid strong{display:block;font-size:16px;color:#1d2c23;margin-bottom:6px}
.fvf-story-grid p,.fvf-threshold-card p{margin:0;color:var(--fv-muted);line-height:1.45;font-size:14px}
.fvf-threshold-card{position:relative;overflow:hidden}
.fvf-threshold-card:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,rgba(46,125,79,.72),rgba(124,255,133,.48))}
.fvf-threshold-value{margin:0 0 8px!important;color:#183124!important;font-size:21px!important;line-height:1.15!important;font-weight:600!important;letter-spacing:-.025em!important}
.fvf-threshold-card small{display:block;margin-top:6px;color:#7b847c;font-size:12px;line-height:1.35}

.fvf-rule-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0;padding:0;list-style:none}
.fvf-rule-list li{position:relative;padding:13px 14px 13px 38px;border-radius:16px;background:#fff;border:1px solid rgba(46,125,79,.12);color:#38453c;line-height:1.42}
.fvf-rule-list li:before{content:"✓";position:absolute;left:14px;top:12px;color:var(--fv-green);font-weight:600}
.fvf-public-conditions{margin-top:10px;border:1px solid rgba(46,125,79,.12);border-radius:16px;background:#fff;overflow:hidden}
.fvf-public-conditions summary{cursor:pointer;list-style:none;padding:13px 16px;color:var(--fv-green);font-weight:600}
.fvf-public-conditions summary::-webkit-details-marker{display:none}
.fvf-public-conditions summary:after{content:"+";float:right;font-size:18px;line-height:1;color:var(--fv-green)}
.fvf-public-conditions[open] summary:after{content:"–"}
.fvf-public-conditions .fvf-rule-list{padding:0 14px 14px}

/* ---------- page Mon compte > Mes avantages ---------- */
.fvf-account-compact,
.fvf-account-premium-progress{
  --fv-premium-green:#237847;
  --fv-premium-text:#1d2921;
  --fv-premium-muted:#657168;
  --fv-premium-border:rgba(35,120,71,.12);
  max-width:980px!important;
}
.fvf-mini-kicker{margin:0 0 6px;color:var(--fv-green);text-transform:uppercase;letter-spacing:.08em;font-size:10px;font-weight:600}
.fvf-start-panel{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:20px 22px;
  margin:18px 0;
  border-radius:20px;
  background:linear-gradient(135deg,#fff,#fbf8f1 62%,#f3f8ef);
  border:1px solid rgba(46,125,79,.13);
  box-shadow:0 10px 24px rgba(23,63,42,.04);
}
.fvf-start-panel h3{margin:0 0 7px;font-size:20px;color:#17251d;line-height:1.22}
.fvf-start-panel p{margin:0;color:#606c63;line-height:1.45}

.fvf-account-premium-progress .fvf-premium-hero{margin-bottom:18px!important}
.fvf-account-premium-progress .fvf-premium-progress-card{
  display:grid!important;
  grid-template-columns:86px minmax(0,1fr)!important;
  align-items:center;
  gap:22px!important;
  padding:24px 26px!important;
  margin-bottom:18px!important;
  border-radius:22px!important;
  background:linear-gradient(135deg,#fff 0%,#fbfaf5 68%,#f4fbef 100%)!important;
  border:1px solid rgba(35,120,71,.14)!important;
  box-shadow:0 12px 30px rgba(23,63,42,.045)!important;
}
.fvf-premium-progress-icon{width:68px;height:68px;border-radius:999px;background:linear-gradient(135deg,rgba(35,120,71,.10),rgba(35,120,71,.04));border:1px solid rgba(35,120,71,.12);position:relative}
.fvf-premium-progress-icon:before,.fvf-premium-progress-icon:after{content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);border:2px solid var(--fv-premium-green);border-radius:7px;opacity:.95}
.fvf-premium-progress-icon:before{width:30px;height:24px;top:54%}.fvf-premium-progress-icon:after{width:34px;height:9px;top:39%}
.fvf-premium-progress-content{min-width:0}
.fvf-premium-progress-content h3{margin:0 0 7px!important;color:var(--fv-premium-text)!important;font-size:clamp(19px,1.8vw,24px)!important;line-height:1.14!important;font-weight:600!important}
.fvf-premium-progress-content .fvf-next-badge{margin:0 0 12px!important}
.fvf-premium-progress-line{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;margin-top:10px}
.fvf-premium-progress-line>strong{color:var(--fv-premium-green);font-size:clamp(24px,2.4vw,33px);line-height:1;font-weight:600;letter-spacing:-.04em}
.fvf-premium-progress-track{height:13px;border-radius:999px;overflow:hidden;background:#eeece5;border:1px solid rgba(35,120,71,.12);box-shadow:inset 0 1px 1px rgba(0,0,0,.03)}
.fvf-premium-progress-track span{display:block;height:100%;min-width:10px;border-radius:999px;background:repeating-linear-gradient(135deg,rgba(255,255,255,.22) 0 7px,rgba(255,255,255,0) 7px 14px),linear-gradient(90deg,#237847,#4fa96c)}
.fvf-premium-progress-note{margin:9px 0 0!important;color:var(--fv-premium-muted)!important;font-size:13px!important;line-height:1.38!important}

.fvf-compact-stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 18px}
.fvf-compact-stat-card{position:relative;min-height:104px;padding:19px 18px 18px 76px;border-radius:20px;background:#fff;border:1px solid var(--fv-premium-border);box-shadow:0 10px 24px rgba(23,63,42,.035)}
.fvf-compact-stat-card:before{content:"";position:absolute;left:18px;top:22px;width:42px;height:42px;border-radius:999px;background:rgba(35,120,71,.08);border:1px solid rgba(35,120,71,.11)}
.fvf-compact-stat-card:after{content:"";position:absolute;left:33px;top:35px;width:14px;height:14px;border:2px solid var(--fv-premium-green);border-radius:4px;opacity:.9}
.fvf-premium-stat-count:before{background:rgba(194,146,49,.09);border-color:rgba(194,146,49,.12)}
.fvf-premium-stat-count:after{border-color:#b38a34;transform:rotate(-18deg)}
.fvf-premium-stat-obtained:after{border-radius:999px;width:16px;height:16px}
.fvf-compact-stat-card span{display:block;margin-bottom:7px;color:var(--fv-green);font-size:11px;letter-spacing:.055em;text-transform:uppercase;font-weight:500}
.fvf-compact-stat-card strong{font-size:27px;color:#17251d;font-weight:600;line-height:1.1}
.fvf-compact-stat-card small{display:block;margin-top:7px;color:var(--fv-muted);font-size:12px;line-height:1.35}

.fvf-merchant-guide{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 18px;padding:16px 18px;border-radius:18px;background:#fff;border:1px solid var(--fv-premium-border);box-shadow:0 10px 22px rgba(23,63,42,.03)}
.fvf-merchant-guide span{display:block;margin:0 0 5px;text-transform:uppercase;letter-spacing:.06em;font-size:10px;color:var(--fv-green);font-weight:600}
.fvf-merchant-guide strong{font-weight:500;color:#5d6a61;font-size:14px;line-height:1.45}
.fvf-merchant-guide ul{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin:0;padding:0;list-style:none}
.fvf-merchant-guide li{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;background:#f6faf4;border:1px solid rgba(35,120,71,.11);color:#526158;font-size:12px;white-space:nowrap}
.fvf-merchant-guide li:before{content:"✓";color:var(--fv-green);font-size:11px}

.fvf-compact-rewards{padding:20px 22px;border-radius:22px;background:#fff;border:1px solid var(--fv-premium-border);box-shadow:0 12px 28px rgba(23,63,42,.04)}
.fvf-compact-rewards>.fvf-section-head{display:none!important}
.fvf-compact-rewards .fvf-rewards-section>.fvf-section-head{display:block!important;margin:0 0 14px}
.fvf-compact-rewards .fvf-rewards-section>.fvf-section-head h3{margin:0 0 4px;font-size:22px;line-height:1.18;color:#17251d}
.fvf-compact-rewards .fvf-rewards-section>.fvf-section-head p{margin:0;color:var(--fv-muted);line-height:1.45}
.fvf-coupon-use-note{display:inline-flex;align-items:center;gap:6px;margin:8px 0 0!important;padding:5px 10px;border-radius:999px;background:rgba(46,125,79,.08);color:var(--fv-green)!important;font-size:12px;line-height:1.2;font-weight:500}
.fvf-coupon-use-note:before{content:"✓";font-size:11px;opacity:.85}
.fvf-reward-list{display:grid;gap:10px;margin:12px 0 0}
.fvf-reward-item{display:grid;grid-template-columns:minmax(260px,1.35fr) minmax(180px,.8fr) auto;align-items:center;gap:18px;padding:14px 16px;border-radius:18px;border:1px solid rgba(35,120,71,.12);background:#fff}
.fvf-premium-reward-main{display:flex;align-items:center;gap:13px;min-width:0}
.fvf-premium-reward-icon{width:42px;height:42px;border-radius:999px;flex:0 0 auto;position:relative;background:rgba(35,120,71,.08);border:1px solid rgba(35,120,71,.12)}
.fvf-premium-reward-icon:before{content:"";position:absolute;left:13px;top:13px;width:14px;height:14px;border:2px solid var(--fv-premium-green);border-radius:4px;transform:rotate(-22deg)}
.fvf-premium-reward-text{min-width:0}.fvf-premium-reward-text strong{display:block;color:#17251d;font-size:14px;line-height:1.25;font-weight:600}
.fvf-reward-code-row{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:7px}
.fvf-reward-code-row code{display:block;margin:0!important;padding:7px 12px;border-radius:10px;background:#f5f5f1;color:#1f2d23;font-size:13px;font-weight:600;letter-spacing:.02em}
.fvf-copy-code{appearance:none;display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:7px 11px;border:1px solid rgba(46,125,79,.18);background:#fff;color:var(--fv-green);border-radius:999px;font-size:12px;line-height:1;cursor:pointer;font-weight:500;transition:background .16s ease,color .16s ease,border-color .16s ease}
.fvf-copy-code:hover,.fvf-copy-code.is-copied{background:var(--fv-green);color:#fff;border-color:var(--fv-green)}
.fvf-premium-reward-meta small{display:block;margin:0;color:#6d776f;font-size:12px;line-height:1.35}.fvf-premium-reward-meta small+small{margin-top:3px}
.fvf-reward-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;white-space:nowrap}
.fvf-reward-actions>span{color:var(--fv-premium-green);font-weight:600}
.fvf-reward-actions a{display:inline-flex;align-items:center;justify-content:center;min-width:86px;min-height:34px;padding:8px 11px;border-radius:999px;background:var(--fv-green);color:#fff!important;text-decoration:none;font-size:12px;font-weight:600}
.fvf-empty-commercial{padding:16px;border-radius:18px;background:#fbfaf6;border:1px dashed rgba(46,125,79,.20)}
.fvf-empty-commercial strong{display:block;margin-bottom:4px;color:#17251d}.fvf-empty-commercial p{margin:0 0 10px;color:var(--fv-muted)}

.fvf-history-list{display:grid;gap:10px}.fvf-history-item{padding:13px 14px;border-radius:16px;background:#fff;border:1px solid rgba(46,125,79,.12)}
.fvf-history-item strong,.fvf-history-item span,.fvf-history-item small{display:block}.fvf-history-item span{margin-top:5px;color:#566158}.fvf-history-item small{margin-top:6px;color:#7b847c}
.fvf-login-notice a{font-weight:600;color:var(--fv-green);margin-left:8px;text-decoration:none}

/* ---------- page CMS native Gutenberg ---------- */
.fvf-native-cms{max-width:min(980px,calc(100vw - 36px));margin:0 auto 54px!important;padding:0 12px!important;color:var(--fv-text)}
.fvf-native-cms .fvf-native-hero{position:relative;margin:0 0 32px!important;padding:32px 34px!important;border:1px solid rgba(46,125,79,.13)!important;border-radius:24px!important;background:linear-gradient(135deg,#fff 0%,#fbfaf5 58%,#f1faef 100%)!important;box-shadow:0 14px 34px rgba(20,40,28,.04)!important}
.fvf-native-cms .fvf-native-hero:after{content:"";position:absolute;left:70px;bottom:0;width:600px;height:3px;border-radius:999px 999px 0 0;background:#2e7d4f}
.fvf-native-cms .fvf-native-hero h1,.fvf-native-cms h1.wp-block-heading{max-width:780px;margin:0 0 10px!important;color:var(--fv-text)!important;font-size:clamp(30px,3.5vw,40px)!important;line-height:1.06!important;font-weight:600!important;letter-spacing:-.032em!important}
.fvf-native-cms .fvf-native-hero p:not(.fvf-account-kicker){max-width:720px;margin:0!important;color:#626d64!important;font-size:15px!important;line-height:1.56!important}
.fvf-native-buttons{margin-top:19px!important}.fvf-native-button .wp-block-button__link{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:36px!important;padding:9px 17px!important;border:1px solid var(--fv-green)!important;border-radius:999px!important;background:var(--fv-green)!important;color:#fff!important;font-size:13px!important;line-height:1.1!important;font-weight:600!important;text-decoration:none!important;box-shadow:0 8px 16px rgba(46,125,79,.08)!important}
.fvf-native-button .wp-block-button__link:hover{background:#236a40!important;border-color:#236a40!important;color:#fff!important}
.fvf-native-cms>h2.wp-block-heading,.fvf-native-cms .fvf-native-note h2.wp-block-heading,.fvf-native-cms .fvf-native-note h2{margin:34px 0 7px!important;color:var(--fv-text)!important;font-size:clamp(21px,2.05vw,26px)!important;line-height:1.17!important;font-weight:600!important;letter-spacing:-.022em!important}
.fvf-native-cms>p{max-width:730px;margin:0 0 20px!important;color:#626d64!important;font-size:14px!important;line-height:1.6!important}
.fvf-native-grid.wp-block-columns{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:15px!important;align-items:stretch!important;margin:18px 0 32px!important}
.fvf-native-grid.wp-block-columns>.wp-block-column,.fvf-native-rules-grid>.wp-block-column{width:auto!important;min-width:0!important;flex:initial!important;flex-basis:auto!important;margin:0!important}
.fvf-native-card{position:relative!important;height:100%;min-width:0!important;padding:19px 20px!important;border:1px solid rgba(46,125,79,.12)!important;border-radius:20px!important;background:#fff!important;box-shadow:0 11px 26px rgba(20,40,28,.035)!important;overflow:hidden;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
.fvf-native-card:hover{transform:translateY(-1px);border-color:rgba(46,125,79,.18)!important;box-shadow:0 14px 30px rgba(20,40,28,.048)!important}
.fvf-native-card h3.wp-block-heading,.fvf-native-card h3{margin:0 0 7px!important;color:#1b2b21!important;font-size:17px!important;line-height:1.22!important;font-weight:600!important;letter-spacing:-.012em!important}
.fvf-native-card p{margin:0!important;color:#5f6a61!important;font-size:14px!important;line-height:1.52!important}
.fvf-native-step,.fvf-native-pill{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;margin:0 0 12px!important;border-radius:999px!important;background:rgba(46,125,79,.085)!important;color:var(--fv-green)!important;font-size:11px!important;line-height:1!important;font-weight:600!important;letter-spacing:.01em!important}
.fvf-native-step{width:24px!important;height:24px!important;padding:0!important}.fvf-native-pill{min-height:25px!important;padding:7px 10px!important}
.fvf-native-palier{border-top:2px solid rgba(46,125,79,.48)!important;padding-top:18px!important}.fvf-native-palier h3{font-size:19px!important}
.fvf-native-mini-list{margin:13px 0 0!important;padding-left:18px!important;color:var(--fv-muted)!important;font-size:13px!important;line-height:1.55!important}.fvf-native-mini-list li{margin:5px 0!important;padding-left:2px!important}
.fvf-native-rules-grid.wp-block-columns{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;margin:18px 0 30px!important}
.fvf-native-rule{min-height:106px;padding:17px 18px!important;display:flex!important;flex-direction:column;justify-content:flex-start;border-radius:18px!important}
.fvf-native-rule:before{content:none!important;display:none!important}.fvf-native-rule .fvf-native-step{width:21px!important;height:21px!important;font-weight:500!important}
.fvf-native-rule p:not(.fvf-native-step){font-size:14px!important;line-height:1.5!important;color:#4f5b53!important}.fvf-native-rule strong{display:block!important;margin:0 0 4px!important;color:var(--fv-text)!important;font-weight:600!important}
.fvf-native-note{margin:22px 0 0!important;padding:23px 25px!important;border:1px solid rgba(46,125,79,.12)!important;border-radius:20px!important;background:#fff!important;box-shadow:0 11px 26px rgba(20,40,28,.03)!important}
.fvf-native-note h2,.fvf-native-note h2.wp-block-heading{margin:0 0 8px!important;font-size:24px!important}.fvf-native-note p{max-width:820px;margin:0!important;color:#626d64!important;font-size:14px!important;line-height:1.6!important}.fvf-native-note-soft{background:linear-gradient(135deg,#fff,#fbfaf5)!important;border-style:dashed!important}

@media(max-width:1024px){
  .fvf-account-premium-progress .fvf-premium-progress-card{grid-template-columns:1fr!important;gap:14px!important}
  .fvf-premium-progress-icon{display:none}
  .fvf-compact-stat-card{padding:16px 14px!important;min-height:auto!important}.fvf-compact-stat-card:before,.fvf-compact-stat-card:after{display:none}
  .fvf-reward-item{grid-template-columns:1fr auto}.fvf-premium-reward-meta{grid-column:1/2}.fvf-reward-actions{grid-row:1/span 2;grid-column:2/3}
}
@media(max-width:860px){
  .fvf-account-grid,.fvf-story-grid,.fvf-threshold-grid,.fvf-rule-list{grid-template-columns:1fr}
  .fvf-public-conditions .fvf-rule-list{grid-template-columns:1fr}
  .fvf-account-hero,.fvf-compact-hero{align-items:flex-start;flex-direction:column;padding:22px 20px;border-radius:22px}
  .fvf-compact-link{align-self:flex-start}
  .fvf-native-cms{max-width:calc(100vw - 20px)!important;margin-bottom:38px!important;padding-inline:10px!important}
  .fvf-native-cms .fvf-native-hero{padding:24px 20px!important;margin-bottom:26px!important}.fvf-native-cms .fvf-native-hero:after{left:30px;width:250px}
  .fvf-native-grid.wp-block-columns,.fvf-native-rules-grid.wp-block-columns{grid-template-columns:1fr!important;gap:12px!important;margin:15px 0 28px!important}
  .fvf-native-cms>h2.wp-block-heading{margin-top:28px!important}.fvf-native-card,.fvf-native-note{padding:18px!important}
}
@media(max-width:760px){
  .fvf-start-panel{align-items:flex-start;flex-direction:column}
  .fvf-account-premium-progress .fvf-premium-progress-card,.fvf-compact-rewards{padding:18px!important;border-radius:19px!important}
  .fvf-premium-progress-content h3{margin-bottom:9px!important;line-height:1.18!important}.fvf-premium-progress-note{margin-top:10px!important;line-height:1.5!important}
  .fvf-premium-progress-line{grid-template-columns:1fr auto;gap:10px}.fvf-premium-progress-line>strong{font-size:24px}.fvf-premium-progress-track{height:11px}
  .fvf-compact-stats-grid{grid-template-columns:1fr!important;gap:10px}.fvf-compact-stat-card{padding:17px!important}.fvf-compact-stat-card small{line-height:1.48!important}
  .fvf-merchant-guide{align-items:flex-start;flex-direction:column;padding:16px!important;gap:10px!important}.fvf-merchant-guide ul{justify-content:flex-start;gap:7px!important}.fvf-merchant-guide strong{line-height:1.45!important}
  .fvf-reward-item{grid-template-columns:1fr!important;gap:12px!important;padding:16px!important}.fvf-premium-reward-main{align-items:flex-start;gap:11px}.fvf-premium-reward-icon{width:34px;height:34px}.fvf-premium-reward-icon:before{left:10px;top:10px}
  .fvf-premium-reward-meta,.fvf-reward-actions{grid-column:auto!important;grid-row:auto!important}.fvf-reward-actions{width:100%;justify-content:space-between}.fvf-reward-actions a{min-width:104px;min-height:36px}.fvf-premium-reward-text strong{line-height:1.35}.fvf-premium-reward-meta small{line-height:1.5}
}
@media(max-width:520px){
  .fvf-native-cms{max-width:100%!important;padding-inline:18px!important;margin-bottom:42px!important}
  .fvf-native-cms .fvf-native-hero{border-radius:20px!important;padding:23px 19px!important;margin-bottom:28px!important}
  .fvf-native-cms .fvf-native-hero h1,.fvf-native-cms h1.wp-block-heading{font-size:28px!important;line-height:1.08!important}
  .fvf-native-cms .fvf-native-hero p:not(.fvf-account-kicker),.fvf-native-cms>p,.fvf-native-card p,.fvf-native-note p{line-height:1.64!important}
  .fvf-native-cms>h2.wp-block-heading{margin-top:31px!important;margin-bottom:9px!important;font-size:21px!important}
  .fvf-native-grid.wp-block-columns,.fvf-native-rules-grid.wp-block-columns{gap:14px!important;margin:17px 0 31px!important}
  .fvf-native-card,.fvf-native-note{padding:20px 18px!important;border-radius:19px!important}.fvf-native-step{margin-bottom:13px!important}.fvf-native-mini-list{line-height:1.65!important}.fvf-native-mini-list li{margin:7px 0!important}.fvf-native-rule{min-height:auto!important;padding:20px 18px!important}.fvf-native-rule p:not(.fvf-native-step){line-height:1.62!important}.fvf-native-button .wp-block-button__link{width:100%!important}
}

/* =========================================================
   FV Fidélité 0.4.5 — Alignement CSS sur FV Pack Manager
   Maître visuel : FV Pack Manager Premium v1.2.14
   CSS uniquement, moteur fidélité inchangé.
========================================================= */
.fvf-account-compact,
.fvf-account-premium-progress{
  --fv-premium-green:#2e7d4f;
  --fv-premium-green-dark:#173f2a;
  --fv-premium-text:#1f2a24;
  --fv-premium-muted:#667064;
  --fv-premium-border:rgba(46,125,79,.14);
  max-width:980px!important;
  margin-inline:auto!important;
  color:var(--fv-premium-text)!important;
}

/* Hero : copie d'intention du hero Mes Packs */
.fvf-account-premium-progress .fvf-premium-hero{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:18px!important;
  width:100%!important;
  min-height:0!important;
  margin:0 0 18px!important;
  padding:24px 26px!important;
  border:1px solid var(--fv-premium-border)!important;
  border-radius:24px!important;
  background:linear-gradient(135deg,#fff 0%,#fbfaf5 58%,#f2f8ef 100%)!important;
  box-shadow:0 14px 34px rgba(23,63,42,.055)!important;
}

.fvf-account-premium-progress .fvf-premium-hero > div{
  min-width:0!important;
}

.fvf-account-premium-progress .fvf-premium-hero .fvf-account-kicker{
  margin:0 0 7px!important;
  color:#2e7d4f!important;
  font-size:10px!important;
  line-height:1.1!important;
  font-weight:600!important;
  letter-spacing:.105em!important;
  text-transform:uppercase!important;
}

.fvf-account-premium-progress .fvf-premium-hero h2{
  margin:0 0 6px!important;
  color:#15241b!important;
  font-size:clamp(25px,3vw,32px)!important;
  line-height:1.1!important;
  font-weight:600!important;
  letter-spacing:-.02em!important;
}

.fvf-account-premium-progress .fvf-premium-hero p{
  margin:0!important;
  max-width:640px!important;
  color:var(--fv-premium-muted)!important;
  font-size:15px!important;
  line-height:1.45!important;
  font-weight:400!important;
}

.fvf-account-premium-progress .fvf-premium-hero .fvf-compact-link{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:34px!important;
  padding:7px 12px!important;
  border-radius:999px!important;
  border:1px solid rgba(46,125,79,.16)!important;
  background:#fff!important;
  color:#2e7d4f!important;
  font-size:13px!important;
  line-height:1!important;
  font-weight:500!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  box-shadow:none!important;
}

.fvf-account-premium-progress .fvf-premium-hero .fvf-compact-link:hover,
.fvf-account-premium-progress .fvf-premium-hero .fvf-compact-link:focus{
  background:#f7fbf7!important;
  border-color:rgba(46,125,79,.22)!important;
  color:#236a40!important;
  text-decoration:none!important;
}

/* Carte progression : même sobriété que les cartes Packs */
.fvf-account-premium-progress .fvf-premium-progress-card{
  margin:0 0 18px!important;
  border:1px solid rgba(46,125,79,.14)!important;
  border-radius:24px!important;
  background:linear-gradient(135deg,#fff 0%,#fbfaf5 58%,#f2f8ef 100%)!important;
  box-shadow:0 14px 34px rgba(23,63,42,.045)!important;
}

.fvf-account-premium-progress .fvf-premium-progress-content h3{
  color:#15241b!important;
  font-size:clamp(22px,2.4vw,30px)!important;
  line-height:1.1!important;
  font-weight:600!important;
  letter-spacing:-.02em!important;
}

.fvf-account-premium-progress .fvf-next-badge{
  background:rgba(46,125,79,.08)!important;
  border:1px solid rgba(46,125,79,.10)!important;
  color:#2e7d4f!important;
  font-size:12px!important;
  font-weight:500!important;
}

.fvf-account-premium-progress .fvf-premium-progress-line>strong{
  color:#2e7d4f!important;
  font-weight:600!important;
}

.fvf-account-premium-progress .fvf-premium-progress-track{
  height:12px!important;
  border:1px solid rgba(46,125,79,.14)!important;
  border-radius:999px!important;
  background:#eeece5!important;
  box-shadow:inset 0 1px 1px rgba(0,0,0,.03)!important;
}

.fvf-account-premium-progress .fvf-premium-progress-track span{
  background:repeating-linear-gradient(-55deg,rgb(46,125,79) 0 6px,rgb(46,125,79) 6px,rgb(46,125,79) 6px 10px,rgb(46,125,79) 10px,rgba(252,252,252,.9) 11px 12px)!important;
  border-radius:999px!important;
}

/* Cartes résumé / guide : même famille que Packs */
.fvf-account-premium-progress .fvf-compact-stat-card,
.fvf-account-premium-progress .fvf-merchant-guide,
.fvf-account-premium-progress .fvf-compact-rewards{
  border:1px solid rgba(46,125,79,.14)!important;
  border-radius:22px!important;
  background:#fff!important;
  box-shadow:0 12px 28px rgba(23,63,42,.04)!important;
}

.fvf-account-premium-progress .fvf-compact-stat-card span,
.fvf-account-premium-progress .fvf-merchant-guide span{
  color:#2e7d4f!important;
  font-weight:500!important;
}

.fvf-account-premium-progress .fvf-compact-stat-card strong{
  color:#17251d!important;
  font-weight:600!important;
}

.fvf-account-premium-progress .fvf-merchant-guide strong{
  color:#40564a!important;
  font-weight:500!important;
}

.fvf-account-premium-progress .fvf-merchant-guide li{
  background:#f8faf7!important;
  border:1px solid rgba(46,125,79,.14)!important;
  color:#244735!important;
  font-weight:500!important;
}

.fvf-account-premium-progress .fvf-compact-rewards .fvf-rewards-section>.fvf-section-head h3{
  color:#17251d!important;
  font-size:22px!important;
  font-weight:600!important;
  letter-spacing:-.02em!important;
}

.fvf-account-premium-progress .fvf-reward-item{
  border:1px solid rgba(46,125,79,.12)!important;
  border-radius:18px!important;
  background:#fff!important;
}

.fvf-account-premium-progress .fvf-reward-actions a{
  background:#2e7d4f!important;
  color:#fff!important;
  font-weight:600!important;
}

.fvf-account-premium-progress .fvf-reward-actions a:hover{
  background:#236a40!important;
}

/* Mobile : comportement identique à l'esprit Pack Manager */
@media(max-width:860px){
  .fvf-account-premium-progress .fvf-premium-hero{
    align-items:flex-start!important;
    flex-direction:column!important;
    padding:22px 20px!important;
    border-radius:22px!important;
  }

  .fvf-account-premium-progress .fvf-premium-hero .fvf-compact-link{
    align-self:flex-start!important;
  }
}

@media(max-width:520px){
  .fvf-account-premium-progress .fvf-premium-hero{
    padding:22px 18px!important;
    border-radius:20px!important;
  }

  .fvf-account-premium-progress .fvf-premium-hero h2{
    font-size:clamp(29px,8vw,34px)!important;
    line-height:1.08!important;
  }

  .fvf-account-premium-progress .fvf-premium-hero .fvf-compact-link{
    width:100%!important;
  }
}
