/* ═══════════════════════════════════════════════════════════════
   NutriPatient Theme — CSS Principal
   Esthétique : Nature sophistiquée — tons botaniques, typographie
   éditoriale, espaces généreux, micro-animations organiques.
   ═══════════════════════════════════════════════════════════════ */

/* ── Variables ───────────────────────────────────────────────── */
:root {
  /* Palette principale — nature & confiance */
  --npt-forest:     #1a4731;
  --npt-green:      #2d6a4f;
  --npt-sage:       #52b788;
  --npt-mint:       #95d5b2;
  --npt-foam:       #d8f3dc;
  --npt-cream:      #faf9f6;
  --npt-warm:       #f5f0e8;

  /* Neutres */
  --npt-ink:        #1b2d3e;
  --npt-slate:      #4a5568;
  --npt-muted:      #718096;
  --npt-silver:     #a0aec0;
  --npt-border:     #e2e8f0;
  --npt-white:      #ffffff;

  /* Accents */
  --npt-amber:      #d69e2e;
  --npt-coral:      #e76f51;
  --npt-sky:        #4ea8de;

  /* Typographie */
  --npt-font-display: 'Outfit', sans-serif;
  --npt-font-body:    'DM Sans', sans-serif;

  /* Ombres */
  --npt-shadow-sm:  0 1px 2px rgba(26,71,49,.06);
  --npt-shadow:     0 4px 16px rgba(26,71,49,.08);
  --npt-shadow-lg:  0 12px 40px rgba(26,71,49,.12);
  --npt-shadow-xl:  0 24px 64px rgba(26,71,49,.16);

  /* Rayons */
  --npt-radius:     12px;
  --npt-radius-lg:  20px;
  --npt-radius-xl:  28px;

  /* Transitions */
  --npt-ease:       cubic-bezier(.4, 0, .2, 1);
  --npt-bounce:     cubic-bezier(.34, 1.56, .64, 1);
}

/* ── Reset de base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: var(--npt-font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--npt-ink);
  background: var(--npt-cream);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--npt-green); text-decoration: none; transition: color .25s var(--npt-ease); }
a:hover { color: var(--npt-forest); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--npt-font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--npt-ink);
}

.npt-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ═══════════════════════════════════════════════════════════════
   HEADER / NAVIGATION
   ═══════════════════════════════════════════════════════════════ */

.npt-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(250,249,246,.85);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid rgba(226,232,240,.5);
  transition: all .35s var(--npt-ease);
}

/* WP admin bar offset */
.admin-bar .npt-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .npt-header { top: 46px; } }

.npt-header.scrolled {
  background: rgba(250,249,246,.95);
  box-shadow: var(--npt-shadow);
}

.npt-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.npt-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--npt-font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--npt-forest);
  letter-spacing: -.02em;
}

.npt-logo-mark {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--npt-green), var(--npt-sage));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 1.2rem;
  box-shadow: 0 2px 8px rgba(45,106,79,.3);
}

.npt-nav { display: flex; align-items: center; gap: 8px; }

.npt-nav a {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  font-family: var(--npt-font-display);
  font-size: .9rem;
  font-weight: 500;
  color: var(--npt-slate);
  border-radius: 8px;
  transition: all .25s var(--npt-ease);
}

.npt-nav a:hover,
.npt-nav a.current {
  color: var(--npt-green);
  background: var(--npt-foam);
}

.npt-nav-cta {
  background: var(--npt-green) !important;
  color: var(--npt-white) !important;
  font-weight: 600 !important;
  padding: 10px 22px !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 8px rgba(45,106,79,.25);
  transition: all .3s var(--npt-ease) !important;
}
.npt-nav-cta:hover {
  background: var(--npt-forest) !important;
  color: var(--npt-white) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(45,106,79,.35) !important;
}

/* Bouton Espace patient — même style, couleur sage plus claire */
.npt-nav-cta-patient {
  background: var(--npt-sage) !important;
  box-shadow: 0 2px 8px rgba(82,183,136,.25) !important;
}
.npt-nav-cta-patient:hover {
  background: #40916c !important;
  box-shadow: 0 4px 16px rgba(82,183,136,.4) !important;
}

/* Mobile toggle */
.npt-menu-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 40px; height: 40px;
  position: relative;
  color: var(--npt-ink);
}
.npt-menu-toggle span {
  display: block; width: 22px; height: 2px;
  background: currentColor; border-radius: 2px;
  position: absolute; left: 9px;
  transition: all .3s var(--npt-ease);
}
.npt-menu-toggle span:nth-child(1) { top: 13px; }
.npt-menu-toggle span:nth-child(2) { top: 19px; }
.npt-menu-toggle span:nth-child(3) { top: 25px; }
.npt-menu-toggle.open span:nth-child(1) { transform: rotate(45deg); top: 19px; }
.npt-menu-toggle.open span:nth-child(2) { opacity: 0; }
.npt-menu-toggle.open span:nth-child(3) { transform: rotate(-45deg); top: 19px; }

@media (max-width: 900px) {
  .npt-menu-toggle { display: block; }
  .npt-nav {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--npt-cream);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    transform: translateY(-120%);
    opacity: 0;
    transition: all .35s var(--npt-ease);
    box-shadow: var(--npt-shadow-lg);
    border-bottom-left-radius: var(--npt-radius-lg);
    border-bottom-right-radius: var(--npt-radius-lg);
  }
  .npt-nav.open { transform: translateY(0); opacity: 1; }
  .npt-nav a { width: 100%; padding: 12px 16px; font-size: 1rem; }
  .admin-bar .npt-nav { top: 104px; }
}

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════ */

.npt-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  overflow: hidden;
}

/* Fond organique */
.npt-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(216,243,220,.6), transparent 60%),
    radial-gradient(ellipse 50% 80% at 80% 30%, rgba(149,213,178,.3), transparent 50%),
    radial-gradient(ellipse 40% 40% at 60% 80%, rgba(245,240,232,.8), transparent 50%);
  z-index: 0;
}

/* Motif décoratif */
.npt-hero::after {
  content: '';
  position: absolute;
  top: -10%; right: -5%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(82,183,136,.12), transparent 70%);
  z-index: 0;
  animation: npt-float 12s ease-in-out infinite;
}

@keyframes npt-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-20px, 30px) scale(1.05); }
  66% { transform: translate(15px, -20px) scale(.97); }
}

.npt-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.npt-hero-content { max-width: 560px; }

.npt-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 8px;
  background: var(--npt-white);
  border: 1px solid var(--npt-foam);
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--npt-green);
  margin-bottom: 24px;
  box-shadow: var(--npt-shadow-sm);
  animation: npt-fadeUp .6s var(--npt-ease) both;
}

.npt-hero-badge-dot {
  width: 8px; height: 8px;
  background: var(--npt-sage);
  border-radius: 50%;
  animation: npt-pulse 2s ease-in-out infinite;
}

@keyframes npt-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.3); }
}

.npt-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.08;
  color: var(--npt-forest);
  margin-bottom: 20px;
  animation: npt-fadeUp .6s .1s var(--npt-ease) both;
}

.npt-hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--npt-green), var(--npt-sage));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.npt-hero-text {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--npt-slate);
  margin-bottom: 36px;
  animation: npt-fadeUp .6s .2s var(--npt-ease) both;
}

.npt-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: npt-fadeUp .6s .3s var(--npt-ease) both;
}

@keyframes npt-fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Mockup hero */
.npt-hero-visual {
  position: relative;
  animation: npt-fadeUp .8s .4s var(--npt-ease) both;
}

.npt-hero-mockup {
  background: var(--npt-white);
  border-radius: var(--npt-radius-xl);
  box-shadow: var(--npt-shadow-xl);
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(226,232,240,.6);
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
  transition: transform .6s var(--npt-ease);
}

.npt-hero-mockup:hover {
  transform: perspective(1000px) rotateY(0) rotateX(0);
}

.npt-mockup-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--npt-foam);
  border-bottom: 1px solid var(--npt-border);
}

.npt-mockup-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.npt-mockup-dot:nth-child(1) { background: #ff6058; }
.npt-mockup-dot:nth-child(2) { background: #ffbd2e; }
.npt-mockup-dot:nth-child(3) { background: #28ca42; }

.npt-mockup-content {
  padding: 24px;
  min-height: 320px;
  background: linear-gradient(180deg, var(--npt-white), var(--npt-cream));
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.npt-mockup-nav {
  display: flex;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--npt-border);
}

.npt-mockup-nav span {
  padding: 6px 14px;
  border-radius: 6px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--npt-muted);
}

.npt-mockup-nav span:first-child {
  background: var(--npt-foam);
  color: var(--npt-green);
}

.npt-mockup-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.npt-mockup-card {
  padding: 16px;
  border-radius: 10px;
  background: var(--npt-white);
  border: 1px solid var(--npt-border);
}

.npt-mockup-card-label {
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--npt-muted);
  margin-bottom: 4px;
}

.npt-mockup-card-value {
  font-family: var(--npt-font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--npt-forest);
}

.npt-mockup-card-value.up { color: var(--npt-sage); }
.npt-mockup-card-value.amber { color: var(--npt-amber); }

.npt-mockup-rows { display: flex; flex-direction: column; gap: 8px; }
.npt-mockup-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: var(--npt-white);
  border: 1px solid var(--npt-border);
  border-radius: 8px;
  font-size: .8rem;
}
.npt-mockup-row-name { font-weight: 600; color: var(--npt-ink); }
.npt-mockup-row-tag {
  font-size: .7rem;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}
.npt-mockup-row-tag.green { background: var(--npt-foam); color: var(--npt-green); }
.npt-mockup-row-tag.amber { background: #fef3c7; color: #92400e; }

@media (max-width: 900px) {
  .npt-hero-inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .npt-hero-content { max-width: 100%; }
  .npt-hero-actions { justify-content: center; }
  .npt-hero-visual { max-width: 500px; margin: 0 auto; }
  .npt-hero-mockup { transform: none; }
}

/* ═══════════════════════════════════════════════════════════════
   BOUTONS
   ═══════════════════════════════════════════════════════════════ */

.npt-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--npt-font-display);
  font-size: .95rem;
  font-weight: 600;
  border-radius: var(--npt-radius);
  border: none;
  cursor: pointer;
  transition: all .3s var(--npt-ease);
  text-decoration: none;
}

.npt-btn-primary {
  background: var(--npt-green);
  color: var(--npt-white);
  box-shadow: 0 2px 8px rgba(45,106,79,.25);
}
.npt-btn-primary:hover {
  background: var(--npt-forest);
  color: var(--npt-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(45,106,79,.3);
}

.npt-btn-outline {
  background: transparent;
  color: var(--npt-green);
  border: 2px solid var(--npt-green);
}
.npt-btn-outline:hover {
  background: var(--npt-foam);
  color: var(--npt-forest);
  transform: translateY(-2px);
}

.npt-btn-icon {
  width: 20px; height: 20px;
  transition: transform .3s var(--npt-ease);
}
.npt-btn:hover .npt-btn-icon { transform: translateX(3px); }

/* ═══════════════════════════════════════════════════════════════
   SECTION : FONCTIONNALITÉS
   ═══════════════════════════════════════════════════════════════ */

.npt-section {
  padding: 100px 0;
  position: relative;
}

.npt-section-alt { background: var(--npt-white); }
.npt-section-green { background: var(--npt-forest); color: var(--npt-white); }

.npt-section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.npt-section-label {
  display: inline-block;
  font-family: var(--npt-font-display);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--npt-sage);
  margin-bottom: 12px;
}

.npt-section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}

.npt-section-desc {
  font-size: 1.1rem;
  color: var(--npt-slate);
  line-height: 1.7;
}

.npt-section-green .npt-section-label { color: var(--npt-mint); }
.npt-section-green .npt-section-title { color: var(--npt-white); }
.npt-section-green .npt-section-desc { color: var(--npt-mint); }

/* Grille de features */
.npt-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 1000px;
  margin: 0 auto;
}

.npt-feature-card {
  display: flex;
  gap: 16px;
  background: var(--npt-white);
  border: 1px solid #eef1f4;
  border-radius: 16px;
  padding: 20px 22px;
  transition: all .22s var(--npt-ease);
  position: relative;
}

.npt-feature-card:hover {
  border-color: var(--npt-foam);
  box-shadow: var(--npt-shadow);
  transform: translateY(-2px);
}

.npt-feature-icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: var(--npt-foam);
  border-radius: 12px;
  font-size: 1.65rem;
  line-height: 1;
  transition: all .25s var(--npt-bounce);
}

.npt-feature-icon svg { width: 24px; height: 24px; }

.npt-feature-card:hover .npt-feature-icon {
  background: var(--npt-mint);
  transform: scale(1.07);
}

.npt-feature-body { flex: 1; min-width: 0; }

.npt-feature-title {
  font-family: var(--npt-font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 1px 0 6px;
  color: var(--npt-ink);
}

.npt-feature-desc {
  font-size: .875rem;
  line-height: 1.55;
  color: var(--npt-slate);
  margin: 0;
}

.npt-feature-proof { margin: 10px 0 0; }

@media (max-width: 720px) {
  .npt-features-grid { grid-template-columns: 1fr; max-width: 520px; }
}

/* ═══════════════════════════════════════════════════════════════
   SECTION : WORKFLOW / PROCESSUS
   ═══════════════════════════════════════════════════════════════ */

.npt-workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  counter-reset: step;
}

.npt-workflow-step {
  text-align: center;
  position: relative;
  counter-increment: step;
}

.npt-workflow-step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  margin: 0 auto 20px;
  background: var(--npt-green);
  color: var(--npt-white);
  font-family: var(--npt-font-display);
  font-size: 1.3rem;
  font-weight: 800;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(45,106,79,.2);
}

.npt-workflow-step-title {
  font-family: var(--npt-font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.npt-workflow-step-desc {
  font-size: .85rem;
  color: var(--npt-slate);
  line-height: 1.6;
}

.npt-section-green .npt-workflow-step::before {
  background: var(--npt-white);
  color: var(--npt-forest);
}

.npt-section-green .npt-workflow-step-title { color: var(--npt-white); }
.npt-section-green .npt-workflow-step-desc { color: var(--npt-mint); }

@media (max-width: 700px) {
  .npt-workflow-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .npt-workflow-steps { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
}

/* ═══════════════════════════════════════════════════════════════
   SECTION : CTA FINAL
   ═══════════════════════════════════════════════════════════════ */

.npt-cta-section {
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.npt-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 50% 50%, rgba(216,243,220,.5), transparent);
}

.npt-cta-box {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.npt-cta-box h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}

.npt-cta-box p {
  font-size: 1.1rem;
  color: var(--npt-slate);
  margin-bottom: 32px;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */

.npt-footer {
  background: var(--npt-forest);
  color: var(--npt-mint);
  padding: 64px 0 32px;
}

.npt-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.npt-footer-brand {
  font-family: var(--npt-font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--npt-white);
  margin-bottom: 12px;
}

.npt-footer-desc {
  font-size: .9rem;
  line-height: 1.6;
  color: var(--npt-mint);
  max-width: 300px;
}

.npt-footer-title {
  font-family: var(--npt-font-display);
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--npt-white);
  margin-bottom: 16px;
}

.npt-footer a {
  display: block;
  padding: 4px 0;
  color: var(--npt-mint);
  font-size: .9rem;
  transition: all .25s var(--npt-ease);
}

.npt-footer a:hover { color: var(--npt-white); transform: translateX(3px); }

.npt-footer-bottom {
  border-top: 1px solid rgba(149,213,178,.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  color: var(--npt-silver);
}

@media (max-width: 768px) {
  .npt-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .npt-footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ═══════════════════════════════════════════════════════════════
   PAGES INTÉRIEURES (Blog, etc.)
   ═══════════════════════════════════════════════════════════════ */

.npt-page-content {
  padding: 120px 0 80px;
  min-height: 60vh;
}

.npt-page-content h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 24px;
}

.npt-page-content .entry-content {
  max-width: 760px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.npt-page-content .entry-content h2 { margin-top: 40px; margin-bottom: 16px; }
.npt-page-content .entry-content p { margin-bottom: 16px; }

/* ═══════════════════════════════════════════════════════════════
   TEMPLATE APP — Plein écran
   ═══════════════════════════════════════════════════════════════ */

.npt-template-app {
  padding-top: 0;
  min-height: 100vh;
}

.npt-template-app .npt-header { display: none; }
.npt-template-app .npt-footer { display: none; }

/* ═══════════════════════════════════════════════════════════════
   ANIMATIONS SCROLL (via IntersectionObserver dans theme.js)
   ═══════════════════════════════════════════════════════════════ */

.npt-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all .7s var(--npt-ease);
}

.npt-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.npt-reveal-delay-1 { transition-delay: .1s; }
.npt-reveal-delay-2 { transition-delay: .2s; }
.npt-reveal-delay-3 { transition-delay: .3s; }
.npt-reveal-delay-4 { transition-delay: .4s; }
.npt-reveal-delay-5 { transition-delay: .5s; }

/* ═══════════════════════════════════════════════════════════════
   UTILITAIRES
   ═══════════════════════════════════════════════════════════════ */

.npt-text-center { text-align: center; }
.npt-mt-0 { margin-top: 0; }
.npt-mb-0 { margin-bottom: 0; }
.npt-sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* Logo personnalis� (upload� via Apparence > Personnaliser > Identit� du site) */
.npt-logo-custom {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.npt-logo-custom .custom-logo-link {
  display: block;
  line-height: 0;
}
.npt-logo-custom img,
.npt-logo-custom .custom-logo {
  display: block;
  height: auto;
  max-height: 64px;
  width: auto;
  max-width: 220px;
}
/* ── Nouvelles classes front-page v1.3.x ──────────────────── */

/* Grille 2 colonnes pour la section base alimentaire */
.npt-features-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 768px) {
  .npt-features-grid-2 { grid-template-columns: 1fr; }
}

/* Carte mise en avant */
.npt-feature-highlight {
  border: 2px solid var(--npt-green, #2c5530);
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

/* Badge sur les cartes */
.npt-feature-badge {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
  vertical-align: middle;
  margin-left: 8px;
}
.npt-badge-new  { background: #2c5530; color: #fff; }
.npt-badge-soon { background: #0369a1; color: #fff; }

/* Liste de fonctionnalités dans une carte */
.npt-feature-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  font-size: .85rem;
  color: #475569;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.npt-feature-list li { padding-left: 4px; }

/* Section Roadmap */
.npt-roadmap-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 760px;
  margin: 0 auto;
}
.npt-roadmap-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px;
}
.npt-roadmap-icon {
  font-size: 2rem;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border-radius: 12px;
}
.npt-roadmap-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1b2d3e;
  margin: 6px 0 6px;
}
.npt-roadmap-content p {
  font-size: .88rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}
.npt-roadmap-badge {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.npt-badge-soon { background: #dbeafe; color: #1d4ed8; }
/* ── Template espace patient — plein écran sans contrainte colonne ── */
.npt-template-patient {
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
}
/* Supprimer les marges du thème sur cette page */
body.page-template-template-patient .npt-page-content,
body.page-template-template-patient .entry-content,
body.page-template-template-patient article,
body.page-template-template-patient .site-main {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
