/* ═══════════════════════════════════════════════════════════════
   NutriPatient Roadmap — Styles
   Cohérent avec le thème NutriPatient (couleurs, typographie)
   Préfixe : .npr- pour éviter tout conflit
   ═══════════════════════════════════════════════════════════════ */

.npr-roadmap-wrap {
    font-family: 'Outfit', 'DM Sans', system-ui, -apple-system, sans-serif;
    color: #1a1a1a;
}

.npr-roadmap-wrap *,
.npr-roadmap-wrap *::before,
.npr-roadmap-wrap *::after {
    box-sizing: border-box;
}

/* ───────── Hero ───────── */
.npr-hero {
    background: linear-gradient(160deg, #0d1f13 0%, #1a3a22 50%, #0f2744 100%);
    color: white;
    padding: 100px 24px 110px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.npr-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 70% 60% at 30% 40%, rgba(82,183,136,.18), transparent 60%),
      radial-gradient(ellipse 50% 50% at 80% 70%, rgba(59,130,246,.14), transparent 50%);
    pointer-events: none;
}
.npr-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
}
.npr-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50px;
    padding: 8px 20px;
    font-size: .82rem;
    font-weight: 600;
    color: rgba(255,255,255,.92);
    margin-bottom: 28px;
    letter-spacing: .04em;
}
.npr-hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.05;
    margin: 0 0 22px;
    color: #fff;
}
.npr-hero-title em {
    font-style: normal;
    background: linear-gradient(135deg, #52b788, #95d5b2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.npr-hero-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,.72);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 36px;
}
.npr-hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ───────── Boutons ───────── */
.npr-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #52b788;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    transition: all .2s;
    border: none;
    cursor: pointer;
}
.npr-btn-primary:hover {
    background: #40916c;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(82,183,136,.3);
}
.npr-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.25);
    color: rgba(255,255,255,.9);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    transition: all .2s;
}
.npr-btn-secondary:hover {
    background: rgba(255,255,255,.18);
    color: #fff;
}
.npr-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid rgba(255,255,255,.3);
    color: rgba(255,255,255,.85);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    transition: all .2s;
}
.npr-btn-ghost:hover {
    background: rgba(255,255,255,.08);
    color: #fff;
}
.npr-btn-large {
    padding: 16px 32px;
    font-size: 1.05rem;
}
.npr-btn-block {
    width: 100%;
    justify-content: center;
}

/* ───────── Stats ───────── */
.npr-stats {
    background: #f8fafc;
    padding: 60px 24px;
    border-bottom: 1px solid #e2e8f0;
}
.npr-stats-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.npr-stat {
    text-align: center;
}
.npr-stat-value {
    font-size: 3rem;
    font-weight: 800;
    color: #2c5530;
    letter-spacing: -.03em;
    line-height: 1;
    margin-bottom: 8px;
}
.npr-stat-label {
    font-size: .9rem;
    color: #64748b;
    font-weight: 500;
    line-height: 1.4;
}
@media (max-width: 768px) {
    .npr-stats-inner { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .npr-stat-value { font-size: 2.4rem; }
}

/* ───────── 3 colonnes ───────── */
.npr-columns {
    background: #fff;
    padding: 80px 24px 100px;
}
.npr-columns-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 28px;
    align-items: start;
}
@media (max-width: 1100px) {
    .npr-columns-inner { grid-template-columns: 1fr; gap: 48px; max-width: 700px; }
}

.npr-column {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 20px rgba(0,0,0,.04);
    display: flex;
    flex-direction: column;
}
.npr-column-disponible {
    border-color: #86efac;
    box-shadow: 0 4px 30px rgba(82,183,136,.15);
}
.npr-column-en-cours {
    border-color: #fcd34d;
}
.npr-column-planifie {
    border-color: #c7d2fe;
}

.npr-column-header {
    padding: 28px 24px 24px;
    border-bottom: 1px solid #f1f5f9;
    text-align: center;
}
.npr-column-disponible .npr-column-header {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
}
.npr-column-en-cours .npr-column-header {
    background: linear-gradient(135deg, #fefce8, #fef3c7);
}
.npr-column-planifie .npr-column-header {
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
}

.npr-column-icon {
    font-size: 2.5rem;
    margin-bottom: 8px;
}
.npr-column-header h2 {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 0 8px;
    color: #111827;
}
.npr-column-disponible .npr-column-header h2 { color: #14532d; }
.npr-column-en-cours .npr-column-header h2 { color: #713f12; }
.npr-column-planifie .npr-column-header h2 { color: #312e81; }
.npr-column-header p {
    margin: 0;
    color: #64748b;
    font-size: .9rem;
    line-height: 1.5;
}

.npr-cards {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.npr-card {
    display: flex;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #f1f5f9;
    transition: all .2s;
}
.npr-card-disponible:hover {
    border-color: #86efac;
    background: #f0fdf4;
    transform: translateX(2px);
}
.npr-card-en-cours:hover {
    border-color: #fcd34d;
    background: #fefce8;
    transform: translateX(2px);
}
.npr-card-planifie:hover {
    border-color: #c7d2fe;
    background: #eef2ff;
    transform: translateX(2px);
}

.npr-card-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 10px;
}
.npr-card-disponible .npr-card-icon { background: #dcfce7; }
.npr-card-en-cours .npr-card-icon { background: #fef3c7; }
.npr-card-planifie .npr-card-icon { background: #e0e7ff; }

.npr-card-body {
    flex: 1;
    min-width: 0;
}
.npr-card-body h3 {
    font-size: .95rem;
    font-weight: 700;
    margin: 0 0 4px;
    color: #111827;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.npr-card-body p {
    font-size: .82rem;
    color: #475569;
    margin: 0;
    line-height: 1.5;
}
.npr-card-tag {
    background: linear-gradient(135deg, #2c5530, #52b788);
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.npr-column-cta {
    padding: 16px;
    border-top: 1px solid #f1f5f9;
}

/* ───────── Philosophie ───────── */
.npr-philosophy {
    background: linear-gradient(135deg, #1a3a22, #0f2744);
    padding: 80px 24px;
    text-align: center;
    color: white;
}
.npr-philosophy-inner {
    max-width: 720px;
    margin: 0 auto;
}
.npr-philosophy h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    margin: 0 0 20px;
    letter-spacing: -.03em;
    color: #fff;
}
.npr-philosophy p {
    font-size: 1.05rem;
    color: rgba(255,255,255,.78);
    line-height: 1.75;
    margin: 0 0 32px;
}
.npr-philosophy-meta {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    color: rgba(255,255,255,.6);
    font-size: .9rem;
}
.npr-philosophy-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ───────── CTA final ───────── */
.npr-final-cta {
    background: #f8fafc;
    padding: 80px 24px;
    text-align: center;
}
.npr-final-cta-inner {
    max-width: 720px;
    margin: 0 auto;
}
.npr-final-cta h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 800;
    margin: 0 0 16px;
    color: #2c5530;
    letter-spacing: -.03em;
}
.npr-final-cta p {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.7;
    margin: 0 0 36px;
}
.npr-final-cta-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.npr-final-cta .npr-btn-secondary {
    background: rgba(44,85,48,.08);
    border-color: rgba(44,85,48,.2);
    color: #2c5530;
}
.npr-final-cta .npr-btn-secondary:hover {
    background: rgba(44,85,48,.15);
    color: #2c5530;
}
.npr-final-cta .npr-btn-ghost {
    border-color: rgba(44,85,48,.3);
    color: #2c5530;
}
.npr-final-cta .npr-btn-ghost:hover {
    background: rgba(44,85,48,.08);
    color: #2c5530;
}

/* ═══════════════════════════════════════════════════════════════
   Section Facturation injectée dans la HOMEPAGE
   ═══════════════════════════════════════════════════════════════ */

.npr-home-billing {
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    padding: 90px 24px;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}
.npr-home-billing-inner {
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Outfit', 'DM Sans', system-ui, sans-serif;
}
.npr-home-billing-header {
    text-align: center;
    margin-bottom: 56px;
}
.npr-home-billing-badge {
    display: inline-block;
    background: linear-gradient(135deg, #2c5530, #52b788);
    color: #fff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: .8rem;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: .04em;
}
.npr-home-billing-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: #0d1f13;
    margin: 0 0 16px;
    letter-spacing: -.03em;
    line-height: 1.15;
}
.npr-home-billing-header h2 em {
    font-style: normal;
    background: linear-gradient(135deg, #2c5530, #52b788);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.npr-home-billing-header p {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}
.npr-home-billing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}
@media (max-width: 900px) {
    .npr-home-billing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .npr-home-billing-grid { grid-template-columns: 1fr; }
}
.npr-home-billing-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    transition: all .2s;
}
.npr-home-billing-card:hover {
    border-color: #52b788;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(82,183,136,.12);
}
.npr-home-billing-icon {
    font-size: 2rem;
    margin-bottom: 14px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.npr-home-billing-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0d1f13;
    margin: 0 0 10px;
    line-height: 1.3;
}
.npr-home-billing-card p {
    font-size: .9rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}
.npr-home-billing-card p strong {
    color: #2c5530;
    font-weight: 600;
}
.npr-home-billing-cta {
    text-align: center;
    margin-top: 8px;
}
.npr-home-billing-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2c5530;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    padding: 12px 24px;
    border: 2px solid #2c5530;
    border-radius: 12px;
    transition: all .2s;
}
.npr-home-billing-link:hover {
    background: #2c5530;
    color: #fff;
    transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════════
   Lien Roadmap homepage (injecté dans la section Roadmap existante)
   ═══════════════════════════════════════════════════════════════ */

.npr-home-roadmap-cta {
    text-align: center;
    margin-top: 32px;
    padding-top: 24px;
}
.npr-home-roadmap-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #2c5530, #52b788);
    color: #fff !important;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    transition: all .2s;
}
.npr-home-roadmap-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(82,183,136,.3);
    color: #fff !important;
}
.npr-home-roadmap-note {
    margin-top: 14px;
    font-size: .85rem;
    color: #64748b;
    font-style: italic;
}
