/* SERENITE.TECH — feuille de style unique. Tokens du handoff « Apple » : noir, graphite, orange #F07E33. */

/* Polices auto-hébergées (Hanken Grotesk 300–800, JetBrains Mono 400–500) : aucune requête vers Google. */
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 300 800; font-display: swap; src: url('/assets/fonts/hanken-grotesk-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 300 800; font-display: swap; src: url('/assets/fonts/hanken-grotesk-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url('/assets/fonts/jetbrains-mono-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url('/assets/fonts/jetbrains-mono-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #0B0B0C;
  --g1: #1D1D1F;
  --g2: #161618;
  --g3: #2A2A2D;
  --g4: #3A3A3D;
  --g5: #424245;
  --mut: #86868B;
  --soft: #D2D2D7;
  --light: #F5F5F7;
  --or: #F07E33;
  --or-h: #FFA364;
  --or-t: #C2551A;
  --gr: #28C840;
  --gr-t: #15803D;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --w: 1080px;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--light); font-family: var(--sans); -webkit-font-smoothing: antialiased; line-height: 1.4; }
img, svg { max-width: 100%; }
::selection { background: var(--or); color: var(--bg); }
a { color: var(--or); text-underline-offset: .25em; }
a:hover { color: var(--or-h); }
:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--or); color: var(--bg); padding: 10px 16px; border-radius: 980px; font-weight: 600; text-decoration: none; transition: top .2s var(--ease); }
.skip:focus { top: 8px; color: var(--bg); }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 22px; }
.mono { font-family: var(--mono); }
.eyebrow { font-family: var(--mono); font-weight: 400; font-size: 13px; color: var(--or); letter-spacing: .04em; }
.muted { color: var(--mut); }
.accent { color: var(--or); }

/* ---------- Boutons ---------- */
.btn { display: inline-block; color: var(--bg); background: var(--or); text-decoration: none; padding: 12px 24px; border-radius: 980px; font-weight: 600; font-size: 19px; transition: transform .2s var(--ease), background .2s; border: 0; cursor: pointer; font-family: inherit; }
.btn:hover { transform: scale(1.04); color: var(--bg); background: var(--or-h); }
.btn:active { transform: scale(.97); }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 60; background: rgb(11 11 12 / .72); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
.site-header .wrap { height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; text-decoration: none; }
.brand img { display: block; height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 13px; }
.nav a { color: var(--soft); text-decoration: none; transition: color .2s; }
.nav a:hover, .nav a[aria-current] { color: #fff; }
.nav a.nav-cta { color: var(--bg); background: var(--or); padding: 6px 14px; border-radius: 980px; font-weight: 600; transition: background .2s; }
.nav a.nav-cta:hover { background: var(--or-h); color: var(--bg); }
@media (max-width: 640px) {
  .nav { gap: 16px; }
  .nav .nav-sec { display: none; }
}

/* ---------- Révélations au scroll ---------- */
html.js:not([data-motion="reduce"]) .rv { opacity: 0; transform: translateY(32px); }
html.js .rv.in { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); }

/* ---------- Hero ---------- */
.hero { height: 220vh; height: 220svh; position: relative; }
html[data-motion="reduce"] .hero { height: auto; }
.hero-in { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate; background: var(--bg); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 64px 22px 24px; text-align: center; }
.partner { display: inline-flex; align-items: center; gap: 14px; border: 1px solid rgb(240 126 51 / .7); background: rgb(11 11 12 / .6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-radius: 980px; padding: 8px 18px 8px 16px; margin-bottom: 12px; }
.partner img { display: block; height: 22px; width: auto; }
.partner i { width: 1px; height: 20px; background: rgb(255 255 255 / .3); }
.partner span { font-size: 14px; font-weight: 600; letter-spacing: .01em; }
.hero-meta { font-family: var(--mono); font-size: 13px; color: var(--or); margin-bottom: 18px; letter-spacing: .04em; }
.hero h1 { font-weight: 700; font-size: clamp(40px, min(9vw, 13vh), 132px); line-height: .95; letter-spacing: -.05em; text-wrap: balance; }
.hero h1 span { color: var(--mut); transition: color .5s var(--ease); }
.hero h1 span.on { color: var(--or); }
.hero-sub { max-width: 620px; margin: min(22px, 2.5vh) 0 0; font-size: clamp(16px, min(1.8vw, 2.6vh), 24px); line-height: 1.35; color: var(--soft); text-wrap: pretty; }
.hero-cta { display: flex; gap: 22px; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: min(24px, 2.5vh); font-size: 19px; }
.hero-cta a:not(.btn) { text-decoration: none; }
.hero-bg { position: absolute; inset: -60px; z-index: -2; overflow: hidden; filter: blur(18px); }
.hero-bg img { position: absolute; border-radius: 22%; will-change: transform; box-shadow: 0 8px 24px rgb(0 0 0 / .5); }
.hero-veil { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 70% 60% at 50% 50%, rgb(11 11 12 / .82) 0%, rgb(11 11 12 / .45) 70%, rgb(11 11 12 / .7) 100%); }
.hero-cap { position: absolute; left: 0; right: 0; bottom: 26px; padding: 0 22px; font-family: var(--mono); font-size: 13px; color: var(--mut); letter-spacing: .04em; opacity: 0; }
html[data-motion="reduce"] .hero-cap { opacity: 1; }

/* ---------- « Ce que je fais » ---------- */
.chap { position: relative; background: var(--bg); padding: 96px 0; }
.chap-in { max-width: var(--w); margin: 0 auto; padding: 0 22px; display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: center; width: 100%; }
.chap-left { flex: 1 1 360px; min-width: 0; }
.chap-left .eyebrow { margin-bottom: 20px; }
.chap-verbs { list-style: none; padding: 0; display: none; }
.chap-verbs li { font-weight: 700; font-size: clamp(34px, min(6vw, 9.5vh), 84px); line-height: 1.04; letter-spacing: -.045em; color: var(--g4); transition: color .4s var(--ease); }
.chap-verbs li.on { color: var(--or); }
.chap-right { flex: 1 1 400px; min-width: 0; display: grid; gap: 72px; }
.chap-item h3 { font-weight: 700; font-size: clamp(36px, 10vw, 56px); line-height: 1.04; letter-spacing: -.045em; color: var(--or); margin-bottom: 14px; }
.chap-item > p { font-size: clamp(18px, 2vw, 26px); line-height: 1.3; letter-spacing: -.015em; color: var(--light); margin-bottom: 18px; text-wrap: pretty; }

/* Mode « sticky » (≥ 800 px, mouvement autorisé) : un seul visuel à la fois, piloté par le scroll. */
html[data-stage="sticky"] .chap { height: 620vh; height: 620svh; padding: 0; }
html[data-stage="sticky"] .chap-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; padding: 64px 0 24px; overflow: hidden; }
html[data-stage="sticky"] .chap-verbs { display: block; }
html[data-stage="sticky"] .chap-item h3 { display: none; }
html[data-stage="sticky"] .chap-right { gap: 0; }
html[data-stage="sticky"] .chap-item { grid-area: 1 / 1; opacity: 0; transform: translateY(26px) scale(.97); pointer-events: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }
html[data-stage="sticky"] .chap-item.is-on { opacity: 1; transform: none; pointer-events: auto; }
html[data-stage="sticky"] .chap-item > p { min-height: 3.9em; }

.stage { position: relative; height: clamp(330px, 54vh, 470px); background: var(--g2); border-radius: 26px; overflow: hidden; box-shadow: 0 0 0 1px rgb(255 255 255 / .08), 0 40px 80px -30px rgb(0 0 0 / .8); }
.layer { position: absolute; inset: 0; padding: 5.5%; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.layer-tag { font-family: var(--mono); font-size: 12px; color: var(--or); letter-spacing: .04em; }
.card { background: #fff; color: var(--g1); border-radius: 16px; padding: 14px; }
.card-label { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #6B7280; margin-bottom: 10px; }
.card-label.or { color: var(--or-t); }
.dash { animation: dash 1s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -28; } }
.conn { flex: 1 1 20px; min-width: 14px; height: 4px; }

/* 1. Implémenter */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 10px; padding: 4px; }
.tile { display: flex; flex-direction: column; align-items: center; gap: 7px; transition: transform .7s var(--ease) var(--d, 0s), opacity .6s ease var(--d, 0s); }
.tile img { display: block; width: clamp(40px, 6vw, 56px); height: auto; border-radius: 22%; }
.tile b { font-size: 13px; font-weight: 600; }
.tile em { font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--gr-t); background: #DCFCE7; border-radius: 980px; padding: 2px 8px; }
html.js .chap-item:not(.is-on) .tile { transform: scale(.5); opacity: 0; }

/* 2. Migrer */
.mig { display: flex; align-items: center; gap: 10px; }
.mig .card { flex: 1 1 0; min-width: 0; }
.mig .card.odoo { box-shadow: 0 0 0 2px var(--or); }
.mig-row { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid #E5E7EB; font-size: 13px; color: #6B7280; }
.mig-row .ph { width: 22px; height: 22px; background: #D1D5DB; border-radius: 6px; flex: 0 0 auto; }
.odoo .mig-row { color: var(--g1); font-weight: 600; }
.mig-row img { width: 22px; height: 22px; border-radius: 6px; flex: 0 0 auto; }
.mig-row span:not(.ph) { flex: 1 1 auto; }
.mig-row .ck { color: var(--gr-t); transition: opacity .5s ease var(--d, 0s); }
.mig-mid { flex: 0 0 18%; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.mig-mid > span { font-size: 22px; color: var(--or); }
.bar { width: 100%; height: 5px; background: var(--g4); border-radius: 9px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 100%; background: var(--or); transition: width 2s var(--ease) .2s; }
html.js .chap-item:not(.is-on) .bar i { width: 0; }
html.js .chap-item:not(.is-on) .ck { opacity: 0; }

/* 3. Développer */
.dev { display: flex; align-items: center; gap: 8px; }
.dev .dapp { flex: 0 0 22%; text-align: center; font-size: 12px; font-weight: 600; }
.dev .dapp img { display: block; width: 100%; max-width: 56px; margin: 0 auto 6px; border-radius: 22%; }
.dev .mod { flex: 0 0 26%; background: var(--or); color: var(--bg); border-radius: 16px; padding: 16px 8px; text-align: center; box-shadow: 0 0 0 6px rgb(240 126 51 / .25); transition: transform .8s var(--ease) .15s, opacity .6s ease .15s; }
.dev .mod code { display: block; font-family: var(--mono); font-size: 22px; font-weight: 500; }
.dev .mod b { display: block; font-size: 12px; margin-top: 4px; }
html.js .chap-item:not(.is-on) .mod { transform: translateY(-40px) scale(.85); opacity: 0; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; font-family: var(--mono); font-size: 12px; color: var(--soft); }
.chips span { border: 1px solid var(--g4); border-radius: 980px; padding: 5px 12px; }

/* 4. Personnaliser */
.studio { display: flex; gap: 10px; align-items: stretch; }
.studio .form-card { flex: 1.7 1 0; min-width: 0; }
.studio .panel { flex: 1 1 0; min-width: 0; background: #F3F4F6; color: var(--g1); border-radius: 16px; padding: 14px; }
.form-card .title { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.frow { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-top: 1px solid #E5E7EB; font-size: 12px; color: #6B7280; }
.frow i { height: 9px; background: #E5E7EB; border-radius: 5px; }
.sfield { display: flex; justify-content: space-between; align-items: center; padding: 7px 8px; margin: 6px -8px 0; border: 2px dashed var(--or); border-radius: 8px; background: #FFF3EA; font-size: 12px; font-weight: 700; color: var(--or-t); transition: transform .7s var(--ease) var(--d, .2s), opacity .5s ease var(--d, .2s); }
.sfield em { font-style: normal; font-size: 10px; background: var(--or); color: var(--bg); border-radius: 980px; padding: 2px 8px; }
html.js .chap-item:not(.is-on) .sfield { transform: translateX(-24px); opacity: 0; }
.panel .opts { display: flex; flex-direction: column; gap: 7px; font-size: 12px; font-weight: 600; }
.panel .opts span { background: #fff; border-radius: 8px; padding: 7px 10px; }
.panel .opts span.act { background: var(--or); }

/* 5. Automatiser */
.auto-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.auto-head > span { font-size: 13px; color: var(--soft); }
.switch { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--gr); }
.switch i { width: 34px; height: 20px; background: var(--gr); border-radius: 980px; position: relative; display: block; }
.switch i::after { content: ''; position: absolute; right: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }
.flow { display: flex; align-items: center; gap: 6px; }
.node { flex: 0 0 26%; min-width: 0; background: #fff; color: var(--g1); border-radius: 16px; padding: 12px 8px; text-align: center; font-size: 12px; font-weight: 600; line-height: 1.25; transition: transform .7s var(--ease) var(--d, 0s), opacity .5s ease var(--d, 0s); }
.node img { display: block; width: 100%; max-width: 46px; margin: 0 auto 8px; border-radius: 22%; }
html.js .chap-item:not(.is-on) .node { transform: translateY(18px); opacity: 0; }

/* 6. Connecter */
.hub-wrap { position: relative; flex: 1 1 auto; min-height: 0; }
.hub-wrap svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pill { position: absolute; transform: translate(-50%, -50%); background: #fff; color: var(--g1); border-radius: 16px; padding: 9px 14px; font-size: 12px; font-weight: 700; white-space: nowrap; transition: transform .7s var(--ease) var(--d, 0s), opacity .5s ease var(--d, 0s); }
.hub { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); transition: transform .7s var(--ease); width: clamp(84px, 22%, 120px); aspect-ratio: 1; border-radius: 50%; background: var(--bg); border: 3px solid var(--or); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 10px rgb(240 126 51 / .18); }
.hub img { width: 62%; height: auto; display: block; }
html.js .chap-item:not(.is-on) .pill { transform: translate(-50%, -50%) scale(.6); opacity: 0; }
html.js .chap-item:not(.is-on) .hub { transform: translate(-50%, -50%) scale(.6); }

/* ---------- Sections génériques ---------- */
.sec { padding: 120px 22px; }
.sec.light { background: var(--light); color: var(--g1); }
.sec.dark { background: var(--bg); }
.sec.graphite { background: var(--g1); }
.sec-in { max-width: var(--w); margin: 0 auto; }
.h2 { font-weight: 700; font-size: clamp(36px, 6vw, 80px); line-height: 1; letter-spacing: -.045em; }
.h2 .alt { color: var(--mut); }
.lead { font-size: 21px; line-height: 1.4; }
.light .lead { color: #424245; }
.dark .lead, .graphite .lead { color: var(--soft); }

/* SaaS / Odoo.sh */
.platform h2 { max-width: 900px; margin-bottom: 16px; }
.platform .lead { max-width: 560px; margin-bottom: 56px; }
.plat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.plat { background: #fff; border-radius: 28px; padding: 44px 40px 48px; }
.plat.dk { background: var(--g1); color: var(--light); }
.plat .eyebrow { color: var(--or-t); margin-bottom: 12px; }
.plat.dk .eyebrow { color: var(--or); }
.plat h3 { font-size: 44px; letter-spacing: -.04em; line-height: 1; margin-bottom: 20px; font-weight: 700; }
.plat p { font-size: 19px; line-height: 1.4; color: #424245; margin-bottom: 24px; }
.plat.dk p { color: var(--soft); }
.plat ul { list-style: none; padding: 22px 0 0; border-top: 1px solid var(--soft); display: flex; flex-direction: column; gap: 12px; font-size: 18px; }
.plat.dk ul { border-top-color: var(--g5); }

/* Mur de modules */
.apps { padding: 130px 22px; }
.apps h2 { font-size: clamp(36px, 6.4vw, 92px); line-height: .98; letter-spacing: -.05em; max-width: 980px; margin-bottom: 20px; text-wrap: balance; }
.apps .lead { max-width: 600px; margin-bottom: 64px; }
.wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 36px 16px; list-style: none; padding: 0; }
.wall li { display: flex; }
.app { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; font-size: 14px; color: var(--soft); text-decoration: none; transition: transform .35s var(--ease); }
.app:hover { transform: translateY(-6px) scale(1.06); color: var(--soft); }
.app img { display: block; width: 76px; height: 76px; border-radius: 22%; box-shadow: 0 10px 28px rgb(0 0 0 / .5); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 32px; margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--g3); list-style: none; padding-left: 0; }
.stats b { display: block; font-weight: 700; font-size: clamp(44px, 6vw, 76px); line-height: 1; letter-spacing: -.045em; color: var(--or); margin-bottom: 8px; }
.stats span { font-size: 18px; color: var(--soft); }
.src { margin-top: 28px; font-family: var(--mono); font-size: 13px; color: var(--mut); }
.src a { color: var(--mut); }
.more { display: inline-block; margin-top: 40px; font-size: 19px; text-decoration: none; }

/* Clients */
.clients h2 { font-size: clamp(32px, 5vw, 64px); margin-bottom: 48px; }
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(180px, 100%), 1fr)); gap: 12px; list-style: none; padding: 0; }
.logos li { height: 96px; display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 18px; padding: 8px; }
.logos img { width: auto; height: auto; max-height: 60px; max-width: 84%; object-fit: contain; }

/* Expert */
.expert { padding: 130px 22px; }
.expert .sec-in { display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: center; }
.expert img { flex: 1 1 280px; min-width: 0; max-width: 420px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; display: block; }
.expert-txt { flex: 1.4 1 360px; min-width: 0; }
.expert .eyebrow { margin-bottom: 16px; }
.expert h2 { font-size: clamp(36px, 5.6vw, 76px); margin-bottom: 20px; }
.expert p { max-width: 560px; font-size: 20px; line-height: 1.5; color: var(--soft); text-wrap: pretty; }

/* FAQ */
.faq { padding: 110px 22px; }
.faq h2 { font-size: clamp(32px, 5vw, 64px); margin-bottom: 40px; }
.faq-list { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: #fff; border-radius: 18px; padding: 0 28px; }
.faq summary { cursor: pointer; list-style: none; padding: 22px 0; font-size: 20px; font-weight: 600; letter-spacing: -.01em; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: 0 0 auto; font-size: 28px; font-weight: 400; color: var(--or-t); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; font-size: 18px; line-height: 1.5; color: #424245; max-width: 720px; }

/* Blog */
.journal { padding: 110px 22px; }
.journal-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 36px; }
.journal h2 { font-size: clamp(32px, 5vw, 64px); }
.journal-head a { font-size: 19px; text-decoration: none; }
.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; list-style: none; padding: 0; }
.post { display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: 14px; height: 100%; background: var(--bg); border-radius: 24px; padding: 28px; text-decoration: none; color: var(--light); transition: transform .3s var(--ease); }
.post:hover { transform: scale(1.02); color: var(--light); }
.post .meta { font-family: var(--mono); font-size: 12px; color: var(--or); }
.post .t { font-size: 24px; font-weight: 600; line-height: 1.2; letter-spacing: -.02em; }
.post .ex { font-size: 16px; line-height: 1.45; color: var(--mut); }

/* Contact */
.contact { padding: 140px 22px 120px; text-align: center; }
.contact .sec-in { max-width: 760px; }
.contact h2 { font-size: clamp(44px, 8vw, 112px); line-height: .95; letter-spacing: -.05em; margin-bottom: 20px; text-wrap: balance; }
.contact .lead { max-width: 520px; margin: 0 auto 52px; }
.form { display: flex; flex-direction: column; gap: 14px; text-align: left; }
.form input, .form textarea { appearance: none; width: 100%; font: inherit; font-size: 18px; color: var(--light); background: var(--g1); border: 0; border-radius: 14px; padding: 18px 20px; box-shadow: inset 0 0 0 1px var(--g5); caret-color: var(--or); outline: none; transition: box-shadow .2s; }
.form input::placeholder, .form textarea::placeholder { color: var(--mut); }
.form input:focus, .form textarea:focus { box-shadow: inset 0 0 0 2px var(--or); }
.form textarea { resize: vertical; min-height: 130px; }
.form button { width: 100%; text-align: center; padding: 18px; font-size: 18px; font-weight: 700; margin-top: 8px; }
.form button:hover { transform: scale(1.02); }
.form button:disabled { opacity: .7; cursor: wait; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { min-height: 1.4em; text-align: center; font-size: 16px; color: var(--soft); }
.form-status.err { color: #FF8A80; }
.contact-alt { margin-top: 28px; font-size: 16px; color: var(--mut); }

/* Footer */
.site-footer { background: var(--bg); border-top: 1px solid var(--g3); padding: 28px 22px 40px; font-size: 13px; color: var(--mut); }
.site-footer .sec-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer a { color: var(--mut); text-decoration: none; }
.site-footer a:hover { color: #fff; }

/* Référencement local : La Rochelle / Niort */
.expert-loc { margin-top: 20px; font-size: 18px; line-height: 1.5; color: var(--soft); max-width: 560px; }
.local .eyebrow { margin-bottom: 16px; }
.local .h2 { max-width: 900px; margin-bottom: 20px; }
.local .lead { max-width: 640px; margin-bottom: 48px; }
.city-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; list-style: none; padding: 0; }
.city { display: flex; flex-direction: column; gap: 12px; height: 100%; background: var(--bg); border-radius: 28px; padding: 40px; text-decoration: none; color: var(--light); transition: transform .3s var(--ease); }
.city:hover { transform: scale(1.02); color: var(--light); }
.city .meta { font-family: var(--mono); font-size: 13px; color: var(--or); }
.city b { font-size: clamp(34px, 4.4vw, 52px); letter-spacing: -.04em; line-height: 1; }
.city span:not(.meta) { font-size: 18px; line-height: 1.4; color: var(--soft); }
.city em { font-style: normal; font-size: 17px; font-weight: 600; color: var(--or); margin-top: auto; padding-top: 12px; }
.feats li b { display: block; font-size: 24px; letter-spacing: -.03em; margin-bottom: 8px; }
.feats li { font-weight: 400; color: #424245; }

/* ---------- Pages intérieures ---------- */
.page-hero { background: var(--bg); padding: 148px 22px 96px; }
.page-hero .sec-in > a.back { display: inline-block; margin-bottom: 36px; font-size: 15px; text-decoration: none; }
.page-hero img.ico { display: block; width: 72px; height: 72px; border-radius: 22%; margin-bottom: 28px; box-shadow: 0 10px 28px rgb(0 0 0 / .5); }
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero h1 { font-weight: 700; font-size: clamp(44px, 8vw, 104px); line-height: .96; letter-spacing: -.05em; margin-bottom: 22px; text-wrap: balance; }
.page-hero .lead { max-width: 640px; color: var(--soft); }
.page-hero .meta { font-family: var(--mono); font-size: 13px; color: var(--mut); margin-top: 28px; }
.page-hero .meta span { color: var(--or); }
.mod-body { max-width: 700px; }
.mod-body h2 { font-size: clamp(32px, 5vw, 64px); margin-bottom: 20px; }
.mod-body p { font-size: 21px; line-height: 1.5; color: #424245; }
.feat-title { margin: 72px 0 24px; font-family: var(--mono); font-weight: 400; font-size: 13px; color: var(--or-t); letter-spacing: .04em; }
.feats { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 14px; counter-reset: f; }
.feats li { background: #fff; border-radius: 22px; padding: 28px 28px 32px; font-size: 19px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; counter-increment: f; }
.feats li::before { content: counter(f, decimal-leading-zero); display: block; font-family: var(--mono); font-weight: 400; font-size: 13px; color: var(--or-t); margin-bottom: 18px; }
.mod-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; list-style: none; padding: 0; }
.mod-card { display: flex; flex-direction: column; gap: 14px; height: 100%; background: #fff; color: var(--g1); border-radius: 24px; padding: 32px; text-decoration: none; transition: transform .3s var(--ease); }
.mod-card:hover { transform: scale(1.02); color: var(--g1); }
.mod-card img { width: 56px; height: 56px; border-radius: 22%; }
.mod-card b { font-size: 26px; letter-spacing: -.03em; line-height: 1.1; }
.mod-card span { font-size: 17px; line-height: 1.4; color: #424245; }
.mod-card em { font-style: normal; font-size: 16px; font-weight: 600; color: var(--or-t); margin-top: auto; }

/* Article */
.prose { max-width: 700px; margin: 0 auto; }
.prose h2 { font-weight: 700; font-size: clamp(26px, 3.4vw, 36px); line-height: 1.1; letter-spacing: -.03em; margin: 56px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 20px; line-height: 1.6; color: #2b2b2e; }
.prose p { margin-bottom: 18px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 22px; }
.prose li { margin-bottom: 10px; }
.prose a { color: var(--or-t); }
.prose a:hover { color: #8f3a0f; }
.prose blockquote { margin: 32px 0; padding: 20px 24px; background: #fff; border-left: 4px solid var(--or); border-radius: 0 16px 16px 0; }
.prose blockquote p { margin: 0; }
.article-cta { max-width: 700px; margin: 72px auto 0; background: var(--g1); color: var(--light); border-radius: 28px; padding: 40px; }
.article-cta b { display: block; font-size: 30px; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 10px; }
.article-cta p { color: var(--soft); font-size: 18px; margin-bottom: 24px; }
.article-cta .btn { font-size: 17px; padding: 12px 22px; }
.related { margin-top: 72px; }

.notfound { min-height: 100vh; display: flex; align-items: center; padding: 120px 22px; }
.notfound h1 { font-weight: 700; font-size: clamp(80px, 22vw, 260px); line-height: .9; letter-spacing: -.06em; color: var(--or); }
.notfound p { font-size: 24px; color: var(--soft); margin: 18px 0 32px; }

@media (max-width: 480px) {
  .mig { gap: 6px; }
  .mig .card { padding: 10px; }
  .mig-row { font-size: 12px; gap: 6px; }
  .mig-mid { flex-basis: 14%; }
  .pill { padding: 8px 10px; font-size: 11px; }
  .studio .form-card, .studio .panel { padding: 10px; }
}

@media (max-width: 800px) {
  .sec { padding: 88px 22px; }
  .apps, .expert { padding: 96px 22px; }
  .plat { padding: 36px 28px 40px; }
  .page-hero { padding: 120px 22px 72px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
