/* Norkenix : mise en page du site, par-dessus tokens.css (thème ARBOR, copié tel quel).
   Même police (Inter) et même structure qu'ARBOR, couleurs du logo Norkenix (section 0). Sections :
   0. Identité  1. Polices  2. Base  3. En-tête et menu  4. Héros  5. Sections et grilles  6. Cartes d'offre
   7. Méthode  8. FAQ  9. Formulaires  10. Contenu long (pages texte)  11. Pied de page  12. Utilitaires */

/* 0. Identité Norkenix. On redéfinit les variables de tokens.css avec les couleurs du logo :
   sarcelle (#0E3F43) pour les surfaces sombres, or (#B89B5E) pour l'accent. La classe .arbor remet
   les couleurs d'ARBOR (bleu nuit et vert) sur ce qui présente le logiciel : on voit que c'est un autre produit.
   Contrastes vérifiés : blanc sur #093135 14:1 ; #093135 sur or 5,3:1 ; or foncé #8a6b2e sur blanc 5:1. */
:root {
  --ink-900: #093135; --ink-800: #0E3F43; --ink-700: #1a5a60;
  --brand-50: #faf6ee; --brand-100: #f3ead6; --brand-200: #e8d4a5; --brand-300: #d9c28d; --brand-400: #c9ad72;
  --brand-500: #B89B5E; --brand-600: #a4884f; --brand-700: #8a6b2e; --brand-800: #6e5424; --brand-900: #53401b;
  --focus: #8a6b2e;
}
.ink { --focus: #d9c28d; }
.arbor {
  --ink-900: #0f172a; --ink-800: #1e293b; --ink-700: #334155;
  --brand-300: #6ee7b7; --brand-400: #34d399; --brand-500: #10b981; --brand-600: #059669; --brand-700: #047857;
  --focus: #10b981;
}
.eyebrow { border-color: rgb(217 194 141 / 0.4); background: rgb(217 194 141 / 0.1); }
.arbor .eyebrow, .arbor.eyebrow { border-color: rgb(52 211 153 / 0.4); background: rgb(52 211 153 / 0.1); }
/* Bouton d'action principal (or) : texte sarcelle, jamais blanc (blanc sur or : 2,7:1, sous le seuil AA). */
.btn-brand, .btn-brand:hover { color: var(--ink-900); font-weight: 600; }
.btn-brand:hover { background: var(--brand-400); }
.arbor .btn-brand:hover { background: var(--brand-600); }
.logo-img { display: block; width: 2.25rem; height: 2.25rem; }

/* 1. Polices : Inter auto-hébergée, deux fichiers (400 et 700). Les graisses intermédiaires
   utilisées par tokens.css (500, 600, 800) se rabattent sur le fichier le plus proche. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 500; font-display: swap; src: url("/fonts/inter-regular.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600 900; font-display: swap; src: url("/fonts/inter-bold.woff2") format("woff2"); }

/* 2. Base */
html { scroll-padding-top: 1rem; }
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
img, svg { max-width: 100%; height: auto; }
a { text-underline-offset: 2px; }
.skip-link { position: absolute; left: 1rem; top: -3rem; z-index: 10; background: var(--surface); color: var(--text-strong); padding: 0.5rem 1rem; border-radius: var(--radius-lg); }
.skip-link:focus { top: 1rem; }
.lead { font-size: 1.125rem; line-height: 1.6; }
.center { text-align: center; }
.stack > * + * { margin-top: 1rem; }
.link { color: var(--brand-700); font-weight: 600; text-decoration: underline; }
.ink .link { color: var(--brand-300); }
h2 { line-height: 1.2; }
h3 { line-height: 1.3; }
@media (min-width: 768px) { h1 { font-size: 3rem; } }

/* 3. En-tête et menu : fond clair, pour que le logo d'origine (sarcelle et or) reste lisible.
   Le menu téléphone est un <details> : il fonctionne sans JavaScript. */
.site-header { position: relative; z-index: 5; background: var(--surface); color: var(--text); border-bottom: 1px solid var(--border); }
.site-header .logo { color: var(--ink-900); gap: 0.625rem; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.875rem 0; }
.nav-desktop { display: none; gap: 1.5rem; align-items: center; }
.site-header nav a { color: var(--slate-600); }
.site-header nav a:hover, .nav-desktop a[aria-current="page"] { color: var(--ink-900); }
.nav-desktop a[aria-current="page"] { font-weight: 600; }
.site-header nav a.btn-primary { color: #fff; padding: 0.375rem 1rem; }
.nav-mobile summary { list-style: none; cursor: pointer; color: var(--ink-900); border-radius: var(--radius-lg); padding: 0.375rem 0.75rem; box-shadow: inset 0 0 0 1px var(--border-strong); font-size: 0.875rem; font-weight: 500; }
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile[open] summary { background: var(--slate-100); }
.nav-mobile ul { position: absolute; left: 0; right: 0; top: 100%; margin: 0; padding: 0.5rem var(--gutter) 1rem; list-style: none; background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.site-header .nav-mobile li a { display: block; padding: 0.75rem 0; color: var(--slate-700); text-decoration: none; font-size: 1rem; border-bottom: 1px solid var(--slate-100); }
.site-header .nav-mobile li a[aria-current="page"] { color: var(--ink-900); font-weight: 600; }
@media (min-width: 900px) { .nav-desktop { display: flex; } .nav-mobile { display: none; } }

/* 4. Héros (fond sarcelle) */
.hero { padding-top: 4rem; padding-bottom: 4rem; }
.hero-grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .hero { padding-top: 5rem; padding-bottom: 5rem; } .hero-grid { grid-template-columns: 1.15fr 1fr; align-items: center; } }
.hero h1 { margin-top: 1rem; }
.hero .lead { margin-top: 1.25rem; max-width: 40rem; }
.actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.reassure { margin-top: 0.75rem; font-size: 0.75rem; color: var(--slate-400); }
.panel { padding: 1.25rem; }
.panel-head { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.75rem; color: var(--slate-400); margin-bottom: 0.75rem; }
.panel-list { list-style: none; margin: 0; padding: 0; }
.panel-list li { display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.625rem 0; border-top: 1px solid rgb(255 255 255 / 0.08); color: var(--slate-200); }
.panel-list li:first-child { border-top: 0; }
.panel-list .n { flex: 0 0 auto; min-width: 2.5rem; font-family: var(--font-mono); color: var(--slate-400); font-size: 0.75rem; padding-top: 0.125rem; }
.page-hero { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.page-hero .lead { margin-top: 1rem; max-width: 46rem; }

/* 5. Sections et grilles */
.section-head { max-width: 46rem; }
.section-head p { margin-top: 0.75rem; }
.section-head.center { margin-left: auto; margin-right: auto; }
.facts { display: grid; gap: 1rem; grid-template-columns: 1fr; padding-top: 2rem; padding-bottom: 2rem; }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.fact { border-left: 2px solid var(--border); padding-left: 1rem; }
.fact .value { font-size: 1.5rem; font-weight: 700; color: var(--text-strong); letter-spacing: -0.025em; }
.fact p { color: var(--text-muted); }
.grid { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
@media (min-width: 640px) { .grid-2, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.band { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--slate-50); }
.bullets { margin: 1rem 0 0; padding-left: 1.25rem; }
.bullets li + li { margin-top: 0.5rem; }
.checks { list-style: none; margin: 1rem 0 0; padding: 0; }
.checks li { position: relative; padding-left: 1.5rem; }
.checks li + li { margin-top: 0.5rem; }
.checks li::before { content: ""; position: absolute; left: 0.25rem; top: 0.45em; width: 0.5rem; height: 0.5rem; border-radius: 2px; background: var(--brand-500); }
.ink .checks li::before { background: var(--brand-400); }

/* 6. Cartes d'offre */
.offer { display: flex; flex-direction: column; }
.offer p { margin-top: 0.5rem; }
.offer .price { margin-top: 1rem; font-weight: 700; color: var(--text-strong); }
.offer .more { margin-top: auto; padding-top: 1.25rem; }
.offer-link { font-weight: 600; color: var(--text-strong); text-decoration: none; }
.offer-link:hover { text-decoration: underline; }
.offer-link::after { content: " \2192"; }
.service { padding-top: 3rem; padding-bottom: 3rem; border-top: 1px solid var(--border); }
.service:first-of-type { border-top: 0; }
.service .outcome { margin-top: 0.75rem; font-size: 1.125rem; color: var(--text-strong); max-width: 46rem; }
.service-grid { display: grid; gap: 1.5rem; margin-top: 1.5rem; }
@media (min-width: 900px) { .service-grid { grid-template-columns: 2fr 1fr; } }
.spec { margin: 0; }
.spec div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.625rem 0; border-top: 1px solid var(--slate-100); }
.spec div:first-child { border-top: 0; padding-top: 0; }
.spec dt { color: var(--text-muted); }
.spec dd { margin: 0; font-weight: 600; color: var(--text-strong); text-align: right; }

/* 7. Méthode */
.steps { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 1.5rem; counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.steps h3 { margin-bottom: 0.5rem; }

/* 8. FAQ : <details>, sans JavaScript */
.faq { margin-top: 2rem; max-width: 48rem; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 2rem 1rem 0; position: relative; font-weight: 600; color: var(--text-strong); font-size: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.25rem; top: 0.875rem; font-size: 1.25rem; font-weight: 400; color: var(--text-muted); }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 0 1.25rem; }

/* 9. Formulaires */
.form { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form-2 { grid-template-columns: 1fr 1fr; } .form-2 .full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 600; color: var(--text-strong); margin-bottom: 0.375rem; }
.field .opt { font-weight: 400; color: var(--text-muted); }
textarea.input { resize: vertical; min-height: 7rem; }
.form-inline { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }
.form-inline .input { flex: 1 1 14rem; width: auto; }
.form-note { font-size: 0.75rem; color: var(--text-muted); line-height: 1.5; margin-top: 0.75rem; }
.form-note a { color: inherit; text-decoration: underline; }
.feedback { font-size: 0.875rem; font-weight: 600; min-height: 1.25rem; }
.feedback.is-success { color: var(--sev-none-text); }
.feedback.is-error { color: var(--sev-critical-text); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* 10. Contenu long */
.prose { max-width: 46rem; font-size: 1rem; line-height: 1.7; }
.prose h2 { margin-top: 3rem; font-size: 1.5rem; }
.prose h3 { margin-top: 2rem; }
.prose p, .prose ul, .prose ol, .prose table, .prose .card { margin-top: 1rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: 0.375rem; }
.prose a { color: var(--brand-700); font-weight: 600; }
.prose .btn { font-weight: 500; }
.prose .btn-brand { color: var(--ink-900); }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-xl); margin-top: 1rem; }
.table-wrap .table { margin: 0; }
.table td:first-child { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted); white-space: nowrap; }
.callout { border-left: 3px solid var(--sev-low); background: var(--sev-low-bg); color: var(--sev-low-text); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; padding: 0.875rem 1rem; }
.callout a { color: inherit; }
.toc { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.toc a { display: inline-block; border: 1px solid var(--border-strong); border-radius: var(--radius-lg); padding: 0.375rem 0.75rem; text-decoration: none; color: var(--text); background: var(--surface); }
.toc a:hover { background: var(--slate-50); }
.ink .toc a { color: #fff; background: transparent; border-color: rgb(255 255 255 / 0.3); }
.ink .toc a:hover { background: rgb(255 255 255 / 0.1); }
.legal h2 { font-size: 1.25rem; margin-top: 2.5rem; }
.legal dl { margin: 1rem 0 0; }
.legal dt { font-weight: 600; color: var(--text-strong); margin-top: 0.75rem; }
.legal dd { margin: 0; }

/* 11. Pied de page */
.site-footer .container { padding-top: 2.5rem; padding-bottom: 2rem; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; } }
.footer-grid h2 { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); }
.footer-grid ul { list-style: none; margin: 0.75rem 0 0; padding: 0; }
.footer-grid li + li { margin-top: 0.5rem; }
.footer-grid a { color: var(--slate-600); }
.footer-grid a:hover { color: var(--text-strong); text-decoration: underline; }
.footer-grid p { margin-top: 0.75rem; max-width: 22rem; }
.footer-legal { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); font-size: 0.75rem; }

/* 12. Utilitaires */
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.cta-band { padding-top: 4rem; padding-bottom: 4rem; text-align: center; }
.cta-band p { margin-top: 0.75rem; }
.cta-band .actions { justify-content: center; }
.nowrap { white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* 13. Parcours de l'accueil : héros sur une colonne, cartes « situation » cliquables en entier. */
.hero-text { max-width: 46rem; }
a.situation { color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
a.situation:hover { border-color: var(--brand-500); box-shadow: var(--shadow-lg); }
a.situation.card-highlight:hover { box-shadow: 0 0 0 2px var(--brand-500), var(--shadow-lg); }
a.situation:hover .offer-link { text-decoration: underline; }
.situation-q { margin: 0 0 0.5rem; font-size: 0.8125rem; font-style: italic; color: var(--brand-700); }
.situation h3 { margin-top: 0; }
.tag { display: inline-block; align-self: flex-start; margin-bottom: 0.75rem; border-radius: var(--radius-md); background: var(--brand-50); color: var(--brand-800); box-shadow: inset 0 0 0 1px var(--brand-200); padding: 0.125rem 0.5rem; font-size: 0.75rem; font-weight: 600; }
.service .checks { font-size: 1rem; margin-top: 0; }

/* 14. Tunnel vers le contact : encadré au milieu de /nis2, étapes de la page contact, listes déroulantes. */
.nudge { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2rem; border-color: var(--brand-200); background: var(--brand-50); }
.nudge p { margin: 0; }
.prose .nudge .btn-primary { color: #fff; }
.mini-steps { list-style: none; margin: 1rem 0 0; padding: 0; counter-reset: s; }
.mini-steps li { counter-increment: s; position: relative; padding-left: 2.25rem; }
.mini-steps li + li { margin-top: 1rem; }
.mini-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 1.5rem; height: 1.5rem; border-radius: 9999px; background: var(--ink-900); color: #fff; font-size: 0.75rem; font-weight: 700; display: grid; place-items: center; }
.mini-steps strong, .mini-steps span { display: block; }
select.input { appearance: auto; }
aside.card { align-self: start; }

/* 15. Bandeau ARBOR sous le héros de l'accueil : le produit phare, visible sans défiler. */
.arbor-band { border-bottom: 1px solid var(--border); background: var(--surface); }
.arbor-band-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding-top: 2rem; padding-bottom: 2rem; }
.arbor-band h2 { font-size: 1.375rem; }
.arbor-band-row > div:first-child { flex: 1 1 28rem; }
.arbor-band-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
