/* ==========================================================================
   Nell Naturopathie — Modules Elementor
   Styles par défaut des modules. Tout est surchargeable depuis Elementor
   (les réglages génèrent des règles plus spécifiques : {{WRAPPER}} …).
   Palette : #c1e4c4 sauge · #c1dbe4 brume · #050505 noir · whitesmoke
   Polices : Merriweather (titres) · Comic Neue (texte)
   ========================================================================== */

:root {
  --nell-sage: #c1e4c4;
  --nell-sky: #c1dbe4;
  --nell-ink: #050505;
  --nell-paper: #f5f5f5;
  --nell-white: #ffffff;
  --nell-sage-soft: #e5f2e6;
  --nell-sage-deep: #3d6b46;
  --nell-sky-soft: #e7f0f4;
  --nell-ink-soft: #3a423d;
  --nell-muted: #5d6a62;
  --nell-line-default: rgba(5, 5, 5, .08);

  --nell-font-body: "Comic Neue", "Comic Sans MS", system-ui, sans-serif;
  --nell-font-title: "Merriweather", Georgia, serif;

  --nell-radius-sm: 16px;
  --nell-radius: 32px;
  --nell-radius-lg: 48px;
  --nell-radius-xl: 64px;

  --nell-shadow-sm: 0 2px 10px rgba(30, 60, 40, .06);
  --nell-shadow: 0 18px 50px -20px rgba(30, 60, 40, .25);

  --nell-ease: cubic-bezier(.22, .61, .36, 1);
  --nell-ease-out: cubic-bezier(.16, 1, .3, 1);
  --nell-section-pad: clamp(64px, 10vw, 128px);
}

/* ---------- Section / conteneur ---------- */
.nell-section {
  --nell-text: var(--nell-ink-soft);
  --nell-heading: var(--nell-ink);
  --nell-accent: var(--nell-sage-deep);
  --nell-line: var(--nell-line-default);
  position: relative;
  padding: var(--nell-section-pad) 0;
  font-family: var(--nell-font-body);
  font-size: clamp(17px, 1.05vw + 12px, 19px);
  line-height: 1.7;
  color: var(--nell-text);
  box-sizing: border-box;
}
:where(.nell-section) *, :where(.nell-section) *::before, :where(.nell-section) *::after { box-sizing: border-box; }
.nell-section::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; border-radius: inherit; }
.nell-section > .nell-container, .nell-section > .nell-footer__body { position: relative; z-index: 1; }
.nell-section--flush { padding: 0; }
:where(.nell-section) img { max-width: 100%; height: auto; display: block; }
:where(.nell-section) p { margin: 0 0 1.1em; }
:where(.nell-section) a { color: var(--nell-accent); text-underline-offset: 3px; transition: color .25s var(--nell-ease); }
:where(.nell-section) a:hover { color: var(--nell-heading); }
:where(.nell-section) :focus-visible { outline: 2px solid var(--nell-accent); outline-offset: 3px; border-radius: 6px; }

.nell-container {
  --nell-gutter: clamp(16px, 4vw, 40px);
  width: calc(100% - 2 * var(--nell-gutter));
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.nell-bg--paper { background-color: var(--nell-paper); }
.nell-bg--white { background-color: var(--nell-white); }
.nell-bg--sage  { background-color: var(--nell-sage-soft); }
.nell-bg--sky   { background-color: var(--nell-sky-soft); }
.nell-bg--dark  { background-color: var(--nell-ink); --nell-text: rgba(255,255,255,.82); --nell-heading: #fff; --nell-accent: var(--nell-sage); }
.nell-bg--hero {
  background:
    radial-gradient(55% 80% at 90% 0%, rgba(193, 219, 228, .75), transparent 70%),
    radial-gradient(45% 70% at 0% 100%, rgba(193, 228, 196, .85), transparent 70%),
    var(--nell-paper);
}

/* ---------- Typographie ---------- */
:where(.nell-section) :is(h1, h2, h3, h4, h5, h6), .nell-title {
  font-family: var(--nell-font-title);
  color: var(--nell-heading);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.01em;
  margin: 0 0 .6em;
}
:where(.nell-section) h1.nell-title { font-size: clamp(2.3rem, 5vw, 4.2rem); font-weight: 300; }
:where(.nell-section) h2.nell-title { font-size: clamp(1.8rem, 3.2vw, 2.8rem); font-weight: 300; }
:where(.nell-section) h3.nell-title { font-size: clamp(1.35rem, 2vw, 1.75rem); }
:where(.nell-section) h4.nell-title { font-size: 1.15rem; font-weight: 700; }
.nell-accent { font-style: italic; color: var(--nell-accent); }
:where(.nell-section) strong { color: var(--nell-heading); }

.nell-eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--nell-font-body); font-weight: 700; font-size: .8rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--nell-accent);
  margin: 0 0 1rem;
}
.nell-eyebrow--lines::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.nell-head[style*="center"] .nell-eyebrow--lines::after,
.nell-head.is-center .nell-eyebrow--lines::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.nell-lead { font-size: clamp(1.1rem, 1.4vw, 1.3rem); }
.nell-head { max-width: 760px; margin-bottom: clamp(36px, 6vw, 64px); }
.nell-head:last-child { margin-bottom: 0; }
.nell-head .nell-lead:last-child { margin-bottom: 0; }

/* Contenu riche (WYSIWYG) */
.nell-prose > :last-child { margin-bottom: 0; }
.nell-prose :is(h2, h3, h4) { margin-top: 1.4em; }
.nell-prose ul, .nell-prose ol { margin: 0 0 1.1em; padding-left: 1.2em; }
.nell-prose li { margin-bottom: .4em; }
.nell-prose li::marker { color: var(--nell-bullet, var(--nell-accent)); }
.nell-list--leaf ul, .nell-list--check ul { list-style: none; padding-left: 0; }
.nell-list--leaf ul li, .nell-list--check ul li { position: relative; padding-left: 30px; }
.nell-list--leaf ul li::before {
  content: ""; position: absolute; left: 2px; top: .55em; width: 12px; height: 12px;
  border-radius: 0 50%; background: var(--nell-bullet, var(--nell-accent)); opacity: .8;
}
.nell-list--check ul li { padding-left: 34px; }
.nell-list--check ul li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--nell-bullet-bg, var(--nell-sage));
  -webkit-mask: none;
}
.nell-list--check ul li::after {
  content: ""; position: absolute; left: 7px; top: calc(.3em + 4px); width: 6px; height: 10px;
  border: solid var(--nell-bullet, var(--nell-sage-deep)); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}

/* ---------- Boutons ---------- */
.nell-btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.nell-btn-row:empty { display: none; }
.nell-btn {
  --nell-btn-fill: var(--nell-sage-deep);
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: .6em;
  padding: .95em 1.7em; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--nell-font-body); font-weight: 700; font-size: 1rem; line-height: 1;
  text-decoration: none; cursor: pointer;
  transition: transform .35s var(--nell-ease-out), box-shadow .35s var(--nell-ease-out), color .3s, border-color .3s;
}
.nell-btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--nell-btn-fill);
  transform: translateY(101%); transition: transform .45s var(--nell-ease-out);
}
.nell-btn:hover { transform: translateY(-2px); box-shadow: var(--nell-shadow); }
.nell-btn:hover::after { transform: translateY(0); }
.nell-btn__icon { display: inline-flex; transition: transform .35s var(--nell-ease-out); }
.nell-btn__icon svg { width: 1em; height: 1em; fill: currentColor; }
.nell-btn:hover .nell-btn__icon { transform: translateX(4px); }
:where(.nell-section) .nell-btn--dark { background-color: var(--nell-ink); color: #fff; }
:where(.nell-section) .nell-btn--sage { background-color: var(--nell-sage); color: var(--nell-ink); }
:where(.nell-section) .nell-btn--light { background-color: #fff; color: var(--nell-ink); }
:where(.nell-section) .nell-btn--ghost { background-color: transparent; color: var(--nell-ink); border-color: rgba(5,5,5,.25); }
:where(.nell-section) .nell-btn--ghost-light { background-color: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
:where(.nell-section) .nell-btn:is(.nell-btn--dark, .nell-btn--sage, .nell-btn--light, .nell-btn--ghost, .nell-btn--ghost-light):hover { color: #fff; }
:where(.nell-section) .nell-btn--link { padding: 0; background: none; color: var(--nell-heading); border: 0; border-radius: 0; }
:where(.nell-section) .nell-btn--link::after { display: none; }
:where(.nell-section) .nell-btn--link .nell-btn__text { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--nell-ease-out); }
:where(.nell-section) .nell-btn--link:hover { transform: none; box-shadow: none; color: var(--nell-heading); }
:where(.nell-section) .nell-btn--link:hover .nell-btn__text { background-size: 100% 1px; }
:where(.nell-section) .nell-btn--link:not(:has(.nell-btn__icon))::before { display: none; }

.nell-link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; color: var(--nell-heading); text-decoration: none; }
.nell-link-arrow > span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--nell-ease-out); }
.nell-link-arrow .nell-arrow { width: 1em; height: 1em; transition: transform .35s var(--nell-ease-out); }
:is(a, .nell-card):hover .nell-link-arrow > span, .nell-link-arrow:hover > span { background-size: 100% 1px; }
:is(a, .nell-card):hover .nell-link-arrow .nell-arrow, .nell-link-arrow:hover .nell-arrow { transform: translateX(4px); }

/* ---------- Icônes ---------- */
.nell-icon {
  display: inline-grid; place-items: center; flex: none;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--nell-sage-soft); color: var(--nell-accent); font-size: 20px; line-height: 1;
}
.nell-icon svg { width: 1em; height: 1em; fill: currentColor; }

/* ---------- Grilles communes ---------- */
.nell-grid { display: grid; gap: clamp(18px, 2.5vw, 32px); grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1024px) { .nell-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px)  { .nell-grid { grid-template-columns: minmax(0, 1fr); } }

/* Disposition deux colonnes réutilisée (hero, page hero, intro, split, accordéon) */
.nell-hero__grid, .nell-page-hero__grid, .nell-intro__grid, .nell-split__grid, .nell-accordion-wrap--side {
  --nell-gap: clamp(32px, 6vw, 88px);
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--nell-gap);
}
.nell-hero__text, .nell-page-hero__text, .nell-intro__card, .nell-split__media-col, .nell-accordion-wrap--side > .nell-accordion-wrap__head {
  flex: 0 0 calc(var(--nell-col, 50%) - var(--nell-gap) / 2);
  max-width: 100%;
  min-width: 0;
}
.nell-hero__visual, .nell-page-hero__img, .nell-intro__text, .nell-split__text, .nell-accordion-wrap--side > .nell-accordion {
  flex: 1 1 0; min-width: min(100%, 260px);
}
@media (max-width: 1024px) {
  .nell-hero__text, .nell-page-hero__text, .nell-intro__card, .nell-split__media-col, .nell-accordion-wrap--side > .nell-accordion-wrap__head { flex-basis: calc(var(--nell-col, 100%) - var(--nell-gap) / 2); }
}

/* ---------- Hero d'accueil ---------- */
.nell-hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: clamp(110px, 12vw, 140px) 0 90px; overflow: hidden; }
.nell-hero__grid { --nell-col: 55%; }
.nell-hero--img-left .nell-hero__visual { order: -1; }
:where(.nell-section) h1.nell-hero__title { font-size: clamp(2.6rem, 6vw, 5rem); margin-bottom: .35em; }
.nell-hero--intro .nell-hero__title { animation: nell-rise 1.1s var(--nell-ease-out) both; }
.nell-hero--intro .nell-hero__photo { animation: nell-reveal-photo 1.4s var(--nell-ease-out) both .2s; }
.nell-hero__tags { list-style: none; padding: 0; margin: 28px 0 36px; display: flex; flex-wrap: wrap; gap: 8px; }
.nell-hero__tags li { padding: .45em 1em; border-radius: 999px; font-size: .9rem; background: rgba(255,255,255,.7); border: 1px solid var(--nell-line); color: var(--nell-heading); }
.nell-hero__tags a { color: inherit; text-decoration: none; }
.nell-hero__note { display: flex; align-items: center; gap: 10px; margin-top: 28px; font-size: .95rem; color: var(--nell-muted); }
.nell-hero__note .nell-icon { width: auto; height: auto; background: none; font-size: 18px; }
.nell-hero__visual { position: relative; }
.nell-hero__photo { aspect-ratio: 4 / 5; border-radius: 240px 240px var(--nell-radius-xl) var(--nell-radius-xl); overflow: hidden; box-shadow: var(--nell-shadow); }
.nell-hero__photo img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.nell-hero__badge {
  position: absolute; left: -28px; bottom: 48px; z-index: 2;
  width: 132px; height: 132px; padding: 16px; border-radius: 50%;
  background: #fff; box-shadow: var(--nell-shadow); display: grid; place-items: center;
}
.nell-hero__badge img { width: 100%; height: 100%; object-fit: contain; }
.nell-hero__leaf { position: absolute; right: -30px; top: 10%; width: 90px; height: 90px; border-radius: 50% 0; background: var(--nell-sage); opacity: .7; animation: nell-float 9s ease-in-out infinite reverse; }
.nell-float { animation: nell-float 7s ease-in-out infinite; }
.nell-scroll-cue { position: absolute; left: 50%; bottom: 28px; translate: -50% 0; width: 26px; height: 42px; border: 1.5px solid currentColor; border-radius: 20px; color: rgba(5,5,5,.4); z-index: 1; }
.nell-scroll-cue::before { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: currentColor; animation: nell-scroll-cue 2s var(--nell-ease) infinite; }
@media (max-width: 1024px) {
  .nell-hero { min-height: 0; }
  .nell-hero__visual { max-width: 440px; margin-inline: auto; }
  .nell-hero__badge { left: 0; width: 104px; height: 104px; }
  .nell-hero__leaf { right: 0; }
  .nell-scroll-cue { display: none; }
}

/* ---------- En-tête de page ---------- */
.nell-page-hero { padding: clamp(120px, 12vw, 160px) 0 clamp(56px, 8vw, 96px); overflow: hidden; }
.nell-page-hero__grid { --nell-col: 60%; align-items: flex-end; }
.nell-page-hero--img-left .nell-page-hero__img { order: -1; }
.nell-page-hero:not(.nell-page-hero--split) .nell-page-hero__text { flex-basis: 100%; }
.nell-page-hero__head { margin-bottom: 0; }
.nell-page-hero .nell-title { max-width: 16ch; animation: nell-rise 1s var(--nell-ease-out) both; }
.nell-page-hero .nell-lead { max-width: 56ch; animation: nell-rise 1s var(--nell-ease-out) both .12s; }
.nell-page-hero__img { aspect-ratio: 1; max-width: 420px; border-radius: var(--nell-radius-xl) var(--nell-radius-xl) var(--nell-radius-xl) 12px; overflow: hidden; box-shadow: var(--nell-shadow); animation: nell-reveal-photo 1.3s var(--nell-ease-out) both .15s; }
.nell-page-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.nell-breadcrumb { font-size: .88rem; color: var(--nell-muted); margin-bottom: 18px; }
.nell-breadcrumb a { color: inherit; }

/* ---------- Présentation ---------- */
.nell-intro__grid { --nell-col: 45%; }
.nell-intro--card-right .nell-intro__card { order: 2; }
.nell-intro__card { background: #fff; border-radius: var(--nell-radius-lg); padding: clamp(28px, 4vw, 48px); box-shadow: var(--nell-shadow-sm); }
.nell-intro__card .nell-title { margin-bottom: .1em; }
.nell-intro__role { font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; color: var(--nell-accent); font-weight: 700; margin-bottom: .6em !important; }
.nell-pills { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.nell-pills li { background: var(--nell-sage-soft); padding: .4em .95em; border-radius: 999px; font-size: .92rem; color: var(--nell-heading); }
.nell-intro__body { margin-bottom: 1em; }
:is(.nell-split__text, .nell-intro__text, .nell-hero__text) .nell-head { margin-bottom: 1.4em; }

/* ---------- Image + texte ---------- */
.nell-split__grid { --nell-col: 50%; }
.nell-split--img-right .nell-split__media-col { order: 2; }
.nell-split__media { border-radius: var(--nell-radius-lg); overflow: hidden; box-shadow: var(--nell-shadow); aspect-ratio: 4 / 5; }
.nell-split__media img, .nell-split__media a { width: 100%; height: 100%; object-fit: cover; display: block; }
.nell-split--sticky .nell-split__media-col { align-self: stretch; }
.nell-split--sticky .nell-split__media { position: sticky; top: 110px; }
@media (max-width: 1024px) {
  .nell-split--img-right .nell-split__media-col { order: 0; }
  .nell-split__media { max-width: 520px; aspect-ratio: 4 / 3; }
  .nell-split--sticky .nell-split__media { position: static; }
}
.nell-shape--rounded { border-radius: var(--nell-radius-lg); }
.nell-shape--arch { border-radius: 999px 999px var(--nell-radius-lg) var(--nell-radius-lg); }
.nell-shape--circle { border-radius: 50%; aspect-ratio: 1; }
.nell-shape--leaf { border-radius: var(--nell-radius-xl) 0; }
.nell-shape--square { border-radius: 0; }

/* ---------- Cartes services ---------- */
.nell-card {
  background: #fff; border-radius: var(--nell-radius); overflow: hidden; box-shadow: var(--nell-shadow-sm);
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  transition: transform .5s var(--nell-ease-out), box-shadow .5s var(--nell-ease-out), background-color .3s;
}
a.nell-card:hover { color: inherit; }
.nell-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--nell-sage-soft); }
.nell-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--nell-ease-out); }
.nell-card__body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.nell-card__num { font-family: var(--nell-font-title); font-style: italic; color: var(--nell-accent); font-size: .95rem; margin-bottom: 6px !important; }
.nell-card__text { flex: 1; font-size: .98rem; }
:where(.nell-section) .nell-card__title { font-size: 1.35rem; }

/* Effets de survol (désactivables : Animations > Effets au survol) */
.nell-hover-yes :is(.nell-card, .nell-news-card, .nell-content-card, .nell-icon-card):hover { transform: translateY(var(--nell-lift, -8px)); box-shadow: var(--nell-shadow); }
.nell-hover-yes :is(.nell-card, .nell-news-card):hover .nell-card__media img { transform: scale(var(--nell-img-zoom, 1.07)); }
.nell-hover-yes .nell-split__media img { transition: transform 1.2s var(--nell-ease-out); }
.nell-hover-yes .nell-split__media:hover img { transform: scale(var(--nell-img-zoom, 1.03)); }

/* ---------- Cartes à icône ---------- */
.nell-icon-card {
  display: block; background: #fff; border-radius: var(--nell-radius-sm); padding: 26px; border: 1px solid var(--nell-line);
  text-decoration: none; color: inherit; transition: transform .45s var(--nell-ease-out), box-shadow .45s var(--nell-ease-out), border-color .3s;
}
.nell-hover-yes .nell-icon-card:hover { border-color: var(--nell-sage); transform: translateY(var(--nell-lift, -4px)); box-shadow: var(--nell-shadow-sm); }
.nell-icon-card > .nell-icon { margin-bottom: 16px; }
.nell-icon-cards--left .nell-icon-card { display: flex; gap: 18px; align-items: flex-start; }
.nell-icon-cards--left .nell-icon-card > .nell-icon { margin-bottom: 0; }
.nell-icon-cards--inline .nell-icon-card { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; }
.nell-icon-cards--inline .nell-icon-card > .nell-icon { width: 40px; height: 40px; font-size: 17px; margin: 0; }
.nell-icon-cards--inline .nell-icon-card__inner { display: contents; }
.nell-icon-cards--inline .nell-icon-card__content { grid-column: 1 / -1; margin-top: 12px; }
:where(.nell-section) .nell-icon-card__title { font-size: 1.15rem; margin-bottom: .5em; }
.nell-icon-cards--inline .nell-icon-card__title { margin: 0; }
.nell-bg--sage .nell-icon-card, .nell-bg--sky .nell-icon-card { border-color: transparent; }

/* ---------- Cartes de contenu ---------- */
.nell-content-card { background: #fff; border-radius: var(--nell-radius); padding: clamp(26px, 3vw, 40px); box-shadow: var(--nell-shadow-sm); transition: transform .5s var(--nell-ease-out), box-shadow .5s var(--nell-ease-out); }
.nell-content-card__tag { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: var(--nell-sage-soft); color: var(--nell-ink); padding: .4em .9em; border-radius: 999px; margin-bottom: 18px; }
.nell-content-card--featured { background: var(--nell-ink); color: rgba(255,255,255,.85); --nell-heading: #fff; --nell-bullet-bg: var(--nell-sage); }
.nell-content-card--featured .nell-content-card__tag { background: var(--nell-sage); }
:where(.nell-section) .nell-content-card__title { font-size: clamp(1.3rem, 2vw, 1.6rem); }

/* ---------- Étapes ---------- */
.nell-steps { list-style: none; padding: 0; margin: 0; }
.nell-step { position: relative; padding: 32px 28px; border-radius: var(--nell-radius); background: rgba(255,255,255,.65); border: 1px solid rgba(255,255,255,.9); }
.nell-step__num { display: block; font-family: var(--nell-font-title); font-size: 2.2rem; font-weight: 300; line-height: 1.2; color: var(--nell-accent); margin-bottom: 10px; }
:where(.nell-section) .nell-step__title { font-size: 1.25rem; }
.nell-step__text { margin: 0 !important; font-size: .98rem; }
.nell-steps__after { margin-top: 36px; }

/* ---------- Principes ---------- */
.nell-principles__intro { margin-bottom: 0; }
.nell-principles { list-style: none; padding: 0; margin: 28px 0; counter-reset: nell-p; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.nell-principles li { counter-increment: nell-p; background: var(--nell-sage-soft); border-radius: var(--nell-radius-sm); padding: 22px 18px; text-align: center; font-size: .95rem; color: var(--nell-heading); }
.nell-principles li::before { content: counter(nell-p, var(--nell-counter-style, upper-roman)); display: block; font-family: var(--nell-font-title); font-style: italic; color: var(--nell-accent); font-size: 1.3rem; margin-bottom: 8px; }
.nell-bg--sage .nell-principles li { background: #fff; }
@media (max-width: 1024px) { .nell-principles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Encadré ---------- */
.nell-callout {
  --nell-callout-accent: var(--nell-sage); --nell-callout-width: 4px;
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border-radius: 0 var(--nell-radius-sm) var(--nell-radius-sm) 0;
  border-left: var(--nell-callout-width) solid var(--nell-callout-accent);
  padding: 22px 26px; margin: 0;
}
.nell-callout p:last-child { margin: 0; }
.nell-callout--sky { --nell-callout-accent: var(--nell-sky); }
.nell-callout--dark { --nell-callout-accent: var(--nell-ink); }
.nell-callout--todo { --nell-callout-accent: #c98a00; background: #fff8e6; color: #6b4a00; }
.nell-callout--border-top { border-left: 0; border-top: var(--nell-callout-width) solid var(--nell-callout-accent); border-radius: 0 0 var(--nell-radius-sm) var(--nell-radius-sm); }
.nell-callout--border-none { border: 0; border-radius: var(--nell-radius-sm); }
.nell-callout__title { font-weight: 700; color: var(--nell-heading); margin-bottom: .4em !important; }
.nell-callout__inner { flex: 1; min-width: 0; }
.nell-split__callout { margin-top: 24px; }
/* Image + texte : intertitres, mini-cartes et pastilles dans la colonne texte */
.nell-split__subhead { margin: 1.4em 0 .7em; }
.nell-minicards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 1em; }
.nell-minicard {
  background: #fff; border-radius: var(--nell-radius-sm); padding: 26px; border: 1px solid var(--nell-line);
  transition: transform .45s var(--nell-ease-out), box-shadow .45s var(--nell-ease-out), border-color .3s;
}
.nell-minicard:hover { transform: translateY(-4px); box-shadow: var(--nell-shadow-sm); border-color: var(--nell-sage); }
.nell-bg--sage .nell-minicard, .nell-bg--sky .nell-minicard { border-color: transparent; }
.nell-minicard__title { font-size: 1.15rem; margin: 0 0 .5em; }
.nell-minicard__text { margin: 0; }
.nell-split__chips { margin-top: .4em; }
.nell-split__chips li:hover { border-color: var(--nell-sage); transform: translateY(-2px); }
@media (max-width: 767px) { .nell-minicards { grid-template-columns: minmax(0, 1fr); } }
.nell-bg--white .nell-split__callout { background: var(--nell-paper); } /* encadré blanc invisible sur fond blanc */
.nell-principles__outro { margin-top: 28px; }

/* ---------- Manifeste ---------- */
.nell-manifesto-section .nell-head { margin-inline: auto; text-align: center; }
.nell-manifesto { max-width: 780px; margin: 0 auto; text-align: center; }
.nell-manifesto p { font-family: var(--nell-font-title); font-weight: 300; font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.75; color: var(--nell-heading); margin-bottom: 1.6em; }
.nell-manifesto p.is-strong { font-style: italic; color: var(--nell-accent); font-size: clamp(1.3rem, 2.2vw, 1.8rem); }
.nell-divider { width: 60px; height: 1px; background: var(--nell-accent); margin: 2.4em auto; opacity: .5; }

/* ---------- Citation ---------- */
.nell-quote { margin: 0; text-align: center; }
.nell-quote__logo { width: 90px; margin: 0 auto 24px; opacity: .85; }
.nell-quote blockquote { margin: var(--nell-quote-mx, 0 auto); max-width: 22ch; font-family: var(--nell-font-title); font-style: italic; font-weight: 300; font-size: clamp(1.9rem, 4.2vw, 3.4rem); line-height: 1.25; color: var(--nell-heading); padding: 0; border: 0; }
.nell-quote cite { display: block; margin-top: 18px; font-style: normal; color: var(--nell-muted); }

/* ---------- Liste décorative ---------- */
.nell-styled-list {
  --nell-bullet-size: 20px; --nell-bullet-gap: 14px;
  list-style: none; padding: 0; margin: 0; display: grid; row-gap: .6em; column-gap: 32px; counter-reset: nell-li;
}
.nell-styled-list li { position: relative; display: flex; gap: var(--nell-bullet-gap); align-items: flex-start; }
.nell-styled-list a { color: inherit; }
.nell-styled-list--check li::before {
  content: ""; flex: none; margin-top: .3em; width: var(--nell-bullet-size); height: var(--nell-bullet-size); border-radius: 50%;
  background: var(--nell-bullet-bg, var(--nell-sage)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233d6b46' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 60% no-repeat;
}
.nell-styled-list--leaf li::before { content: ""; flex: none; margin-top: .55em; width: calc(var(--nell-bullet-size) * .6); height: calc(var(--nell-bullet-size) * .6); border-radius: 0 50%; background: var(--nell-bullet, var(--nell-accent)); opacity: .8; }
.nell-styled-list--number li { counter-increment: nell-li; }
.nell-styled-list--number li::before { content: counter(nell-li); flex: none; display: grid; place-items: center; width: calc(var(--nell-bullet-size) * 1.3); height: calc(var(--nell-bullet-size) * 1.3); border-radius: 50%; background: var(--nell-bullet-bg, var(--nell-sage-soft)); color: var(--nell-bullet, var(--nell-accent)); font-weight: 700; font-size: .85em; }
.nell-styled-list .nell-styled-list__icon { width: auto; height: auto; background: none; color: var(--nell-bullet, var(--nell-accent)); font-size: var(--nell-bullet-size); margin-top: .15em; }

/* ---------- Étiquettes ---------- */
.nell-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.nell-chips li { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--nell-line); padding: .45em 1em; border-radius: 999px; font-size: .92rem; color: var(--nell-heading); transition: background-color .3s, border-color .3s, transform .4s var(--nell-ease-out); }
.nell-chips li a { color: inherit; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.nell-chips .nell-icon { width: auto; height: auto; background: none; font-size: 14px; }
.nell-hover-yes .nell-chips li:hover { border-color: var(--nell-sage); transform: translateY(-2px); }

/* ---------- Accordéon ---------- */
.nell-accordion-wrap--side { align-items: flex-start; --nell-col: 45%; }
.nell-accordion-wrap--stack { display: flex; flex-direction: column; gap: 32px; }
.nell-accordion { display: flex; flex-direction: column; gap: 12px; }
.nell-accordion details { background: #fff; border: 1px solid var(--nell-line); border-radius: var(--nell-radius-sm); overflow: hidden; transition: background-color .3s, border-color .3s; }
.nell-accordion details[open] { cursor: pointer; }
.nell-accordion summary { list-style: none; cursor: pointer; padding: 22px 26px; font-weight: 700; color: var(--nell-heading); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.nell-accordion summary::-webkit-details-marker { display: none; }
.nell-accordion--toggle-left summary { flex-direction: row-reverse; justify-content: flex-end; }
.nell-accordion__toggle { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--nell-sage-soft); color: var(--nell-ink); transition: transform .4s var(--nell-ease-out), background-color .3s; }
.nell-accordion--plus .nell-accordion__toggle::before, .nell-accordion--plus .nell-accordion__toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: currentColor; border-radius: 2px; }
.nell-accordion--plus .nell-accordion__toggle::after { transform: rotate(90deg); }
.nell-accordion--plus details[open] .nell-accordion__toggle { transform: rotate(45deg); background-color: var(--nell-sage); }
.nell-accordion--chevron .nell-accordion__toggle::before { content: ""; position: absolute; left: 50%; top: 45%; width: 8px; height: 8px; margin-left: -4px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-50%) rotate(45deg); }
.nell-accordion--chevron details[open] .nell-accordion__toggle { transform: rotate(180deg); background-color: var(--nell-sage); }
.nell-accordion__body { padding: 0 26px 24px; user-select: text; }
.nell-accordion details[open] .nell-accordion__body { animation: nell-fade-down .45s var(--nell-ease-out); }

/* ---------- Appel à l'action ---------- */
.nell-cta {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--nell-radius-xl);
  padding: clamp(48px, 7vw, 96px) clamp(24px, 5vw, 80px);
  display: flex; flex-direction: column; justify-content: center;
  background-color: var(--nell-ink); background-size: cover; background-position: center 30%;
  color: #fff; text-align: center; --nell-heading: #fff; --nell-text: rgba(255,255,255,.88);
}
.nell-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background-color: rgba(5,5,5,.5); }
.nell-cta .nell-head { margin: 0 auto 30px; max-width: 46ch; }
.nell-cta .nell-lead { color: var(--nell-text); }
.nell-cta .nell-btn-row { justify-content: center; }

/* ---------- Tarifs ---------- */
.nell-price-wrap { max-width: 780px; margin-left: auto; margin-right: auto; }
.nell-price-list { list-style: none; margin: 0; padding: 0; --nell-line-width: 1px; }
.nell-price-list.is-boxed { background: #fff; border: 1px solid var(--nell-line); border-radius: var(--nell-radius-sm); padding: 0 clamp(20px, 3vw, 36px); }
.nell-price { display: grid; grid-template-columns: 1fr auto; gap: 8px 32px; align-items: start; padding: 26px 0; transition: background-color .3s; }
.nell-price-list.has-lines .nell-price + .nell-price { border-top: var(--nell-line-width) solid var(--nell-line); }
.nell-price__main { min-width: 0; }
:where(.nell-section) .nell-price__title { font-size: 1.15rem; margin: 0 0 .35em; }
.nell-price__title a { color: inherit; text-decoration: none; }
.nell-price__desc { font-size: .97rem; }
.nell-price__desc p { margin-bottom: .6em; }
.nell-price__side { order: var(--nell-price-order, 0); display: flex; flex-direction: var(--nell-price-dir, column); align-items: var(--nell-price-align, flex-end); gap: 2px 12px; text-align: var(--nell-price-text, right); white-space: nowrap; }
.nell-price__amount { font-family: var(--nell-font-title); font-size: 1.3rem; color: var(--nell-heading); line-height: 1.3; }
.nell-price__duration { font-size: .88rem; color: var(--nell-muted); }
.nell-price__badge { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--nell-sage-soft); color: var(--nell-ink); padding: .3em .8em; border-radius: 999px; margin-bottom: .6em; }
.nell-price-list.has-leader .nell-price { grid-template-columns: auto 1fr auto; }
.nell-price-list.has-leader .nell-price::after { content: ""; grid-column: 2; grid-row: 1; align-self: start; margin-top: 1em; border-bottom: 1px dotted var(--nell-muted); opacity: .6; }
.nell-price-list.has-leader .nell-price__side { grid-column: 3; grid-row: 1; }
.nell-price-note { font-size: .95rem; color: var(--nell-muted); margin: 18px 4px 0 !important; }
.nell-price-download { margin-top: 24px; }
@media (max-width: 767px) {
  .nell-price { grid-template-columns: 1fr; }
  .nell-price__side { flex-direction: row; align-items: baseline; text-align: left; }
  .nell-price-list.has-leader .nell-price { grid-template-columns: 1fr; }
  .nell-price-list.has-leader .nell-price::after { display: none; }
  .nell-price-list.has-leader .nell-price__side { grid-column: auto; grid-row: auto; }
}

/* ---------- Actualités ---------- */
.nell-news-card { background: #fff; border-radius: var(--nell-radius); overflow: hidden; box-shadow: var(--nell-shadow-sm); transition: transform .5s var(--nell-ease-out), box-shadow .5s var(--nell-ease-out); }
.nell-news-card__hit { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
a.nell-news-card__hit:hover { color: inherit; }
a.nell-news-card__hit[data-nell-lightbox] { cursor: zoom-in; }
.nell-news-card .nell-card__media { aspect-ratio: 1; }
.nell-news-card .nell-card__body { padding: 22px 24px 26px; }
.nell-news-card__meta { font-size: .85rem; color: var(--nell-muted); margin-bottom: .4em !important; }
:where(.nell-section) .nell-news-card .nell-card__title { font-size: 1.2rem; margin-bottom: .6em; }

.nell-lightbox { position: fixed; inset: 0; z-index: 99999; display: grid; place-items: center; padding: 24px; background: rgba(5,5,5,.88); opacity: 0; visibility: hidden; transition: opacity .4s var(--nell-ease), visibility .4s; }
.nell-lightbox[hidden] { display: grid; }
.nell-lightbox.is-open { opacity: 1; visibility: visible; }
.nell-lightbox figure { margin: 0; max-width: min(900px, 100%); display: flex; flex-direction: column; gap: 12px; transform: scale(.94); transition: transform .5s var(--nell-ease-out); }
.nell-lightbox.is-open figure { transform: none; }
.nell-lightbox img { max-height: calc(100svh - 120px); width: auto; margin: auto; border-radius: var(--nell-radius-sm); }
.nell-lightbox figcaption { color: #fff; text-align: center; font-family: var(--nell-font-title); }
.nell-lightbox__close { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--nell-ink); cursor: pointer; font-size: 1.6rem; line-height: 1; }

/* ---------- Coordonnées ---------- */
.nell-contact-info { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.nell-info-item { display: flex; gap: 16px; align-items: center; background: #fff; border-radius: var(--nell-radius-sm); padding: 18px 20px; text-decoration: none; color: var(--nell-heading); transition: transform .4s var(--nell-ease-out), box-shadow .4s; }
.nell-hover-yes a.nell-info-item:hover { transform: translateX(var(--nell-lift, 6px)); box-shadow: var(--nell-shadow-sm); color: var(--nell-heading); }
.nell-info-item__text { display: flex; flex-direction: column; min-width: 0; }
.nell-info-item__label { color: var(--nell-muted); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.nell-info-item__value { overflow-wrap: anywhere; }
.nell-contact-info__note { margin-top: 24px; }

/* ---------- Formulaire ---------- */
.nell-form { --nell-field-gap: 18px; --nell-error: #b3261e; display: flex; flex-direction: column; background: #fff; border-radius: var(--nell-radius-lg); padding: clamp(24px, 4vw, 48px); box-shadow: var(--nell-shadow-sm); }
.nell-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.nell-form__row.is-single { grid-template-columns: minmax(0, 1fr) !important; }
@media (max-width: 767px) { .nell-form__row { grid-template-columns: minmax(0, 1fr); } }
.nell-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--nell-field-gap); min-width: 0; }
.nell-field label { font-weight: 700; color: var(--nell-heading); font-size: .95rem; }
.nell-field__opt { font-weight: 400; color: var(--nell-muted); }
.nell-field :is(input, textarea) {
  width: 100%; font: inherit; font-size: 1rem; color: var(--nell-ink);
  padding: 14px 18px; border-radius: 14px; border: 1.5px solid var(--nell-line); background: var(--nell-paper);
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.nell-field textarea { min-height: 150px; resize: vertical; }
.nell-field :is(input, textarea):focus { outline: 0; border-color: var(--nell-accent); background: #fff; box-shadow: 0 0 0 4px rgba(193,228,196,.6); }
.nell-field [aria-invalid="true"] { border-color: var(--nell-error) !important; }
.nell-field__error { color: var(--nell-error); font-size: .85rem; min-height: 0; }
.nell-field__error:empty { display: none; }
.nell-consent { display: flex; gap: 12px; align-items: flex-start; font-weight: 400 !important; font-size: .9rem !important; color: var(--nell-text) !important; }
.nell-consent input { width: 18px !important; height: 18px; margin-top: 4px; accent-color: var(--nell-accent); flex: none; padding: 0 !important; }
.nell-form__submit { align-self: flex-start; margin-top: 6px; }
.nell-form__submit[disabled] { opacity: .6; cursor: progress; }
.nell-form__hint { font-size: .85rem; color: var(--nell-muted); margin: 16px 0 0 !important; }
.nell-form__status { display: none; padding: 16px 20px; border-radius: 14px; margin-top: 18px; }
.nell-form__status.is-success { display: block; background: var(--nell-sage-soft); color: var(--nell-ink); }
.nell-form__status.is-error { display: block; background: #fdecea; color: var(--nell-error); }
.nell-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Contact Form 7 dans l'habillage Nell ----------
   Fonctionne avec le balisage CF7 par défaut (<label>Nom<br>[text]</label>)
   comme avec le modèle proposé dans le panneau (classes nell-field / nell-form__row). */
.nell-form--cf7 .wpcf7 { margin: 0; }
.nell-form--cf7 .wpcf7-form { display: flex; flex-direction: column; margin: 0; }
.nell-form--cf7 .wpcf7-form > p { margin: 0 0 var(--nell-field-gap); }
.nell-form--cf7 .wpcf7-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; color: var(--nell-heading); font-size: .95rem; }
.nell-form--cf7 .wpcf7-form label > br, .nell-form--cf7 .nell-field > br { display: none; }
.nell-form--cf7 .nell-field > p { display: contents; }
.nell-form--cf7 .wpcf7-form-control-wrap { display: block; }
.nell-form--cf7 .wpcf7-form .wpcf7-form-control:is(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="file"]), textarea, select) {
  width: 100%; font: inherit; font-weight: 400; font-size: 1rem; color: var(--nell-ink);
  padding: 14px 18px; border-radius: 14px; border: 1.5px solid var(--nell-line); background: var(--nell-paper);
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.nell-form--cf7 .wpcf7-form textarea.wpcf7-form-control { min-height: 150px; resize: vertical; }
.nell-form--cf7 .wpcf7-form .wpcf7-form-control:is(input, textarea, select):focus { outline: 0; border-color: var(--nell-accent); background: #fff; box-shadow: 0 0 0 4px rgba(193,228,196,.6); }
.nell-form--cf7 .wpcf7-form .wpcf7-not-valid { border-color: var(--nell-error) !important; }
.nell-form--cf7 .wpcf7-not-valid-tip { color: var(--nell-error); font-size: .85rem; font-weight: 400; margin-top: 6px; }
/* Cases à cocher / boutons radio / acceptation */
.nell-form--cf7 .wpcf7-list-item { margin: 0 16px 0 0; }
.nell-form--cf7 .wpcf7-form .wpcf7-list-item label { flex-direction: row; align-items: flex-start; gap: 12px; font-weight: 400; font-size: .9rem; color: var(--nell-text); }
.nell-form--cf7 .wpcf7-form input:is([type="checkbox"], [type="radio"]) { width: 18px; height: 18px; margin: 4px 0 0; padding: 0; flex: none; accent-color: var(--nell-accent); }
.nell-form--cf7 .nell-field--consent .wpcf7-form-control-wrap { display: inline; }
/* Bouton d'envoi (remplacé par un <button class="nell-btn">) + indicateur de chargement CF7 */
.nell-form--cf7 .nell-cf7-submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 6px 0 0; }
.nell-form--cf7 .wpcf7-spinner { margin: 0; }
.nell-form--cf7 .nell-form__submit:disabled { opacity: .6; cursor: not-allowed; }
/* Message de retour (succès / erreur) — même rendu que le formulaire Nell */
.nell-form.nell-form--cf7 .wpcf7 form .wpcf7-response-output { margin: 18px 0 0; padding: 16px 20px; border: 0; border-radius: 14px; background: #fdecea; color: var(--nell-error); }
.nell-form.nell-form--cf7 .wpcf7 form.sent .wpcf7-response-output { background: var(--nell-sage-soft); color: var(--nell-ink); }
.nell-form.nell-form--cf7 .wpcf7 form:is(.invalid, .unaccepted, .payment-required) .wpcf7-response-output { background: #fff8e6; color: #6b4a00; }

/* ---------- Document légal ---------- */
.nell-legal { max-width: 780px; margin: 0 auto; background: #fff; border-radius: var(--nell-radius-lg); padding: clamp(28px, 5vw, 64px); box-shadow: var(--nell-shadow-sm); }
.nell-legal.has-lines .nell-legal__section + .nell-legal__section { border-top: 1px solid var(--nell-line); }
.nell-legal__section + .nell-legal__section { margin-top: 2em; padding-top: 2em; }
:where(.nell-section) .nell-legal__title { font-size: 1.4rem; margin: 0 0 .8em; }
.nell-legal__intro { margin-bottom: 2em; }
.nell-legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 0 0 1.2em; }
.nell-legal dt { font-weight: 700; color: var(--nell-heading); }
.nell-legal dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 767px) { .nell-legal dl { grid-template-columns: 1fr; gap: 0; } .nell-legal dd { margin-bottom: 10px; } }
.nell-legal__updated { margin-top: 2em !important; font-size: .9rem; color: var(--nell-muted); }
.nell-todo { border: 1.5px dashed #c98a00; background: #fff8e6; color: #6b4a00; border-radius: 12px; padding: 12px 16px; font-size: .92rem; }
.nell-todo::before { content: "À COMPLÉTER — "; font-weight: 700; }

/* ---------- Sous-navigation ---------- */
.nell-subnav-section { --nell-subnav-top: 70px; z-index: 50; }
.nell-subnav { background: rgba(245,245,245,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--nell-line); }
.nell-subnav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 12px 0; overflow-x: auto; scrollbar-width: none; }
.nell-subnav ul::-webkit-scrollbar { display: none; }
.nell-subnav a { display: block; white-space: nowrap; padding: .45em 1em; border-radius: 999px; text-decoration: none; color: var(--nell-heading); font-size: .95rem; transition: background-color .3s, color .3s; }
.nell-subnav a:hover { background: var(--nell-sage-soft); color: var(--nell-heading); }
.nell-subnav a.is-active { background: var(--nell-sage); }
.nell-subnav--sticky.is-stuck .nell-subnav { position: fixed; left: 0; right: 0; top: var(--nell-subnav-top); z-index: 900; transition: top .45s var(--nell-ease); }
html.nell-header-hidden .nell-subnav--sticky.is-stuck .nell-subnav { top: 0; }
body.admin-bar .nell-subnav--sticky.is-stuck .nell-subnav { margin-top: 32px; }
@media (max-width: 782px) { body.admin-bar .nell-subnav--sticky.is-stuck .nell-subnav { margin-top: 0; } }

/* ---------- En-tête ---------- */
.nell-skip-link { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nell-skip-link:focus { position: fixed !important; left: 12px; top: 12px; z-index: 100001; width: auto; height: auto; margin: 0; padding: 10px 16px; clip: auto; overflow: visible; background: var(--nell-ink); color: #fff; border-radius: 999px; font-family: var(--nell-font-body); }
.nell-header {
  --nell-header-h: 88px; --nell-header-h-scrolled: 70px; --nell-mobile-bg: var(--nell-sage-soft);
  --nell-heading: var(--nell-ink); --nell-accent: var(--nell-sage-deep);
  position: relative; z-index: 1000; width: 100%;
  font-family: var(--nell-font-body);
  transition: background-color .4s var(--nell-ease), box-shadow .4s var(--nell-ease), transform .45s var(--nell-ease);
}
.nell-header.is-fixed { position: fixed; top: 0; left: 0; right: 0; }
body.admin-bar .nell-header.is-fixed { top: 32px; }
@media (max-width: 782px) { body.admin-bar .nell-header.is-fixed { top: 46px; } }
.elementor-editor-active .nell-header.is-fixed { position: relative; top: 0; }
.nell-header.is-scrolled { background-color: rgba(245, 245, 245, .88); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--nell-line-default); }
.nell-header.is-hidden { transform: translateY(-100%); }
.nell-header-spacer { height: var(--nell-header-h, 88px); }
.nell-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--nell-header-h); transition: height .4s var(--nell-ease); }
.nell-header.is-scrolled[data-shrink="1"] .nell-header__inner { height: var(--nell-header-h-scrolled); }
.nell-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--nell-ink); position: relative; z-index: 1002; min-width: 0; }
.nell-brand img.nell-brand__logo { width: 52px; height: 52px; object-fit: contain; background: #fff; border-radius: 50%; padding: 4px; box-shadow: var(--nell-shadow-sm); transition: transform .6s var(--nell-ease-out); flex: none; }
.nell-logo-rotate-yes .nell-brand:hover .nell-brand__logo { transform: rotate(-8deg) scale(1.05); }
.nell-brand__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.nell-brand__name { font-family: var(--nell-font-title); font-size: 1.15rem; color: var(--nell-ink); }
.nell-brand__tag { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--nell-muted); }
.nell-nav { display: flex; align-items: center; gap: 10px; }
.nell-nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nell-nav__list > li > a { display: block; padding: .5em .85em; border-radius: 999px; color: var(--nell-ink); text-decoration: none; font-size: .96rem; transition: background-color .3s var(--nell-ease), color .3s; }
.nell-nav__list > li > a:hover { background-color: rgba(193, 228, 196, .55); color: var(--nell-ink); }
.nell-nav__list > li:is(.current-menu-item, .current_page_item, .current-menu-ancestor, .current-menu-parent, .is-current, .is-current-parent) > a { background-color: var(--nell-sage); }

/* Sous-menus (desktop : panneau au survol / focus / clic sur la flèche) */
.nell-nav__list > li { position: relative; }
.nell-nav__list > li.menu-item-has-children { display: flex; align-items: center; }
.nell-nav__toggle { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 26px; height: 26px; margin-left: -4px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--nell-ink); cursor: pointer; }
.nell-nav__toggle:hover { background-color: rgba(193, 228, 196, .55); }
.nell-nav__toggle svg { width: 13px; height: 13px; transition: transform .3s var(--nell-ease); }
.nell-nav__list > li:is(:hover, :focus-within, .is-sub-open) > .nell-nav__toggle svg { transform: rotate(180deg); }
.nell-nav__list .sub-menu {
  position: absolute; top: 100%; left: 0; z-index: 1003; min-width: 220px; margin: 0; padding: 8px; list-style: none;
  background-color: #fff; border-radius: 18px; box-shadow: var(--nell-shadow-sm);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .3s var(--nell-ease-out), visibility .3s;
}
.nell-nav__list > li:is(:hover, :focus-within, .is-sub-open) > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nell-nav__list .sub-menu a { display: block; padding: .55em .9em; border-radius: 12px; color: var(--nell-ink); text-decoration: none; font-size: .92rem; white-space: nowrap; transition: background-color .3s var(--nell-ease); }
.nell-nav__list .sub-menu a:hover { background-color: rgba(193, 228, 196, .55); }
.nell-nav__list .sub-menu :is(.current-menu-item, .is-current) > a { background-color: var(--nell-sage); }
.nell-nav__cta :where(.nell-btn) { padding: .8em 1.4em; }
:where(.nell-nav__cta) .nell-btn--dark { background-color: var(--nell-ink); color: #fff; }
:where(.nell-nav__cta) .nell-btn--sage { background-color: var(--nell-sage); color: var(--nell-ink); }
:where(.nell-nav__cta) .nell-btn--light { background-color: #fff; color: var(--nell-ink); }
:where(.nell-nav__cta) .nell-btn--ghost { background-color: transparent; color: var(--nell-ink); border-color: rgba(5,5,5,.25); }
.nell-nav__cta :where(.nell-btn):hover { color: #fff; }
.nell-burger { display: none; position: relative; z-index: 1002; width: 48px; height: 48px; border: 0; border-radius: 50%; background: #fff; box-shadow: var(--nell-shadow-sm); cursor: pointer; padding: 0; flex: none; }
.nell-burger span { position: absolute; left: 30%; right: 30%; height: 2px; background: var(--nell-ink); border-radius: 2px; transition: transform .4s var(--nell-ease-out), opacity .2s; }
.nell-burger span:nth-child(1) { top: calc(50% - 6px); }
.nell-burger span:nth-child(2) { top: calc(50% - 1px); }
.nell-burger span:nth-child(3) { top: calc(50% + 4px); }
.nell-header.is-open .nell-burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nell-header.is-open .nell-burger span:nth-child(2) { opacity: 0; }
.nell-header.is-open .nell-burger span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
html.nell-menu-open, html.nell-menu-open body { overflow: hidden; }

/* Menu mobile : règles communes (activées par les points de rupture ci-dessous) */
.nell-header.is-mobile .nell-burger { display: block; }
.nell-header.is-mobile .nell-nav {
  position: fixed; inset: 0; z-index: 1001; background: var(--nell-mobile-bg);
  flex-direction: column; justify-content: center; gap: 18px; visibility: hidden;
  transition: clip-path .7s var(--nell-ease-out), opacity .4s, transform .5s var(--nell-ease-out), visibility .7s;
}
.nell-header--anim-circle.is-mobile .nell-nav { clip-path: circle(0 at calc(100% - 44px) 44px); }
.nell-header--anim-circle.is-mobile.is-open .nell-nav { clip-path: circle(150% at calc(100% - 44px) 44px); }
.nell-header--anim-fade.is-mobile .nell-nav { opacity: 0; }
.nell-header--anim-fade.is-mobile.is-open .nell-nav { opacity: 1; }
.nell-header--anim-slide.is-mobile .nell-nav { transform: translateX(100%); }
.nell-header--anim-slide.is-mobile.is-open .nell-nav { transform: none; }
.nell-header.is-mobile.is-open .nell-nav { visibility: visible; transition-delay: 0s; }
.nell-header.is-mobile .nell-nav__list { flex-direction: column; gap: 6px; text-align: center; }
.nell-header.is-mobile .nell-nav__list > li > a { font-family: var(--nell-font-title); font-size: 1.6rem; padding: .35em 1em; }
.nell-header.is-mobile .nell-nav__list > li, .nell-header.is-mobile .nell-nav__cta { opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .5s var(--nell-ease-out); }
.nell-header.is-mobile.is-open .nell-nav__list > li, .nell-header.is-mobile.is-open .nell-nav__cta { opacity: 1; transform: none; }
.nell-header.is-mobile.is-open .nell-nav__list > li:nth-child(1) { transition-delay: .15s; }
.nell-header.is-mobile.is-open .nell-nav__list > li:nth-child(2) { transition-delay: .2s; }
.nell-header.is-mobile.is-open .nell-nav__list > li:nth-child(3) { transition-delay: .25s; }
.nell-header.is-mobile.is-open .nell-nav__list > li:nth-child(4) { transition-delay: .3s; }
.nell-header.is-mobile.is-open .nell-nav__list > li:nth-child(5) { transition-delay: .35s; }
.nell-header.is-mobile.is-open .nell-nav__list > li:nth-child(6) { transition-delay: .4s; }
.nell-header.is-mobile.is-open .nell-nav__list > li:nth-child(7) { transition-delay: .45s; }
.nell-header.is-mobile.is-open .nell-nav__list > li:nth-child(n+8), .nell-header.is-mobile.is-open .nell-nav__cta { transition-delay: .5s; }
/* Sous-menus en mobile : dépliés en accordéon sous le lien parent */
.nell-header.is-mobile .nell-nav { justify-content: safe center; overflow-y: auto; }
.nell-header.is-mobile .nell-nav__list > li.menu-item-has-children { flex-wrap: wrap; justify-content: center; }
.nell-header.is-mobile .nell-nav__toggle { width: 40px; height: 40px; margin-left: 0; }
.nell-header.is-mobile .nell-nav__list .sub-menu { display: none; position: static; flex-basis: 100%; min-width: 0; padding: 0 0 8px; background: transparent; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
.nell-header.is-mobile .nell-nav__list > li.is-sub-open > .sub-menu { display: block; }
.nell-header.is-mobile .nell-nav__list > li:not(.is-sub-open) > .nell-nav__toggle svg { transform: none; }
.nell-header.is-mobile .nell-nav__list .sub-menu a { font-size: 1.1rem; white-space: normal; }

/* Sans JavaScript : bascule par media query (le JS ajoute .is-mobile selon data-bp) */
@media (max-width: 1366px) { html:not(.nell-js) .nell-header--bp-1366 .nell-nav__list { flex-wrap: wrap; } }
@media (max-width: 1180px) { html:not(.nell-js) .nell-header--bp-1180 .nell-nav__list { flex-wrap: wrap; } }

/* ---------- Pied de page ---------- */
.nell-footer { --nell-footer-bg: var(--nell-sage); color: var(--nell-ink); --nell-heading: var(--nell-ink); --nell-line: rgba(5,5,5,.12); }
.nell-footer__wave { display: block; width: 100%; height: clamp(40px, 6vw, 80px); color: var(--nell-footer-bg); margin-bottom: -1px; }
.nell-footer__body { background: var(--nell-footer-bg); }
.nell-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 40px 0 56px; }
@media (max-width: 1024px) { .nell-footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px)  { .nell-footer__top { grid-template-columns: 1fr; } }
.nell-footer__logo { width: 84px; background: #fff; border-radius: 50%; padding: 6px; margin-bottom: 16px; overflow: hidden; }
.nell-footer__logo img { width: 100%; height: auto; }
.nell-footer__slogan { font-family: var(--nell-font-title); font-style: italic; font-size: 1.25rem; max-width: 16ch; color: var(--nell-ink); }
:where(.nell-section) .nell-footer__title { font-family: var(--nell-font-body); font-weight: 700; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 18px; }
.nell-footer__list, .nell-footer__social { list-style: none; padding: 0; margin: 0; }
.nell-footer__list li { margin-bottom: 10px; }
.nell-footer a { color: var(--nell-ink); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--nell-ease-out), color .3s; }
.nell-footer a:hover { background-size: 100% 1px; color: var(--nell-ink); }
.nell-footer__social { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.nell-footer__social a { display: inline-flex; align-items: center; gap: 10px; }
.nell-footer__social .nell-icon { width: 36px; height: 36px; background: rgba(255,255,255,.6); color: var(--nell-ink); font-size: 16px; }
.nell-footer__disclaimer { font-size: .85rem; border-top: 1px solid var(--nell-line); padding: 22px 0; margin: 0 !important; }
.nell-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .88rem; padding: 18px 0 28px; border-top: 1px solid var(--nell-line); }
.nell-footer__credit a { font-weight: 700; }

.nell-to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 990; width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: var(--nell-ink); color: #fff; cursor: pointer; display: grid; place-items: center;
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .4s, transform .5s var(--nell-ease-out), background-color .3s;
}
.nell-to-top svg { width: 20px; height: 20px; }
.nell-to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.nell-to-top:hover { background-color: var(--nell-sage-deep); }

/* ---------- Protection des <button> contre les styles génériques du thème ----------
   Les thèmes (ex. Hello Elementor) stylent `button, [type=button], [type=submit]` et
   leurs :hover avec la même priorité que nos classes : selon l'ordre de chargement
   des CSS (différent pour les visiteurs quand un cache/optimiseur est actif), le thème
   gagnait — ex. burger affiché en desktop (display:inline-block), survol rose.
   `:root` ajoute un niveau de priorité, en restant sous les réglages Elementor
   ({{WRAPPER}} …), qui continuent donc de s'appliquer. */
:root .nell-burger {
  display: none; padding: 0; margin: 0; border: 0; border-radius: 50%; min-height: 0;
  background-color: #fff; color: var(--nell-ink); font-size: inherit; line-height: 1;
  text-transform: none; letter-spacing: normal; white-space: normal;
}
:root .nell-burger:is(:hover, :focus) { background-color: #fff; color: var(--nell-ink); }
:root .nell-header.is-mobile .nell-burger { display: block; }
:root .nell-nav__toggle {
  display: inline-flex; padding: 0; border: 0; border-radius: 50%; min-height: 0;
  background-color: transparent; color: var(--nell-ink); line-height: 1; text-transform: none;
}
:root .nell-nav__toggle:is(:hover, :focus-visible) { background-color: rgba(193, 228, 196, .55); color: var(--nell-ink); }
:root .nell-nav__toggle:focus:not(:focus-visible) { background-color: transparent; }
:root .nell-to-top { display: grid; padding: 0; border: 0; border-radius: 50%; min-height: 0; background-color: var(--nell-ink); color: #fff; line-height: 1; }
:root .nell-to-top:is(:hover, :focus-visible) { background-color: var(--nell-sage-deep); color: #fff; }
:root .nell-lightbox__close { display: block; padding: 0; border: 0; border-radius: 50%; min-height: 0; background-color: #fff; color: var(--nell-ink); font-size: 1.6rem; line-height: 1; }
:root .nell-lightbox__close:is(:hover, :focus) { background-color: #fff; color: var(--nell-ink); }
:root button.nell-btn {
  display: inline-flex; align-items: center; gap: .6em; margin: 0; min-height: 0;
  padding: .95em 1.7em; border: 1px solid transparent; border-radius: 999px;
  font-family: var(--nell-font-body); font-weight: 700; font-size: 1rem; line-height: 1;
  text-transform: none; letter-spacing: normal; text-decoration: none;
}
:root button.nell-btn--dark, :root button.nell-btn--dark:is(:hover, :focus) { background-color: var(--nell-ink); color: #fff; }

/* ---------- Animations d'apparition ---------- */
.nell-js [data-nell-anim] [data-nell-reveal] {
  opacity: 0;
  transition: opacity var(--nell-anim-duration, .9s) var(--nell-ease-out), transform calc(var(--nell-anim-duration, .9s) + .1s) var(--nell-ease-out);
  transition-delay: var(--nell-d, 0s);
}
.nell-js [data-nell-anim="up"] [data-nell-reveal] { transform: translateY(var(--nell-anim-distance, 32px)); }
.nell-js [data-nell-anim="left"] [data-nell-reveal], .nell-js [data-nell-anim="up"] [data-nell-reveal][data-nell-anim-dir="left"] { transform: translateX(calc(var(--nell-anim-distance, 40px) * -1)); }
.nell-js [data-nell-anim="right"] [data-nell-reveal], .nell-js [data-nell-anim="up"] [data-nell-reveal][data-nell-anim-dir="right"] { transform: translateX(var(--nell-anim-distance, 40px)); }
.nell-js [data-nell-anim="zoom"] [data-nell-reveal], .nell-js [data-nell-anim="up"] [data-nell-reveal][data-nell-anim-dir="zoom"] { transform: scale(.94); }
.nell-js [data-nell-anim] [data-nell-reveal].is-in,
.nell-reveal-all [data-nell-anim] [data-nell-reveal],
.elementor-editor-active [data-nell-anim] [data-nell-reveal] { opacity: 1; transform: none; }

@keyframes nell-rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes nell-reveal-photo { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes nell-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes nell-scroll-cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes nell-fade-down { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  :where(.nell-section) *, :where(.nell-section) *::before, :where(.nell-section) *::after, .nell-header, .nell-header * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .nell-js [data-nell-anim] [data-nell-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
