/* Nuit Nette : « clinique et apaisant », comme une chambre d'hôtel bien tenue.
   Fond blanc lin, vert d'eau et menthe pour le calme, prune profonde en accent, comme un chemin de lit.
   Sora pour les titres, nets et techniques ; Nunito Sans pour un texte doux et lisible.
   Signes textiles : motif de tissage discret, coutures en pointillés, étiquettes d'entretien (60 °C).
   Illustrations au trait vert sapin, géométriques, sans aucune image d'insecte réaliste. */

:root {
  --bg: #F7F3EC;
  --surface: #FFFFFF;
  --surface-2: #E6F1EC;
  --ink: #1C2A28;
  --ink-2: #3C4C49;
  --muted: #5A6A66;
  --line: #D9E2DC;
  --accent: #5E1F4F;
  --accent-ink: #4C1740;
  --accent-soft: #F2E7EF;
  --on-accent: #FFFFFF;
  --font-body: "Nunito Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Sora", "Nunito Sans", ui-sans-serif, system-ui, sans-serif;
  --head-weight: 600;
  --head-tracking: -0.025em;
  --radius: 18px;
  --radius-btn: 12px;
  --shadow: 0 1px 0 rgba(28, 42, 40, .04), 0 14px 34px -18px rgba(31, 92, 82, .35);
  --maxw: 1180px;
  --header-bg: #F7F3EC;
  --header-ink: #1C2A28;
  --footer-bg: #142B27;
  --footer-ink: #C9D6D1;
  --footer-strong: #F7F3EC;

  /* Palette propre à la marque */
  --lin: #F7F3EC;
  --lin-2: #EFE8DC;
  --eau: #CFE4DA;
  --eau-pale: #E6F1EC;
  --menthe: #9ED6C0;
  --sapin: #1F5C52;
  --prune-nuit: #3E1436;
  --couture-prune: #C79DBB;
  --stitch-mint: repeating-linear-gradient(90deg, var(--menthe) 0 8px, transparent 8px 14px);
  --stitch-plum: repeating-linear-gradient(90deg, var(--couture-prune) 0 7px, transparent 7px 13px);
}

html { scroll-padding-top: 92px; }
body { background: var(--bg); color: var(--ink); font-size: 17px; line-height: 1.68; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { color: var(--ink); text-wrap: balance; }
p, li { text-wrap: pretty; }
strong { font-weight: 700; }
::selection { background: var(--eau); color: var(--ink); }
:focus-visible { outline: 3px solid var(--sapin); outline-offset: 3px; }

/* ---------- Boutons : coussin prune, couture intérieure ---------- */
.btn {
  background: var(--accent); border-color: var(--accent); color: var(--on-accent);
  border-radius: var(--radius-btn); padding: 12px 22px; min-height: 48px;
  font: 700 16px/1.2 var(--font-body); letter-spacing: .005em;
  outline: 1.5px dashed rgba(255, 255, 255, .38); outline-offset: -6px;
  transition: background-color .15s, transform .15s, box-shadow .15s;
}
.btn:hover { filter: none; background: var(--accent-ink); border-color: var(--accent-ink); transform: translateY(-1px); box-shadow: 0 10px 22px -12px rgba(62, 20, 54, .7); }
.btn:focus-visible { outline: 3px solid var(--sapin); outline-offset: 3px; }
.btn-big { padding: 15px 26px; font-size: 17px; min-height: 54px; }
.btn-ghost { background: transparent; color: var(--accent); border-color: var(--accent); outline-color: rgba(94, 31, 79, .28); }
.btn-ghost:hover { background: var(--accent-soft); color: var(--accent-ink); border-color: var(--accent-ink); }
.btn-light { background: var(--menthe); border-color: var(--menthe); color: var(--ink); outline-color: rgba(28, 42, 40, .3); }
.btn-light:hover { background: #B6E2D1; border-color: #B6E2D1; color: var(--ink); }

/* ---------- En-tête : liseré prune comme un chemin de lit ---------- */
.site-header {
  background: rgba(247, 243, 236, .94);
  -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid #E4DDD0;
  box-shadow: inset 0 4px 0 var(--accent);
}
.header-in { min-height: 76px; padding-top: 4px; }
.brand { gap: 12px; }
.brand-logo { width: 42px; height: 42px; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; color: var(--ink); }
.brand-tagline { font-size: 12.5px; color: var(--muted); letter-spacing: .01em; }
.nav { gap: 24px; }
.nav a { font-weight: 600; font-size: 15px; color: var(--ink-2); opacity: 1; text-decoration: underline 2px transparent; text-underline-offset: 6px; transition: text-decoration-color .15s, color .15s; }
.nav a:hover { color: var(--ink); text-decoration-color: var(--menthe); text-decoration-style: dashed; }
.nav a.btn { color: var(--on-accent); text-decoration: none; padding: 10px 18px; min-height: 44px; font-size: 15px; }
.nav-toggle { border-color: #D5CCBD; border-radius: 10px; height: 44px; background: #FFFFFF; }
@media (max-width: 1080px) and (min-width: 941px) { .nav { gap: 16px; } .brand-tagline { display: none; } }
@media (max-width: 940px) {
  .nav { background: var(--lin); border-bottom: 1px solid #E4DDD0; padding: 6px 16px 18px; }
  .nav a { padding: 13px 4px; border-bottom: 1px dashed #D5CCBD; min-height: 44px; }
  .nav a.btn { border-bottom: 1.5px solid var(--accent); }
}

/* ---------- Primitives de la page d'accueil ---------- */
.nn-section { padding: 92px 0; }
@media (max-width: 720px) { .nn-section { padding: 64px 0; } }
.nn-eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 14px;
  font: 600 12.5px/1.3 var(--font-head); text-transform: uppercase; letter-spacing: .14em; color: var(--sapin);
}
.nn-eyebrow::before { content: ""; width: 30px; height: 3px; background: var(--stitch-mint); background-size: 14px 3px; flex: none; }
.nn-head { max-width: 780px; margin-bottom: 40px; }
.nn-head h2 { font-size: clamp(30px, 3.7vw, 46px); line-height: 1.08; margin: 0 0 16px; letter-spacing: -0.03em; }
.nn-head p:not(.nn-eyebrow) { font-size: 18px; color: var(--ink-2); margin: 0; }
.nn-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.nn-more { display: inline-block; padding: 10px 0; font-weight: 700; color: var(--accent); text-decoration: underline 2px var(--menthe); text-underline-offset: 5px; }
.nn-more::after { content: "\00a0→"; display: inline-block; text-decoration: none; transition: transform .15s; }
.nn-more:hover::after { transform: translateX(3px); }
.nn-plum { color: var(--accent); white-space: nowrap; }
.nn-stitch { background: var(--stitch-mint) left bottom / 100% 6px no-repeat; padding-bottom: .06em; }

/* Héros */
.nn-hero { padding: 56px 0 80px; background: url(/assets/tissage.svg) repeat, var(--lin); }
.nn-hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .nn-hero-grid { grid-template-columns: 1.1fr .9fr; gap: 52px; } .nn-hero { padding: 72px 0 96px; } }
@media (max-width: 560px) { .nn-actions .btn { width: 100%; } }
.nn-hero h1 { font-size: clamp(40px, 5.3vw, 68px); line-height: 1.02; letter-spacing: -0.04em; margin: 0 0 22px; font-weight: 600; }
.nn-lede { font-size: 19.5px; line-height: 1.6; color: var(--ink-2); margin: 0 0 28px; max-width: 34em; }
.nn-checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; font-size: 15.5px; color: var(--ink-2); }
.nn-checks li { position: relative; padding-left: 32px; }
.nn-checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--eau) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.5l3 3 6-6.5' fill='none' stroke='%231F5C52' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.nn-hero-art { position: relative; margin: 0; }
.nn-hero-art img { display: block; width: 100%; height: auto; border-radius: 40px; box-shadow: 0 30px 60px -40px rgba(31, 92, 82, .55); }
.nn-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  background: #FFFFFF; color: var(--ink); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 14px 8px 10px; font: 600 13.5px/1 var(--font-head); letter-spacing: -0.01em;
  box-shadow: 0 10px 24px -14px rgba(28, 42, 40, .45);
}
.nn-chip::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.nn-chip-heat { right: 15%; top: 38%; }
.nn-chip-seam { left: 4%; top: 55%; }
.nn-chip-seam::before { background: var(--sapin); box-shadow: 0 0 0 3px var(--eau); }
@media (max-width: 560px) { .nn-chip { font-size: 11.5px; padding: 6px 10px 6px 8px; } .nn-chip-heat { right: 13%; top: 35%; } .nn-chip-seam { left: 2%; top: 53%; } .nn-hero-art img { border-radius: 28px; } }

/* Bandeau de repères : étiquettes cousues */
.nn-reperes { background: #FFFFFF; border-top: 1px solid #E4DDD0; border-bottom: 1px solid #E4DDD0; padding: 40px 0 44px; }
.nn-reperes-title { font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--sapin); margin: 0 0 20px; }
.nn-labels { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 960px) { .nn-labels { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }
.nn-label { position: relative; background: var(--eau-pale); border-radius: 16px; padding: 22px 22px 18px; }
.nn-label::before { content: ""; position: absolute; inset: 6px; border: 1.5px dashed rgba(31, 92, 82, .28); border-radius: 11px; pointer-events: none; }
.nn-label p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); position: relative; }
.nn-label .nn-label-num { font: 700 clamp(28px, 3vw, 36px)/1.05 var(--font-head); color: var(--accent); letter-spacing: -0.03em; margin-bottom: 8px; }
.nn-label .nn-label-src { margin-top: 10px; font-size: 12.5px; font-weight: 700; color: var(--sapin); text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 560px) { .nn-label { padding: 18px 16px 14px; } .nn-label p { font-size: 14px; } }

/* Prestations : grille asymétrique */
.nn-prestations { background: var(--lin); }
.nn-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .nn-grid { grid-template-columns: 1fr 1fr; } .nn-card-feature, .nn-card-wide { grid-column: 1 / -1; } }
@media (min-width: 1000px) {
  .nn-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .nn-card-feature { grid-column: 1; grid-row: 1 / span 2; }
  .nn-card-wide { grid-column: 1 / -1; }
}
.nn-card { background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.nn-card h3 { font-size: 21px; margin: 6px 0 0; line-height: 1.2; }
.nn-card p { margin: 0; color: var(--ink-2); font-size: 16px; }
.nn-card .nn-more { margin-top: auto; padding-top: 4px; align-self: flex-start; }
.nn-picto { width: 48px; height: 48px; }
.nn-card-feature { background: url(/assets/tissage-eau.svg) repeat, var(--eau); border-color: transparent; padding: 34px; gap: 14px; position: relative; }
.nn-card-feature::before { content: ""; position: absolute; inset: 8px; border: 1.5px dashed rgba(31, 92, 82, .3); border-radius: 13px; pointer-events: none; }
.nn-card-feature h3 { font-size: 27px; }
.nn-card-feature p { color: var(--ink); }
.nn-pictos { display: flex; gap: 10px; }
.nn-pictos img { width: 56px; height: 56px; background: #FFFFFF; border-radius: 16px; padding: 4px; }
.nn-pill { align-self: flex-start; margin-top: auto !important; background: #FFFFFF; border-radius: 999px; padding: 8px 16px; font: 600 14px/1.3 var(--font-head); color: var(--accent) !important; }
.nn-card-wide { flex-direction: row; align-items: center; gap: 22px; background: var(--accent-soft); border-color: transparent; position: relative; }
.nn-card-wide::before { content: ""; position: absolute; inset: 7px; border: 1.5px dashed rgba(94, 31, 79, .25); border-radius: 12px; pointer-events: none; }
.nn-card-wide img { width: 56px; height: 56px; flex: none; }
.nn-card-wide h3 { margin: 0 0 6px; }
@media (max-width: 560px) { .nn-card-wide { flex-direction: column; align-items: flex-start; } .nn-card-feature { padding: 26px; } .nn-card { padding: 22px; } .nn-picto { width: 42px; height: 42px; } }

/* Méthodes */
.nn-methodes { background: url(/assets/tissage-eau.svg) repeat, var(--eau-pale); }
.nn-methods { display: grid; gap: 18px; }
@media (min-width: 900px) { .nn-methods { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.nn-method { background: #FFFFFF; border-radius: var(--radius); padding: 26px 24px 22px; display: flex; flex-direction: column; box-shadow: var(--shadow); border-top: 6px solid var(--sapin); }
.nn-method:nth-child(3) { border-top-color: var(--accent); }
.nn-method:nth-child(2) { border-top-color: var(--menthe); }
.nn-method-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.nn-method-top h3 { margin: 0; font-size: 22px; }
.nn-method dl { margin: 0 0 18px; display: grid; gap: 0; }
.nn-method dl > div { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.nn-method dt { font: 600 11.5px/1.3 var(--font-head); text-transform: uppercase; letter-spacing: .1em; color: var(--sapin); margin-bottom: 3px; }
.nn-method dd { margin: 0; font-size: 15.5px; color: var(--ink-2); line-height: 1.45; }
.nn-method-price { margin: auto 0 0; font: 600 16px/1.3 var(--font-head); color: var(--accent); background: var(--accent-soft); border-radius: 10px; padding: 10px 14px; }
.nn-note { margin: 26px 0 0; font-size: 15.5px; color: var(--ink-2); max-width: 820px; }
.nn-note a { font-weight: 700; color: var(--accent); white-space: nowrap; }

/* Frise d'étapes */
.nn-etapes { background: #FFFFFF; }
.nn-steps { list-style: none; counter-reset: etape; padding: 0; margin: 0; display: grid; gap: 26px; position: relative; }
.nn-steps li { counter-increment: etape; position: relative; padding-left: 70px; }
.nn-steps li::before {
  content: counter(etape); position: absolute; left: 0; top: 0; width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: #FFFFFF; font: 700 19px/1 var(--font-head);
  box-shadow: 0 0 0 5px #FFFFFF, 0 0 0 6.5px var(--menthe);
}
.nn-steps::before { content: ""; position: absolute; left: 24px; top: 30px; bottom: 30px; width: 2px; background: repeating-linear-gradient(180deg, var(--menthe) 0 8px, transparent 8px 14px); }
.nn-steps h3 { font-size: 19px; margin: 10px 0 6px; }
.nn-steps p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
@media (min-width: 1000px) {
  .nn-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; }
  .nn-steps li { padding-left: 0; padding-top: 72px; }
  .nn-steps::before { left: 30px; right: 19%; top: 24px; bottom: auto; width: auto; height: 2px; background: var(--stitch-mint); }
}
.nn-promesse { margin-top: 52px; display: grid; gap: 18px; }
@media (min-width: 860px) { .nn-promesse { grid-template-columns: 1fr 1fr; } }
.nn-promesse > div { border-radius: var(--radius); padding: 26px 26px 22px; position: relative; }
.nn-promesse > div:first-child { background: var(--eau-pale); }
.nn-promesse > div:last-child { background: var(--lin); }
.nn-promesse > div::before { content: ""; position: absolute; inset: 7px; border: 1.5px dashed rgba(31, 92, 82, .22); border-radius: 12px; pointer-events: none; }
.nn-promesse h3 { font-size: 19px; margin: 0 0 12px; }
.nn-promesse ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.nn-promesse li { position: relative; padding-left: 28px; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.nn-promesse li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--sapin); }
.nn-promesse > div:last-child li::before { background: transparent; border: 2px solid var(--accent); width: 12px; height: 12px; border-radius: 3px; transform: rotate(45deg); top: 7px; }

/* Hébergeurs : nuit prune */
.nn-hebergeurs { background: url(/assets/tissage-prune.svg) repeat, var(--prune-nuit); color: #EADCE5; }
.nn-hebergeurs h2 { color: #FFFFFF; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; margin: 0 0 18px; letter-spacing: -0.03em; }
.nn-hebergeurs .nn-eyebrow { color: var(--menthe); }
.nn-hebergeurs p:not(.nn-eyebrow) { color: #EADCE5; }
.nn-heb-grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 980px) { .nn-heb-grid { grid-template-columns: 1.35fr .9fr; gap: 64px; } }
.nn-heb-text > p:not(.nn-eyebrow) { font-size: 18px; margin: 0 0 22px; max-width: 40em; }
.nn-heb-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 14px; }
.nn-heb-list li { position: relative; padding: 0 0 14px 36px; border-bottom: 1px dashed rgba(234, 220, 229, .22); font-size: 16px; line-height: 1.55; color: #EADCE5; }
.nn-heb-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.nn-heb-list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--menthe) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.5l3 3 6-6.5' fill='none' stroke='%233E1436' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.nn-heb-list strong { color: #FFFFFF; }
.nn-heb-note { font-size: 14px !important; color: #CDB8C7 !important; margin: 0 0 26px !important; font-style: italic; }
.nn-heb-side { display: grid; gap: 20px; justify-items: center; }
.nn-heb-side img { width: min(260px, 70%); height: auto; }
.nn-heb-fact { background: rgba(255, 255, 255, .06); border: 1.5px dashed rgba(158, 214, 192, .5); border-radius: var(--radius); padding: 20px 22px; }
.nn-heb-fact p { margin: 0; font-size: 15.5px; line-height: 1.55; }
.nn-heb-fact strong { color: var(--menthe); }
.nn-heb-fact .nn-heb-fact-title { font: 600 12.5px/1.3 var(--font-head); text-transform: uppercase; letter-spacing: .14em; color: var(--menthe); margin-bottom: 8px; }
@media (max-width: 979px) { .nn-heb-side { grid-template-columns: 120px 1fr; align-items: center; justify-items: start; } .nn-heb-side img { width: 120px; } }
@media (max-width: 520px) { .nn-heb-side { grid-template-columns: 1fr; } .nn-heb-side img { width: 110px; } }

/* Qui paie */
.nn-quipaie { background: var(--lin); }
.nn-quipaie h2 { font-size: clamp(30px, 3.6vw, 44px); margin: 0 0 16px; letter-spacing: -0.03em; }
.nn-quipaie p:not(.nn-eyebrow) { color: var(--ink-2); font-size: 17px; }
.nn-qp-grid { display: grid; gap: 36px; align-items: start; }
@media (min-width: 960px) { .nn-qp-grid { grid-template-columns: 1.5fr 1fr; gap: 56px; } }
.nn-qp-card { background: #FFFFFF; border-radius: 22px; padding: 30px; box-shadow: var(--shadow); border-top: 10px solid var(--accent); position: relative; }
.nn-qp-card::after { content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 2px; background: var(--stitch-plum); }
.nn-qp-card h3 { font-size: 22px; margin: 14px 0 8px; }
.nn-qp-card p { font-size: 16px; margin: 0 0 20px; }

/* Tarifs */
.nn-tarifs { background: #FFFFFF; }
.nn-price-table table { font-size: 16px; }
@media (max-width: 640px) {
  .nn-price-table .table-wrap { border: 0; background: transparent; overflow: visible; }
  .nn-price-table thead { display: none; }
  .nn-price-table table, .nn-price-table tbody, .nn-price-table tr, .nn-price-table td { display: block; width: 100%; }
  .nn-price-table tr { background: #FFFFFF; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 12px; padding: 6px 16px 8px; }
  .nn-price-table tbody tr:nth-child(even) td { background: transparent; }
  .nn-price-table td { border: 0; padding: 7px 0; display: flex; justify-content: space-between; gap: 12px; }
  .nn-price-table td:first-child { font: 600 17px/1.3 var(--font-head); color: var(--ink); border-bottom: 1px dashed var(--line); padding: 10px 0 9px; margin-bottom: 4px; }
  .nn-price-table td[data-label]::before { content: attr(data-label); font-family: var(--font-body); font-weight: 600; font-size: 14.5px; color: var(--ink-2); letter-spacing: 0; }
}
.nn-price-table td:not(:first-child) { font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--accent); white-space: nowrap; letter-spacing: -0.01em; }
.nn-tarifs-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 8px; }
.nn-tarifs-foot p { margin: 0; color: var(--ink-2); max-width: 40em; font-size: 15.5px; }

/* Guides, FAQ, sources de l'accueil */
.nn-guides { background: url(/assets/tissage-eau.svg) repeat, var(--eau-pale); }
.nn-guides .nn-head { margin-bottom: 8px; }
.nn-guides .related { margin-top: 0; }
.nn-guides .nn-head { margin-bottom: 32px; }
.nn-guides .related h2 { display: none; }
.nn-faq-wrap { padding-top: 84px; padding-bottom: 72px; }
.nn-faq-wrap .faq { margin: 0; max-width: none; }
@media (min-width: 960px) {
  .nn-faq-wrap .faq { display: grid; grid-template-columns: 320px minmax(0, 1fr); column-gap: 64px; align-items: start; }
  .nn-faq-wrap .faq h2 { grid-column: 1; grid-row: 1 / span 8; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.08; position: sticky; top: 110px; }
  .nn-faq-wrap .faq h2::before { content: ""; display: block; width: 44px; height: 3px; margin-bottom: 18px; background: var(--stitch-mint); background-size: 14px 3px; }
  .nn-faq-wrap .faq details { grid-column: 2; }
}
.nn-sources-wrap { padding-bottom: 56px; }
.nn-sources-wrap .sources { margin-top: 48px; }
@media (max-width: 720px) { .nn-faq-wrap { padding-top: 60px; padding-bottom: 52px; } }

/* ---------- Pages standard ---------- */
.page-head {
  background: url(/assets/tissage-eau.svg) repeat, var(--eau-pale);
  border-bottom: 0; padding: 34px 0 52px; position: relative;
}
.page-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: var(--stitch-plum) center / 100% 2px no-repeat, var(--accent); }
.page-head h1 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.06; letter-spacing: -0.035em; margin: 14px 0 12px; }
.page-head .lede { font-size: 19px; color: var(--ink-2); }
.crumbs { font-size: 13.5px; font-weight: 600; color: var(--sapin); align-items: center; }
.crumbs a { color: var(--sapin); text-decoration: none; font-family: var(--font-head); }
.crumbs a:hover { text-decoration: underline dashed; }
.crumbs span[aria-hidden] { color: var(--menthe); }
.meta { font-size: 14px; color: var(--muted); }

.content-wrap { padding-top: 44px; }
.prose { font-size: 17.5px; }
.prose h2 { font-size: clamp(25px, 2.6vw, 30px); line-height: 1.15; margin: 52px 0 14px; letter-spacing: -0.025em; }
.prose h2::before { content: ""; display: block; width: 44px; height: 3px; margin-bottom: 16px; background: var(--stitch-mint); background-size: 14px 3px; }
.prose h3 { font-size: 20px; }
.prose a { color: var(--accent); text-decoration: underline 2px var(--menthe); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--accent); }
.prose a.btn { color: var(--on-accent); text-decoration: none; }
.prose a.btn-ghost { color: var(--accent); }
.prose .cta-box a.btn { color: var(--ink); }
.prose ul li::marker { color: var(--sapin); }
.prose ol li::marker { color: var(--accent); font-family: var(--font-head); font-weight: 700; }
.prose blockquote { border-left-color: var(--accent); background: var(--accent-soft); }

.table-wrap { border-color: var(--line); border-radius: 16px; background: #FFFFFF; margin-bottom: 24px; }
th { background: var(--eau-pale); font: 600 13px/1.35 var(--font-head); text-transform: uppercase; letter-spacing: .06em; color: var(--sapin); padding: 13px 16px; }
td { padding: 12px 16px; }
tbody tr:nth-child(even) td { background: #FBF9F5; }
@media (max-width: 600px) { th, td { padding: 10px 12px; font-size: 14.5px; } th { font-size: 11.5px; letter-spacing: .04em; } }

/* L'essentiel : étiquette d'entretien */
.bref { background: #FFFFFF; border: 1px solid var(--line); border-left: 0; border-radius: var(--radius); padding: 24px 26px 20px; position: relative; margin-bottom: 32px; }
.bref::before { content: ""; position: absolute; inset: 7px; border: 1.5px dashed rgba(31, 92, 82, .25); border-radius: 12px; pointer-events: none; }
.bref-title { display: flex; align-items: center; gap: 10px; font: 600 13px/1.3 var(--font-head); text-transform: uppercase; letter-spacing: .14em; color: var(--sapin); margin: 0 0 10px; }
.bref-title::before { content: ""; width: 28px; height: 22px; background: url(/assets/etiquette-60.svg) center / contain no-repeat; }
.bref ul { list-style: none; padding: 0; }
.bref li { position: relative; padding-left: 22px; margin: 8px 0; font-size: 16px; line-height: 1.55; }
.bref li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* Encadré d'appel à l'action : bande prune cousue */
.cta-box { background: var(--accent); border: 0; border-radius: var(--radius); padding: 24px 26px; position: relative; color: #FFFFFF; margin: 36px 0; }
.cta-box::before { content: ""; position: absolute; inset: 7px; border: 1.5px dashed rgba(255, 255, 255, .3); border-radius: 12px; pointer-events: none; }
.cta-title { font: 600 19px/1.35 var(--font-head); color: #FFFFFF; letter-spacing: -0.01em; position: relative; max-width: 30em; }
.cta-box .btn { background: var(--menthe); border-color: var(--menthe); color: var(--ink); outline-color: rgba(28, 42, 40, .3); position: relative; }
.cta-box .btn:hover { background: #B6E2D1; border-color: #B6E2D1; }

/* Colonne latérale */
.sidebar { top: 100px; }
.side-box { border: 0; border-radius: 20px; padding: 26px 24px 22px; background: #FFFFFF; box-shadow: var(--shadow); border-top: 10px solid var(--accent); position: relative; gap: 14px; }
.side-box::after { content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 2px; background: var(--stitch-plum); }
.side-box::before { content: ""; width: 40px; height: 40px; background: url(/favicon.svg) center / contain no-repeat; }
.side-title { font-family: var(--font-head); font-weight: 600; font-size: 20px; letter-spacing: -0.02em; }
.side-text { font-size: 15px; line-height: 1.55; }
.side-box .btn { width: 100%; }
.side-link { font-weight: 700; color: var(--sapin); text-decoration: underline 2px var(--menthe); text-underline-offset: 4px; text-align: center; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }

/* Cartes de guides */
.related h2, .faq h2, .sources h2 { font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -0.025em; }
.cards { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.card { border-radius: 18px; padding: 22px 22px 20px; gap: 8px; border-color: var(--line); background: #FFFFFF; position: relative; }
.card:hover { border-color: var(--sapin); box-shadow: var(--shadow); transform: translateY(-2px); }
.card-kind { align-self: flex-start; font: 600 11.5px/1 var(--font-head); letter-spacing: .1em; color: var(--sapin); background: var(--eau-pale); padding: 7px 10px; border-radius: 999px; }
.card-tool .card-kind { background: var(--accent); color: #FFFFFF; }
.card-service .card-kind { background: var(--accent-soft); color: var(--accent); }
.card-title { font-family: var(--font-head); font-weight: 600; font-size: 17.5px; line-height: 1.3; letter-spacing: -0.015em; margin-top: 6px; }
.card-desc { font-size: 14.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* FAQ */
.faq details { border-radius: 14px; border-color: var(--line); background: #FFFFFF; margin-bottom: 12px; transition: border-color .15s; }
.faq details[open] { border-color: var(--menthe); box-shadow: 0 0 0 3px var(--eau-pale); }
.faq summary { font: 600 16.5px/1.4 var(--font-head); letter-spacing: -0.01em; padding: 18px 60px 18px 20px; min-height: 44px; }
.faq summary::after {
  content: ""; top: 50%; right: 18px; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
  background: var(--eau-pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M14 8v12M8 14h12' stroke='%231F5C52' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% no-repeat;
  transition: transform .2s;
}
.faq details[open] summary::after { content: ""; transform: rotate(45deg); background-color: var(--eau); }
.faq details > div { padding: 0 20px 18px; font-size: 16px; }
.sources ul { list-style: none; padding: 0; display: grid; gap: 6px; }
.sources li { position: relative; padding-left: 20px; }
.sources li::before { content: ""; position: absolute; left: 0; top: 11px; width: 10px; height: 2px; background: var(--menthe); }
.sources a { color: var(--sapin); }

/* ---------- Formulaire de devis ---------- */
.lead { background: url(/assets/tissage-eau.svg) repeat, var(--eau); border-top: 0; padding: 88px 0; position: relative; }
.lead::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px; background: var(--stitch-plum) center / 100% 2px no-repeat, var(--accent); }
.lead h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -0.035em; margin: 0 0 14px; }
.lead-intro { font-size: 17.5px; color: var(--ink-2); }
.lead-points { gap: 12px; margin-top: 22px; }
.lead-points li { font-weight: 600; padding-left: 32px; }
.lead-points li::before { width: 22px; height: 22px; top: 2px; background-color: var(--accent); }
.lead-form { border: 0; border-radius: 24px; padding: 30px; box-shadow: 0 30px 60px -40px rgba(31, 92, 82, .7); position: relative; }
.lead-form::before { content: ""; position: absolute; inset: 8px; border: 1.5px dashed rgba(31, 92, 82, .18); border-radius: 18px; pointer-events: none; }
.field label { font-weight: 700; font-size: 14.5px; color: var(--ink); }
.field input, .field select, .field textarea, .tool input:not([type=radio]):not([type=checkbox]), .tool select { border: 1.5px solid #C4D2CB; border-radius: 11px; min-height: 50px; background: #FFFFFF; position: relative; }
.field input, .field select { height: 50px; padding-top: 0; padding-bottom: 0; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--sapin); outline: 3px solid var(--eau); }
.consent { position: relative; }
.consent a { color: var(--sapin); }
.btn-submit { position: relative; }
.form-note { position: relative; }
.form-success { border-radius: 20px; background: #FFFFFF; border: 2px solid var(--menthe); }
.success-title { color: var(--sapin); font-family: var(--font-head); font-weight: 600; }
@media (max-width: 600px) { .lead { padding: 64px 0; } .lead-form { padding: 22px 18px; } }

/* ---------- Outil de diagnostic ---------- */
.tool { border: 0; border-radius: 24px; padding: 30px; background: #FFFFFF; box-shadow: var(--shadow); position: relative; border-top: 10px solid var(--accent); }
.tool::after { content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 2px; background: var(--stitch-plum); }
.tool .pl-etape + .pl-etape { margin-top: 34px; padding-top: 30px; border-top: 2px dashed var(--line); }
.tool .pl-titre { display: flex; align-items: center; gap: 12px; font-size: clamp(21px, 2.4vw, 25px); line-height: 1.2; margin: 0 0 10px; letter-spacing: -0.025em; }
.tool .pl-titre::before { content: "1"; flex: none; margin: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #FFFFFF; font: 700 17px/1 var(--font-head); box-shadow: 0 0 0 4px #FFFFFF, 0 0 0 5.5px var(--menthe); }
.tool #pl-etape2 .pl-titre::before { content: "2"; }
.tool .q { margin-bottom: 22px; }
.tool .pl-etape > .hint { margin: 0 0 22px; }
.tool .q-label, .tool .q > label { font-family: var(--font-head); font-weight: 600; font-size: 15.5px; letter-spacing: -0.01em; color: var(--ink); }
.tool .hint { font-size: 14.5px; }
.choices { gap: 10px; }
.choices label { border: 1.5px solid #C4D2CB; border-radius: 12px; padding: 10px 14px; min-height: 46px; font-size: 15px; line-height: 1.4; background: #FFFFFF; align-items: center; transition: border-color .15s, background-color .15s; }
.choices label:hover { border-color: var(--sapin); }
.choices label:has(input:checked) { border-color: var(--sapin); background: var(--eau-pale); box-shadow: inset 0 0 0 1px var(--sapin); }
.choices input { width: 18px; height: 18px; flex: none; accent-color: var(--accent); }
.tool > .pl-etape > .btn, .tool .pl-etape > .btn { margin-top: 4px; }
.result { border-radius: 18px; padding: 22px 24px; margin-top: 24px; }
.result.ok { background: var(--eau-pale); border-color: var(--menthe); }
.result.warn { background: #FBF3E6; border-color: #EBCF9F; }
.result.ko { background: var(--accent-soft); border-color: #DDBCD3; }
.result-title { font-family: var(--font-head); font-weight: 600; font-size: 19px; letter-spacing: -0.015em; }
.result-big { font-family: var(--font-head); font-weight: 700; font-size: clamp(28px, 3.4vw, 38px); color: var(--accent); letter-spacing: -0.03em; }
.result .btn { margin-top: 16px; }
.result ul li::marker { color: var(--sapin); }
@media (max-width: 600px) { .tool { padding: 22px 16px; } .choices label { width: 100%; } }

/* ---------- Pied de page ---------- */
.site-footer { position: relative; padding: 64px 0 32px; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px; background: var(--stitch-plum) center / 100% 2px no-repeat, var(--accent); }
.brand-footer .brand-name { color: var(--footer-strong); }
.footer-text { opacity: 1; color: var(--footer-ink); line-height: 1.6; max-width: 34em; }
.footer-title { font: 600 12.5px/1.3 var(--font-head); text-transform: uppercase; letter-spacing: .14em; color: var(--menthe); margin-bottom: 14px; }
.site-footer li a { color: var(--footer-strong); text-decoration: underline 1px transparent; text-underline-offset: 4px; }
.site-footer li a:hover { text-decoration: underline dashed var(--menthe); }
.site-footer li { margin: 9px 0; }
.disclaimer { border-top: 1px dashed rgba(201, 214, 209, .3); opacity: 1; color: #A9BBB4; line-height: 1.6; }
.disclaimer a, .legal-links a { color: var(--footer-ink); text-decoration: underline 1px rgba(158, 214, 192, .5); text-underline-offset: 3px; }
.legal-links { gap: 22px; }
.legal-links a { min-height: 32px; display: inline-flex; align-items: center; }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn:hover, .card:hover { transform: none; }
}
