/* ============================================================
   OBM System — feuille de style du site (accueil, offre, journal, réalisations)
   Fond papier, encre, un violet pour les actions, le point orange du logo.
   ============================================================ */

@font-face { font-family: 'Switzer'; src: url('../fonts/switzer-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Switzer'; src: url('../fonts/switzer-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Switzer'; src: url('../fonts/switzer-600.woff2') format('woff2'); font-weight: 600 700; font-style: normal; font-display: swap; }

:root {
  --paper: #F3F1EC;
  --paper-2: #EAE7E0;
  --card: #FBFAF7;
  --ink: #16151B;
  --ink-2: #44424D;
  --ink-3: #6E6C78;
  --line: #D9D6CE;
  --violet: #5B43C9;
  --violet-2: #4A34B0;
  --violet-soft: #9A84F1;
  --orange: #E8692B;
  --night: #121117;
  --night-2: #1C1B23;

  --font: 'Switzer', 'Helvetica Neue', Helvetica, sans-serif;

  --text-sm: clamp(0.9rem, 0.85rem + 0.2vw, 0.98rem);
  --text-base: clamp(1rem, 0.95rem + 0.3vw, 1.1rem);
  --text-lg: clamp(1.1rem, 1rem + 0.45vw, 1.3rem);
  --text-xl: clamp(1.3rem, 1.1rem + 0.8vw, 1.65rem);
  --text-2xl: clamp(1.65rem, 1.3rem + 1.5vw, 2.3rem);
  --text-3xl: clamp(2rem, 1.5rem + 2.3vw, 3.1rem);
  --text-hero: clamp(2.3rem, 1.6rem + 3.2vw, 4.1rem);

  --gutter: clamp(1rem, 0.5rem + 3vw, 3rem);
  --section: clamp(4rem, 2.5rem + 6vw, 8rem);
  --max: 1240px;
  --r: 10px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: var(--text-base); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--violet); color: #fff; }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .7rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }

/* ---------- Texte ---------- */
h1, h2, h3 { font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; margin: 0; text-wrap: balance; }
.h1 { font-size: var(--text-hero); }
.h2 { font-size: var(--text-3xl); }
.h3 { font-size: var(--text-xl); letter-spacing: -0.02em; }
.kicker { display: block; font-size: var(--text-sm); color: var(--ink-3); margin-bottom: 1.1rem; }
.kicker b { color: var(--ink); font-weight: 600; }
.lead { font-size: var(--text-lg); color: var(--ink-2); margin: 1.4rem 0 0; max-width: 58ch; }
.muted { color: var(--ink-3); }
.link { color: var(--violet); text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; font-weight: 500; }
.link:hover { color: var(--violet-2); text-decoration-thickness: 2px; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; gap: .6rem; padding: .9rem 1.35rem; border-radius: 8px; background: var(--violet); color: #fff; font-weight: 600; font-size: var(--text-sm); text-decoration: none; transition: background-color .2s, transform .2s; }
.btn:hover { background: var(--violet-2); }
.btn:active { transform: translateY(1px); }
.btn--ink { background: var(--ink); }
.btn--ink:hover { background: #2B2A33; }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.4rem; margin-top: 2rem; }


/* ---------- Navigation ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(243, 241, 236, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.is-scrolled { border-color: var(--line); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 70px; }
.nav__links { display: flex; gap: clamp(1rem, 2vw, 2rem); font-size: var(--text-sm); white-space: nowrap; }
.nav__links a { text-decoration: none; color: var(--ink-2); padding: .3rem 0; border-bottom: 1px solid transparent; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); border-color: var(--ink); }
.nav__cta { padding: .7rem 1.1rem; white-space: nowrap; }
.nav__burger { display: none; padding: .6rem .9rem; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); font-size: var(--text-sm); font-weight: 500; }
.mnav { position: fixed; inset: 70px 0 0 0; background: var(--paper); z-index: 49; padding: 1.5rem var(--gutter); display: flex; flex-direction: column; }
.mnav[hidden] { display: none; }
.mnav a { font-size: var(--text-xl); font-weight: 600; letter-spacing: -.02em; padding: .9rem 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.mnav .btn { margin-top: 1.5rem; justify-content: center; border: 0; font-size: var(--text-base); }
@media (max-width: 1000px) { .nav__links, .nav__cta { display: none; } .nav__burger { display: inline-flex; } }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--rule { border-top: 1px solid var(--line); }
.section--night { background: var(--night); color: #F1F0F4; }
.section--night .kicker { color: #A9A7B4; }
.section--night .lead, .section--night .muted { color: #C4C2CD; }
.section--night .link { color: var(--violet-soft); }
.head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.head .lead { margin: 0; }
@media (max-width: 860px) { .head { grid-template-columns: 1fr; } }

/* ---------- Accueil : en-tête ---------- */
.intro { padding: clamp(3rem, 2rem + 4vw, 6rem) 0 var(--section); }
.intro__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.intro__facts { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: var(--text-sm); color: var(--ink-3); }
.intro__facts span::before { content: "✓ "; color: var(--violet); font-weight: 600; }
@media (max-width: 960px) { .intro__grid { grid-template-columns: 1fr; } }

/* Capture encadrée façon navigateur */
.shot { margin: 0; }
.shot__frame { border-radius: var(--r); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(22, 21, 27, .04), 0 18px 40px -24px rgba(22, 21, 27, .25); }
.shot__bar { height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 12px; border-bottom: 1px solid var(--line); background: var(--card); }
.shot__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.shot__bar span { margin-left: 10px; font-size: .8rem; color: var(--ink-3); }
.shot figcaption { margin-top: .8rem; font-size: var(--text-sm); color: var(--ink-3); }
.shot figcaption b { color: var(--ink); font-weight: 600; }
.shot--phone { position: relative; }
.shot__mobile { position: absolute; right: -4%; bottom: -10%; width: 23%; border-radius: 16px; overflow: hidden; border: 4px solid var(--ink); box-shadow: 0 18px 40px -18px rgba(22, 21, 27, .45); }
@media (max-width: 600px) { .shot__mobile { right: -2%; width: 26%; border-width: 3px; border-radius: 12px; } }

/* Bandeau clients */
.clients { border-block: 1px solid var(--line); padding: 1.4rem 0; }
.clients__in { display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem 2.2rem; }
.clients__in p { margin: 0; font-size: var(--text-sm); color: var(--ink-3); }
.clients__in ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 2rem; font-weight: 600; letter-spacing: -.01em; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.service { padding: clamp(1.6rem, 3vw, 2.6rem) clamp(0rem, 2vw, 2.4rem) clamp(1.6rem, 3vw, 2.6rem) 0; border-bottom: 1px solid var(--line); }
.service:nth-child(odd) { border-right: 1px solid var(--line); }
.service:nth-child(even) { padding-left: clamp(1rem, 2vw, 2.4rem); padding-right: 0; }
.service h3 { font-size: var(--text-xl); letter-spacing: -.02em; }
.service p { margin: .8rem 0 0; color: var(--ink-2); }
.service ul { margin: 1rem 0 0; padding-left: 1.1rem; color: var(--ink-2); }
.service li { margin: .25rem 0; }
.service .ex { margin-top: 1.1rem; font-size: var(--text-sm); color: var(--ink-3); }
.service .ex a { color: var(--ink); }
@media (max-width: 820px) {
  .services { grid-template-columns: 1fr; }
  .service, .service:nth-child(even) { padding-left: 0; padding-right: 0; border-right: 0; }
}
.also { margin-top: 1.8rem; color: var(--ink-2); }

/* ---------- Encadré offre ---------- */
.offer { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: clamp(1.6rem, 4vw, 3.5rem); }
.offer ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.offer li { padding: .85rem 0; border-bottom: 1px solid var(--line); display: flex; gap: .8rem; }
.offer li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: .62em; border-radius: 50%; background: var(--violet); }
.badge { display: inline-block; font-size: .8rem; font-weight: 600; color: var(--violet); background: #E6E0FB; padding: .25rem .6rem; border-radius: 6px; margin-bottom: 1rem; }
@media (max-width: 860px) { .offer { grid-template-columns: 1fr; } }

/* ---------- Réalisations ---------- */
.works { display: grid; gap: clamp(3.5rem, 7vw, 6rem); }
.work { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(1.8rem, 4vw, 4rem); align-items: center; }
.work:nth-child(even) .shot { order: 2; }
.work__meta { font-size: var(--text-sm); color: var(--ink-3); margin-bottom: .8rem; }
.work h3 { font-size: var(--text-2xl); }
.work p { margin: 1rem 0 0; color: var(--ink-2); }
.work ul { margin: 1rem 0 0; padding-left: 1.1rem; color: var(--ink-2); }
.work li { margin: .3rem 0; }
.work .actions { margin-top: 1.4rem; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.1rem; }
.tags span { font-size: .8rem; padding: .3rem .6rem; border-radius: 6px; background: var(--paper-2); color: var(--ink-2); }
@media (max-width: 900px) { .work { grid-template-columns: 1fr; } .work:nth-child(even) .shot { order: 0; } }

/* ---------- Méthode ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; border-top: 1px solid rgba(255, 255, 255, .14); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 3.5rem minmax(0, 1fr) minmax(0, 1fr); gap: 1rem 2rem; padding: 1.5rem 0; border-bottom: 1px solid rgba(255, 255, 255, .14); align-items: baseline; }
.steps li::before { content: counter(s, decimal-leading-zero); color: var(--violet-soft); font-weight: 600; }
.steps h3 { font-size: var(--text-lg); letter-spacing: -.015em; }
.steps p { margin: 0; color: #C4C2CD; }
.steps p b { color: #F1F0F4; font-weight: 500; }
@media (max-width: 760px) { .steps li { grid-template-columns: 2.5rem minmax(0, 1fr); } .steps li p { grid-column: 2; } }

/* ---------- Journal (cartes d'articles) ---------- */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.post { display: flex; flex-direction: column; gap: .7rem; padding: 1.5rem; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, transform .3s var(--ease); }
.post:hover { border-color: var(--ink); transform: translateY(-2px); }
.post small { color: var(--ink-3); font-size: .82rem; }
.post h3 { font-size: var(--text-lg); letter-spacing: -.015em; line-height: 1.25; }
.post p { margin: 0; color: var(--ink-2); font-size: var(--text-sm); }
.post span { margin-top: auto; padding-top: .6rem; color: var(--violet); font-weight: 600; font-size: var(--text-sm); }
@media (max-width: 960px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .posts { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 2rem; padding: 1.3rem 0; font-size: var(--text-lg); font-weight: 600; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; color: var(--ink-3); font-size: 1.4em; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq__a { padding: 0 0 1.4rem; color: var(--ink-2); max-width: 68ch; }
.faq__a p { margin: 0 0 .7rem; }
.faq__a ol, .faq__a ul { margin: 0; padding-left: 1.2rem; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.ways { list-style: none; margin: 2rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.ways li { padding: 1rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; }
.ways span { color: var(--ink-3); font-size: var(--text-sm); }
.ways a { font-weight: 500; text-decoration: none; }
.ways a:hover { color: var(--violet); text-decoration: underline; }
.form { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: clamp(1.4rem, 3vw, 2.4rem); display: grid; gap: 1rem; }
.form h3 { font-size: var(--text-xl); margin-bottom: .2rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: var(--text-sm); font-weight: 500; color: var(--ink-2); }
.field input, .field textarea, .field select { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid #85828F; border-radius: 8px; padding: .85rem .95rem; transition: border-color .2s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 2px var(--violet); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form .btn { justify-content: center; }
.form__note { font-size: .85rem; color: var(--ink-3); margin: 0; }
.form__ok { text-align: center; padding: 2.5rem 1.5rem; }
.form__ok[hidden] { display: none; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } .ways li { grid-template-columns: 1fr; gap: .1rem; } }

/* ---------- Pied de page ---------- */
.footer { background: var(--night); color: #C4C2CD; padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; font-size: var(--text-sm); }
.footer .logo { color: #fff; }
.footer .logo i { color: #A9A7B4; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.footer__grid p { margin: 1rem 0 0; max-width: 34ch; }
.footer h4 { color: #fff; font-size: var(--text-sm); font-weight: 600; margin: 0 0 .9rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__legal { margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; color: #8F8D9C; font-size: .82rem; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }

/* WhatsApp flottant, discret */
.wa { position: fixed; right: 1rem; bottom: 1rem; z-index: 40; display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1rem; border-radius: 999px; background: #1A7F45; color: #fff; font-weight: 600; font-size: .9rem; text-decoration: none; box-shadow: 0 8px 24px -10px rgba(0, 0, 0, .4); }
.wa:hover { background: #156B3A; }
.wa svg { width: 18px; height: 18px; fill: currentColor; }
@media (max-width: 560px) { .wa span { display: none; } .wa { padding: .8rem; } }

/* ---------- Page offre ---------- */
.engines { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.engine { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: clamp(1.4rem, 3vw, 2.4rem); }
.engine h3 { font-size: var(--text-2xl); }
.engine > p { color: var(--ink-2); margin: .8rem 0 1.2rem; }
.engine ul { margin: 0; padding-left: 1.1rem; color: var(--ink-2); }
.engine li { margin: .4rem 0; }
@media (max-width: 820px) { .engines { grid-template-columns: 1fr; } }
.monthly { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.monthly div { padding: 1.5rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.monthly h3 { font-size: var(--text-lg); letter-spacing: -.015em; }
.monthly p { margin: .5rem 0 0; color: var(--ink-2); font-size: var(--text-sm); }
@media (max-width: 860px) { .monthly { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .monthly { grid-template-columns: 1fr; } }
.reel { width: min(100%, 320px); margin-inline: auto; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; border: 6px solid var(--ink); background: var(--ink); }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel-cap { text-align: center; font-size: var(--text-sm); color: var(--ink-3); margin-top: .8rem; }

/* ---------- Articles et pages de réalisation ---------- */
.page-head { padding: clamp(2.5rem, 2rem + 3vw, 5rem) 0 clamp(2rem, 4vw, 3rem); }
.back { display: inline-block; font-size: var(--text-sm); color: var(--ink-3); text-decoration: none; margin-bottom: 1.6rem; }
.back:hover { color: var(--ink); text-decoration: underline; }
.meta { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; font-size: var(--text-sm); color: var(--ink-3); margin-bottom: 1rem; }
.meta b { color: var(--violet); font-weight: 600; }
.prose { font-size: var(--text-base); color: var(--ink-2); padding-bottom: var(--section); }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { font-size: var(--text-2xl); color: var(--ink); margin-top: 2.8rem; }
.prose h3 { font-size: var(--text-lg); color: var(--ink); margin-top: 2rem; letter-spacing: -.015em; }
.prose p, .prose li { max-width: 68ch; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li + li { margin-top: .4rem; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--violet); text-underline-offset: .2em; }
.prose blockquote { margin-left: 0; padding: 1rem 1.2rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); }
.prose blockquote p { margin: 0; }
.prose img { border-radius: var(--r); border: 1px solid var(--line); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: var(--text-sm); }
.prose th, .prose td { text-align: left; padding: .6rem .7rem; border-bottom: 1px solid var(--line); }
.endcta { margin-top: 3rem; padding: clamp(1.4rem, 3vw, 2.2rem); background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.endcta h2 { margin-top: 0 !important; font-size: var(--text-xl); }
.endcta p { margin: .6rem 0 0; }
.case-shot { margin: 0 0 clamp(2rem, 4vw, 3rem); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-top: 2rem; }
.facts div { padding: 1rem 1.1rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts dt { font-size: .8rem; color: var(--ink-3); }
.facts dd { margin: .2rem 0 0; font-weight: 600; color: var(--ink); }
.list-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; padding-bottom: var(--section); }
.list-card { display: grid; gap: .9rem; text-decoration: none; padding: 1rem; margin: -1rem; border-radius: 14px; transition: background-color .2s; }
.list-card:hover { background: var(--paper-2); }
.list-card h2 { font-size: var(--text-xl); letter-spacing: -.02em; }
.list-card p { margin: 0; color: var(--ink-2); }
@media (max-width: 760px) { .list-grid { grid-template-columns: 1fr; } }

/* ---------- Apparition douce au défilement ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Boutons dans le texte des articles : la couleur des liens ne doit pas s'appliquer ---------- */
.prose .btn { color: #fff; text-decoration: none; }
.prose .btn--line { color: var(--ink); }
.prose .btn--line:hover { color: #fff; }
.prose .actions { margin-top: 1.4rem; }

/* ---------- Bandeau d'appel à l'action (bas de page) ---------- */
.ctaband { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: clamp(1.6rem, 4vw, 3rem); display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 1.5rem 3rem; align-items: center; }
.ctaband .h2 { font-size: var(--text-2xl); }
.ctaband .lead { margin-top: .8rem; }
.ctaband .actions { margin-top: 0; justify-content: flex-end; }
@media (max-width: 860px) { .ctaband { grid-template-columns: 1fr; } .ctaband .actions { justify-content: flex-start; } }

/* ---------- Page services : un bloc par service ---------- */
.svc { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.8rem, 4vw, 4rem); padding-block: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.svc h2 { font-size: var(--text-2xl); }
.svc .lead { font-size: var(--text-base); }
.svc h3 { font-size: var(--text-base); letter-spacing: -.01em; margin: 0 0 .6rem; }
.svc ul { margin: 0 0 1.6rem; padding-left: 1.1rem; color: var(--ink-2); }
.svc li { margin: .35rem 0; }
.svc .ex { font-size: var(--text-sm); color: var(--ink-3); margin: 0; }
.svc .ex a { color: var(--ink); }
@media (max-width: 860px) { .svc { grid-template-columns: 1fr; } }

/* Aperçu des services sur l'accueil */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.card { display: flex; flex-direction: column; gap: .7rem; padding: 1.5rem; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, transform .3s var(--ease); }
.card:hover { border-color: var(--ink); transform: translateY(-2px); }
.card h3 { font-size: var(--text-lg); letter-spacing: -.015em; }
.card p { margin: 0; color: var(--ink-2); font-size: var(--text-sm); }
.card span { margin-top: auto; padding-top: .6rem; color: var(--violet); font-weight: 600; font-size: var(--text-sm); }
@media (max-width: 1000px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* Prérequis (page méthode) */
.needs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.needs div { padding: 1.4rem; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.needs h3 { font-size: var(--text-lg); letter-spacing: -.015em; }
.needs p { margin: .5rem 0 0; color: var(--ink-2); font-size: var(--text-sm); }
@media (max-width: 860px) { .needs { grid-template-columns: 1fr; } }

/* ---------- En-tête de l'accueil : titre court + bande des réalisations ---------- */
.hero { padding: clamp(3rem, 2rem + 4vw, 5.5rem) 0 clamp(3rem, 5vw, 4.5rem); }
.hero__row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 2rem 3rem; align-items: start; }
.hero h1 { font-size: clamp(2.6rem, 1.5rem + 4.6vw, 5.4rem); letter-spacing: -0.04em; line-height: 1.02; max-width: 15ch; }
.hero .lead { margin: 0; }
.hero .actions { margin-top: 1.6rem; }
.strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.strip a { text-decoration: none; display: grid; gap: .55rem; align-content: start; }
.strip__f { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 3 / 4; background: #fff; transition: transform .4s var(--ease), box-shadow .4s; }
.strip a:hover .strip__f { transform: translateY(-4px); box-shadow: 0 18px 36px -22px rgba(22, 21, 27, .45); }
.strip img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.strip b { font-weight: 600; font-size: .95rem; letter-spacing: -.01em; }
.strip small { display: block; color: var(--ink-3); font-size: .82rem; margin-top: -.3rem; }
@media (max-width: 900px) {
  .hero__row { grid-template-columns: 1fr; }
  .strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); gap: .8rem; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) .6rem; scrollbar-width: none; }
  .strip::-webkit-scrollbar { display: none; }
  .strip a { flex: 0 0 44%; scroll-snap-align: start; }
}
@media (max-width: 560px) { .strip a { flex-basis: 62%; } }

/* ============================================================
   Kit v3 : logo, fil d'Ariane, consentement, spécifications,
   décisions (« Anatomie d'un système »), pages piliers, diagnostic
   ============================================================ */
@font-face { font-family: 'JetBrains Mono'; src: url('../fonts/jetbrains-mono-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
:root { --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace; --spec-bg: #ECE8F8; }

.brandmark { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font-weight: 600; font-size: 1.05rem; letter-spacing: -.02em; color: var(--ink); }
.brandmark img { width: 44px; height: 44px; border-radius: 50%; }
.brandmark--footer { color: #fff; }
.brandmark--footer img { width: 48px; height: 48px; }

.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .85rem; color: var(--ink-3); margin-bottom: 1.4rem; }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink-2); }

.footer-title { color: #fff; font-size: var(--text-sm); font-weight: 600; margin: 0 0 .9rem; }
.footer__social { margin-top: .4rem; }
.footer__legal a { color: inherit; }

.consent { position: fixed; left: 1rem; bottom: 1rem; z-index: 60; max-width: 420px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.1rem; box-shadow: 0 18px 40px -18px rgba(22, 21, 27, .4); font-size: .9rem; color: var(--ink-2); }
.consent[hidden] { display: none; }
.consent p { margin: 0 0 .8rem; }
.consent a { color: var(--violet); }
.consent__actions { display: flex; gap: .6rem; }
.consent__actions .btn { flex: 1; justify-content: center; padding: .65rem 1rem; }


/* Spécifications : puces techniques en police mono */
.spec { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .9rem; }
.spec span, .spec code { font-family: var(--mono); font-size: .8rem; letter-spacing: -.01em; background: var(--spec-bg); color: #3B2C8C; padding: .32rem .55rem; border-radius: 6px; }
.prose .spec { margin-top: .9rem; }
.specsheet { background: var(--spec-bg); border-radius: 12px; padding: 1.2rem 1.3rem; }
.specsheet p { margin: 0 0 .6rem; font-family: var(--mono); font-size: .8rem; color: #3B2C8C; text-transform: uppercase; letter-spacing: .06em; }
.specsheet .spec { margin: 0; }
.specsheet .spec span { background: #fff; }

/* Décisions numérotées (Anatomie d'un système) */
.decisions { display: grid; gap: 1rem; margin-top: 1.4rem; }
.decision { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 1.3rem 1.4rem; }
.decision__n { font-family: var(--mono); font-size: .8rem; color: var(--violet); letter-spacing: .02em; }
.decision h3 { font-size: var(--text-lg); margin: .4rem 0 .5rem !important; color: var(--ink); }
.decision p { margin: 0; color: var(--ink-2); }

/* Cartes de couches (accueil, hub services) */
.layers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.layer { display: flex; flex-direction: column; gap: .6rem; padding: 1.5rem; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, transform .3s var(--ease); }
a.layer:hover { border-color: var(--ink); transform: translateY(-2px); }
.layer small { font-family: var(--mono); font-size: .8rem; color: var(--violet); }
.layer h3 { font-size: var(--text-lg); letter-spacing: -.015em; }
.layer p { margin: 0; color: var(--ink-2); font-size: var(--text-sm); }
.layer span { margin-top: auto; padding-top: .5rem; color: var(--violet); font-weight: 600; font-size: var(--text-sm); }
.layer ul { margin: .2rem 0 0; padding-left: 1rem; color: var(--ink-2); font-size: var(--text-sm); }
@media (max-width: 1000px) { .layers { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .layers { grid-template-columns: 1fr; } }

/* Cartes réalisations avec décision + spécification */
.proofs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.proofcard { display: grid; gap: .8rem; text-decoration: none; align-content: start; }
.proofcard .shot__frame { aspect-ratio: 16 / 10; }
.proofcard .shot__frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.proofcard small { color: var(--ink-3); font-size: .82rem; }
.proofcard h3 { font-size: var(--text-lg); letter-spacing: -.015em; line-height: 1.3; }
@media (max-width: 960px) { .proofs { grid-template-columns: 1fr; } }

/* Pages piliers et diagnostic */
.pillar { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 5vw, 4rem); align-items: start; padding-bottom: var(--section); }
.pillar__aside { position: sticky; top: 90px; display: grid; gap: 1rem; }
.pillar__aside .btn { justify-content: center; }
.pillar .prose { padding-bottom: 0; }
@media (max-width: 960px) { .pillar { grid-template-columns: 1fr; } .pillar__aside { position: static; } }
.kicker--mono { font-family: var(--mono); font-size: .8rem; color: var(--violet); }
.answer { font-size: var(--text-lg); color: var(--ink); margin-top: 1.2rem; max-width: 62ch; }
.related { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
@media (max-width: 700px) { .related { grid-template-columns: 1fr; } }
.calendly-wrap { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.calendly-inline-widget { min-width: 320px; height: 760px; position: relative; z-index: 1; }
.checklist { list-style: none; padding: 0 !important; }
.checklist li { padding-left: 1.6rem; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--violet); font-weight: 700; }
.byline { display: block; margin-top: 1.4rem; font-size: .9rem; color: var(--ink-3); }
.byline a { color: var(--ink); font-weight: 600; text-decoration: none; }
.byline a:hover { text-decoration: underline; }
.sources { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .9rem; }
.sources h2 { font-size: var(--text-base) !important; margin-top: 0 !important; }
.notice { background: var(--card); border: 1px dashed var(--line); border-radius: 12px; padding: 1rem 1.2rem; color: var(--ink-3); font-size: .9rem; }
.form__legal { font-size: .8rem; color: var(--ink-3); margin: 0; line-height: 1.5; }
.form__legal a { color: var(--ink-2); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.hero .note { margin-top: 1rem; font-size: .88rem; color: var(--ink-3); }
.hero .sub { font-size: var(--text-lg); color: var(--ink-2); margin: 1rem 0 0; font-weight: 500; }

/* Retouches kit v3 */
.hero h1 { font-size: clamp(2.3rem, 1.4rem + 3.3vw, 4.3rem); max-width: none; }
.footer__social a { white-space: nowrap; }
.case-shot .shot__mobile { width: 16%; right: -2%; bottom: -6%; }
.case-shot { margin-bottom: clamp(3rem, 6vw, 4.5rem); }


/* ============================================================
   Correctifs v6 (audit du 02/11/2026)
   ============================================================ */
html { scroll-padding-top: 86px; }
p, li { text-wrap: pretty; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Accueil : H1 en deux lignes logiques */
.hero h1 span { display: block; }

/* Focus visible sur les fonds sombres (violet clair : 6,2:1) */
.section--night :focus-visible, .footer :focus-visible { outline-color: var(--violet-soft); }

/* Sous-titre de page (À propos) */
.page-head .sub { font-size: var(--text-lg); color: var(--ink-2); font-weight: 500; margin: 1rem 0 0; }

/* Champs obligatoires */
.req { color: var(--violet); font-weight: 600; }

/* Articles : encadré « En bref », auteur, à lire ensuite */
.prose .tldr { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--violet); border-radius: var(--r); padding: 1rem 1.2rem; color: var(--ink); }
.author { margin-top: 2.5rem; padding: 1.2rem 1.3rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); font-size: .95rem; }
.author p { margin: 0; }
.author p + p { margin-top: .45rem; }
.author__name { font-weight: 600; color: var(--ink); }

/* Calendly : message de chargement visible tant que le widget n'est pas prêt */
.calendly-wrap { position: relative; }
.calendly-wait { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: var(--ink-3); font-size: var(--text-sm); z-index: 0; }
.calendly-wrap:not([data-loading]) .calendly-wait { display: none; }
@media (max-width: 760px) { .calendly-inline-widget { height: 980px; } }

/* Vidéo : bouton pause */
.reel { position: relative; }
.reel-toggle { position: absolute; right: .6rem; bottom: .6rem; z-index: 2; background: rgba(18, 17, 23, .72); color: #fff; font-size: .8rem; font-weight: 600; padding: .45rem .8rem; border-radius: 999px; }

/* 404 */
.links404 { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }
.links404 a { color: var(--violet); font-weight: 500; }

/* Pied de page : cibles tactiles et e-mail */
.footer li a { display: inline-block; padding-block: .45rem; }
.footer a[href^="mailto:"] { overflow-wrap: anywhere; }

/* Barre d'actions mobile : réserver, WhatsApp, appeler */
.mbar { display: none; }
@media (max-width: 1000px) {
  .mbar { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: .45rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
          padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); background: var(--card); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -18px rgba(22, 21, 27, .35); }
  .mbar a { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: .3rem .75rem; border-radius: 8px; font-weight: 600; font-size: .88rem;
            line-height: 1.15; text-align: center; text-decoration: none; border: 1px solid var(--ink); color: var(--ink); }
  .mbar .mbar__main { background: var(--violet); border-color: var(--violet); color: #fff; }
  .wa { display: none; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .mnav { padding-bottom: 6rem; overflow-y: auto; }
  .mnav a[href^="tel:"], .mnav a[href^="https://wa.me"] { font-size: var(--text-base); font-weight: 500; color: var(--ink-2); }
}

/* Bandeau cookies : compact, au-dessus de la barre d'actions, ne masque plus le CTA */
@media (max-width: 1000px) {
  .consent { left: 0; right: 0; bottom: calc(64px + env(safe-area-inset-bottom)); max-width: none; border-radius: 12px 12px 0 0; padding: .7rem .9rem; display: flex; gap: .7rem; align-items: center; font-size: .82rem; }
  .consent p { margin: 0; flex: 1; }
  .consent__actions { flex-direction: column; gap: .4rem; }
  .consent__actions .btn { padding: .45rem .8rem; font-size: .82rem; }
}


/* Hero de l'accueil : titre sur toute la largeur, en deux lignes logiques, texte et CTA dessous */
@media (min-width: 761px) {
  .hero__row { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .hero__row > div:last-child { max-width: 62ch; }
  .hero h1 { font-size: clamp(2.3rem, 1.2rem + 3.6vw, 4rem); }
}

/* Hero mobile : CTA juste sous le sous-titre, avant le paragraphe */
@media (max-width: 760px) {
  .hero__row > div:last-child { display: flex; flex-direction: column; }
  .hero .actions { order: -1; margin: 0 0 1.25rem; }
}
