/*!
 * Nail’Cy — page Mentions légales (1.8.6)
 * Chargé uniquement sur cette page. Couleurs Nail’Cy, aucune ressource externe.
 */
body.nbm-legal-view {
	--nbl-ivory: #fffaf4;
	--nbl-blush: #fff2eb;
	--nbl-ink: #3a202f;
	--nbl-muted: #8a6b78;
	--nbl-line: #f0e0d8;
	--nbl-rose: #e84370;
	--nbl-coral: #ef7d7f;
	--nbl-champ: #b88a33; /* champagne #d7a64b assombri pour un contraste AA sur ivoire */
	--nbl-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
	background: var(--nbl-ivory);
}

/* En-tête de page (fourni par le thème) : plus fin, plus éditorial */
body.nbm-legal-view .page-hero { padding: 54px 24px 8px; text-align: left; max-width: 728px; margin: 0 auto; background: none; }
body.nbm-legal-view .page-hero .eyebrow { margin: 0 0 14px; color: var(--nbl-champ); font: 700 12px/1 var(--nbl-sans); letter-spacing: .28em; text-transform: uppercase; }
body.nbm-legal-view .page-hero h1 { margin: 0; color: var(--nbl-ink); font-weight: 400; font-size: clamp(40px, 10.5vw, 64px); line-height: 1; letter-spacing: -.035em; }
body.nbm-legal-view .nailcy-legal-page { padding: 0 24px calc(132px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 900px) { body.nbm-legal-view .page-hero { padding-top: 84px; } body.nbm-legal-view .nailcy-legal-page { padding-bottom: 96px; } }

/* Conteneur */
.nbm-legal-notice { max-width: 680px; margin: 0 auto; color: var(--nbl-ink, #3a202f); font: 400 16px/1.6 var(--nbl-sans, -apple-system, sans-serif); scroll-margin-top: 110px; }
.nbm-legal-notice a { color: var(--nbl-rose, #e84370); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: rgba(232, 67, 112, .35); text-underline-offset: 4px; overflow-wrap: anywhere; transition: text-decoration-color .2s ease; }
.nbm-legal-notice a:hover { text-decoration-color: currentColor; }
.nbm-legal-notice a:focus-visible { outline: 2px solid var(--nbl-rose, #e84370); outline-offset: 3px; border-radius: 6px; }
.nbm-legal-notice p { margin: 0 0 12px; }
.nbm-legal-notice p:last-child { margin-bottom: 0; }
.nbm-legal-nowrap { white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Introduction */
.nbm-legal-intro { margin: 16px 0 26px; }
.nbm-legal-lead { color: var(--nbl-muted); font-size: 17px; line-height: 1.55; }
.nbm-legal-updated { margin-top: 6px !important; color: var(--nbl-muted); font-size: 13px; letter-spacing: .01em; }

/* Sommaire en pastilles */
.nbm-legal-toc { position: sticky; top: var(--nbl-top, 76px); z-index: 5; display: flex; gap: 8px; margin: 0 -24px 18px; padding: 10px 24px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; background: linear-gradient(var(--nbl-ivory) 78%, rgba(255, 250, 244, 0)); }
.nbm-legal-toc::-webkit-scrollbar { display: none; }
.nbm-legal-notice .nbm-legal-toc__pill { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 38px; padding: 0 15px; border: 1px solid var(--nbl-line); border-radius: 999px; background: #fff; color: var(--nbl-ink); font-size: 13.5px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.nbm-legal-notice .nbm-legal-toc__pill:hover { border-color: #e7c9cf; }
.nbm-legal-notice .nbm-legal-toc__pill.is-active { background: var(--nbl-ink); border-color: var(--nbl-ink); color: #fff; }
@media (min-width: 900px) { .nbm-legal-toc { flex-wrap: wrap; margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; } }

/* Rubriques */
.nbm-legal-section { padding: 30px 0; border-top: 1px solid var(--nbl-line); scroll-margin-top: 140px; }
.nbm-legal-section:first-of-type { border-top: 0; }
.nbm-legal-section__head { display: flex; align-items: baseline; gap: 14px; margin: 0 0 16px; }
.nbm-legal-num { flex: 0 0 auto; color: var(--nbl-champ); font: 700 12px/1 var(--nbl-sans); letter-spacing: .14em; font-variant-numeric: tabular-nums; }
.nbm-legal-section h2 { margin: 0; color: var(--nbl-ink); font: 650 21px/1.25 var(--nbl-sans); letter-spacing: -.015em; text-transform: none; }
.nbm-legal-section.is-card .nbm-legal-section__body { padding: 6px 20px; border-radius: 20px; background: #fff; box-shadow: 0 1px 2px rgba(58, 32, 47, .04), 0 12px 32px -18px rgba(58, 32, 47, .18); }
.nbm-legal-section > .nbm-legal-section__body > p { color: #5a4250; }

/* Liste de définitions */
.nbm-legal-dl { margin: 0; }
.nbm-legal-row { display: grid; gap: 4px; padding: 14px 0; border-top: 1px solid var(--nbl-line); }
.nbm-legal-row:first-child { border-top: 0; }
.nbm-legal-row dt { color: var(--nbl-muted); font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.nbm-legal-row dd { margin: 0; color: var(--nbl-ink); font-size: 16.5px; line-height: 1.5; }
.nbm-legal-row dd a { display: inline-flex; align-items: center; min-height: 44px; margin: -10px 0; }
.nbm-legal-section:not(.is-card) .nbm-legal-dl { margin-top: 4px; }
.nbm-legal-section:not(.is-card) .nbm-legal-row:first-child { padding-top: 4px; }
.nbm-legal-section .nbm-legal-dl + p, .nbm-legal-section p + .nbm-legal-dl { margin-top: 12px; }
@media (min-width: 700px) {
	.nbm-legal-row { grid-template-columns: 190px minmax(0, 1fr); gap: 20px; align-items: baseline; }
}
.nbm-legal-note { margin: 12px 4px 0 !important; color: var(--nbl-muted); font-size: 13.5px; font-style: italic; }

/* Fin de page */
.nbm-legal-end { display: grid; justify-items: center; gap: 6px; margin-top: 10px; padding: 34px 22px 8px; border-top: 1px solid var(--nbl-line); text-align: center; }
.nbm-legal-end__title { margin: 0 !important; color: var(--nbl-ink); font-family: Georgia, "Times New Roman", serif; font-size: 26px; letter-spacing: -.02em; }
.nbm-legal-end__text { margin: 0 0 10px !important; color: var(--nbl-muted); font-size: 15px; }
.nbm-legal-notice .nbm-legal-end__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; max-width: 100%; padding: 0 24px; border: 1px solid #ecd2d8; border-radius: 999px; background: #fff; color: var(--nbl-ink); font-weight: 650; text-decoration: none; box-shadow: 0 8px 22px -16px rgba(58, 32, 47, .35); }
.nbm-legal-notice .nbm-legal-end__btn:hover { border-color: var(--nbl-coral); }
.nbm-legal-notice .nbm-legal-end__top { display: inline-flex; align-items: center; min-height: 44px; margin-top: 10px; color: var(--nbl-muted); font-size: 13.5px; font-weight: 600; text-decoration: none; }

@media (prefers-reduced-motion: no-preference) { html:has(body.nbm-legal-view) { scroll-behavior: smooth; } }
