/* ==========================================================================
   NormDesk - feuille de styles du thème (CSS natif, sans dépendance)
   Charte v2 · septembre 2026 - base : maquette normdesk-site 4
   ========================================================================== */

/* ---------- 0. Polices auto-hébergées (OFL) ---------- */
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/newsreader-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/newsreader-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/newsreader-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 500; font-display: swap; src: url('../fonts/newsreader-latin-500-italic.woff2') format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/hanken-grotesk-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/hanken-grotesk-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/hanken-grotesk-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/hanken-grotesk-latin-700-normal.woff2') format('woff2'); }

/* ---------- 1. Tokens ---------- */
:root {
  /* Neutres */
  --ivoire: #F7F3EC;
  --papier: #FFFDF9;
  --lin: #ECE4D6;
  --trait: #E3DACB;
  --trait-doux: #ECE5D8;
  --trait-fort: #CDC2AE;
  --creme: #FBF8F2;

  /* Texte */
  --encre: #1D2A24;
  --corps: #3D3A33;
  --gris: #6B6458;

  /* Marque */
  --foret: #24463A;
  --foret-ligne: #34443C;
  --foret-clair: #2E5547;
  --terracotta: #B5462F;
  --terracotta-fonce: #8F3421;
  --rose: #F6E3DA;
  --peche: #E9A58B;
  --sauge-clair: #E4EDE6;

  /* Texte sur fond sombre */
  --sur-sombre: #D6DDD8;
  --sur-sombre-2: #EDE8DD;
  --sur-sombre-3: #C9C3B3;
  --sur-accent: #FFF4EE;

  /* Canaux (provenance d'un échange uniquement) */
  --c-tel: #B5462F;       --c-tel-bg: #F6E3DA;
  --c-whatsapp: #4F7A5C;  --c-whatsapp-bg: #E4EDE6;
  --c-email: #3E5C86;     --c-email-bg: #E3E9F2;
  --c-sms: #8E4A6B;       --c-sms-bg: #F2E3EA;
  --c-plus: #6B6458;      --c-plus-bg: #ECE4D6;
  --c-site: #8A6D3B;      --c-site-bg: #F1E9DA;

  /* Typo */
  --font-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-sans: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Mise en page */
  --container: 1200px;
  --gutter: 24px;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow: 0 30px 60px -30px rgba(29, 42, 36, .28);
  --shadow-soft: 0 18px 40px -24px rgba(29, 42, 36, .25);
  --section-y: clamp(64px, 9vw, 112px);
  --header-h: 80px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--encre);
  background: var(--ivoire);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--terracotta); text-decoration: none; }
a:hover { color: var(--terracotta-fonce); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-serif); font-weight: 400; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(40px, 6vw, 76px); line-height: 1.03; }
h2 { font-size: clamp(32px, 4.2vw, 56px); line-height: 1.06; }
h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; }
h4 { font-size: 20px; line-height: 1.3; }
em, .it { font-style: italic; }
.accent { color: var(--terracotta); }
.peche { color: var(--peche); }
:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--foret); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 600; }
.skip-link:focus { top: 12px; color: #fff; }
::selection { background: var(--rose); color: var(--encre); }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(800px + var(--gutter) * 2); }
.container--text { max-width: calc(760px + var(--gutter) * 2); }
.section { padding: var(--section-y) 0; }
.section--tight { padding: clamp(48px, 6vw, 72px) 0; }
.section--flush-top { padding-top: 0; }
.section--paper { background: var(--papier); border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); }
.section--linen { background: var(--lin); }
.section--dark { background: var(--foret); color: #fff; }
.section--dark .lead, .section--dark p { color: var(--sur-sombre); }
.section--dark h2 em, .section--dark h3 em { color: var(--peche); }
.section--ivoire + .section--ivoire, .section--paper + .section--paper { padding-top: 0; }
.section--paper + .section--paper { border-top: 0; }

.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--terracotta); }
.eyebrow--muted { color: var(--gris); }
.section--dark .eyebrow { color: var(--peche); }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--corps); }
.muted { color: var(--gris); }
.small { font-size: 13px; }
.center { text-align: center; }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: 56px; }
.section-head > div { display: flex; flex-direction: column; gap: 16px; max-width: 700px; }
.section-head > p { max-width: 420px; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.section-head--center > div { align-items: center; }
.section-head--center > p { max-width: 640px; }
.section-head--stack { flex-direction: column; align-items: flex-start; gap: 16px; }
.section-head--stack > p { max-width: 700px; }
.section-head__link { font-weight: 600; white-space: nowrap; }
.link-arrow { font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .15s; }
.link-arrow:hover::after { transform: translateX(3px); }
.section--dark .link-arrow { color: var(--peche); }

/* ---------- 3. Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-family: var(--font-sans); font-size: 16px; font-weight: 600; line-height: 1;
  border: 1px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s, opacity .15s;
  white-space: nowrap; text-align: center;
}
.btn--primary { background: var(--terracotta); color: #fff; }
.btn--primary:hover { background: var(--terracotta-fonce); color: #fff; }
.btn--dark { background: var(--foret); color: #fff; }
.btn--dark:hover { background: var(--encre); color: #fff; }
.btn--ghost { background: transparent; color: var(--encre); border-color: var(--trait-fort); }
.btn--ghost:hover { background: var(--papier); color: var(--encre); }
.section--dark .btn--ghost, .price--featured .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.section--dark .btn--ghost:hover { background: var(--foret-clair); color: #fff; }
.btn--white { background: #fff; color: var(--encre); }
.btn--white:hover { background: var(--ivoire); color: var(--encre); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .7; cursor: progress; }
.btn.is-loading::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: nd-spin .7s linear infinite; }
@keyframes nd-spin { to { transform: rotate(360deg); } }

/* ---------- 4. En-tête ---------- */
.header { position: sticky; top: 0; z-index: 40; background: rgba(247, 243, 236, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--trait); transition: box-shadow .2s; }
.header.is-scrolled { box-shadow: 0 10px 30px -24px rgba(29, 42, 36, .45); }
.admin-bar .header { top: 32px; }
.header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header__logo { flex-shrink: 0; }
.header__logo img { width: 156px; height: 23px; }
.nav { display: flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 500; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 10px; color: var(--encre); background: none; border: 0; font: inherit; cursor: pointer; }
.nav__link:hover, .nav__item:hover > .nav__link, .nav__link[aria-expanded="true"] { color: var(--terracotta); }
.nav__link[aria-current="page"], .nav__item.is-current > .nav__link { color: var(--terracotta); }
.nav__chev { width: 10px; height: 10px; transition: transform .15s; }
.nav__link[aria-expanded="true"] .nav__chev { transform: rotate(180deg); }
.nav__sub {
  position: absolute; left: -12px; top: calc(100% + 8px); min-width: 320px; padding: 10px;
  background: var(--papier); border: 1px solid var(--trait); border-radius: var(--radius); box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s;
}
.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav__item:hover > .nav__sub, .nav__item:focus-within > .nav__sub, .nav__link[aria-expanded="true"] + .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__item.is-closed > .nav__sub { opacity: 0; visibility: hidden; }
.nav__sub a { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 12px; color: var(--encre); }
.nav__sub a:hover, .nav__sub a[aria-current="page"] { background: var(--ivoire); color: var(--encre); }
.nav__sub a strong { font-weight: 600; font-size: 15px; }
.nav__sub a span { font-size: 13px; color: var(--gris); font-weight: 400; }
.nav__sub a.nav__sub-all { border-top: 1px solid var(--trait-doux); margin-top: 4px; border-radius: 0 0 12px 12px; color: var(--terracotta); font-weight: 600; font-size: 14px; }
.header__actions { display: flex; align-items: center; gap: 8px; }
.header__login { font-size: 15px; font-weight: 500; color: var(--encre); padding: 12px 14px; }
.header__login:hover { color: var(--terracotta); }

/* Menu mobile : <details> (fonctionne sans JS), amélioré par main.js */
.menu-mobile { display: none; }
.menu-mobile > summary { list-style: none; width: 44px; height: 44px; border: 1px solid var(--trait); background: var(--papier); border-radius: 22px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.menu-mobile > summary::-webkit-details-marker { display: none; }
.menu-mobile .ico-close { display: none; }
.menu-mobile[open] .ico-open { display: none; }
.menu-mobile[open] .ico-close { display: block; }
.menu-mobile__panel {
  position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; z-index: 39;
  background: var(--ivoire); border-top: 1px solid var(--trait);
  padding: 12px var(--gutter) calc(24px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
}
.menu-mobile__panel > a, .menu-mobile__group > summary { display: flex; justify-content: space-between; align-items: center; padding: 16px 4px; color: var(--encre); font-size: 18px; font-weight: 500; border-bottom: 1px solid var(--trait); cursor: pointer; list-style: none; }
.menu-mobile__group > summary::-webkit-details-marker { display: none; }
.menu-mobile__group > summary::after { content: "+"; font-size: 22px; color: var(--gris); line-height: 1; }
.menu-mobile__group[open] > summary::after { content: "–"; }
.menu-mobile__group div { display: flex; flex-direction: column; padding: 6px 0 12px; border-bottom: 1px solid var(--trait); }
.menu-mobile__group div a { padding: 10px 12px; color: var(--corps); font-size: 16px; border-radius: 10px; }
.menu-mobile__group div a:hover { background: var(--papier); }
.menu-mobile__group div a span { display: block; font-size: 13px; color: var(--gris); }
.menu-mobile__ctas { margin-top: auto; padding-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.menu-mobile__ctas .btn { width: 100%; }
body.menu-open { overflow: hidden; }

/* ---------- 5. Fil d'Ariane ---------- */
.breadcrumb { padding-top: 24px; font-size: 13px; color: var(--gris); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.breadcrumb li { display: inline-flex; gap: 8px; align-items: center; }
.breadcrumb li + li::before { content: "›"; color: var(--trait-fort); }
.breadcrumb a { color: var(--gris); }
.breadcrumb a:hover { color: var(--terracotta); }
.breadcrumb [aria-current] { color: var(--corps); }
.section--dark .breadcrumb, .breadcrumb--light { color: var(--sur-sombre-3); }

/* ---------- 6. Hero ---------- */
.hero { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 7vw, 88px); }
.hero__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; }
.hero__grid--form { grid-template-columns: 7fr 5fr; gap: 56px; }
.hero__text { display: flex; flex-direction: column; gap: 26px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; color: var(--corps); list-style: none; }
.hero__points li { display: flex; gap: 8px; align-items: center; }
.hero__points li::before { content: ""; width: 16px; height: 16px; flex-shrink: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2324463A' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 16px no-repeat; }
.hero--simple { padding-bottom: clamp(40px, 5vw, 64px); }
.hero--simple .hero__text { max-width: 860px; }
.hero--simple h1 { font-size: clamp(40px, 5.2vw, 64px); }
.hero--sub h1 { font-size: clamp(40px, 5.2vw, 66px); }
.hero .breadcrumb { padding-top: 0; margin-bottom: 4px; }
.page-top { padding-top: 0; }

/* Visuel « le fil » : canaux qui convergent */
.fil { width: 100%; max-width: 568px; margin-left: auto; }
.fil__channels { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.fil__channel { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--corps); text-align: center; }
.fil__lines { width: 100%; height: 96px; }
.fil__lines path { fill: none; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.visual { width: 100%; max-width: 568px; margin-left: auto; }
.split--reverse .visual { margin-left: 0; margin-right: auto; }
.visual__note { text-align: center; margin-top: 14px; font-size: 13px; color: var(--gris); }

.chan-ico { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.chan-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chan-ico--sm { width: 40px; height: 40px; }
.chan-ico--sm svg { width: 18px; height: 18px; }
.c-tel { color: var(--c-tel); background: var(--c-tel-bg); }
.c-whatsapp { color: var(--c-whatsapp); background: var(--c-whatsapp-bg); }
.c-email { color: var(--c-email); background: var(--c-email-bg); }
.c-sms { color: var(--c-sms); background: var(--c-sms-bg); }
.c-plus { color: var(--c-plus); background: var(--c-plus-bg); }
.c-site { color: var(--c-site); background: var(--c-site-bg); }
.t-tel { color: var(--c-tel); } .t-whatsapp { color: var(--c-whatsapp); } .t-email { color: var(--c-email); }
.t-sms { color: var(--c-sms); } .t-site { color: var(--c-site); } .t-plus { color: var(--c-plus); }
.t-terracotta { color: var(--terracotta); } .t-encre { color: var(--encre); }

/* Carte conversation */
.thread { background: var(--papier); border: 1px solid var(--trait); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; color: var(--encre); }
.thread__head { padding: 18px 24px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid var(--trait-doux); }
.thread__who { display: flex; gap: 14px; align-items: center; }
.thread__who div strong { display: block; font-size: 17px; font-weight: 600; }
.thread__who div span { display: block; font-size: 13px; color: var(--gris); }
.thread__title { font-size: 16px; font-weight: 600; }
.thread__live { padding: 16px 24px; display: flex; flex-direction: column; gap: 10px; background: var(--creme); border-bottom: 1px solid var(--trait-doux); }
.thread__items { padding: 4px 24px; list-style: none; margin: 0; }
.thread__items li { display: flex; gap: 14px; align-items: center; padding: 11px 0; border-bottom: 1px solid #F0EADF; font-size: 14px; }
.thread__items li:last-child { border-bottom: 0; }
.thread__items .when { font-size: 13px; color: var(--gris); min-width: 136px; flex-shrink: 0; white-space: nowrap; }
.thread__foot { padding: 13px 24px; background: var(--ivoire); border-top: 1px solid var(--trait-doux); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--corps); }
.section--dark .thread p, .section--dark .thread span { color: inherit; }

.dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; background: currentColor; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: var(--encre); flex-shrink: 0; }
.avatar--sm { width: 26px; height: 26px; font-size: 10px; }
.avatar--lg { width: 64px; height: 64px; font-size: 20px; }
.avatar--rose { background: var(--rose); color: var(--terracotta-fonce); }
.avatar--peche { background: var(--peche); }
.avatar--sauge { background: #A8C3AE; }
.avatar--bleu { background: #C9D3E3; }
.avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.avatars { display: flex; }
.avatars .avatar { border: 2px solid var(--ivoire); }
.avatars .avatar + .avatar { margin-left: -10px; }

.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.pill--live { background: var(--terracotta); color: #fff; }
.pill--foret { background: var(--sauge-clair); color: var(--foret); }
.pill--rose { background: var(--rose); color: var(--terracotta-fonce); }
.pill--peche { background: var(--peche); color: var(--encre); }
.pill--lin { background: var(--lin); color: var(--corps); }

/* Lignes de transcription */
.line { display: flex; gap: 12px; font-size: 15px; line-height: 1.5; }
.line__who { width: 52px; flex-shrink: 0; font-size: 12px; font-weight: 700; padding-top: 3px; }
.line__who--client { color: var(--terracotta); }
.line__who--agent { color: var(--foret); }
.line--pending { color: var(--gris); }
.quote { font-family: var(--font-serif); font-style: italic; font-size: 16px; }

.wave { display: flex; gap: 2px; align-items: center; height: 18px; padding-left: 64px; }
.wave i { width: 3px; border-radius: 2px; background: var(--terracotta); }
.wave i.off { background: var(--trait); }
.wave span { font-size: 12px; color: var(--gris); margin-left: 10px; white-space: nowrap; }

.suggest { border-radius: 14px; background: var(--foret); color: #fff; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.suggest--indent { margin-left: 64px; }
.suggest__label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--peche) !important; }
.suggest__text { font-size: 15px; line-height: 1.45; color: #fff !important; }
.suggest__src { font-size: 12px; color: var(--sur-sombre-3) !important; }

.chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.chip { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 999px; }

/* ---------- 7. Bandeau softphones ---------- */
.band { background: var(--papier); border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); }
.band__inner { min-height: 140px; display: flex; align-items: center; gap: 56px; padding-top: 24px; padding-bottom: 24px; }
.band__title { font-family: var(--font-serif); font-size: 22px; line-height: 1.25; width: 250px; flex-shrink: 0; }
.band__list { flex: 1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin: 0; padding: 0; list-style: none; font-size: 16px; font-weight: 600; color: var(--gris); }
.band__list li:first-child { color: var(--encre); }

/* ---------- 8. Grilles & cartes ---------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card { background: var(--papier); border: 1px solid var(--trait); border-radius: var(--radius); padding: 28px; }
.card--ivoire { background: var(--ivoire); }
.card--dark { background: var(--foret); border-color: var(--foret); color: #fff; }
.card--dark p { color: var(--sur-sombre); }
.card h3 { font-size: clamp(22px, 1.8vw, 26px); }
.card p { color: var(--corps); font-size: 16px; line-height: 1.55; }
.card__tag { margin-top: auto; font-size: 14px; font-weight: 600; }
.section--dark .card:not(.card--dark) { color: var(--encre); }
.section--dark .card:not(.card--dark) p { color: var(--corps); }
.section--paper .card { background: var(--ivoire); }
.section--paper .card.card--dark { background: var(--foret); }

.channel-card { display: flex; flex-direction: column; gap: 14px; min-height: 232px; }
.channel-card__head { display: flex; gap: 14px; align-items: center; }
.channel-card__head h3 { font-family: var(--font-sans); font-size: 20px; font-weight: 600; letter-spacing: 0; }
.channel-card__tag { margin-top: auto; font-size: 14px; font-weight: 600; }

.card--link { display: flex; flex-direction: column; gap: 10px; color: var(--encre); transition: border-color .15s, transform .15s, box-shadow .15s; }
.card--link:hover { border-color: var(--terracotta); color: var(--encre); transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.card--link .link-arrow { margin-top: auto; padding-top: 6px; font-size: 15px; }
.card--link.card--dark, .card--link.card--dark:hover { color: #fff; }
.card--link.card--dark:hover { border-color: var(--peche); }
.card--link.card--dark .link-arrow { color: var(--peche); }

.benefit { background: var(--ivoire); border-radius: 18px; padding: 26px; font-family: var(--font-serif); font-size: 24px; line-height: 1.25; }
.benefit p { font-family: var(--font-sans); font-size: 15px; color: var(--corps); margin-top: 10px; line-height: 1.5; }
.section--ivoire .benefit, .section--linen .benefit { background: var(--papier); }

/* ---------- 9. Assistance en appel ---------- */
.assist { background: var(--papier); color: var(--encre); border-radius: 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: hidden; margin-bottom: 48px; }
.assist__col { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.assist__col + .assist__col { background: var(--creme); border-left: 1px solid var(--trait-doux); gap: 12px; }
.assist__title { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--gris) !important; }
.assist__title strong { color: var(--encre); font-weight: 600; }
.assist__col-title { font-size: 13px; font-weight: 600; color: var(--encre); }
.assist__note { margin-top: auto; font-size: 13px; color: var(--gris) !important; }
.assist .line span:not(.line__who) { color: var(--encre); }
.assist .line--pending span:not(.line__who) { color: var(--gris); }
.sugg-card { background: var(--papier); border: 1px solid var(--trait); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; color: var(--encre) !important; font-size: 15px; }
.sugg-card__label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.sugg-card__src { font-size: 13px; color: var(--gris) !important; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.steps li { border-top: 1px solid var(--peche); padding-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.steps strong { font-family: var(--font-serif); font-weight: 400; font-size: 22px; line-height: 1.25; }
.steps span { font-size: 15px; line-height: 1.5; color: var(--sur-sombre); }
.section:not(.section--dark) .steps li { border-top-color: var(--terracotta); }
.section:not(.section--dark) .steps span { color: var(--corps); }

/* ---------- 10. Split & listes ---------- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; align-items: center; }
.split--top { align-items: start; }
.stack { display: flex; flex-direction: column; gap: 22px; }
.stack--sm { gap: 14px; }
.dash-list, .checks-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; color: var(--corps); font-size: 16px; }
.dash-list li, .checks-list li { display: flex; gap: 10px; align-items: flex-start; }
.dash-list li::before, .checks-list li::before { content: ""; width: 16px; height: 16px; margin-top: 4px; flex-shrink: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2324463A' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 16px no-repeat; }
.section--dark .dash-list li::before, .price--featured .dash-list li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E9A58B' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.section--dark .dash-list { color: var(--sur-sombre-2); }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 17px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before { content: ""; width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%; background: var(--foret) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.section--dark .checks li::before { background-color: var(--terracotta); }
.numbered { list-style: none; margin: 0; padding: 0; counter-reset: n; display: flex; flex-direction: column; gap: 16px; }
.numbered li { counter-increment: n; display: flex; gap: 16px; align-items: flex-start; font-size: 18px; line-height: 1.5; color: var(--corps); }
.numbered li::before { content: counter(n); font-family: var(--font-serif); font-size: 26px; line-height: 1; color: var(--terracotta); width: 28px; flex-shrink: 0; }
.section--dark .numbered li { color: var(--sur-sombre-2); }
.section--dark .numbered li::before { color: var(--peche); }
.guard { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.guard li { display: flex; gap: 14px; align-items: center; font-size: 18px; background: var(--papier); border: 1px solid var(--trait); border-radius: 14px; padding: 16px 20px; color: var(--encre); }
.guard li::before { content: ""; width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%; background: var(--foret) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.split__content { display: flex; flex-direction: column; gap: 16px; color: var(--corps); }
.section--dark .split__content { color: var(--sur-sombre); }
.split__content p + p { margin-top: 0; }
.split__content a:not(.btn) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* Validation (gouvernance) */
.validate { display: flex; flex-direction: column; gap: 14px; }
.validate__meta { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--gris); }
.validate__actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.validate__who { margin-left: auto; display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--corps); }
.validate__log { font-size: 14px; color: var(--corps); }
.validate__team { display: flex; gap: 12px; align-items: center; padding: 12px 0 0 8px; font-size: 14px; color: var(--corps); }
.offset { margin-left: 48px; }
.fake-btn { pointer-events: none; }

/* ---------- 11. Pains (bande sombre) ---------- */
.pains { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pains li { border-top: 1px solid var(--peche); padding-top: 18px; font-size: 20px; line-height: 1.45; color: var(--sur-sombre-2); }

/* ---------- 12. Tarifs ---------- */
.price { display: flex; flex-direction: column; gap: 18px; padding: 36px; border-radius: 22px; background: var(--ivoire); border: 1px solid var(--trait); }
.section--ivoire .price:not(.price--featured) { background: var(--papier); }
.price__name { font-family: var(--font-serif); font-size: 30px; }
.price__desc { font-size: 15px; color: var(--corps); }
.price__amount { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price__amount strong { font-family: var(--font-serif); font-weight: 400; font-size: 60px; line-height: 1; }
.price__amount strong.is-text { font-size: 44px; }
.price .dash-list { font-size: 15px; gap: 10px; }
.price .btn { margin-top: auto; }
.price--featured { background: var(--foret); border-color: var(--foret); color: #fff; }
.price--featured .muted { color: var(--sur-sombre-3); }
.price--featured .price__desc { color: var(--sur-sombre); }
.price--featured .dash-list { color: var(--sur-sombre-2); }
.price__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.price-note { text-align: center; margin-top: 28px; font-size: 14px; color: var(--gris); }

/* ---------- 13. FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; }
.faq__head { display: flex; flex-direction: column; gap: 16px; align-self: start; }
.faq__head h2 { font-size: clamp(32px, 3.4vw, 44px); }
.faq details { border-bottom: 1px solid var(--trait); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; gap: 24px; font-size: 18px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gris); font-size: 22px; line-height: 1; flex-shrink: 0; }
.faq details[open] summary::after { content: "–"; }
.faq summary:hover { color: var(--terracotta); }
.faq__answer { padding: 0 0 22px; color: var(--corps); max-width: 680px; display: flex; flex-direction: column; gap: 12px; }
.faq__answer a { text-decoration: underline; text-underline-offset: 3px; }
.section--dark .faq details { border-color: var(--foret-ligne); }
.section--dark .faq__answer { color: var(--sur-sombre); }

/* ---------- 14. Appel à l'action ---------- */
.cta { border-radius: var(--radius-lg); background: var(--terracotta); color: #fff; padding: clamp(36px, 5vw, 56px) clamp(28px, 5vw, 64px); display: flex; justify-content: space-between; align-items: center; gap: 48px; }
.cta h2 { font-size: clamp(30px, 3.4vw, 48px); max-width: 760px; }
.cta p { color: var(--sur-accent); font-size: 18px; margin-top: 14px; max-width: 640px; }
.cta__form { display: flex; flex-direction: column; gap: 10px; width: 360px; flex-shrink: 0; }
.cta__form label { font-size: 14px; font-weight: 500; color: var(--sur-accent); }
.cta__form .form__legal { color: var(--sur-accent); opacity: .85; }
.cta__form .form__legal a { color: #fff; }
.cta__form .field__error { color: #fff; }
.cta--dark { background: var(--foret); }
.cta--dark p { color: var(--sur-sombre); }

/* ---------- 15. Formulaires ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field__label { font-size: 14px; font-weight: 600; color: var(--encre); }
.field__opt { font-weight: 400; color: var(--gris); }
.input, .select, .textarea {
  width: 100%; font-family: var(--font-sans); font-size: 16px; color: var(--encre);
  padding: 13px 16px; border-radius: var(--radius-sm); border: 1px solid var(--trait-fort); background: var(--papier);
  transition: border-color .15s, box-shadow .15s;
}
.select { appearance: none; -webkit-appearance: none; padding-right: 44px; background: var(--papier) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B6458' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 16px center / 16px no-repeat; }
.textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.input--pill { border-radius: 999px; border: 0; padding: 16px 20px; }
.input:focus, .select:focus, .textarea:focus { outline: 2px solid var(--terracotta); outline-offset: 1px; border-color: var(--terracotta); }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--terracotta); box-shadow: 0 0 0 3px var(--rose); }
.field__error { font-size: 13px; color: var(--terracotta-fonce); font-weight: 500; }
.field__error:empty { display: none; }
.form { display: flex; flex-direction: column; gap: 14px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form__legal { font-size: 12px; line-height: 1.5; color: var(--gris); }
.form__legal a { color: inherit; text-decoration: underline; }
.form__status { border-radius: var(--radius-sm); padding: 14px 16px; font-size: 15px; }
.form__status:empty { display: none; }
.form__status--error { background: var(--rose); color: var(--terracotta-fonce); }
.form__status--success { background: var(--sauge-clair); color: var(--foret); }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-card { background: var(--papier); border: 1px solid var(--trait); border-radius: 24px; padding: 36px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; color: var(--encre); }
.form-card__title { font-family: var(--font-serif); font-size: 30px; line-height: 1.15; }
.form-card__intro { font-size: 15px; color: var(--corps); }
.form-card .btn[type="submit"] { margin-top: 6px; min-height: 58px; font-size: 17px; }
.form-card__note { text-align: center; font-size: 13px; color: var(--gris); }
.form-card .field label { color: var(--encre); }
.req { color: var(--terracotta); }

/* ---------- 16. Prose (contenus éditoriaux) ---------- */
.prose { color: var(--corps); font-size: 18px; line-height: 1.7; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(30px, 3.2vw, 40px); line-height: 1.12; color: var(--encre); margin-top: 1.8em; }
.prose h3 { font-size: clamp(22px, 2vw, 27px); color: var(--encre); margin-top: 1.6em; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose > :first-child { margin-top: 0; }
.prose strong { color: var(--encre); font-weight: 600; }
.prose a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose ul, .prose ol { padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.prose ul li { display: flex; gap: 12px; align-items: flex-start; }
.prose ul li::before { content: ""; width: 18px; height: 18px; margin-top: 6px; flex-shrink: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2324463A' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 18px no-repeat; }
.prose ol { counter-reset: n; }
.prose ol li { counter-increment: n; display: flex; gap: 14px; align-items: flex-start; }
.prose ol li::before { content: counter(n); font-family: var(--font-serif); font-size: 22px; line-height: 1.3; color: var(--terracotta); min-width: 22px; flex-shrink: 0; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--terracotta); font-family: var(--font-serif); font-style: italic; font-size: 22px; line-height: 1.45; color: var(--encre); }
.prose img { border-radius: var(--radius); }
.prose hr { border: 0; border-top: 1px solid var(--trait); margin: 2em 0; }
.prose code { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: .88em; background: var(--lin); padding: 2px 6px; border-radius: 6px; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--trait); border-radius: var(--radius); background: var(--papier); }
.prose .table-wrap { margin-top: 1.4em; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; min-width: 560px; }
.table-wrap th, .table-wrap td { text-align: left; vertical-align: top; padding: 14px 18px; border-bottom: 1px solid var(--trait-doux); }
.table-wrap thead th { background: var(--lin); color: var(--encre); font-weight: 600; font-size: 14px; }
.table-wrap tbody tr:last-child td, .table-wrap tbody tr:last-child th { border-bottom: 0; }
.table-wrap tbody th { color: var(--encre); font-weight: 600; }
.table-wrap td:not(:first-child), .table-wrap th:not(:first-child) { border-left: 1px solid var(--trait-doux); }
.section--dark .prose { color: var(--sur-sombre); }
.section--dark .prose h2, .section--dark .prose h3, .section--dark .prose strong { color: #fff; }
.section--dark .prose a { color: var(--peche); }
.section--dark .table-wrap { color: var(--corps); }
.prose-block__head { margin-bottom: 32px; display: flex; flex-direction: column; gap: 16px; }

.tldr { background: var(--papier); border: 1px solid var(--trait); border-radius: var(--radius); padding: 24px 28px; }
.tldr__title { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 12px; }
.prose .tldr ul { gap: 8px; font-size: 17px; }
.callout { background: var(--lin); border-radius: var(--radius); padding: 22px 26px; }
.callout > * + * { margin-top: .7em; }
.callout p { font-size: 17px; }

/* ---------- 17. Blocs : cas d'usage, liens, sous-pages ---------- */
.usecase { display: grid; grid-template-columns: 3fr 2fr; gap: 0; background: var(--papier); border: 1px solid var(--trait); border-radius: var(--radius-lg); overflow: hidden; }
.usecase__story { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 18px; }
.usecase__story .prose { font-size: 17px; }
.usecase__aside { background: var(--foret); color: #fff; padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 22px; justify-content: center; }
.usecase__quote { font-family: var(--font-serif); font-style: italic; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.35; }
.usecase__author { font-size: 14px; color: var(--sur-sombre-3); }
.usecase__aside .dash-list { color: var(--sur-sombre-2); }
.usecase__aside .dash-list li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E9A58B' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

.links-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.links-grid .card--link { padding: 22px 24px; }
.links-grid strong { font-size: 18px; font-weight: 600; }
.links-grid p { font-size: 15px; }

/* ---------- 18. Blog : listes et cartes ---------- */
.blog-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 4vw, 48px); }
.blog-hero__inner { display: flex; flex-direction: column; gap: 20px; max-width: 820px; }
.blog-hero h1 { font-size: clamp(40px, 5.2vw, 64px); }
.cat-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.cat-filter a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--trait-fort); color: var(--encre); font-size: 14px; font-weight: 600; }
.cat-filter a:hover { border-color: var(--terracotta); color: var(--terracotta); }
.cat-filter a[aria-current="page"] { background: var(--foret); border-color: var(--foret); color: #fff; }
.search-form { display: flex; gap: 8px; max-width: 520px; }
.search-form .input { border-radius: 999px; }
.search-form .btn { flex-shrink: 0; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post-card { display: flex; flex-direction: column; background: var(--papier); border: 1px solid var(--trait); border-radius: var(--radius); overflow: hidden; transition: border-color .15s, transform .15s, box-shadow .15s; position: relative; }
.post-card:hover { border-color: var(--terracotta); transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.post-card__media { aspect-ratio: 16 / 9; background: var(--lin); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.post-card__cat { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--terracotta); }
.post-card__title { font-size: clamp(21px, 1.7vw, 24px); line-height: 1.22; }
.post-card__title a { color: var(--encre); }
.post-card__title a::after { content: ""; position: absolute; inset: 0; }
.post-card__excerpt { font-size: 15px; color: var(--corps); line-height: 1.55; }
.post-card__meta { margin-top: auto; padding-top: 8px; font-size: 13px; color: var(--gris); display: flex; gap: 8px; flex-wrap: wrap; }
.post-card--featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr; }
.post-card--featured .post-card__body { padding: clamp(28px, 4vw, 48px); justify-content: center; }
.post-card--featured .post-card__title { font-size: clamp(28px, 3vw, 40px); }
.post-card--featured .post-card__media { aspect-ratio: auto; min-height: 280px; background: var(--foret); display: flex; align-items: center; justify-content: center; padding: 32px; }
.post-card__placeholder { width: 100%; max-width: 360px; }
.pagination { margin-top: 48px; display: flex; justify-content: center; }
.pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--trait-fort); color: var(--encre); font-weight: 600; font-size: 15px; }
.pagination .page-numbers.current { background: var(--foret); border-color: var(--foret); color: #fff; }
.pagination .page-numbers:hover:not(.current) { border-color: var(--terracotta); color: var(--terracotta); }
.empty-state { text-align: center; padding: 48px 24px; background: var(--papier); border: 1px dashed var(--trait-fort); border-radius: var(--radius); display: flex; flex-direction: column; align-items: center; gap: 14px; }

/* ---------- 19. Article ---------- */
.article-header { padding: clamp(32px, 5vw, 56px) 0 clamp(28px, 4vw, 40px); }
.article-header__inner { max-width: 860px; display: flex; flex-direction: column; gap: 20px; }
.article-header h1 { font-size: clamp(36px, 4.8vw, 60px); line-height: 1.06; }
.article-header .lead { max-width: 760px; }
.byline { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 14px; color: var(--gris); }
.byline__author { display: flex; align-items: center; gap: 12px; }
.byline__author strong { display: block; color: var(--encre); font-weight: 600; font-size: 15px; }
.byline__author a { color: var(--encre); }
.byline__author a:hover { color: var(--terracotta); }
.byline__meta { display: flex; gap: 6px 14px; flex-wrap: wrap; }
.byline__review { display: inline-flex; gap: 6px; align-items: center; color: var(--foret); font-weight: 600; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 64px; align-items: start; padding-bottom: var(--section-y); }
.article-body { max-width: 760px; }
.article-aside { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 20px; }
.toc { border-left: 1px solid var(--trait); padding-left: 20px; }
.toc__title { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gris); margin-bottom: 12px; }
.toc ol { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.toc a { color: var(--corps); font-size: 14px; line-height: 1.4; display: block; }
.toc a:hover, .toc a.is-active { color: var(--terracotta); }
.toc-mobile { display: none; margin-bottom: 28px; background: var(--papier); border: 1px solid var(--trait); border-radius: var(--radius-sm); }
.toc-mobile summary { padding: 14px 18px; font-weight: 600; cursor: pointer; }
.toc-mobile ol { list-style: none; padding: 0 18px 16px; display: flex; flex-direction: column; gap: 10px; }
.toc-mobile a { color: var(--corps); font-size: 15px; }
.aside-cta { background: var(--foret); color: #fff; border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.aside-cta p { color: var(--sur-sombre); font-size: 14px; line-height: 1.5; }
.aside-cta strong { font-family: var(--font-serif); font-weight: 400; font-size: 22px; line-height: 1.2; }
.further { margin-top: 56px; display: flex; flex-direction: column; gap: 16px; }
.further__title { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gris); }
.further .grid { gap: 16px; }
.further .card--link { padding: 22px 24px; }
.further .card--link span.eyebrow { font-size: 11px; }
.author-box { margin-top: 56px; display: flex; gap: 20px; align-items: flex-start; padding: 28px; background: var(--papier); border: 1px solid var(--trait); border-radius: var(--radius); }
.author-box__body { display: flex; flex-direction: column; gap: 8px; }
.author-box__name { font-family: var(--font-serif); font-size: 24px; line-height: 1.2; }
.author-box__name a { color: var(--encre); }
.author-box__role { font-size: 14px; color: var(--gris); }
.author-box__bio { font-size: 15px; color: var(--corps); }
.article-cta { margin-top: 56px; }
.related { padding: var(--section-y) 0; background: var(--papier); border-top: 1px solid var(--trait); }
.author-hero { display: flex; gap: 28px; align-items: center; }
.author-hero .avatar { width: 96px; height: 96px; font-size: 28px; }
.expertise { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- 20. Pages légales & plan du site ---------- */
.legal { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 64px; align-items: start; padding-bottom: var(--section-y); }
.legal__toc { position: sticky; top: calc(var(--header-h) + 24px); }
.legal__content { max-width: 780px; }
.legal__section + .legal__section { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--trait); }
.legal__section h2 { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 18px; }
.legal__updated { font-size: 14px; color: var(--gris); }
.sitemap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.sitemap-grid h2 { font-size: 26px; margin-bottom: 14px; }
.sitemap-grid h2 a { color: var(--encre); }
.sitemap-grid ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.sitemap-grid li a { color: var(--corps); }
.sitemap-grid li a:hover { color: var(--terracotta); }
.sitemap-grid ul ul { margin: 8px 0 4px 16px; font-size: 15px; }

/* ---------- 21. 404 ---------- */
.notfound { min-height: 60vh; display: flex; align-items: center; }
.notfound__inner { display: flex; flex-direction: column; gap: 22px; max-width: 760px; }
.notfound__code { font-family: var(--font-serif); font-style: italic; font-size: 20px; color: var(--terracotta); }

/* ---------- 22. Pied de page ---------- */
.footer { background: var(--encre); color: var(--sur-sombre-3); padding: 72px 0 40px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col strong, .footer__title { color: #fff; font-weight: 600; font-size: 15px; font-family: var(--font-sans); letter-spacing: 0; margin: 0 0 4px; }
.footer__brand { gap: 16px; max-width: 280px; }
.footer__brand img { width: 156px; height: 23px; }
.footer__contact a { color: #fff; }
.footer a { color: var(--sur-sombre-3); }
.footer a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; border-top: 1px solid var(--foret-ligne); padding-top: 24px; margin-top: 56px; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.footer__legal button { background: none; border: 0; padding: 0; font: inherit; color: var(--sur-sombre-3); cursor: pointer; }
.footer__legal button:hover { color: #fff; }
.prefooter { padding: 0 0 var(--section-y); }

/* ---------- 23. Landings Ads ---------- */
.lp-header { border-bottom: 1px solid var(--trait); background: var(--ivoire); }
.lp-header__inner { height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lp-header__inner img { width: 156px; height: 23px; }
.lp-header__tagline { font-size: 14px; color: var(--gris); }
.lp-badge { display: inline-block; width: fit-content; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--terracotta-fonce); background: var(--rose); padding: 8px 14px; border-radius: 999px; }
.lp-footer { border-top: 1px solid var(--trait); padding: 28px 0; font-size: 13px; color: var(--gris); }
.lp-footer .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.lp-footer a { color: var(--gris); }
.lp-footer nav { display: flex; gap: 14px; flex-wrap: wrap; }
.page-landing .hero h1 { font-size: clamp(40px, 5.2vw, 68px); }

/* ---------- 24. Bandeau cookies ---------- */
.consent { position: fixed; left: 20px; bottom: 20px; z-index: 60; width: min(440px, calc(100vw - 40px)); background: var(--papier); border: 1px solid var(--trait); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.consent[hidden] { display: none; }
.consent__title { font-family: var(--font-serif); font-size: 22px; line-height: 1.2; }
.consent p { font-size: 14px; color: var(--corps); line-height: 1.5; }
.consent p a { color: var(--corps); text-decoration: underline; }
.consent__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }

/* ---------- 25. Barre CTA mobile ---------- */
.mobile-cta { display: none; }

/* ---------- 26. Responsive ---------- */
@media (max-width: 1100px) {
  .nav__link { padding: 10px 8px; }
  .header__login { display: none; }
  .hero__grid, .split { gap: 48px; }
  .band__inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .band__title { width: auto; }
  .band__list { justify-content: flex-start; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 240px; gap: 40px; }
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 960px) {
  .nav, .header__actions > .btn, .header__login { display: none; }
  .menu-mobile { display: block; }
  .hero__grid, .hero__grid--form, .split { grid-template-columns: minmax(0, 1fr); }
  .fil, .visual { margin: 0 auto; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 40px; }
  .section-head--center { align-items: center; }
  .grid--3, .grid--4, .steps, .steps--3, .post-grid, .links-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .assist { grid-template-columns: minmax(0, 1fr); }
  .assist__col + .assist__col { border-left: 0; border-top: 1px solid var(--trait-doux); }
  .faq { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .cta { flex-direction: column; align-items: stretch; }
  .cta__form { width: 100%; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pains { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .split--reverse > :first-child { order: 2; }
  .usecase { grid-template-columns: minmax(0, 1fr); }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .article-aside { display: none; }
  .toc-mobile { display: block; }
  .legal { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .legal__toc { position: static; }
  .sitemap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-card--featured { grid-template-columns: minmax(0, 1fr); }
  .post-card--featured .post-card__media { min-height: 200px; }
  .mobile-cta { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 30; transform: translateY(140%); transition: transform .25s; }
  .mobile-cta.is-visible { transform: none; }
  .mobile-cta .btn { width: 100%; box-shadow: var(--shadow); }
}
@media (max-width: 600px) {
  :root { --gutter: 20px; --header-h: 64px; }
  body { font-size: 16px; }
  .header__logo img, .lp-header__inner img { width: 122px; height: 18px; }
  .lp-header__inner { height: 64px; }
  .lp-header__tagline { display: none; }
  .hero__ctas .btn { width: 100%; }
  .grid--2, .grid--3, .grid--4, .steps, .steps--2, .steps--3, .post-grid, .links-grid, .form__row, .sitemap-grid { grid-template-columns: minmax(0, 1fr); }
  .chan-ico { width: 40px; height: 40px; }
  .chan-ico svg { width: 18px; height: 18px; }
  .fil__channel span.label { display: none; }
  .fil__lines { height: 60px; }
  .thread__head, .thread__live, .thread__items, .thread__foot { padding-left: 16px; padding-right: 16px; }
  .thread__items .when { min-width: 0; }
  .thread__items li { flex-wrap: wrap; row-gap: 2px; }
  .thread__who div span { max-width: 200px; }
  .wave { padding-left: 0; }
  .suggest--indent { margin-left: 0; }
  .offset { margin-left: 0; }
  .price { padding: 28px; }
  .price__amount strong { font-size: 52px; }
  .form-card { padding: 24px; border-radius: 20px; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .channel-card, .metier { min-height: 0; }
  .prose { font-size: 17px; }
  .author-box, .author-hero { flex-direction: column; }
  .consent { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .search-form { flex-direction: column; }
  .cta { border-radius: 22px; }
  .section-head { margin-bottom: 32px; }
  .usecase { border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .header, .footer, .mobile-cta, .consent, .article-aside, .cta, .prefooter { display: none !important; }
  body { background: #fff; }
}

/* ---------- 27. Compléments ---------- */
.byline__author span { display: block; font-size: 13px; color: var(--gris); }
.byline .avatar { width: 44px; height: 44px; }
.nav__chev { flex-shrink: 0; }
.byline__review .nav__chev { width: 14px; height: 14px; }
.eyebrow:is(a):hover { color: var(--terracotta-fonce); }
.wave { overflow: hidden; }
.hero__text, .stack, .split > *, .hero__grid > * { min-width: 0; }
@media (max-width: 600px) {
  .wave span { display: none; }
  .thread__items .when { white-space: normal; }
  .line { font-size: 14px; }
  .line__who { width: 44px; }
  h1 { font-size: clamp(38px, 10.5vw, 48px); }
  .hero--sub h1, .hero--simple h1, .page-landing .hero h1 { font-size: clamp(34px, 9.4vw, 44px); }
  h2 { font-size: clamp(30px, 8.2vw, 38px); }
}
/* Listes éditoriales : la puce ne doit pas découper le texte riche (strong, liens). */
.prose ul li, .prose ol li, .dash-list li, .checks li, .faq__answer ul li { display: block; position: relative; }
.prose ul li { padding-left: 30px; }
.prose ul li::before { position: absolute; left: 0; top: 0; }
.prose ol li { padding-left: 36px; }
.prose ol li::before { position: absolute; left: 0; top: 0; }
.dash-list li { padding-left: 26px; }
.dash-list li::before { position: absolute; left: 0; top: 0; }
.checks li { padding-left: 36px; min-height: 24px; }
.checks li::before { position: absolute; left: 0; top: 1px; }
.faq__answer ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.faq__answer ul li { padding-left: 26px; }
.faq__answer ul li::before { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2324463A' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 16px no-repeat; }
.pains--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; }
@media (max-width: 960px) { .pains--2 { grid-template-columns: minmax(0, 1fr); } }
.byline__author span { display: initial; }
.byline__author > div > span { display: block; font-size: 13px; color: var(--gris); }
/* Menu mobile : l'en-tête (backdrop-filter) est le bloc conteneur → hauteur explicite. */
.menu-mobile__panel { top: var(--header-h); bottom: auto; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); }
.menu-mobile:not([open]) .menu-mobile__panel { display: none; }
body.menu-open .header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--ivoire); }
.admin-bar .menu-mobile__panel { height: calc(100vh - var(--header-h) - 46px); }
.byline__author .avatar { display: inline-flex; }
@media (max-width: 600px) {
  .tldr, .callout { padding: 20px; }
  .prose .tldr ul { font-size: 16px; }
  .prose ul li { padding-left: 26px; }
  .breadcrumb li:last-child:not(:nth-child(2)) { display: none; }
}
/* Formulaires sur fond terracotta (blocs CTA) : libellés en blanc. */
.cta__form .field label, .cta__form .req, .cta__form .field__opt { color: #fff; }
.cta__form .form__status--error { background: rgba(255, 255, 255, .15); color: #fff; }
.cta .cta__form .form__legal { font-size: 12px; line-height: 1.5; margin-top: 2px; }
.cta .cta__form .form__status { margin-top: 0; font-size: 14px; }
.section-head > .section-head__side { max-width: 420px; gap: 14px; align-items: flex-start; }
/* Turnstile */
.field--captcha { min-height: 65px; }
.field--captcha .cf-turnstile { width: 100%; }
.cta__form .field--captcha { min-height: 0; }
