/* NIUWEB V7 — Palette et accents communs du site. */
:root {
  --niuweb-coral: #C6401B;
  --niuweb-coral-hover: #AE3518;
  --niuweb-coral-bright: #FF7856;
  --niuweb-lime: #D3FF45;
  --niuweb-dark-ink: #152C30;
  --niuweb-ivory: #F8F9F6;
  --niuweb-gray-green: #536B67;
  --niuweb-white: #FFFFFF;
  --grain-strength: .13;
}

.button--primary,
.mobile-nav__cta,
.niuweb-submit,
:is(.wp-site-blocks,.editor-styles-wrapper) .is-style-niuweb-primary .wp-block-button__link {
  background: var(--niuweb-coral);
  color: var(--niuweb-white);
  border-color: transparent;
  box-shadow: 0 10px 25px rgba(255, 120, 86, .18);
}

@media (hover: hover) {
  .button--primary:hover,
  .mobile-nav__cta:hover,
  .niuweb-submit:hover,
  :is(.wp-site-blocks,.editor-styles-wrapper) .is-style-niuweb-primary .wp-block-button__link:hover {
    background: var(--niuweb-coral-hover);
    box-shadow: 0 14px 28px rgba(255, 120, 86, .23);
  }
}

.button--mint,
.button--mint:hover,
:root .button--outline:hover,
.wp-site-blocks .section .is-style-niuweb-outline .wp-block-button__link:hover,
.advice-filter.is-active,
.advice-filter:hover,
.quote-form-wrap__badge {
  background: var(--niuweb-lime);
  border-color: var(--niuweb-lime);
  color: var(--niuweb-dark-ink);
}

.eyebrow__line { background: var(--niuweb-lime); height: 3px; }
.hero__accent,
.inner-page h1 em {
  text-decoration: underline .1em var(--niuweb-lime);
  text-underline-offset: .08em;
  text-decoration-skip-ink: none;
}
.case-hero h1::after,
.article-hero h1::after {
  content: '';
  display: block;
  width: 1.25em;
  height: .075em;
  border-radius: 999px;
  margin-top: .19em;
  background: var(--niuweb-lime);
}

.page-aura,
.case-art-glow,
.next-project::before,
.advice-hero__symbol::before {
  background:
    radial-gradient(ellipse at 70% 30%, color-mix(in srgb, var(--niuweb-coral-bright) 32%, transparent), transparent 65%),
    radial-gradient(ellipse at 26% 72%, color-mix(in srgb, var(--niuweb-lime) 23%, transparent), transparent 60%);
}

/* Les grandes surfaces du mode sombre restent au noir pur. */
:root[data-theme="dark"] :is(
  .atmosphere, .hero__aura, .hero__glow, .approach__orb, .page-aura, .case-art-glow,
  .commitments__glow, .pricing__glow, .quote-aside__glow, .contact__decoration
) { display: none; }

:root[data-theme="dark"] :is(.commitments,.case-objectives) { background: none; }
:root[data-theme="dark"] :is(.contact__panel,.niuweb-cta-panel) { background: var(--surface); }

:root[data-theme="dark"] :is(.hero-showcase__project,.case-hero__glass) {
  background: var(--niuweb-white);
  border-color: var(--niuweb-white);
  color: var(--niuweb-dark-ink);
}
:root[data-theme="dark"] .hero-showcase__project:hover .icon { color: var(--niuweb-coral); }
:root[data-theme="dark"] .project-card__media { border: 3px solid var(--niuweb-white); }

:root[data-theme="dark"] :is(.contact__panel,.case-result__glass)::after,
:root[data-theme="dark"] :is(.next-project,.advice-hero__symbol,.niuweb-cta-panel)::before,
:root[data-theme="dark"] .wp-site-blocks :is(.services,.commitments,.pricing,.work)::before { content: none; }
