/* ==========================================================================
   NH Design — système visuel nh.design (neumorphisme + motion)
   Toutes les classes commencent par "nhd-" pour éviter les conflits.
   ========================================================================== */

/* ---------- Polices (hébergées localement, sans Google) ---------- */
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 200 800; src: url('../fonts/manrope-latin-wght-normal.woff2') format('woff2-variations'); }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-display: swap; font-weight: 400; src: url('../fonts/instrument-serif-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-display: swap; font-weight: 400; src: url('../fonts/instrument-serif-latin-400-normal.woff2') format('woff2'); }

/* ---------- Jetons de design ---------- */
@property --nhd-depth { syntax: '<number>'; inherits: true; initial-value: 1; }
:root {
  --nhd-bg: #E9E6E2;
  --nhd-ink: #1B1A19;
  --nhd-ink2: #2E2B28;
  --nhd-muted: #57524D;
  --nhd-accent: #FF8562;
  --nhd-on-accent: #1B1A19;
  --nhd-logo: #A2A9AD;
  --nhd-sh-dark: rgba(150, 138, 126, 0.55);
  --nhd-sh-light: rgba(255, 255, 255, 0.95);
  --nhd-k: 1;                 /* intensité globale du relief */
  --lx: 1; --ly: 1;           /* direction de la lumière (pilotée par nhd.js) */
  --mx: -9999px; --my: -9999px;
  --nhd-font: 'Manrope', system-ui, sans-serif;
  --nhd-serif: 'Instrument Serif', Georgia, serif;
  --nhd-ease: cubic-bezier(.2, .7, .1, 1);
  --nhd-spring: cubic-bezier(.3, 1.6, .5, 1);
}
html.nhd-dark {
  --nhd-bg: #2A2D32;
  --nhd-ink: #ECE8E3;
  --nhd-ink2: #D9D4CE;
  --nhd-muted: #A9A39C;
  --nhd-sh-dark: rgba(0, 0, 0, 0.6);
  --nhd-sh-light: rgba(255, 255, 255, 0.07);
}

body { background: var(--nhd-bg); color: var(--nhd-ink); font-family: var(--nhd-font); -webkit-font-smoothing: antialiased; transition: background-color .6s ease, color .6s ease; }
.nhd-serif { font-family: var(--nhd-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.nhd-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--nhd-muted); }
.nhd-muted { color: var(--nhd-muted); }

/* ---------- Neumorphisme ---------- */
/* Taille du relief : --d (décalage) et --b (flou). Modificateurs ci-dessous. */
.nhd-neu, .nhd-in { --d: 10px; --b: 26px; background: var(--nhd-bg); }
.nhd-neu {
  box-shadow:
    calc(var(--lx) * var(--d) * var(--nhd-depth) * var(--nhd-k)) calc(var(--ly) * var(--d) * var(--nhd-depth) * var(--nhd-k)) calc(var(--b) * var(--nhd-depth)) var(--nhd-sh-dark),
    calc(var(--lx) * var(--d) * var(--nhd-depth) * var(--nhd-k) * -1) calc(var(--ly) * var(--d) * var(--nhd-depth) * var(--nhd-k) * -1) calc(var(--b) * var(--nhd-depth)) var(--nhd-sh-light);
  transition: box-shadow .5s var(--nhd-ease), transform .5s var(--nhd-ease), background-color .6s ease;
}
.nhd-in {
  box-shadow:
    inset calc(var(--lx) * var(--d) * var(--nhd-k) * .7) calc(var(--ly) * var(--d) * var(--nhd-k) * .7) calc(var(--b) * .6) var(--nhd-sh-dark),
    inset calc(var(--lx) * var(--d) * var(--nhd-k) * -.7) calc(var(--ly) * var(--d) * var(--nhd-k) * -.7) calc(var(--b) * .6) var(--nhd-sh-light);
  transition: box-shadow .5s var(--nhd-ease), background-color .6s ease;
}
.nhd-xs { --d: 3px;  --b: 8px; }
.nhd-sm { --d: 5px;  --b: 14px; }
.nhd-md { --d: 10px; --b: 26px; }
.nhd-lg { --d: 16px; --b: 40px; }
.nhd-xl { --d: 22px; --b: 56px; }
.nhd-lift:hover { transform: translateY(-4px); --nhd-depth: 1.35; }
.nhd-round { border-radius: 999px; }

/* ---------- Boutons ---------- */
.nhd-btn { font: 700 15px/1 var(--nhd-font); border: 0; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; color: var(--nhd-ink); }
.nhd-btn--accent { background: var(--nhd-accent); color: var(--nhd-on-accent) !important; box-shadow: calc(var(--lx) * 6px) calc(var(--ly) * 6px) 18px rgba(214, 98, 62, .45), calc(var(--lx) * -6px) calc(var(--ly) * -6px) 16px rgba(255, 255, 255, .9); transition: transform .25s var(--nhd-spring), box-shadow .25s; }
html.nhd-dark .nhd-btn--accent { box-shadow: calc(var(--lx) * 6px) calc(var(--ly) * 6px) 18px rgba(0, 0, 0, .5); }
.nhd-btn--accent:hover { transform: translateY(-2px) scale(1.02); }
.nhd-btn--neu { --d: 6px; --b: 16px; }
.nhd-btn--neu:hover { --nhd-depth: 1.3; }
.nhd-btn--accent:active, .nhd-btn--neu:active { transform: translateY(1px) scale(.98); box-shadow: inset 4px 4px 10px rgba(0,0,0,.18), inset -4px -4px 10px rgba(255,255,255,.5); }
.nhd-btn .nhd-arrow { transition: transform .3s var(--nhd-spring); }
.nhd-btn:hover .nhd-arrow { transform: translateX(4px); }
.nhd-btn:focus-visible, .nhd-focus:focus-visible { outline: 2px solid var(--nhd-ink); outline-offset: 3px; }

/* ---------- Logo dans la navigation ---------- */
.nhd-logo { --d: 9px; --b: 22px; width: 108px; height: 108px; margin: -22px 0; border-radius: 50%; display: grid; place-items: center; color: var(--nhd-logo); transition: color .4s ease, box-shadow .5s var(--nhd-ease), transform .5s var(--nhd-spring); }
.nhd-logo svg { height: 60px; width: auto; fill: currentColor; margin-left: -4px; }
.nhd-logo:hover { color: var(--nhd-accent); --nhd-depth: 1.3; transform: scale(1.04); }
.nhd-logo:active { transform: scale(.97); --nhd-depth: .4; }

/* ---------- En-tête : masqué au scroll, remplacé par le burger ---------- */
.nhd-header { transition: opacity .45s ease, transform .6s var(--nhd-ease), visibility 0s linear 0s; }
body.nhd-scrolled .nhd-header { opacity: 0; transform: translateY(-160%); pointer-events: none; visibility: hidden; transition: opacity .35s ease, transform .5s cubic-bezier(.4,0,.6,1), visibility 0s linear .5s; }
.nhd-navlink { font-weight: 600; font-size: 15px; text-decoration: none; color: var(--nhd-muted); padding: 10px 14px; border-radius: 999px; transition: color .2s; }
.nhd-navlink:hover { color: var(--nhd-ink); }
.nhd-navlink[aria-current="page"] { color: var(--nhd-accent); font-weight: 700; }
@media (max-width: 900px) { .nhd-hide-mobile { display: none !important; } }

/* ---------- Animations d'entrée ---------- */
.nhd-word { display: inline-block; animation: nhd-rise 1.1s var(--nhd-ease) both; }
@keyframes nhd-rise { from { opacity: 0; transform: translateY(.55em); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
.nhd-fade { animation: nhd-fadeUp 1.2s var(--nhd-ease) both; }
@keyframes nhd-fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.nhd-emerge { animation: nhd-emerge 1.6s var(--nhd-ease) .3s both; }
@keyframes nhd-emerge { from { --nhd-depth: 0; transform: scale(.94); } to { --nhd-depth: 1; transform: none; } }
.nhd-float { animation: nhd-float 7s ease-in-out infinite; }
@keyframes nhd-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.nhd-spin { animation: nhd-spin 60s linear infinite; transform-origin: 50% 50%; }
@keyframes nhd-spin { to { transform: rotate(360deg); } }
.nhd-pulse { animation: nhd-pulse 2.8s ease-in-out infinite; }
@keyframes nhd-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,133,98,.45); } 50% { box-shadow: 0 0 0 8px rgba(255,133,98,0); } }
.nhd-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--nhd-accent); }
.nhd-shimmer { background: linear-gradient(90deg, rgba(150,138,126,.18) 0%, rgba(150,138,126,.32) 50%, rgba(150,138,126,.18) 100%); background-size: 200% 100%; animation: nhd-shimmer 2.4s linear infinite; }
@keyframes nhd-shimmer { to { background-position: -200% 0; } }
.nhd-marquee { overflow: hidden; }
.nhd-marquee__track { display: flex; gap: 56px; width: max-content; animation: nhd-marquee 38s linear infinite; }
@keyframes nhd-marquee { to { transform: translateX(-50%); } }

/* Apparition au scroll : CSS natif si disponible, sinon nhd.js ajoute .is-in */
.nhd-reveal { transition: opacity .9s var(--nhd-ease), transform .9s var(--nhd-ease), --nhd-depth .9s var(--nhd-ease); }
html.nhd-js .nhd-reveal:not(.is-in) { opacity: 0; transform: translateY(48px); --nhd-depth: 0; }
@supports (animation-timeline: view()) {
  html.nhd-js .nhd-reveal:not(.is-in), .nhd-reveal { opacity: 1; transform: none; --nhd-depth: 1; animation: nhd-reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 85%; transition: none; }
  @keyframes nhd-reveal { from { opacity: 0; transform: translateY(48px); --nhd-depth: 0; } to { opacity: 1; transform: none; --nhd-depth: 1; } }
}
/* Dans l'éditeur Bricks, tout reste visible */
.bricks-is-builder .nhd-reveal, .bricks-is-builder .nhd-word, .bricks-is-builder .nhd-fade { opacity: 1 !important; transform: none !important; animation: none !important; }

/* ---------- Halo lumineux qui suit la souris ---------- */
.nhd-spot { position: fixed; inset: 0; pointer-events: none; z-index: 1; background: radial-gradient(520px circle at var(--mx) var(--my), rgba(255,255,255,.38), rgba(255,255,255,0) 60%); mix-blend-mode: soft-light; }
html.nhd-dark .nhd-spot { background: radial-gradient(520px circle at var(--mx) var(--my), rgba(255,255,255,.10), rgba(255,255,255,0) 60%); mix-blend-mode: screen; }

/* ---------- Formulaires ---------- */
.nhd-field, .nhd-form input[type="text"], .nhd-form input[type="email"], .nhd-form input[type="tel"], .nhd-form input[type="url"], .nhd-form textarea {
  font: 500 16px var(--nhd-font); color: var(--nhd-ink); border: 0; outline: none; width: 100%; min-height: 56px; padding: 0 24px; border-radius: 999px; background: var(--nhd-bg);
  box-shadow: inset calc(var(--lx) * 4px) calc(var(--ly) * 4px) 9px var(--nhd-sh-dark), inset calc(var(--lx) * -4px) calc(var(--ly) * -4px) 9px var(--nhd-sh-light);
}
.nhd-form textarea, textarea.nhd-field { min-height: 150px; padding: 18px 24px; border-radius: 28px; resize: vertical; }
.nhd-field:focus-visible, .nhd-form input:focus-visible, .nhd-form textarea:focus-visible { outline: 2px solid var(--nhd-ink); outline-offset: 3px; }
.nhd-field::placeholder, .nhd-form ::placeholder { color: #6E6862; }
html.nhd-dark .nhd-field::placeholder, html.nhd-dark .nhd-form ::placeholder { color: #8F8981; }

/* ---------- Petits composants ---------- */
.nhd-check { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--nhd-accent); color: var(--nhd-on-accent); }
.nhd-badge { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.nhd-badge--accent { background: var(--nhd-accent); color: var(--nhd-on-accent); }
.nhd-crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 14px; font-weight: 600; color: var(--nhd-muted); }
.nhd-crumbs a { color: inherit; text-decoration: none; } .nhd-crumbs a:hover { color: var(--nhd-ink); }

/* FAQ : élément Bricks "Accordion (nestable)" ou <details> */
details.nhd-faq { border-radius: 26px; }
details.nhd-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 700; font-size: 18px; padding: 22px 28px; }
details.nhd-faq summary::-webkit-details-marker { display: none; }
details.nhd-faq summary::after { content: '+'; flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; transition: transform .45s var(--nhd-spring); box-shadow: inset 2px 2px 5px var(--nhd-sh-dark), inset -2px -2px 5px var(--nhd-sh-light); }
details.nhd-faq[open] summary::after { transform: rotate(45deg); }
details.nhd-faq > *:not(summary) { margin: 0; padding: 0 28px 24px; color: var(--nhd-muted); line-height: 1.65; }

/* ==========================================================================
   Éléments globaux injectés par le thème enfant (inc/chrome.php)
   ========================================================================== */
.nhd-ui button { font-family: var(--nhd-font); }
.nhd-ui :focus-visible { outline: 2px solid var(--nhd-ink); outline-offset: 4px; }
.nhd-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Interrupteur clair / sombre (vertical, hauteur de la barre de navigation) */
.nhd-theme { --d: 5px; --b: 12px; position: fixed; top: 30px; right: 24px; z-index: 1000; width: 40px; height: 66px; border: 0; padding: 8px 0; border-radius: 999px; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: space-between; color: var(--nhd-muted); }
.nhd-theme svg { position: relative; z-index: 1; transition: color .4s ease; }
.nhd-theme .nhd-ic-sun { color: var(--nhd-accent); }
html.nhd-dark .nhd-theme .nhd-ic-sun { color: var(--nhd-muted); }
html.nhd-dark .nhd-theme .nhd-ic-moon { color: var(--nhd-accent); }
.nhd-theme__knob { --d: 4px; --b: 10px; position: absolute; top: 5px; left: 5px; width: 30px; height: 30px; border-radius: 50%; z-index: 0; transition: transform .55s var(--nhd-spring), box-shadow .5s, background-color .6s; }
html.nhd-dark .nhd-theme__knob { transform: translateY(26px); }
body.admin-bar .nhd-theme, body.admin-bar .nhd-burger { top: 62px; }
@media (max-width: 1400px) { .nhd-header { padding-right: 84px; } }

/* Burger + menu */
.nhd-burger { --d: 6px; --b: 16px; position: fixed; top: 24px; left: 24px; z-index: 1000; width: 58px; height: 58px; border: 0; border-radius: 50%; cursor: pointer; display: grid; place-content: center; gap: 5px; opacity: 0; visibility: hidden; transform: scale(.6) rotate(-90deg); transition: opacity .4s ease, transform .6s var(--nhd-spring), visibility 0s linear .4s; }
body.nhd-scrolled .nhd-burger, .nhd-burger[aria-expanded="true"] { opacity: 1; visibility: visible; transform: none; transition: opacity .4s ease, transform .6s var(--nhd-spring), visibility 0s; }
@media (max-width: 900px) { .nhd-burger { opacity: 1; visibility: visible; transform: none; } }
.nhd-burger span { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--nhd-ink); transition: transform .45s var(--nhd-spring), opacity .25s; }
.nhd-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nhd-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nhd-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nhd-menu { --d: 16px; --b: 40px; position: fixed; top: 98px; left: 24px; z-index: 999; width: min(340px, calc(100vw - 48px)); border-radius: 32px; padding: 18px; display: flex; flex-direction: column; gap: 2px; transform-origin: 20px -20px; }
.nhd-menu[hidden] { display: none; }
.nhd-menu:not([hidden]) { animation: nhd-menuIn .55s var(--nhd-ease) both; }
@keyframes nhd-menuIn { from { opacity: 0; transform: scale(.85) translateY(-12px); } to { opacity: 1; transform: none; } }
.nhd-menu ul { list-style: none; margin: 0; padding: 0; counter-reset: nhd; }
.nhd-menu li { counter-increment: nhd; }
.nhd-menu li a { display: flex; justify-content: space-between; align-items: center; min-height: 48px; padding: 0 18px; border-radius: 18px; text-decoration: none; font-weight: 700; font-size: 17px; color: var(--nhd-ink); transition: background .25s, padding .3s; }
.nhd-menu li a::after { content: counter(nhd, decimal-leading-zero); font-size: 12px; font-weight: 800; color: var(--nhd-muted); }
.nhd-menu li a:hover { background: rgba(150,138,126,.14); padding-left: 24px; }
.nhd-menu .nhd-btn { margin-top: 12px; }
.nhd-menu .current-menu-item > a, .nhd-menu a[aria-current="page"] { color: var(--nhd-accent); }
.nhd-menu .current-menu-item > a::after, .nhd-menu a[aria-current="page"]::after { color: var(--nhd-accent); }

/* Assistant */
.nhd-chat-fab { --d: 8px; --b: 20px; position: fixed; right: 24px; bottom: 24px; z-index: 1000; width: 66px; height: 66px; border: 0; border-radius: 50%; cursor: pointer; display: grid; place-items: center; color: var(--nhd-ink); }
.nhd-chat-fab .nhd-dot { position: absolute; top: 12px; right: 12px; width: 12px; height: 12px; }
.nhd-chat { --d: 14px; --b: 36px; position: fixed; right: 24px; bottom: 108px; z-index: 1000; width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 220px)); border-radius: 34px; padding: 18px; display: flex; flex-direction: column; gap: 14px; transform-origin: bottom right; color: var(--nhd-ink); }
.nhd-chat[hidden] { display: none; }
.nhd-chat:not([hidden]) { animation: nhd-chatIn .55s var(--nhd-ease) both; }
@keyframes nhd-chatIn { from { opacity: 0; transform: scale(.85) translateY(16px); } to { opacity: 1; transform: none; } }
.nhd-chat__head { display: flex; align-items: center; gap: 12px; padding: 4px 4px 0; }
.nhd-chat__avatar { --d: 4px; --b: 10px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.nhd-chat__title { display: block; font-weight: 800; font-size: 16px; }
.nhd-chat__sub { font-size: 12px; color: var(--nhd-muted); }
.nhd-chat__close { --d: 3px; --b: 8px; margin-left: auto; width: 40px; height: 40px; border: 0; border-radius: 50%; cursor: pointer; font-size: 20px; color: var(--nhd-ink); }
.nhd-chat__msgs { --d: 6px; --b: 16px; flex: 1; min-height: 0; overflow-y: auto; border-radius: 24px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.nhd-msg { --d: 3px; --b: 8px; max-width: 86%; padding: 12px 15px; font-size: 14.5px; line-height: 1.5; border-radius: 18px; }
.nhd-msg--bot { align-self: flex-start; border-bottom-left-radius: 6px; }
.nhd-msg--user { align-self: flex-end; background: var(--nhd-accent); color: var(--nhd-on-accent); border-bottom-right-radius: 6px; font-weight: 600; }
.nhd-msg a { display: inline-block; margin-top: 8px; font-weight: 800; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.nhd-typing { display: inline-flex; gap: 5px; }
.nhd-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--nhd-muted); animation: nhd-blink 1.2s infinite ease-in-out; }
.nhd-typing i:nth-child(2) { animation-delay: .15s; } .nhd-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes nhd-blink { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.nhd-chat__chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 8px; }
.nhd-chip { --d: 3px; --b: 8px; flex: none; border: 0; cursor: pointer; min-height: 38px; padding: 0 14px; border-radius: 999px; font: 700 13px var(--nhd-font); color: var(--nhd-ink); }
.nhd-chat__form { display: flex; gap: 10px; align-items: center; }
.nhd-chat__form .nhd-field { min-height: 50px; font-size: 15px; }
.nhd-chat__send { flex: none; width: 50px; height: 50px; min-height: 0; padding: 0; }

/* ---------- Accessibilité : moins d'animations si demandé ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .nhd-spot { display: none; }
  html.nhd-js .nhd-reveal:not(.is-in) { opacity: 1; transform: none; }
}

/* ==========================================================================
   v1.1 — Mises en page (sections, grilles, cartes) pour Bricks
   ========================================================================== */
#brx-header:has(.nhd-header) { position: sticky; top: 0; z-index: 100; }
.nhd-header { width: 100%; padding: 30px 24px 0; display: block; }
.nhd-bar { --d: 6px; --b: 18px; width: 100%; max-width: 1200px; margin: 0 auto; border-radius: 999px; padding: 10px 10px 10px 4px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nhd-nav { display: flex; gap: 2px; flex-wrap: wrap; }
.nhd-bar .nhd-btn { min-height: 46px; padding: 0 22px; font-size: 14px; }
@media (max-width: 900px) { .nhd-bar .nhd-btn { display: none; } }

.nhd-sec { position: relative; z-index: 2; width: 100%; padding: 80px 24px; display: block; }
.nhd-sec--hero { padding: 120px 24px 96px; }
.nhd-sec--tight { padding-top: 0; padding-bottom: 40px; }
.nhd-sec--footer { padding: 0 24px 56px; }
.nhd-wrap { width: 100%; max-width: 1200px; margin: 0 auto; display: block; }
.nhd-wrap--narrow { max-width: 900px; }

.nhd-h1 { margin: 0; font-size: clamp(48px, 6.6vw, 92px); line-height: .98; font-weight: 800; letter-spacing: -.045em; color: var(--nhd-ink); }
.nhd-h2 { margin: 0; font-size: clamp(36px, 4.4vw, 60px); line-height: 1.02; font-weight: 800; letter-spacing: -.04em; color: var(--nhd-ink); }
.nhd-h3 { margin: 0; font-size: 22px; line-height: 1.25; font-weight: 800; letter-spacing: -.02em; color: var(--nhd-ink); }
.nhd-lead { margin: 32px 0 0; max-width: 540px; font-size: 20px; line-height: 1.55; color: var(--nhd-muted); }
.nhd-text { margin: 0; font-size: 15px; line-height: 1.55; color: var(--nhd-muted); }
.nhd-eyebrow { display: block; margin: 0 0 18px; }
.nhd-sec--hero .nhd-eyebrow { margin-bottom: 28px; }

/* Mots du titre : délais automatiques */
.nhd-words > span { display: inline-block; animation: nhd-rise 1.1s var(--nhd-ease) both; }
.nhd-words > span:nth-of-type(1) { animation-delay: .15s; } .nhd-words > span:nth-of-type(2) { animation-delay: .23s; }
.nhd-words > span:nth-of-type(3) { animation-delay: .31s; } .nhd-words > span:nth-of-type(4) { animation-delay: .39s; }
.nhd-words > span:nth-of-type(5) { animation-delay: .47s; } .nhd-words > span:nth-of-type(6) { animation-delay: .55s; }
.nhd-words > span:nth-of-type(7) { animation-delay: .63s; } .nhd-words > span:nth-of-type(8) { animation-delay: .71s; }
.nhd-delay-1 { animation-delay: .6s !important; } .nhd-delay-2 { animation-delay: .75s !important; } .nhd-delay-3 { animation-delay: .9s !important; }
.bricks-is-builder .nhd-words > span { animation: none !important; }

.nhd-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; }
.nhd-hero > * { min-width: 0; }
.nhd-hero__text { flex: 1 1 520px; }
.nhd-hero__visual { flex: 1 1 420px; display: flex; justify-content: center; }
.nhd-actions { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 44px; }
@media (max-width: 900px) { .nhd-hero__visual { display: none; } .nhd-sec--hero { padding-top: 96px; } }

.nhd-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 56px; }
.nhd-head .nhd-text { max-width: 380px; font-size: 17px; line-height: 1.6; }
.nhd-head--center { display: block; text-align: center; margin-bottom: 60px; }

.nhd-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 28px; }
.nhd-grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; align-items: stretch; }
.nhd-grid--cases { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }

.nhd-card { border-radius: 32px; padding: 30px 26px; display: flex; flex-direction: column; gap: 18px; }
.nhd-card__top { display: flex; justify-content: space-between; align-items: center; }
.nhd-num { font-size: 13px; font-weight: 800; color: var(--nhd-muted); margin: 0; }
.nhd-iconbox { --d: 5px; --b: 12px; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; color: var(--nhd-ink); }

.nhd-split { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.nhd-split > * { flex: 1 1 460px; min-width: 0; }
.nhd-stack { display: flex; flex-direction: column; gap: 14px; margin-top: 34px; }
.nhd-item { --d: 6px; --b: 16px; border-radius: 20px; padding: 18px 22px; display: flex; gap: 16px; align-items: center; }
.nhd-item p { margin: 0; font-weight: 700; font-size: 16px; color: var(--nhd-ink); }
.nhd-item .nhd-num { flex: none; }
.nhd-badge.nhd-neu { --d: 4px; --b: 10px; }

.nhd-plan { border-radius: 34px; padding: 36px 32px; display: flex; flex-direction: column; gap: 22px; position: relative; }
.nhd-plan .nhd-badge--accent { position: absolute; top: 22px; right: 22px; }
.nhd-price { margin: 0; font-size: 34px; font-weight: 800; letter-spacing: -.03em; color: var(--nhd-ink); }
.nhd-price span { font-size: 15px; font-weight: 600; color: var(--nhd-muted); letter-spacing: 0; }
.nhd-features ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 1.45; }
.nhd-plan > .nhd-btn { margin-top: auto; }

.nhd-band { border-radius: 44px; padding: clamp(32px, 5vw, 64px); display: flex; flex-wrap: wrap; gap: 48px; }
.nhd-band__intro { flex: 1 1 340px; min-width: 0; }
.nhd-band__intro .nhd-text { margin-top: 22px; font-size: 17px; line-height: 1.6; }
.nhd-band__tiles { flex: 2 1 520px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 22px; }
.nhd-tile { --d: 7px; --b: 18px; border-radius: 26px; padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.nhd-tile__title { margin: 0; font-weight: 800; font-size: 18px; color: var(--nhd-ink); }

.nhd-case { border-radius: 34px; padding: 16px; display: flex; flex-direction: column; gap: 18px; }
.nhd-media { --d: 8px; --b: 20px; border-radius: 24px; aspect-ratio: 4 / 3; display: grid; place-items: center; color: var(--nhd-muted); font-weight: 700; font-size: 14px; overflow: hidden; }
.nhd-media img { width: 100%; height: 100%; object-fit: cover; }
.nhd-case__body { padding: 4px 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.nhd-case__body .nhd-eyebrow { margin: 0; }

.nhd-cta { border-radius: 52px; padding: clamp(40px, 7vw, 96px) clamp(24px, 6vw, 80px); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 26px; }
.nhd-cta .nhd-eyebrow { margin: 0; }
.nhd-cta .nhd-h2 { max-width: 820px; font-size: clamp(38px, 5vw, 72px); line-height: 1; }
.nhd-cta .nhd-text { font-size: 18px; line-height: 1.6; max-width: 560px; }
.nhd-audit-form { width: 640px; max-width: 100%; display: flex; flex-wrap: wrap; gap: 16px; margin-top: 10px; }
.nhd-audit-form .nhd-field { flex: 1 1 300px; width: auto; }

.nhd-foot { --d: 6px; --b: 16px; width: 100%; max-width: 1200px; margin: 0 auto; border-radius: 32px; padding: 32px 36px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; font-size: 15px; color: var(--nhd-muted); line-height: 1.6; }
.nhd-foot a { display: block; color: inherit; text-decoration: none; } .nhd-foot a:hover { color: var(--nhd-ink); }
.nhd-foot p { margin: 0; }
.nhd-foot__brand { display: flex; gap: 20px; align-items: center; }
.nhd-foot__col { display: flex; flex-direction: column; }
.nhd-logo-plain { display: block; color: var(--nhd-ink); line-height: 0; }
.nhd-logo-plain svg { height: 56px; width: auto; fill: currentColor; }

/* Visuel du hero (shortcode [nhd_hero]) */
.nhd-herovis { position: relative; width: 100%; max-width: 520px; min-height: 480px; display: grid; place-items: center; }
.nhd-disc { --d: 26px; --b: 60px; width: 420px; height: 420px; border-radius: 50%; display: grid; place-items: center; position: relative; }
.nhd-disc__ring { position: absolute; inset: 0; color: var(--nhd-muted); opacity: .35; }
.nhd-disc__inner { --d: 14px; --b: 36px; width: 300px; height: 300px; border-radius: 50%; display: grid; place-items: center; }
.nhd-disc__core { --d: 12px; --b: 30px; width: 196px; height: 196px; border-radius: 50%; display: grid; place-items: center; }
.nhd-disc__core svg { width: 104px; height: auto; fill: currentColor; color: var(--nhd-bg); filter: drop-shadow(calc(var(--lx) * 2.5px) calc(var(--ly) * 2.5px) 3px var(--nhd-sh-dark)) drop-shadow(calc(var(--lx) * -2.5px) calc(var(--ly) * -2.5px) 3px var(--nhd-sh-light)); }
.nhd-chipf { --d: 6px; --b: 16px; position: absolute; padding: 12px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; color: var(--nhd-ink); }
.nhd-chipf:nth-of-type(1) { top: 34px; left: 18px; } .nhd-chipf:nth-of-type(2) { top: 96px; right: 0; animation-delay: -2s; }
.nhd-chipf:nth-of-type(3) { bottom: 70px; left: 0; animation-delay: -4s; } .nhd-chipf:nth-of-type(4) { bottom: 20px; right: 40px; animation-delay: -5.5s; }

/* Bandeau défilant (shortcode [nhd_marquee]) */
.nhd-marquee { --d: 8px; --b: 22px; border-radius: 999px; padding: 26px 0; }
.nhd-marquee__track { font-size: 22px; font-weight: 700; letter-spacing: -.01em; color: var(--nhd-muted); align-items: center; }
.nhd-marquee__sep { color: var(--nhd-accent); }

/* Illustration IA (shortcode [nhd_ai_demo]) */
.nhd-ai { --d: 12px; --b: 30px; border-radius: 36px; padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.nhd-ai__q { --d: 5px; --b: 14px; align-self: flex-end; max-width: 82%; border-radius: 22px 22px 6px 22px; padding: 16px 20px; font-size: 16px; font-weight: 600; }
.nhd-ai__a { --d: 8px; --b: 22px; border-radius: 22px 22px 22px 6px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.nhd-ai__line { height: 12px; border-radius: 6px; }
.nhd-ai__you { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; border: 2px dashed var(--nhd-accent); font-weight: 800; font-size: 15px; }
.nhd-ai .nhd-btn { align-self: flex-start; }
@media (max-width: 1400px) { .nhd-header { padding-right: 84px; } }
body.admin-bar #brx-header:has(.nhd-header) { top: 32px; }
.nhd-mt { margin-top: 26px !important; }

/* ==========================================================================
   v1.2 — Pages intérieures
   ========================================================================== */
.brxe-shortcode:has(> .nhd-logo), .brxe-shortcode:has(> .nhd-logo-plain) { width: auto; flex: none; line-height: 0; }
.nhd-btn { white-space: nowrap; }
.nhd-sec--page { padding: 96px 24px 72px; }
.nhd-sec--page .nhd-crumbs { margin-bottom: 40px; }
.nhd-h1--page { font-size: clamp(44px, 5.6vw, 78px); line-height: 1; }
.nhd-center { text-align: center; }
.nhd-center .nhd-lead { margin-left: auto; margin-right: auto; }
.nhd-center .nhd-crumbs { justify-content: center; }

.nhd-answer { --d: 10px; --b: 26px; border-radius: 36px; padding: clamp(28px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.nhd-answer > .nhd-eyebrow { flex: 0 0 180px; margin: 0; }
.nhd-answer > div { flex: 1 1 520px; min-width: 0; }
.nhd-answer p { margin: 16px 0 0; font-size: 18px; line-height: 1.7; color: var(--nhd-ink2); }

.nhd-feature { --d: 8px; --b: 22px; border-radius: 26px; padding: 24px 26px; display: flex; gap: 18px; align-items: flex-start; }
.nhd-feature .nhd-h3 { font-size: 18px; }
.nhd-feature .nhd-text { margin-top: 8px; }
.nhd-grid--features { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }

.nhd-step { --d: 8px; --b: 20px; border-radius: 30px; padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.nhd-stepnum { --d: 5px; --b: 12px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: var(--nhd-ink); margin: 0; }
.nhd-stepnum--accent { background: var(--nhd-accent); color: var(--nhd-on-accent); box-shadow: none; }
.nhd-grid--steps { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.nhd-box { --d: 10px; --b: 26px; border-radius: 34px; padding: 36px; }
.nhd-box ul { margin: 18px 0 0; padding-left: 20px; font-size: 16px; line-height: 1.9; color: var(--nhd-muted); }
.nhd-grid--2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 32px; }

.nhd-faqs { display: flex; flex-direction: column; gap: 18px; }
.nhd-faqs details.nhd-faq { --d: 7px; --b: 18px; }

.nhd-band-cta { border-radius: 48px; padding: clamp(36px, 6vw, 80px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; }
.nhd-band-cta .nhd-h2 { max-width: 620px; font-size: clamp(32px, 4vw, 52px); line-height: 1.05; }

.nhd-score { --d: 10px; --b: 26px; border-radius: 30px; padding: 28px; display: flex; gap: 22px; align-items: center; }
.nhd-score__ring { --d: 6px; --b: 14px; flex: none; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 15px; color: var(--nhd-muted); margin: 0; }
.nhd-score .nhd-text { margin-top: 6px; }

.nhd-list-check ul { list-style: none; margin: 36px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.nhd-list-check li { display: flex; gap: 14px; align-items: center; font-size: 17px; font-weight: 600; }
.nhd-list-check li::before { content: '✓'; flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--nhd-accent); color: var(--nhd-on-accent); font-size: 13px; font-weight: 800; }

/* Formulaires Bricks */
.nhd-formcard { --d: 18px; --b: 44px; border-radius: 40px; padding: clamp(28px, 4vw, 44px); }
.nhd-formcard .nhd-h3 { margin-bottom: 8px; }
.nhd-form .form-group { margin-bottom: 18px; }
.nhd-form label { display: block; font-size: 13px; font-weight: 700; margin: 0 0 10px 18px; color: var(--nhd-ink); }
.nhd-form input[type="text"], .nhd-form input[type="email"], .nhd-form input[type="tel"], .nhd-form input[type="url"], .nhd-form textarea, .nhd-form select { border: 0 !important; background: var(--nhd-bg) !important; color: var(--nhd-ink) !important; }
.nhd-form .options-wrapper { display: flex; flex-wrap: wrap; gap: 10px; }
.nhd-form .options-wrapper li, .nhd-form .options-wrapper > * { list-style: none; }
.nhd-form button[type="submit"], .nhd-form .bricks-button { font: 700 15px/1 var(--nhd-font); border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--nhd-accent) !important; color: var(--nhd-on-accent) !important; box-shadow: calc(var(--lx) * 6px) calc(var(--ly) * 6px) 18px rgba(214, 98, 62, .45); }
.nhd-form .message { border-radius: 18px; }
.nhd-note { font-size: 13px; color: var(--nhd-muted); margin: 14px 0 0; text-align: center; }

/* Tableau comparatif */
.nhd-tablebox { --d: 10px; --b: 26px; border-radius: 34px; padding: 12px; overflow-x: auto; }
.nhd-tablebox table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 16px; color: var(--nhd-ink); }
.nhd-tablebox th, .nhd-tablebox td { padding: 18px 16px; text-align: center; border: 0; }
.nhd-tablebox thead th { font-size: 15px; }
.nhd-tablebox thead th:first-child { text-align: left; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--nhd-muted); padding-left: 24px; }
.nhd-tablebox tbody th { text-align: left; font-weight: 600; padding-left: 24px; }
.nhd-tablebox tbody tr { border-top: 1px solid rgba(150, 138, 126, .25); }
.nhd-tablebox .no { color: var(--nhd-muted); }

/* Contact */
.nhd-contact { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.nhd-contact > .nhd-formcard { flex: 2 1 560px; min-width: 0; }
.nhd-contact__side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.nhd-ccard { --d: 10px; --b: 26px; border-radius: 30px; padding: 26px 28px; display: flex; gap: 18px; align-items: center; text-decoration: none; color: var(--nhd-ink); }
.nhd-ccard .nhd-iconbox { width: 54px; height: 54px; border-radius: 50%; }
.nhd-ccard__label { display: block; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--nhd-muted); margin: 0; }
.nhd-ccard__value { font-weight: 800; font-size: 18px; margin: 0; }

/* Agence */
.nhd-stat { --d: 12px; --b: 30px; border-radius: 32px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.nhd-stat__value { font-size: 44px; font-weight: 800; letter-spacing: -.04em; margin: 0; color: var(--nhd-ink); }
.nhd-portrait { --d: 22px; --b: 54px; width: 360px; height: 360px; border-radius: 50%; display: grid; place-items: center; }
.nhd-portrait > * { --d: 12px; --b: 30px; width: 290px; height: 290px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; color: var(--nhd-muted); font-weight: 700; font-size: 14px; text-align: center; }
.nhd-portrait img { width: 100%; height: 100%; object-fit: cover; }

/* Radar (page GEO) */
.nhd-radar { --d: 22px; --b: 54px; width: 380px; height: 380px; border-radius: 50%; display: grid; place-items: center; position: relative; }
.nhd-radar__r1 { --d: 10px; --b: 26px; width: 290px; height: 290px; border-radius: 50%; display: grid; place-items: center; }
.nhd-radar__r2 { --d: 8px; --b: 20px; width: 190px; height: 190px; border-radius: 50%; display: grid; place-items: center; }
.nhd-radar__core { --d: 8px; --b: 18px; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; }
.nhd-radar__sweep { position: absolute; inset: 0; animation-duration: 8s; }

/* Rapport d'audit (illustration) */
.nhd-report { --d: 12px; --b: 30px; border-radius: 36px; padding: 32px; display: flex; flex-direction: column; gap: 22px; }
.nhd-report__card { --d: 8px; --b: 20px; border-radius: 26px; padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.nhd-report__row { display: flex; align-items: center; gap: 14px; }
.nhd-report__row > span { flex: 0 0 120px; font-size: 13px; font-weight: 700; color: var(--nhd-muted); }
.nhd-report__bar { --d: 3px; --b: 6px; flex: 1; height: 14px; border-radius: 99px; overflow: hidden; }
.nhd-report__bar > i { display: block; height: 100%; border-radius: 99px; }
.nhd-mb { margin-bottom: 40px !important; }
.nhd-actions--0 { margin-top: 0; }
.nhd-hero--top { align-items: flex-start; }
.nhd-hero > .nhd-formcard { flex: 1 1 420px; min-width: 0; }
.nhd-ccard--col { flex-direction: column; align-items: stretch; }
.nhd-ccard__row { display: flex; gap: 18px; align-items: center; }
.nhd-ccard .nhd-media { aspect-ratio: 16 / 10; }
.brxe-div.nhd-ccard[href], a.nhd-ccard { color: var(--nhd-ink); }
