/* ═══════════════════════════════════════════════════════════════
   NutriPatient Theme 2.0 — compléments (chargé après theme.css)
   ═══════════════════════════════════════════════════════════════ */

/* ── Hero v2 ─────────────────────────────────────────────────── */
.npt-hero-v2 { min-height: auto; padding: 132px 0 72px; }
.npt-hero-v2 .npt-hero-inner { grid-template-columns: 0.92fr 1.08fr; gap: 56px; }
.npt-hero-v2 h1 { font-size: clamp(2.3rem, 4.4vw, 3.4rem); }
.npt-hero-v2 .npt-hero-text { font-size: 1.08rem; max-width: 520px; }
.npt-btn-lg { padding: 16px 30px; font-size: 1rem; }

.npt-hero-trust {
  list-style: none; margin: 28px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  font-size: .88rem; color: var(--npt-slate); font-weight: 500;
  animation: npt-fadeUp .6s .35s var(--npt-ease) both;
}
.npt-hero-trust li { display: inline-flex; align-items: center; gap: 7px; }
.npt-hero-trust li > span { color: var(--npt-sage); width: 1.05em; height: 1.05em; }

/* Cadre navigateur autour de la capture réelle */
.npt-hero-v2 .npt-hero-visual { position: relative; }
.npt-v2-frame {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(26,71,49,.20), 0 0 0 1px rgba(26,71,49,.08);
  transform: perspective(1400px) rotateY(-5deg) rotateX(2deg);
  transition: transform .6s var(--npt-ease);
}
.npt-v2-frame:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
.npt-v2-frame img { display: block; width: 100%; height: auto; }
.npt-v2-frame-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 12px; background: #f1efe7; border-bottom: 1px solid #e4e0d3;
}
.npt-v2-frame-bar span { width: 10px; height: 10px; border-radius: 50%; background: #d9d5c8; }
.npt-v2-frame-bar span:nth-child(1) { background: #ff6058; }
.npt-v2-frame-bar span:nth-child(2) { background: #ffbd2e; }
.npt-v2-frame-bar span:nth-child(3) { background: #28ca42; }
.npt-v2-frame-bar em {
  margin-left: 10px; flex: 1; font-style: normal; font-size: .7rem; color: #8a877a;
  background: #fff; border-radius: 6px; padding: 3px 10px; font-family: ui-monospace, Menlo, monospace;
}

.npt-v2-float {
  position: absolute; background: #fff; border-radius: 12px;
  padding: 10px 14px; font-size: .82rem; color: var(--npt-ink);
  box-shadow: 0 12px 32px rgba(26,71,49,.18); border: 1px solid #edf1ee;
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
  animation: npt-fadeUp .7s .45s var(--npt-ease) both;
}
.npt-v2-float-a { left: -22px; bottom: 96px; }
.npt-v2-float-b { right: -18px; bottom: 26px; animation-delay: .6s; }
.npt-v2-float strong { font-family: var(--npt-font-display); font-weight: 700; margin-right: 2px; }
.npt-v2-chip-done {
  font-family: var(--npt-font-display); font-size: .62rem; font-weight: 800; letter-spacing: .08em;
  background: var(--npt-foam); color: var(--npt-forest); padding: 3px 8px; border-radius: 20px;
}

@media (max-width: 900px) {
  .npt-hero-v2 { padding: 110px 0 56px; }
  .npt-hero-v2 .npt-hero-inner { grid-template-columns: 1fr; }
  .npt-hero-v2 .npt-hero-text { margin-left: auto; margin-right: auto; }
  .npt-hero-trust { justify-content: center; }
  .npt-v2-frame { transform: none; }
  .npt-v2-float { display: none; }
}

/* ── Rail des sept étapes ────────────────────────────────────── */
.npt-parcours { padding-bottom: 80px; }
.npt-rail {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px;
  background: #fff; border: 1px solid #e6e9e4; border-radius: 18px; padding: 12px;
  box-shadow: var(--npt-shadow);
}
.npt-rail-step {
  position: relative; padding: 16px 14px 18px; border-radius: 12px;
  background: linear-gradient(180deg, #fbfcfa, #fff);
  border: 1px solid #edf1ee; transition: all .25s var(--npt-ease);
}
.npt-rail-step:hover { border-color: var(--npt-mint); transform: translateY(-3px); box-shadow: var(--npt-shadow); }
.npt-rail-step::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px;
  background: var(--npt-green); border-radius: 3px 3px 0 0; opacity: .85;
}
.npt-rail-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.npt-rail-num {
  width: 26px; height: 26px; border-radius: 50%; background: var(--npt-forest); color: #fff;
  font-family: var(--npt-font-display); font-weight: 800; font-size: .8rem;
  display: inline-flex; align-items: center; justify-content: center;
}
.npt-rail-state {
  font-family: var(--npt-font-display); font-size: .6rem; font-weight: 800; letter-spacing: .08em;
  background: var(--npt-foam); color: var(--npt-forest); padding: 3px 8px; border-radius: 20px;
}
.npt-rail-step h3 { font-size: .98rem; margin: 0 0 6px; color: var(--npt-ink); }
.npt-rail-step p { font-size: .8rem; line-height: 1.5; color: var(--npt-slate); margin: 0; }
.npt-parcours-note { text-align: center; max-width: 720px; margin: 28px auto 0; color: var(--npt-slate); font-size: 1rem; }
.npt-parcours-note strong { color: var(--npt-forest); }

@media (max-width: 1100px) { .npt-rail { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 720px)  { .npt-rail { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px)  { .npt-rail { grid-template-columns: 1fr; } }

/* ── Rangées image / texte ───────────────────────────────────── */
.npt-v2-rows .npt-section-header { margin-bottom: 48px; }
.npt-v2-row {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center;
  padding: 28px 0;
}
.npt-v2-row + .npt-v2-row { border-top: 1px solid #e9ece8; }
.npt-v2-row-rev .npt-v2-row-text { order: 2; }
.npt-v2-row-rev .npt-v2-row-img { order: 1; }
.npt-v2-kicker {
  display: inline-block; font-family: var(--npt-font-display); font-size: .74rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; color: var(--npt-sage); margin-bottom: 10px;
}
.npt-v2-row-text h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -.02em; margin-bottom: 14px; }
.npt-v2-row-text p { color: var(--npt-slate); font-size: 1.02rem; line-height: 1.7; margin-bottom: 16px; }
.npt-v2-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.npt-v2-list li { position: relative; padding-left: 26px; font-size: .93rem; color: var(--npt-ink); line-height: 1.5; }
.npt-v2-list li::before {
  content: ''; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--npt-foam) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a4731' stroke-width='3'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/10px no-repeat;
}
.npt-v2-row-img img {
  display: block; width: 100%; height: auto; border-radius: 14px;
  box-shadow: 0 18px 48px rgba(26,71,49,.16), 0 0 0 1px rgba(26,71,49,.07);
}
.npt-v2-band {
  margin-top: 40px; padding: 30px 34px; border-radius: 18px;
  background: linear-gradient(135deg, var(--npt-forest), var(--npt-green)); color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
}
.npt-v2-band h3 { color: #fff; font-size: 1.25rem; margin-bottom: 6px; }
.npt-v2-band p { color: var(--npt-mint); font-size: .95rem; margin: 0; max-width: 720px; }
.npt-v2-band .npt-btn-outline { color: #fff; border-color: rgba(255,255,255,.7); white-space: nowrap; }
.npt-v2-band .npt-btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; }

@media (max-width: 860px) {
  .npt-v2-row { grid-template-columns: 1fr; gap: 24px; }
  .npt-v2-row-rev .npt-v2-row-text { order: 1; }
  .npt-v2-row-rev .npt-v2-row-img { order: 2; }
  .npt-v2-band { flex-direction: column; align-items: flex-start; }
}

/* ── Tarif (accueil) ─────────────────────────────────────────── */
.npt-pricing-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); gap: 20px; justify-content: center;
}
.npt-price-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px; padding: 30px 30px 28px; color: #fff; display: flex; flex-direction: column;
}
.npt-price-card-main { background: #fff; color: var(--npt-ink); border-color: #fff; box-shadow: 0 24px 60px rgba(0,0,0,.25); }
.npt-price-label { font-family: var(--npt-font-display); font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .75; margin-bottom: 8px; }
.npt-price-amount { font-family: var(--npt-font-display); font-size: 3.6rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.npt-price-amount span { font-size: 1.1rem; font-weight: 700; margin-right: 8px; vertical-align: super; opacity: .8; }
.npt-price-period { font-size: .86rem; opacity: .8; margin: 8px 0 18px; }
.npt-price-card ul { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: .92rem; flex: 1; }
.npt-price-card li { padding-left: 22px; position: relative; }
.npt-price-card li::before { content: '✓'; position: absolute; left: 0; color: var(--npt-sage); font-weight: 800; }
.npt-price-card-main li::before { color: var(--npt-green); }
.npt-price-card .npt-btn { justify-content: center; }
.npt-price-card:not(.npt-price-card-main) .npt-btn-primary { background: var(--npt-sage); color: var(--npt-forest); }
.npt-price-card:not(.npt-price-card-main) .npt-btn-primary:hover { background: var(--npt-mint); }
.npt-pricing-foot { text-align: center; margin-top: 26px; color: var(--npt-mint); font-size: .95rem; }
.npt-pricing-foot a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; margin-left: 6px; }
@media (max-width: 700px) { .npt-pricing-grid { grid-template-columns: 1fr; } }

/* ── Icônes SVG dans les cartes ──────────────────────────────── */
.npt-feature-icon > span { width: 24px; height: 24px; color: var(--npt-forest); }
.npt-roadmap-icon > span { width: 26px; height: 26px; color: var(--npt-forest); }
.npt-section-green .npt-feature-card { color: var(--npt-ink); }

/* Pied de page : ligne version */
.npt-footer-version { font-family: var(--npt-font-display); font-weight: 600; color: var(--npt-mint); }
