/* Blog Confluence Mobility — reprend la charte du site (bleu nuit, or, vert, Montserrat) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #163A4D; --navy-dk: #0D2535; --navy-lt: #1E4D66;
  --green: #1D9E75; --gold: #C9A84C; --gold-lt: #DDB95A;
  --off: #F4F7F9; --paper: #FBFAF6; --text: #1A2E3B; --text2: #53707F; --border: #D8E4EA;
}

html { scroll-behavior: smooth; }
body { font-family: 'Montserrat', -apple-system, 'Segoe UI', sans-serif; color: var(--text); background: var(--navy-dk); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1060px; margin: 0 auto; padding: 0 48px; }
.wrap.narrow { max-width: 860px; }

/* Barre de progression de lecture */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }

/* ── Menu (identique au site) ── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 0 48px; height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: rgba(13,37,53,0.9); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,0.08); }
.nav-logo { font-size: 16px; font-weight: 800; color: #fff; text-decoration: none; letter-spacing: -0.02em; }
.nav-logo span, .foot-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.75); font-size: 13px; font-weight: 500; text-decoration: none; transition: color .2s; padding: 6px 0; }
.nav-links a:hover { color: #fff; }
.nav-links a.is-here { color: #fff; box-shadow: 0 2px 0 var(--gold); }
.nav-cta { background: var(--gold); color: var(--navy-dk); font-size: 13px; font-weight: 700; padding: 9px 20px; border-radius: 6px; text-decoration: none; white-space: nowrap; transition: background .2s; }
.nav-cta:hover { background: var(--gold-lt); }

/* ── En-tête ── */
.mast { position: relative; padding: 148px 0 72px; color: #fff; overflow: hidden;
  background: radial-gradient(120% 90% at 85% 0%, #1B475E 0%, var(--navy-dk) 58%); }
.mast .wrap { position: relative; z-index: 1; }
.flow { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .34; }
.flow path { stroke-dasharray: 1500; stroke-dashoffset: 1500; animation: draw 2.4s cubic-bezier(.3,.6,.2,1) forwards; animation-delay: calc(var(--i) * 110ms); }
@keyframes draw { to { stroke-dashoffset: 0; } }

.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.mast h1 { font-size: clamp(30px, 5vw, 54px); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; max-width: 17ch; animation: rise .8s .1s both; }
.mast h1 em { font-style: normal; color: var(--gold); }
.mast-intro { margin-top: 22px; max-width: 54ch; font-size: clamp(15px, 1.6vw, 17px); line-height: 1.7; color: rgba(255,255,255,0.78); animation: rise .8s .22s both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.6); margin-bottom: 18px; }
.meta > * + *::before { content: ''; display: inline-block; width: 14px; height: 1px; background: currentColor; opacity: .5; vertical-align: middle; margin-right: 18px; }
.tag { color: var(--gold); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 11px; }

/* ── Article à la une ── */
.lead { background: var(--navy-dk); padding: 0 0 96px; }
.lead-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; text-decoration: none; color: #fff; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 56px; }
.lead-in.no-cover { grid-template-columns: 1fr; max-width: 1060px; }
.lead-in.no-cover .lead-txt { max-width: 720px; border-left: 3px solid var(--gold); padding-left: 32px; }
.lead-img { position: relative; aspect-ratio: 4 / 3; }
.lead-img::before { content: ''; position: absolute; inset: 0; border: 1.5px solid var(--gold); transform: translate(16px, 16px); transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.lead-img img { position: relative; width: 100%; height: 100%; object-fit: cover; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.lead-in:hover .lead-img::before { transform: translate(8px, 8px); }
.lead-in:hover .lead-img img { transform: translate(-4px, -4px); }
.lead-txt h2 { font-size: clamp(24px, 3.2vw, 38px); font-weight: 800; line-height: 1.15; letter-spacing: -0.025em; }
.lead-ex { margin-top: 16px; font-size: 15px; line-height: 1.75; color: rgba(255,255,255,0.72); }
.more { display: inline-block; margin-top: 26px; font-size: 13px; font-weight: 700; color: var(--gold); padding-bottom: 5px; border-bottom: 1.5px solid rgba(201,168,76,.45); }
.more i { font-style: normal; display: inline-block; transition: transform .25s; }
.lead-in:hover .more i { transform: translateX(6px); }

/* ── Liste ── */
.paper { background: var(--paper); position: relative; padding: 72px 0 96px; }
.paper::before { content: ''; position: absolute; top: -28px; left: 0; right: 0; height: 28px; background: var(--paper); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.list-h { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green); padding-bottom: 18px; border-bottom: 2px solid var(--navy-dk); }
.list-h.solo { border: 0; color: var(--text2); text-align: center; padding: 8px 0; }
.list { list-style: none; }
.row { position: relative; display: grid; grid-template-columns: 92px 1fr auto 40px; gap: 32px; align-items: center; padding: 32px 0; border-bottom: 1px solid var(--border); text-decoration: none; transition: padding .3s cubic-bezier(.2,.7,.2,1); }
.row::before { content: ''; position: absolute; left: 0; top: -1px; bottom: -1px; width: 3px; background: var(--gold); transform: scaleY(0); transform-origin: top; transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.row:hover { padding-left: 22px; }
.row:hover::before { transform: scaleY(1); }
.row-date { display: flex; flex-direction: column; color: var(--navy); }
.row-date b { font-size: 40px; font-weight: 300; line-height: 1; letter-spacing: -0.04em; }
.row-date span { margin-top: 6px; font-size: 11px; font-weight: 600; color: var(--text2); text-transform: uppercase; letter-spacing: .06em; }
.row-txt h3 { font-size: clamp(18px, 2vw, 22px); font-weight: 700; line-height: 1.3; letter-spacing: -0.015em; color: var(--navy-dk); }
.row-txt > p { margin-top: 8px; font-size: 14px; line-height: 1.7; color: var(--text2); max-width: 62ch; }
.row-meta { display: flex; gap: 16px; font-size: 11px !important; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.row-meta span:first-child:not(:last-child) { color: var(--green); }
.row-img { width: 148px; aspect-ratio: 4 / 3; overflow: hidden; }
.row-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.row:hover .row-img img { transform: scale(1.06); }
.row-go { font-size: 20px; color: var(--navy); transition: transform .25s, color .25s; text-align: right; }
.row:hover .row-go { transform: translateX(6px); color: var(--gold); }

.empty { text-align: center; color: var(--text2); font-size: 15px; line-height: 1.8; }
.empty-t { font-size: 24px; font-weight: 800; color: var(--navy-dk); letter-spacing: -0.02em; }

.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }

/* ── Page article ── */
.mast-art { padding-bottom: 64px; }
.mast-art.has-cover { padding-bottom: 190px; }
.mast-art h1 { max-width: 22ch; font-size: clamp(28px, 4.4vw, 48px); }
.back { display: inline-block; margin-bottom: 34px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.65); text-decoration: none; transition: color .2s; }
.back:hover { color: var(--gold); }
.paper-art { padding: 64px 24px 88px; }
.cover { position: relative; max-width: 940px; margin: -190px auto 56px; }
.cover::before { content: ''; position: absolute; inset: 0; border: 1.5px solid var(--gold); transform: translate(14px, 14px); }
.cover img { position: relative; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; box-shadow: 0 34px 70px -28px rgba(13,37,53,.7); }

.prose { max-width: 680px; margin: 0 auto; font-size: 17px; line-height: 1.85; color: #2A3F4C; }
.prose > * + * { margin-top: 1.35em; }
.prose > p:first-child::first-letter { float: left; font-size: 3.5em; line-height: .86; font-weight: 800; color: var(--navy); padding: .06em .12em 0 0; }
.prose h2 { font-size: 26px; font-weight: 800; line-height: 1.25; letter-spacing: -0.02em; color: var(--navy-dk); margin-top: 2.2em; padding-top: 22px; position: relative; }
.prose h2::before { content: ''; position: absolute; top: 0; left: 0; width: 44px; height: 3px; background: var(--gold); }
.prose h3 { font-size: 19px; font-weight: 700; line-height: 1.35; color: var(--navy); margin-top: 1.9em; }
.prose a { color: var(--navy); font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:hover { background: rgba(201,168,76,.18); }
.prose strong { font-weight: 700; color: var(--navy-dk); }
.prose ul, .prose ol { padding-left: 0; list-style: none; counter-reset: n; }
.prose li { position: relative; padding-left: 30px; }
.prose li + li { margin-top: .55em; }
.prose ul > li::before { content: '→'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.prose ol > li { counter-increment: n; }
.prose ol > li::before { content: counter(n); position: absolute; left: 0; top: .32em; font-size: 12px; font-weight: 800; color: var(--gold); border-bottom: 2px solid var(--gold); line-height: 1.3; min-width: 14px; text-align: center; }
.prose blockquote { margin: 2em 0 2em -28px; padding: 6px 0 6px 28px; border-left: 4px solid var(--gold); font-size: 21px; line-height: 1.55; font-weight: 600; letter-spacing: -0.01em; color: var(--navy); }
.prose figure { margin: 2.2em -60px; }
.prose figure img { width: 100%; }
.prose figcaption { margin-top: 10px; font-size: 13px; color: var(--text2); text-align: center; }
.prose hr { border: 0; height: 1px; background: var(--border); margin: 2.6em auto; width: 120px; }

.sign { max-width: 680px; margin: 64px auto 0; padding-top: 28px; border-top: 2px solid var(--navy-dk); display: flex; gap: 18px; align-items: center; font-size: 13px; line-height: 1.6; color: var(--text2); }
.sign b { color: var(--navy-dk); font-size: 14px; }
.sign-mark { flex: none; width: 52px; height: 52px; background: var(--navy-dk); color: #fff; font-weight: 800; font-size: 17px; letter-spacing: -0.04em; display: flex; align-items: center; justify-content: center; }
.sign-mark i { font-style: normal; color: var(--gold); }

.around { background: var(--off); border-top: 1px solid var(--border); }
.around-in { display: grid; grid-template-columns: 1fr 1fr; }
.around-a { padding: 36px 32px 36px 0; text-decoration: none; display: flex; flex-direction: column; gap: 8px; transition: background .2s; }
.around-a.right { text-align: right; padding: 36px 0 36px 32px; border-left: 1px solid var(--border); }
.around-a span { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.around-a b { font-size: 16px; font-weight: 700; line-height: 1.35; color: var(--navy-dk); }
.around-a:hover b { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }

.preview-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 150; background: var(--gold); color: var(--navy-dk); font-size: 13px; font-weight: 600; padding: 12px 20px; text-align: center; }
.preview-bar a { font-weight: 800; margin-left: 8px; }

/* ── Appel à l'action + pied de page ── */
.cta { background: var(--navy); color: #fff; text-align: center; padding: 72px 24px; position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; left: 50%; top: 0; width: 1px; height: 36px; background: var(--gold); }
.cta-t { font-size: clamp(22px, 3vw, 32px); font-weight: 800; letter-spacing: -0.02em; }
.cta-s { margin: 10px 0 28px; font-size: 15px; color: rgba(255,255,255,0.72); }
.btn-gold { display: inline-block; background: var(--gold); color: var(--navy-dk); font-size: 14px; font-weight: 700; padding: 14px 28px; border-radius: 8px; text-decoration: none; transition: background .2s, transform .15s; }
.btn-gold:hover { background: var(--gold-lt); transform: translateY(-1px); }
.foot { background: var(--navy-dk); border-top: 1px solid rgba(255,255,255,0.08); padding: 40px 48px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.foot-logo { font-size: 15px; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; }
.foot-links a { font-size: 12px; color: rgba(255,255,255,0.55); text-decoration: none; transition: color .2s; }
.foot-links a:hover { color: #fff; }
.foot-copy { font-size: 11px; color: rgba(255,255,255,0.4); }

/* ── Écrans étroits ── */
@media (max-width: 1080px) { .nav-links li:nth-child(-n+4) { display: none; } }
@media (max-width: 820px) {
  .wrap { padding: 0 22px; }
  .nav { padding: 0 20px; }
  .nav-cta { display: none; }
  .nav-links { gap: 20px; }
  .mast { padding: 120px 0 56px; }
  .meta { gap: 6px 16px; }
  .meta > * + *::before { display: none; }
  .lead { padding-bottom: 72px; }
  .lead-in { grid-template-columns: 1fr; gap: 40px; padding-top: 40px; }
  .lead-img::before { transform: translate(10px, 10px); }
  .lead-in.no-cover .lead-txt { padding-left: 20px; }
  .row { grid-template-columns: 58px 1fr; gap: 18px; padding: 26px 0; }
  .row:hover { padding-left: 0; }
  .row-img, .row-go { display: none; }
  .row-date b { font-size: 30px; }
  .mast-art.has-cover { padding-bottom: 120px; }
  .cover { margin-top: -120px; margin-bottom: 40px; }
  .cover::before { transform: translate(8px, 8px); }
  .paper-art { padding: 48px 22px 64px; }
  .prose { font-size: 16px; }
  .prose figure { margin-left: 0; margin-right: 0; }
  .prose blockquote { margin-left: 0; padding-left: 20px; font-size: 18px; }
  .around-in { grid-template-columns: 1fr; }
  .around-a, .around-a.right { padding: 24px 0; text-align: left; border-left: 0; }
  .around-a.right { border-top: 1px solid var(--border); }
  .foot { flex-direction: column; text-align: center; padding: 32px 20px; }
  .foot-links { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .flow path { stroke-dashoffset: 0; }
  .rv { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
