/* ============================================================
   NATURO DESIGN v2 — naturotherapi.fr
   Design read : éditorial santé, calme, typographie-led.
   Palette : monochrome froid + UN accent émeraude.
     paper #FCFCFA · ink #1B211E · mist #F0F3F0 · line #DDE3DE
     vert #0E6B4E (accent unique) · muted #5A645E
   Type : Outfit (display) · Albert Sans (texte)
   Formes : radius 12px partout. Boutons 10px. Pas de pill.
   ============================================================ */

:root {
  --n-ink:   #1B211E;
  --n-paper: #FCFCFA;
  --n-mist:  #F0F3F0;
  --n-line:  #DDE3DE;
  --n-vert:  #0E6B4E;
  --n-vert-d:#0A523C;
  --n-muted: #5A645E;
  --n-display: 'Outfit', 'Segoe UI', sans-serif;
  --n-body:    'Albert Sans', 'Helvetica Neue', sans-serif;
}

/* ---------- 1. Site-wide (override JNews) ---------- */

body,
body input, body textarea, body select, body button,
.jeg_post_excerpt p, .jeg_meta_container, .widget {
  font-family: var(--n-body) !important;
}

h1, h2, h3, h4, h5, h6,
.jeg_post_title, .jeg_post_title a,
.jeg_block_title, .widget h2, .widget .widget-title,
.jeg_tabpost_nav li, .site-title {
  font-family: var(--n-display) !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em;
  color: var(--n-ink);
}

::selection { background: var(--n-vert); color: #fff; }

.jeg_menu > li > a:hover,
.jeg_menu > li.sfHover > a,
.jeg_menu > li.current-menu-item > a,
.jeg_post_title a:hover,
.jeg_post_meta a:hover,
.widget a:hover,
.jeg_footer a:hover {
  color: var(--n-vert) !important;
}

.jeg_menu > li.current-menu-item > a { border-color: var(--n-vert) !important; }

.jeg_post_category a,
.jeg_post_category span a,
.jeg_block_title span.jeg_block_title_bg,
span.breaking_news_title {
  background: var(--n-vert) !important;
  color: #fff !important;
}

.btn, button[type="submit"], input[type="submit"],
.jeg_btn, .jeg_readmore {
  background-color: var(--n-vert) !important;
  border-color: var(--n-vert) !important;
  color: #fff !important;
  font-family: var(--n-body) !important;
  border-radius: 10px !important;
  transition: background-color .2s ease;
}
.btn:hover, button[type="submit"]:hover, input[type="submit"]:hover,
.jeg_btn:hover, .jeg_readmore:hover {
  background-color: var(--n-vert-d) !important;
  border-color: var(--n-vert-d) !important;
}

/* Header mobile JNews : le champ de recherche (jeg_search_input, largeur
   fixe ~421px) gonfle le viewport mobile a ~460px. Fix structurel. */
@media (max-width: 767px) {
  .jeg_mobile_midbar .jeg_nav_row { display: flex !important; align-items: center; width: 100%; }
  .jeg_mobile_midbar .jeg_nav_grow { flex: 1 1 auto; min-width: 0; text-align: center; }
  .jeg_mobile_midbar .jeg_nav_normal { flex: 0 0 auto; }
  .jeg_mobile_logo img { max-height: 40px !important; width: auto !important; max-width: 55vw !important; }
  .jeg_search_wrapper .jeg_search_form { max-width: calc(100vw - 32px) !important; width: calc(100vw - 32px) !important; }
  .jeg_search_wrapper .jeg_search_input { width: 100% !important; max-width: 100% !important; }
  /* Les bannieres pub (iframe AdSense 468px, incompressible) ecartent le
     viewport mobile a 476px. On clippe pour bloquer la propagation. */
  .jeg_ad, .ads-wrapper { max-width: 100% !important; overflow: hidden !important; }
  .jeg_ad iframe, .ads-wrapper iframe, .jeg_ad ins, .ads-wrapper ins,
  .jeg_ad img, .ads-wrapper img { max-width: 100% !important; height: auto; }
  /* jeg_bg_overlay (overlay du menu mobile JNews) a une largeur fixe qui
     ecarte le viewport a 476px : on le clampe. */
  .jeg_bg_overlay { width: 100% !important; max-width: 100% !important; left: 0 !important; }
  html, body { overflow-x: hidden; }
}

/* ---------- Header menu ---------- */
.jeg_navbar_wrapper, .jeg_header .jeg_navbar { background: #fff !important; }
.jeg_navbar_wrapper { border-bottom: 1px solid var(--n-line); }
.jeg_main_menu > li > a {
  font-family: var(--n-display) !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  color: var(--n-ink) !important;
  position: relative;
}
.jeg_main_menu > li > a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  height: 2px;
  border-radius: 2px;
  background: var(--n-vert);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.jeg_main_menu > li:hover > a::after,
.jeg_main_menu > li.sfHover > a::after,
.jeg_main_menu > li.current-menu-item > a::after,
.jeg_main_menu > li.current_page_item > a::after { transform: scaleX(1); }
.jeg_main_menu > li.current-menu-item > a,
.jeg_main_menu > li.current_page_item > a { color: var(--n-vert) !important; border: none !important; }
.jeg_menu li ul.sub-menu, .jeg_menu li .sub-menu {
  border-radius: 12px !important;
  border: 1px solid var(--n-line) !important;
  box-shadow: 0 18px 36px -20px rgba(27,33,30,.3) !important;
  overflow: hidden;
  margin-top: 6px !important;
}
.jeg_menu li .sub-menu li a { font-family: var(--n-body) !important; color: var(--n-ink) !important; }
.jeg_menu li .sub-menu li a:hover { color: var(--n-vert) !important; background: var(--n-mist) !important; }
.jeg_header .jeg_social_icon_block a, .jeg_header .socials_widget a { color: var(--n-muted) !important; }
.jeg_header .jeg_social_icon_block a:hover, .jeg_header .socials_widget a:hover { color: var(--n-vert) !important; }

/* Illustrations de header (SVG) — DA : aplat émeraude + contour encre
   décalé (effet impression offset), vocabulaire feuille/cercle/arc */
.nd-illo {
  display: block;
  width: 100%;
  height: auto;
  background: var(--n-mist);
  border-radius: 12px;
}

/* ---------- Pages catégorie (archives JNews) ---------- */
.jeg_cat_header, .jeg_archive_header,
.jeg_cat_header.jeg_cat_header_3, .jeg_cat_header .jeg_inner_content {
  background: var(--n-mist) !important;
  background-image: none !important;
  border: none !important;
  border-radius: 12px;
  padding: 44px 44px !important;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}
.jeg_cat_header::before { display: none !important; }
.jeg_cat_header .jeg_cat_bg {
  background-image: none !important;
  background-color: transparent !important;
}
.jeg_cat_header .jeg_cat_overlay,
.jeg_cat_header .jeg_cat_overlay.dark {
  background: transparent !important;
}
.jeg_cat_header .jeg_cat_overlay::before,
.jeg_cat_header .jeg_cat_overlay::after,
.jeg_cat_header .jeg_cat_bg::before,
.jeg_cat_header .jeg_cat_bg::after { display: none !important; }
.jeg_cat_header .breadcrumbs, .jeg_cat_header .breadcrumbs a,
.jeg_breadcrumbs, .jeg_breadcrumbs a { color: var(--n-muted) !important; }
.jeg_cat_header .jeg_cat_title, .jeg_archive_header h1 {
  font-family: var(--n-display) !important;
  font-weight: 600 !important;
  font-size: clamp(1.8rem, 3.4vw, 2.5rem) !important;
  letter-spacing: -0.015em;
  color: var(--n-ink) !important;
  margin: 0 !important;
}
.jeg_cat_header::after {
  content: "";
  position: absolute;
  right: 40px;
  top: 50%;
  width: 110px;
  height: 140px;
  transform: translateY(-50%) rotate(22deg);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 230 320'%3E%3Cpath d='M100 10 C160 55 160 245 100 290 C40 245 40 55 100 10 Z' fill='%230E6B4E'/%3E%3Cpath d='M100 10 C160 55 160 245 100 290 C40 245 40 55 100 10 Z' fill='none' stroke='%231B211E' stroke-width='7' transform='translate(16 10)'/%3E%3C/svg%3E") no-repeat center / contain;
}
.jeg_subcat_list li a {
  border-radius: 10px !important;
  background: #fff !important;
  border: 1px solid var(--n-line) !important;
  color: var(--n-ink) !important;
  font-family: var(--n-body) !important;
}
.jeg_subcat_list li a:hover, .jeg_subcat_list li a.active {
  background: var(--n-vert) !important;
  border-color: var(--n-vert) !important;
  color: #fff !important;
}
.jeg_posts .jeg_thumb, .jeg_posts .jeg_thumb .thumbnail-container {
  border-radius: 12px;
  overflow: hidden;
}
.jeg_posts .jeg_post_title a {
  font-family: var(--n-display) !important;
  font-weight: 600 !important;
  color: var(--n-ink);
}
.jeg_posts .jeg_post_title a:hover { color: var(--n-vert) !important; }
.jeg_post_meta, .jeg_post_meta a, .jeg_meta_date, .jeg_meta_author a {
  color: var(--n-muted) !important;
}
.jeg_post_excerpt p { color: var(--n-muted); }
.jeg_navigation .page_number, .jeg_navigation a.page_number {
  border-radius: 10px !important;
  font-family: var(--n-body) !important;
}
.jeg_navigation .page_number.active,
.jeg_navigation span.page_number.active {
  background: var(--n-vert) !important;
  color: #fff !important;
}
@media (max-width: 640px) {
  .jeg_cat_header, .jeg_archive_header { padding: 30px 24px !important; }
  .jeg_cat_header::after { width: 64px; right: 18px; opacity: .55; }
}

/* ---------- 2. Articles (single post) ---------- */

.jeg_main .entry-content,
.jeg_main .content-inner {
  font-family: var(--n-body);
  color: var(--n-ink);
}
.jeg_main .content-inner p {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1.3em;
}
.jeg_main .content-inner h2 {
  font-size: 1.65rem;
  margin: 1.8em 0 .6em;
}
.jeg_main .content-inner h3 { font-size: 1.3rem; margin: 1.4em 0 .5em; }
.jeg_main .content-inner a {
  color: var(--n-vert);
  text-decoration: underline;
  text-decoration-color: rgba(14,107,78,.35);
  text-underline-offset: 3px;
}
.jeg_main .content-inner a:hover { text-decoration-color: var(--n-vert); }
.jeg_main .content-inner blockquote {
  background: var(--n-mist);
  border-left: 3px solid var(--n-vert);
  padding: 1.1em 1.4em;
  border-radius: 0 12px 12px 0;
  color: var(--n-ink);
}
.jeg_main .content-inner img { border-radius: 12px; }
.jeg_main .content-inner ul li, .jeg_main .content-inner ol li {
  line-height: 1.7;
  margin-bottom: .4em;
}

/* ---------- 3. Design system pages (.nd-page) ---------- */

.nd-page {
  font-family: var(--n-body);
  color: var(--n-ink);
  line-height: 1.65;
  font-size: 1.02rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 20px 56px;
}
.nd-page * { box-sizing: border-box; }
.nd-page img { max-width: 100%; height: auto; display: block; }

.nd-section { padding: 64px 0 8px; }

/* Eyebrow : 2 max par page. */
.nd-eyebrow {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--n-vert);
  margin-bottom: 14px;
}

/* Hero split : texte a gauche, image a droite */
.nd-hero-split {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 56px;
  align-items: center;
  padding: 40px 0 24px;
}
.nd-hero-split h1 {
  font-family: var(--n-display) !important;
  font-weight: 600 !important;
  font-size: clamp(2.1rem, 4.2vw, 3.3rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--n-ink);
  margin: 0 0 20px;
}
.nd-hero-split h1 em {
  font-style: normal;
  color: var(--n-vert);
}
.nd-lede {
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--n-muted);
  max-width: 46ch;
  margin: 0 0 28px;
}
.nd-hero-split .nd-img img { border-radius: 12px; width: 100%; object-fit: cover; aspect-ratio: 4/5; }

/* Boutons */
.nd-btn {
  display: inline-block;
  background: var(--n-vert);
  color: #fff !important;
  font-family: var(--n-body);
  font-weight: 600;
  font-size: .95rem;
  padding: 13px 26px;
  border-radius: 10px;
  text-decoration: none !important;
  transition: background-color .2s ease;
}
.nd-btn:hover { background: var(--n-vert-d); }
.nd-btn--ghost {
  background: transparent;
  color: var(--n-ink) !important;
  box-shadow: inset 0 0 0 1.5px var(--n-line);
}
.nd-btn--ghost:hover { background: var(--n-mist); }
.nd-cta-row .nd-btn { margin: 4px 10px 4px 0; }

/* Titres de section : alignes a gauche */
.nd-h2 {
  font-family: var(--n-display) !important;
  font-weight: 600 !important;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  letter-spacing: -0.015em;
  color: var(--n-ink);
  margin: 0 0 10px;
}
.nd-sub {
  color: var(--n-muted);
  max-width: 62ch;
  margin: 0 0 36px;
}

/* Principes : 2 colonnes de blocs texte, filet haut, pas de cartes */
.nd-principes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 56px;
  margin: 8px 0 24px;
}
.nd-principe {
  border-top: 1px solid var(--n-line);
  padding: 22px 0 26px;
}
.nd-principe h3 {
  font-family: var(--n-display) !important;
  font-weight: 600 !important;
  font-size: 1.12rem;
  margin: 0 0 6px;
  color: var(--n-ink);
}
.nd-principe p { margin: 0; color: var(--n-muted); font-size: .97rem; }

/* Bento asymetrique : 1 grande cellule image + 2 cellules empilees */
.nd-bento {
  display: grid;
  grid-template-columns: 7fr 5fr;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
  margin: 12px 0 24px;
}
.nd-bento__hero {
  grid-row: 1 / 3;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  min-height: 420px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}
.nd-bento__hero .nd-bento__body {
  background: linear-gradient(transparent, rgba(20,28,24,.82));
  color: #fff;
  width: 100%;
  padding: 90px 26px 24px;
}
.nd-bento__hero h3 { color: #fff !important; }
.nd-bento__hero p { color: rgba(255,255,255,.85); }
.nd-bento__cell {
  border-radius: 12px;
  padding: 26px;
  background: var(--n-mist);
}
.nd-bento__cell--vert { background: var(--n-vert); }
.nd-bento__cell--vert h3 { color: #fff !important; }
.nd-page .nd-bento__cell--vert p,
.jeg_main .nd-bento__cell--vert p { color: rgba(255,255,255,.88) !important; }
.nd-bento h3 {
  font-family: var(--n-display) !important;
  font-weight: 600 !important;
  font-size: 1.2rem;
  margin: 0 0 8px;
  color: var(--n-ink);
}
.nd-bento p { margin: 0; font-size: .97rem; color: var(--n-muted); }

/* Tuiles thematiques (navigation) */
.nd-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 12px 0 24px;
}
.nd-tile {
  display: block;
  background: var(--n-mist);
  border-radius: 12px;
  padding: 24px 22px;
  text-decoration: none !important;
  transition: transform .18s ease, background-color .18s ease;
}
.nd-tile:hover { transform: translateY(-3px); background: #E6ECE7; }
.nd-tile--vert { background: var(--n-vert); }
.nd-tile--vert:hover { background: var(--n-vert-d); }
.nd-tile--vert .nd-tile__t, .nd-tile--vert .nd-tile__d { color: #fff; }
.nd-tile--vert .nd-tile__d { color: rgba(255,255,255,.8); }
.nd-tile__t {
  display: block;
  font-family: var(--n-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--n-ink);
  margin-bottom: 4px;
}
.nd-tile__d { display: block; font-size: .9rem; color: var(--n-muted); }

/* Rituels : rangées avec colonne label */
.nd-rituels { max-width: 720px; margin: 8px 0 24px; padding: 0; list-style: none; }
.nd-rituels li {
  display: flex;
  gap: 24px;
  align-items: baseline;
  padding: 18px 2px;
  border-bottom: 1px solid var(--n-line);
}
.nd-rituels li:last-child { border-bottom: none; }
.nd-rituel__quand {
  flex: 0 0 120px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--n-vert);
}
.nd-rituel__texte { font-size: .98rem; color: var(--n-muted); }
.nd-rituel__texte strong {
  font-family: var(--n-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--n-ink);
  display: block;
  margin-bottom: 2px;
}

/* Grille d'articles (shortcode) */
.nd-posts {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, 1fr);
  margin: 12px 0 20px;
}
.nd-post-card {
  display: block;
  background: #fff;
  border: 1px solid var(--n-line);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none !important;
  transition: transform .18s ease, box-shadow .18s ease;
}
.nd-post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -18px rgba(27,33,30,.35);
}
.nd-post-card__img {
  display: block;
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  background-color: var(--n-mist);
}
.nd-post-card__img--empty { background: var(--n-mist); }
.nd-post-card__body { display: block; padding: 16px 18px 18px; }
.nd-post-card .nd-eyebrow { margin-bottom: 6px; font-size: .68rem; }
.nd-post-card__title {
  display: block;
  font-family: var(--n-display);
  font-weight: 600;
  font-size: 1.06rem;
  line-height: 1.35;
  color: var(--n-ink);
  margin-bottom: 8px;
}
.nd-post-card:hover .nd-post-card__title { color: var(--n-vert); }
.nd-post-card__date { display: block; font-size: .82rem; color: var(--n-muted); }

/* Duo image / texte */
.nd-duo {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  align-items: center;
  margin: 12px 0 24px;
}
.nd-duo__img img { border-radius: 12px; width: 100%; }

/* Bande accent (about / CTA) : seul bloc sombre de la page */
.nd-band {
  background: var(--n-vert);
  border-radius: 12px;
  padding: 52px 48px;
  margin: 56px 0 8px;
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: 32px;
  align-items: center;
}
.nd-band h2 {
  font-family: var(--n-display) !important;
  font-weight: 600 !important;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  color: #fff !important;
  margin: 0 0 10px;
}
.nd-band p { color: rgba(255,255,255,.85); margin: 0; max-width: 56ch; }
.nd-band .nd-btn {
  background: #fff;
  color: var(--n-vert) !important;
  justify-self: start;
}
.nd-band .nd-btn:hover { background: var(--n-mist); }
@media (min-width: 901px) { .nd-band .nd-btn { justify-self: end; } }

/* Note / disclaimer */
.nd-note {
  max-width: 720px;
  border-left: 3px solid var(--n-vert);
  background: var(--n-mist);
  border-radius: 0 12px 12px 0;
  padding: 18px 24px;
  margin: 40px 0 0;
  font-size: .95rem;
  color: var(--n-muted);
}
.nd-note strong { color: var(--n-ink); }

/* Portrait (qui suis-je) */
.nd-portrait {
  width: 128px; height: 128px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--n-line);
}

/* ---------- 4. Accessibilité & responsive ---------- */

.nd-page a:focus-visible, .nd-btn:focus-visible, .nd-post-card:focus-visible, .nd-tile:focus-visible {
  outline: 2px solid var(--n-vert);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .nd-post-card, .nd-tile, .nd-btn { transition: none; }
  .nd-post-card:hover, .nd-tile:hover { transform: none; }
}

@media (max-width: 900px) {
  .nd-hero-split { grid-template-columns: 1fr; gap: 28px; padding-top: 16px; }
  .nd-hero-split .nd-img img { aspect-ratio: 16/10; }
  .nd-bento { grid-template-columns: 1fr; grid-template-rows: auto; }
  .nd-bento__hero { grid-row: auto; min-height: 300px; }
  .nd-tiles { grid-template-columns: repeat(2, 1fr); }
  .nd-posts { grid-template-columns: repeat(2, 1fr); }
  .nd-duo { grid-template-columns: 1fr; gap: 24px; }
  .nd-band { grid-template-columns: 1fr; padding: 36px 28px; }
  .nd-principes { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 640px) {
  .nd-section { padding: 44px 0 8px; }
  .nd-tiles, .nd-posts { grid-template-columns: 1fr; }
  .nd-rituels li { flex-direction: column; gap: 4px; }
  .nd-rituel__quand { flex: none; }
}
