/* ==========================================================================
   NOX · pages de contenu (services, zones, guides) : en-tête sombre, texte éditorial, maillage.
   ========================================================================== */
.hero--page { min-height: 0; padding: calc(var(--nav-h) + 64px) 0 72px; }
.hero--page .hero-photo { opacity: 0.4; }
.page-hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero--page .hero-title { font-size: clamp(36px, 4.8vw, 68px); margin-top: 18px; }
.hero--page .hero-lead p + p { margin-top: 12px; }
.hero--page .hero-lead a { color: #fff; text-underline-offset: 3px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; padding: 0; list-style: none; font-size: 14px; color: rgba(255, 255, 255, 0.7); }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: rgba(255, 255, 255, 0.45); }
.crumbs a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs [aria-current] { color: #fff; font-weight: 600; }
.page-meta { margin-top: 16px; font-size: 14px; color: rgba(220, 228, 245, 0.8); }
.page-hero-side { display: grid; justify-items: center; gap: 0; }
.page-visual { position: relative; z-index: 1; width: 200px; height: 200px; border-radius: 50%; box-shadow: 0 30px 60px -24px rgba(0, 6, 20, 0.85), 0 0 0 10px rgba(255, 255, 255, 0.06); margin-bottom: -44px; }
.page-facts { width: 100%; max-width: 380px; padding: 60px 24px 22px; border-radius: 26px; background: rgba(10, 30, 60, 0.6); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 30px 60px -30px rgba(0, 6, 20, 0.8); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); }
.page-facts-title { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-soft); text-align: center; }
.page-facts dl { margin: 14px 0 0; display: grid; }
.page-facts dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line-night); font-size: 15px; }
.page-facts dt { color: var(--text-night); }
.page-facts dd { font-weight: 700; text-align: right; }

/* Texte éditorial */
.prose-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 6vw, 80px); align-items: start; }
.prose { max-width: 72ch; font-size: 17.5px; line-height: 1.75; color: var(--ink-2); }
.prose-sec + .prose-sec { margin-top: 48px; }
.prose h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.12; color: var(--ink); margin-bottom: 16px; scroll-margin-top: 110px; }
.prose p + p, .prose p + ul, .prose ul + p, .prose p + ol, .prose ol + p, .prose .table-wrap + p, .prose p + .table-wrap { margin-top: 14px; }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 8px; }
.prose li::marker { color: var(--accent); font-weight: 700; }
.prose a { color: var(--accent); font-weight: 600; text-underline-offset: 3px; }
.prose a:hover { color: var(--nox); }
.prose strong { color: var(--ink); }
.table-wrap { overflow-x: auto; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.4; }
.prose caption { caption-side: bottom; padding: 10px 16px; font-size: 13px; color: var(--muted); text-align: left; }
.prose th, .prose td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.prose thead th { font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); background: var(--paper); }
.prose tbody th { color: var(--ink); font-weight: 600; white-space: normal; }
.prose tbody tr:last-child th, .prose tbody tr:last-child td { border-bottom: 0; }

.prose-aside { position: sticky; top: 110px; display: grid; gap: 16px; }
.toc { padding: 22px; border-radius: 22px; background: var(--paper); }
.toc-title { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.toc ol { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 8px; font-size: 15px; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--accent); }
.aside-cta { display: grid; gap: 14px; padding: 24px; border-radius: 22px; color: #fff; background: radial-gradient(90% 80% at 100% 0%, rgba(35, 80, 200, 0.55), transparent 70%), var(--nox); }
.aside-cta .logo { font-size: 22px; }
.aside-cta p { color: var(--text-night); font-size: 15px; }
.aside-cta .btn { white-space: normal; text-align: center; }

/* Maillage */
.related .head { margin-bottom: 36px; }
.related-grid, .hub-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.hub-grid { margin-top: 22px !important; padding-left: 0 !important; }
.related-card { position: relative; display: grid; gap: 8px; height: 100%; padding: 22px 22px 52px; border-radius: 22px; background: var(--paper); text-decoration: none !important; color: var(--ink) !important; transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease); }
.section--white .related-card { background: var(--paper); }
.related-card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1.5px var(--nox), 0 24px 40px -30px rgba(1, 25, 51, 0.5); }
.related-card small { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.related-card b { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.related-card span { font-size: 14px; font-weight: 400; color: var(--muted); line-height: 1.5; }
.related-card i { position: absolute; left: 22px; bottom: 18px; color: var(--accent); }
.page-faq .faq-side .head h2 { font-size: clamp(30px, 3.2vw, 44px); }

@media (max-width: 1080px) {
  .page-hero, .prose-layout { grid-template-columns: 1fr; }
  .page-hero-side { justify-items: start; }
  .prose-aside { position: static; }
}
@media (max-width: 960px) {
  .hero--page { padding-top: calc(var(--nav-h) + 48px); }
}
@media (max-width: 560px) {
  .prose { font-size: 16.5px; }
  .page-facts { max-width: none; }
  .page-visual { width: 160px; height: 160px; }
}
