/* Zephir V3, système v2 : IBM Plex Sans partout, bleu marine unique, rythme Raiseview */
:root {
  color-scheme: light;
  --navy: #13202E;
  --navy-2: #0D1822;
  --navy-3: #1B2C3E;
  --navy-line: rgba(255, 255, 255, .1);
  --on-navy: #E6EAEE;
  --on-navy-muted: #97A6B5;
  --steel: #A9BBCC;          /* seul ton clair sur fond marine */
  --white: #FFFFFF;
  --paper: #F5F6F7;
  --ground: #ECEFF1;
  --ink: #13202E;
  --ink-2: #2B3947;
  --muted: #5B6875;
  --line: #DDE2E7;
  --font: 'IBM Plex Sans', -apple-system, 'Segoe UI', sans-serif;
  --wordmark: 'Raleway', 'IBM Plex Sans', sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --radius: 6px;
  --wrap: 1240px;
  --gutter: clamp(16px, 3.4vw, 44px);
  --section: clamp(56px, 6.5vw, 92px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 16px/1.62 var(--font); }
img, video, svg { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font); color: inherit; text-wrap: balance; }
h1 { font-weight: 300; font-size: clamp(2.4rem, 4.6vw, 3.9rem); line-height: 1.06; letter-spacing: -0.025em; }
h2 { font-weight: 300; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.14; letter-spacing: -0.02em; }
h3 { font-weight: 500; font-size: 1.12rem; line-height: 1.3; letter-spacing: -0.005em; }
h4 { font-weight: 600; font-size: .95rem; }
:focus-visible { outline: 2px solid var(--steel); outline-offset: 3px; }
.ico { width: 20px; height: 20px; flex: 0 0 auto; }
.ico svg { width: 100%; height: 100%; stroke-width: 1.6; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.lede { color: var(--muted); font-size: 1.06rem; max-width: 62ch; }
.muted { color: var(--muted); }
.label { font: 600 12px/1.3 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.stack { display: grid; gap: 16px; align-content: start; }

/* Boutons et liens */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border-radius: 4px; font: 500 15px/1 var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease); }
.btn .ico { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-3); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--ground); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: #fff; }
.btn-line { color: var(--navy); border-color: var(--navy); }
.btn-line:hover { background: var(--navy); color: #fff; }
.more { display: inline-flex; align-items: center; gap: 8px; font: 600 13px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--navy); }
.more .ico { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.more:hover .ico { transform: translateX(4px); }
.navy .more { color: var(--steel); }

/* En-tête */
.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100; background: var(--navy); color: #fff; border-bottom: 1px solid var(--navy-line); transition: background-color .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease); }
.header.over { position: fixed; left: 0; right: 0; background: rgba(19, 32, 46, 0); border-bottom-color: transparent; }
.header.over.solid, .header.over.open-menu, .header.over:has(.is-open) { background: rgba(19, 32, 46, 1); border-bottom-color: var(--navy-line); box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .6); }
.bar { display: flex; align-items: center; gap: 22px; height: 80px; padding-inline: clamp(18px, 2.8vw, 46px); }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; color: #fff; flex-shrink: 0; }
.brand img { width: 34px; height: 34px; }
.brand span { font: 200 25px/1 var(--wordmark); letter-spacing: .4em; margin-right: -.4em; }
.menu { display: none; list-style: none; height: 100%; margin-left: 8px; }
.menu > li { height: 100%; display: flex; }
.menu__link { position: relative; display: inline-flex; align-items: center; gap: 5px; height: 100%; padding: 0 12px; font: 500 14.5px/1 var(--font); color: #fff; text-decoration: none; background: none; border: 0; cursor: pointer; white-space: nowrap; }
.menu__link .chev { width: 13px; height: 13px; opacity: .6; transition: transform .25s var(--ease); }
.menu__link::after { content: ""; position: absolute; left: 12px; right: 12px; top: calc(50% + 13px); height: 2px; border-radius: 2px; background: var(--steel); transform: scaleX(0); transform-origin: left center; opacity: 0; transition: transform 300ms var(--ease), opacity 150ms; }
.menu > li:hover > .menu__link::after, .menu > li.is-open > .menu__link::after, .menu__link:focus-visible::after { transform: scaleX(1); opacity: 1; }
.menu > li.is-open > .menu__link .chev { transform: rotate(180deg); }
.header .right { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.header .login { display: none; position: relative; font: 500 14.5px/1 var(--font); text-decoration: none; color: #fff; white-space: nowrap; }
.header .cta { display: none; padding: 12px 18px; font-size: 14.5px; }
.burger { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--navy-line); background: transparent; border-radius: 4px; cursor: pointer; color: #fff; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
@media (min-width: 1200px) { .menu { display: flex; } .burger { display: none; } .header .login, .header .cta { display: inline-flex; } }

/* Méga-menus */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--navy); border-top: 1px solid var(--navy-line); box-shadow: 0 28px 48px -20px rgba(0, 0, 0, .55); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s linear .2s; }
.mega::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 2px; background: var(--steel); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.menu > li.is-open > .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.menu > li.is-open > .mega::before { transform: scaleX(1); }
.mega__in { padding: 36px clamp(18px, 2.8vw, 46px) 40px; display: grid; gap: 36px; }
.mega--sol .mega__in { grid-template-columns: 250px 1fr 230px; }
.mega--md .mega__in { grid-template-columns: 2.4fr 1fr; }
.mega__eyebrow { font: 600 11.5px/1 var(--font); letter-spacing: .15em; text-transform: uppercase; color: var(--steel); margin-bottom: 16px; }
.mega__list { display: grid; gap: 2px; }
.mega__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 28px; align-content: start; }
.mega__list a, .mega__cols a { display: flex; gap: 13px; padding: 9px; border-radius: 8px; text-decoration: none; transition: background .15s var(--ease); }
.mega__list a:hover, .mega__cols a:hover { background: rgba(255, 255, 255, .05); }
.mega__ico { width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; background: var(--navy-3); color: var(--steel); flex: 0 0 auto; transition: background .18s var(--ease), color .18s var(--ease); }
.mega__ico svg { width: 18px; height: 18px; stroke-width: 1.6; }
a:hover .mega__ico { background: var(--steel); color: var(--navy); }
.mega strong { display: block; font: 500 14.5px/1.3 var(--font); color: #fff; }
.mega em { display: block; font-style: normal; font-size: 13px; line-height: 1.4; color: var(--on-navy-muted); margin-top: 2px; }
.mega__cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-inline: 32px; border-left: 1px solid var(--navy-line); border-right: 1px solid var(--navy-line); }
.mega-card { display: grid; gap: 7px; padding: 5px; border-radius: 8px; text-decoration: none; align-content: start; transition: background .15s var(--ease); }
.mega-card:hover { background: rgba(255, 255, 255, .04); }
.mega-card img { width: 100%; height: 92px; object-fit: cover; border-radius: 6px; border: 1px solid var(--navy-line); transition: transform .3s var(--ease); }
.mega-card:hover img { transform: translateY(-2px) scale(1.02); }
.mega-card strong { display: flex; align-items: center; gap: 6px; }
.mega__viewall { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font: 600 12px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--steel); text-decoration: none; }
.mega__viewall svg { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.mega__viewall:hover svg { transform: translateX(4px); }
.mega__cta { display: grid; gap: 10px; padding: 20px; border: 1px solid var(--navy-line); border-radius: 10px; text-decoration: none; background: var(--navy-3); transition: border-color .2s var(--ease); align-self: start; }
.mega__cta:hover { border-color: var(--steel); }
.mega__cta p { font-size: 14px; color: var(--on-navy-muted); line-height: 1.5; }
.mega__feature { display: grid; gap: 12px; text-decoration: none; align-content: start; }
.mega__feature img { width: 100%; height: 170px; object-fit: cover; border-radius: 8px; border: 1px solid var(--navy-line); }
.mega__feature p { font-size: 14px; color: var(--on-navy-muted); }

/* Menu mobile */
.drawer { position: fixed; inset: 80px 0 0 0; z-index: 99; background: var(--navy); color: #fff; overflow-y: auto; padding: 8px var(--gutter) 32px; }
.drawer details { border-bottom: 1px solid var(--navy-line); }
.drawer summary { list-style: none; padding: 18px 0; font: 500 17px/1 var(--font); cursor: pointer; display: flex; justify-content: space-between; }
.drawer summary::after { content: "+"; color: var(--steel); }
.drawer details[open] summary::after { content: "−"; }
.drawer details a { display: block; padding: 9px 0 9px 12px; color: var(--on-navy-muted); text-decoration: none; }
.drawer .solo { display: block; padding: 18px 0; border-bottom: 1px solid var(--navy-line); font: 500 17px/1 var(--font); text-decoration: none; }
.drawer .btn { width: 100%; margin-top: 24px; }
body.menu-open { overflow: hidden; }

/* Hero accueil */
.hero { position: relative; overflow: hidden; background: var(--navy-2); color: #fff; min-height: min(100vh, 860px); display: flex; align-items: center; }
.hero video, .hero .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 24, 34, .93) 0%, rgba(13, 24, 34, .74) 42%, rgba(13, 24, 34, .2) 78%, rgba(13, 24, 34, .08)); }
.hero .wrap { position: relative; z-index: 2; width: 100%; padding-block: 150px 110px; display: grid; gap: 26px; justify-items: start; }
.hero h1 { font-size: clamp(2.7rem, 5.4vw, 4.6rem); max-width: 14ch; }
.hero p { color: rgba(255, 255, 255, .85); font-size: clamp(1.02rem, 1.35vw, 1.17rem); max-width: 54ch; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 760px) { .hero::after { background: linear-gradient(180deg, rgba(13, 24, 34, .6), rgba(13, 24, 34, .85)); } }

/* Bandeau de logos */
.marquee { background: var(--navy-2); color: var(--on-navy-muted); padding-block: 34px 38px; border-top: 1px solid var(--navy-line); overflow: hidden; }
.marquee p { text-align: center; font: 400 15px/1 var(--font); color: #fff; margin-bottom: 26px; }
.marquee__mask { -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 72px; width: max-content; animation: scroll 55s linear infinite; }
.marquee__mask:hover .marquee__track { animation-play-state: paused; }
.marquee__track img { height: 30px; width: auto; max-width: 150px; object-fit: contain; filter: brightness(0) invert(1); opacity: .55; transition: opacity .2s; }
.marquee__track img:hover { opacity: 1; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* En-tête de page intérieure */
.page-hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(19, 32, 46, .95) 0%, rgba(19, 32, 46, .78) 50%, rgba(19, 32, 46, .35)); }
.page-hero .wrap { position: relative; z-index: 2; padding-block: clamp(64px, 8vw, 104px); display: grid; gap: 20px; }
.page-hero h1 { max-width: 20ch; }
.page-hero p { color: rgba(255, 255, 255, .84); font-size: 1.1rem; max-width: 60ch; }
.page-hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: rgba(255, 255, 255, .6); }
.crumbs a { text-decoration: none; color: var(--steel); }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-hidden] { opacity: .5; }

/* Sections */
.section { padding-block: var(--section); }
.section.paper { background: var(--paper); }
.section.navy { background: var(--navy); color: var(--on-navy); }
.section.navy .lede, .section.navy .muted { color: var(--on-navy-muted); }
.section.navy .label { color: var(--steel); }
.head { display: grid; gap: 14px; margin-bottom: clamp(28px, 3.4vw, 44px); max-width: 760px; }
.head.split { max-width: none; }
@media (min-width: 960px) { .head.split { grid-template-columns: 1fr 1fr; gap: 56px; align-items: end; } }
.head-rule { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.two { display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) { .two { grid-template-columns: 1fr 1fr; gap: 64px; } .two.top { align-items: start; } }
.prose { display: grid; gap: 14px; color: var(--ink-2); max-width: 66ch; }
.shot { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.shot.wide { aspect-ratio: 21 / 9; }

/* Accueil : solutions */
.sol-home { display: grid; gap: 28px; }
@media (min-width: 1000px) { .sol-home { grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: stretch; } }
.sol-icons { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 26px 20px; margin: 22px 0 28px; }
.sol-icons a { display: grid; gap: 8px; text-decoration: none; align-content: start; }
.sol-icons .mega__ico { background: var(--ground); color: var(--navy); }
.sol-icons a:hover .mega__ico { background: var(--navy); color: #fff; }
.sol-icons b { font: 600 14.5px/1.3 var(--font); }
.sol-icons span { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.feature { position: relative; overflow: hidden; border-radius: 10px; color: #fff; min-height: 340px; display: flex; align-items: flex-end; text-decoration: none; }
.feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.feature:hover img { transform: scale(1.03); }
.feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 24, 34, .25), rgba(13, 24, 34, .92)); }
.feature .in { position: relative; z-index: 2; padding: 30px; display: grid; gap: 12px; }
.feature h3 { font-weight: 300; font-size: 1.7rem; line-height: 1.2; }
.feature p { color: rgba(255, 255, 255, .8); font-size: 15px; }

/* Chiffres */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
.stats > div { display: grid; gap: 8px; justify-items: center; text-align: center; padding: 8px 18px; }
.stats > div + div { border-left: 1px solid var(--navy-line); }
.stats .ico { width: 24px; height: 24px; color: var(--steel); }
.stats b { font: 300 clamp(2rem, 3.2vw, 2.7rem)/1 var(--font); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: #fff; }
.stats span { font: 600 11.5px/1.35 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--on-navy-muted); }
@media (max-width: 700px) { .stats > div + div { border-left: 0; border-top: 1px solid var(--navy-line); padding-top: 18px; } }

/* Cartes */
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; align-content: start; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.paper .card { background: var(--white); }
.card p { color: var(--muted); font-size: 15px; }
.card .mega__ico { background: var(--ground); color: var(--navy); margin-bottom: 4px; }
a.card { text-decoration: none; color: inherit; }
a.card:hover { border-color: var(--navy); box-shadow: 0 10px 24px -18px rgba(19, 32, 46, .5); }
a.card:hover .mega__ico { background: var(--navy); color: #fff; }
.card.img { padding: 0; overflow: hidden; }
.card.img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s var(--ease); }
a.card.img:hover img { transform: scale(1.03); }
.card.img .in { padding: 20px 22px 24px; display: grid; gap: 8px; }

/* En bref */
.glance { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 28px; display: grid; gap: 22px; }
.glance__grid { display: grid; gap: 22px 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.glance__grid > div { border-top: 2px solid var(--navy); padding-top: 14px; display: grid; gap: 6px; }
.glance__grid .label { font-size: 11.5px; }

/* Adéquation */
.fit { display: grid; gap: 18px; }
@media (min-width: 860px) { .fit { grid-template-columns: 1fr 1fr; } }
.fit > div { padding: 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); display: grid; gap: 14px; align-content: start; }
.fit h3 { display: flex; align-items: center; gap: 10px; }
.fit ul { list-style: none; display: grid; gap: 11px; }
.fit li { padding-left: 20px; position: relative; color: var(--ink-2); }
.fit li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; background: var(--navy); border-radius: 1px; }
.fit .no li::before { background: #AEB8C2; }

/* Liste numérotée (vraies séquences) */
.numbered { display: grid; gap: 0 48px; }
@media (min-width: 860px) { .numbered.two-col { grid-template-columns: 1fr 1fr; } }
.numbered > div { display: grid; grid-template-columns: 34px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.numbered .n { width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font: 600 13px/30px var(--font); text-align: center; }
.navy .numbered > div { border-color: var(--navy-line); }
.navy .numbered .n { background: var(--steel); color: var(--navy); }
.numbered p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.navy .numbered p { color: var(--on-navy-muted); }

/* Tableau de structures */
.table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.table > div { display: grid; gap: 6px; padding: 18px 22px; border-top: 1px solid var(--line); }
.table > div:first-child { border-top: 0; }
@media (min-width: 760px) { .table > div { grid-template-columns: 240px 1fr; gap: 24px; } }
.table b { font-weight: 600; }
.table span { color: var(--muted); }

/* Scénarios et cas */
.case { display: grid; gap: 18px; padding-block: 44px; border-top: 1px solid var(--line); }
.case:first-of-type { border-top: 0; padding-top: 0; }
.case .tag { font: 600 12px/1.4 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.case h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); max-width: 30ch; }
.case .kpi { color: var(--muted); font-size: 1.1rem; }
.case .kpi b { color: var(--ink); font-weight: 600; }
.rows { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.rows > div { display: grid; gap: 6px; padding: 18px 22px; border-top: 1px solid var(--line); background: var(--white); }
.rows > div:first-child { border-top: 0; }
.rows > div:last-child { background: var(--paper); }
@media (min-width: 760px) { .rows > div { grid-template-columns: 170px 1fr; gap: 24px; } }
.rows b { display: block; font-weight: 600; }
.rows small { display: block; font: 600 11px/1.3 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.rows p { color: var(--ink-2); }

/* FAQ */
.faq { border-top: 1px solid var(--line); max-width: 920px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font: 500 1.05rem/1.4 var(--font); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 26px; width: 9px; height: 9px; border-right: 1.5px solid var(--navy); border-bottom: 1.5px solid var(--navy); transform: rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg); top: 30px; }
.faq details p { padding: 0 0 20px; color: var(--muted); max-width: 72ch; }

/* Bandeau CTA */
.band { background: var(--navy-2); color: #fff; }
.band .wrap { padding-block: clamp(44px, 5vw, 64px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px; }
.band h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.band p { color: var(--on-navy-muted); margin-top: 8px; max-width: 60ch; }

/* Formulaire */
.contact-sec { position: relative; overflow: hidden; background: var(--paper); }
.contact-sec > img { position: absolute; top: 0; right: 0; width: 55%; height: 100%; object-fit: cover; opacity: .16; -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); }
.form-wrap { position: relative; display: grid; gap: 40px; }
@media (min-width: 960px) { .form-wrap { grid-template-columns: 1fr 1.05fr; gap: 64px; } }
form.contact { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: clamp(22px, 3vw, 32px); display: grid; gap: 16px; box-shadow: 0 20px 40px -32px rgba(19, 32, 46, .45); }
.row2 { display: grid; gap: 16px; }
@media (min-width: 620px) { .row2 { grid-template-columns: 1fr 1fr; } }
label { display: grid; gap: 7px; font: 600 11.5px/1.2 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
label .opt { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--muted); }
input, textarea { width: 100%; font: 400 15px/1.4 var(--font); color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 4px; padding: 12px; letter-spacing: 0; text-transform: none; transition: border-color .15s, background .15s; }
input:focus, textarea:focus { outline: none; border-color: var(--navy); background: #fff; }
textarea { min-height: 120px; resize: vertical; }
input[aria-invalid="true"] { border-color: #A4413A; }
.err { font: 400 13px/1.4 var(--font); color: #A4413A; letter-spacing: 0; text-transform: none; }
.form-note { font-size: 13.5px; color: var(--muted); text-align: center; }
.form-ok { padding: 14px 16px; background: var(--ground); border-radius: 4px; font-size: 14.5px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.start { display: flex; gap: 16px; align-items: flex-start; margin-top: 10px; }
.start img { width: 44px; height: 44px; }
.start b { display: block; font-weight: 500; margin-bottom: 4px; }

/* Calculateur */
.calc { display: grid; gap: 28px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: clamp(22px, 3vw, 34px); }
@media (min-width: 960px) { .calc { grid-template-columns: 1fr 1fr; gap: 44px; } }
.calc .inputs { display: grid; gap: 22px; }
.calc input[type=range] { padding: 0; accent-color: var(--navy); background: none; border: 0; }
.calc .val { font: 600 14px/1 var(--font); color: var(--navy); letter-spacing: 0; text-transform: none; }
.calc .results { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; align-content: start; }
.calc .results > div { background: var(--paper); padding: 18px 20px; display: grid; gap: 6px; }
.calc output { font: 300 2.3rem/1 var(--font); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.calc .results span { font-size: 13.5px; color: var(--muted); }

/* Glossaire */
.glossary { display: grid; border-top: 1px solid var(--line); }
.glossary > div { display: grid; gap: 6px; padding: 18px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 860px) { .glossary > div { grid-template-columns: 260px 1fr; gap: 40px; } }
.glossary dt { font-weight: 600; }
.glossary dd { margin: 0; color: var(--muted); }

/* Espace client */
.auth { min-height: calc(100vh - 80px); display: grid; }
@media (min-width: 960px) { .auth { grid-template-columns: 1.1fr 1fr; } }
.auth .visual { position: relative; background: var(--navy); color: #fff; overflow: hidden; display: flex; align-items: flex-end; min-height: 300px; }
.auth .visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.auth .visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 24, 34, .1), rgba(13, 24, 34, .9)); }
.auth .visual .in { position: relative; z-index: 2; padding: clamp(28px, 5vw, 60px); display: grid; gap: 12px; }
.auth .visual p { color: rgba(255, 255, 255, .8); max-width: 44ch; }
.auth .panel { display: flex; align-items: center; justify-content: center; padding: clamp(32px, 6vw, 72px) var(--gutter); background: var(--paper); }
.auth form { width: 100%; max-width: 420px; display: grid; gap: 18px; }
.tabs { position: relative; display: flex; border-bottom: 1px solid var(--line); }
.tabs button { flex: 1; padding: 14px 0; background: none; border: 0; font: 500 15px/1 var(--font); color: var(--muted); cursor: pointer; }
.tabs button[aria-selected="true"] { color: var(--ink); }
.tabs .ind { position: absolute; bottom: -1px; left: 0; width: 50%; height: 2px; background: var(--navy); transition: transform .3s var(--ease); }

/* Pied de page */
.footer { background: var(--navy-2); color: var(--on-navy-muted); font-size: 14.5px; }
.footer .top { display: grid; gap: 36px; padding-block: 68px 44px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); }
.footer .about { grid-column: 1 / -1; display: grid; gap: 18px; max-width: 360px; align-content: start; }
@media (min-width: 1100px) { .footer .top { grid-template-columns: 1.5fr repeat(5, 1fr); } .footer .about { grid-column: auto; } }
.footer b { display: block; margin-bottom: 14px; font: 600 11.5px/1 var(--font); letter-spacing: .15em; text-transform: uppercase; color: #fff; }
.footer ul { list-style: none; display: grid; gap: 9px; }
.footer a { text-decoration: none; transition: color .15s; }
.footer a:hover { color: #fff; }
.social { display: flex; gap: 10px; }
.social a { width: 38px; height: 38px; border: 1px solid var(--navy-line); border-radius: 6px; display: grid; place-items: center; color: #fff; transition: border-color .15s, background .15s; }
.social a:hover { border-color: var(--steel); background: rgba(255, 255, 255, .04); }
.social svg { width: 17px; height: 17px; }
.footer .legal { border-top: 1px solid var(--navy-line); padding-block: 22px 30px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 13px; }
.footer .legal nav { display: flex; gap: 22px; }



/* Accueil : colonnes Insights, Ressources, Industries */
.res-list { display: grid; }
.res-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; }
.res-row .ico { width: 16px; height: 16px; color: var(--muted); transition: transform .2s var(--ease), color .2s; }
.res-row:hover .ico { transform: translateX(4px); color: var(--navy); }
.ind-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 12px; }
.ind-chip { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 14px; font-weight: 500; line-height: 1.3; }
.ind-chip .mega__ico { width: 34px; height: 34px; background: var(--white); border: 1px solid var(--line); color: var(--navy); }
.ind-chip:hover .mega__ico { background: var(--navy); color: #fff; }
.i { display: inline-flex; }
.i svg { width: 100%; height: 100%; }
.mega__viewall .i, .mega-card strong .i { width: 14px; height: 14px; }
.fit h3 .ico { width: 20px; height: 20px; }
.social .i { width: 17px; height: 17px; }
.social svg { stroke-width: 1.7; }
label .opt { display: inline; }

/* ---------- Finitions v3 (retours du 23/09 soir) ---------- */
/* Soulignement du menu : dégradé qui se déploie, comme Raiseview */
.menu__link { transition: color .25s var(--ease); }
.menu__link:hover, .menu > li.is-open > .menu__link { color: var(--steel); }
.menu__link::after { background: linear-gradient(90deg, var(--steel) 0%, #fff 50%, var(--steel) 100%); background-size: 220% 100%; background-position: 0 0; transition: transform 420ms var(--ease), opacity 200ms ease, background-position 700ms var(--ease); }
.menu > li:hover > .menu__link::after, .menu > li.is-open > .menu__link::after, .menu__link:focus-visible::after { background-position: 100% 0; }
.header .login::after { left: 0; right: 0; }

/* Méga-menu : ouverture plus douce, éléments qui apparaissent en cascade */
.mega { transition: opacity .32s var(--ease), transform .4s var(--ease), visibility 0s linear .32s; transform: translateY(-10px); }
.menu > li.is-open > .mega .mega__list a, .menu > li.is-open > .mega .mega__cols a, .menu > li.is-open > .mega .mega-card, .menu > li.is-open > .mega .mega__feature, .menu > li.is-open > .mega .mega__cta { animation: fadeUp .45s var(--ease) both; }
.menu > li.is-open > .mega :is(.mega__list, .mega__cols, .mega__cards) > :nth-child(2) { animation-delay: .03s; }
.menu > li.is-open > .mega :is(.mega__list, .mega__cols, .mega__cards) > :nth-child(3) { animation-delay: .06s; }
.menu > li.is-open > .mega :is(.mega__list, .mega__cols, .mega__cards) > :nth-child(4) { animation-delay: .09s; }
.menu > li.is-open > .mega :is(.mega__list, .mega__cols, .mega__cards) > :nth-child(5) { animation-delay: .12s; }
.menu > li.is-open > .mega :is(.mega__list, .mega__cols, .mega__cards) > :nth-child(6) { animation-delay: .15s; }
.menu > li.is-open > .mega :is(.mega__list, .mega__cols, .mega__cards) > :nth-child(n+7) { animation-delay: .18s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Tuiles d'icônes : icône nettement détachée de son fond */
.mega__ico .i, .mega__ico svg { width: 18px !important; height: 18px !important; }
.mega__ico { background: rgba(169, 187, 204, .1); border: 1px solid rgba(255, 255, 255, .07); color: var(--steel); }
a:hover .mega__ico { background: var(--steel); border-color: var(--steel); color: var(--navy); }
.card .mega__ico, .sol-icons .mega__ico { background: #EEF2F5; border: 1px solid #E1E7ED; color: var(--navy); }
.ind-chip .mega__ico { background: #fff; border: 1px solid var(--line); }
a.card:hover .mega__ico, .sol-icons a:hover .mega__ico, .ind-chip:hover .mega__ico { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Boutons : finitions */
.btn { transition: background-color .28s var(--ease), color .28s var(--ease), border-color .28s var(--ease), transform .28s var(--ease), box-shadow .28s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); transition-duration: .08s; }
.btn-white:hover { background: #F1F4F7; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .55); }
.btn-navy:hover { box-shadow: 0 12px 26px -16px rgba(19, 32, 46, .8); }
.btn-ghost { backdrop-filter: blur(2px); }
.btn .ico { transition: transform .35s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.more { transition: color .25s var(--ease); }
.more .ico { transition: transform .35s var(--ease); }

/* Cartes : élévation douce */
.card { transition: border-color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease); }
a.card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -24px rgba(19, 32, 46, .45); }
.card.img img, .feature img, .mega-card img { transition: transform .8s var(--ease); }
.res-row { transition: padding-left .3s var(--ease), color .25s var(--ease); }
.res-row:hover { padding-left: 6px; }
.faq summary { transition: color .2s var(--ease); }
.faq summary:hover { color: var(--ink-2); }
.faq details p { animation: fadeUp .35s var(--ease) both; }

/* Bandeau de logos : défile en continu, ralentit et met en avant au survol */
.marquee { border-top: 0; }
.marquee__track { animation: scroll 70s linear infinite; }
.marquee__mask:hover .marquee__track { animation-play-state: running; }
.marquee__track img { height: 30px; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.marquee__track img.fill { filter: grayscale(1) contrast(1.15) brightness(1.25); opacity: .5; }
.marquee__track img:hover { opacity: 1; transform: scale(1.08); }
.kpi-s { color: var(--muted); font-size: 14.5px; }
.kpi-s b { color: var(--ink); font-weight: 600; }

.marquee__track { gap: 64px; align-items: center; }
.marquee__track img { height: 32px; max-width: 160px; }

/* ---------- Finitions v4 (retours du 23/09, fin de soirée) ---------- */
:root { --accent: #2F5A80; --accent-2: #3F74A3; --wrap: 1320px; }

/* Échelle générale plus grande, lisibilité des petits textes */
body { font-size: 17px; }
h1 { font-size: clamp(2.6rem, 5vw, 4.3rem); }
h2 { font-size: clamp(1.95rem, 3.2vw, 2.75rem); }
h3 { font-size: 1.2rem; }
.lede { font-size: 1.14rem; }
.page-hero p { font-size: 1.17rem; }
.hero h1 { font-size: clamp(2.9rem, 5.8vw, 5rem); }
.hero p { font-size: clamp(1.08rem, 1.45vw, 1.24rem); }
.card p, .numbered p, .sol-icons span, .fit li, .table span, .rows p, .glossary dd, .faq details p { font-size: 16px; }
.label, .rows small, .stats span { font-size: 12.5px; }
.menu__link, .header .login, .header .cta { font-size: 15.5px; }
.mega strong { font-size: 15.5px; }
.mega em { font-size: 14px; }
.btn { font-size: 16px; padding: 15px 24px; }
.faq summary { font-size: 1.12rem; }
.stats b { font-size: clamp(2.2rem, 3.4vw, 3rem); }

/* Tuiles d'icônes : au survol, un bleu acier lumineux plutôt qu'un noir */
.mega__ico { transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease); }
a:hover .mega__ico, a.card:hover .mega__ico, .sol-icons a:hover .mega__ico, .ind-chip:hover .mega__ico, div.card:hover .mega__ico {
  background: linear-gradient(140deg, var(--accent) 0%, var(--accent-2) 100%); border-color: transparent; color: #fff;
  transform: translateY(-2px) scale(1.06); box-shadow: 0 10px 22px -12px rgba(47, 90, 128, .9); }
.mega a:hover .mega__ico { box-shadow: 0 8px 20px -10px rgba(63, 116, 163, .9); }

/* Boutons marine : au survol, s'éclaircissent vers le bleu acier au lieu de noircir */
.btn-navy:hover { background: linear-gradient(140deg, var(--accent) 0%, var(--accent-2) 100%); box-shadow: 0 14px 28px -16px rgba(47, 90, 128, .95); }
.btn-white:hover { background: #fff; color: var(--accent); box-shadow: 0 14px 28px -16px rgba(0, 0, 0, .6); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); }
.more:hover { color: var(--accent); }

/* Cartes non cliquables : même vie au survol */
div.card { transition: border-color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease); }
div.card:hover { transform: translateY(-3px); border-color: #C9D4DE; box-shadow: 0 18px 36px -26px rgba(19, 32, 46, .5); }
.section.navy div.card:hover { border-color: rgba(169, 187, 204, .35); }

/* Listes numérotées : pastille qui s'allume, ligne qui glisse */
.numbered > div { transition: transform .35s var(--ease); }
.numbered .n { transition: background .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease); }
.numbered > div:hover { transform: translateX(6px); }
.numbered > div:hover .n { background: linear-gradient(140deg, var(--accent), var(--accent-2)); color: #fff; transform: scale(1.12); box-shadow: 0 8px 18px -8px rgba(47, 90, 128, .9); }
.navy .numbered > div:hover .n { background: #fff; color: var(--navy); }

/* Lignes de tableaux, adéquation, glossaire */
.table > div, .rows > div, .glossary > div { transition: background .3s var(--ease); }
.table > div:hover, .rows > div:hover { background: #F7F9FB; }
.fit > div { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.fit > div:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -26px rgba(19, 32, 46, .5); }
.glance__grid > div { transition: border-color .35s var(--ease); }
.glance__grid > div:hover { border-color: var(--accent-2); }
.stats > div { transition: transform .35s var(--ease); }
.stats > div:hover { transform: translateY(-3px); }
.stats > div:hover .ico { color: #fff; }
.card.acc h3 { font-size: 1.3rem; }
.mega__ico .i, .mega__ico .ico { color: inherit !important; }
.acc__logo { height: 64px; display: flex; align-items: center; margin-bottom: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.acc__logo img { max-height: 40px; max-width: 170px; width: auto; object-fit: contain; transition: transform .45s var(--ease); }
.card.acc:hover .acc__logo img { transform: scale(1.06); }
/* Échelle retenue par Nassim le 23/09 : 20 px de corps de texte sur écran large */
@media (min-width: 1100px) { html { zoom: 1.18; } }

/* L'en-tête se compacte par étapes si son contenu déborde (site.js mesure et pose les classes) */
.header.fit-1 .menu__link { padding: 0 9px; }
.header.fit-1 .bar { gap: 14px; }
.header.fit-1 .header .right, .header.fit-1 .right { gap: 12px; }
.header.fit-2 .menu__link .chev { display: none; }
.header.fit-2 .menu__link { padding: 0 8px; }
.header.fit-3 .cta { padding: 11px 14px; }
.header.fit-3 .cta .long { display: none; }
.header .cta .short { display: none; }
.header.fit-3 .cta .short { display: inline; }
.header.fit-4 .menu__link { padding: 0 6px; font-size: .94em; }
.header.fit-4 .bar { gap: 10px; }
/* L'espace client ne disparaît qu'en dernier, juste avant le menu burger. */
.header.fit-5 .login { display: none !important; }
.header.fit-6 .menu, .header.fit-6 .cta { display: none !important; }
.header.fit-6 .burger { display: inline-flex !important; }
.form-ok.is-error { background: #F8E9E7; color: #8A2F27; }

/* Articles et pages légales */
.article-wrap { display: grid; gap: 48px; }
@media (min-width: 1000px) { .article-wrap { grid-template-columns: minmax(0, 1fr) 320px; } .article__aside { position: sticky; top: 110px; align-self: start; } }
.article { max-width: 70ch; display: grid; gap: 18px; color: var(--ink-2); }
.article h2 { font-size: 1.6rem; margin-top: 18px; color: var(--ink); }
.article p { font-size: 1.05rem; line-height: 1.75; }
.article__lede { font-size: 1.22rem !important; color: var(--ink); line-height: 1.6 !important; }
.article .sources { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.article .sources ul { list-style: none; display: grid; gap: 8px; }
.article .sources a { color: var(--accent); }
.article.legal { max-width: 78ch; }
.article.legal h2 { font-size: 1.3rem; }
.article__aside .glance { gap: 16px; }
.stats b { white-space: nowrap; font-size: clamp(1.9rem, 2.9vw, 2.8rem); }
.stats > div { padding-inline: 10px; }
.header .lang { font: 600 12.5px/1 var(--font); letter-spacing: .06em; color: #fff; text-decoration: none; padding: 7px 8px; border: 1px solid var(--navy-line); border-radius: 4px; transition: border-color .25s var(--ease), background .25s var(--ease); }
.header .lang:hover { border-color: var(--steel); background: rgba(255,255,255,.06); }
.acc__word { font: 600 1.25rem/1 var(--font); color: var(--ink-2); letter-spacing: -.01em; }
/* Guides */
.guide { display: grid; gap: 8px; }
.guide-step { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.guide-step:first-child { padding-top: 0; }
.guide-step__n { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font: 500 18px/1 var(--font); }
.guide-step__body { display: grid; gap: 14px; max-width: 68ch; }
.guide-step__body h2 { font-size: 1.55rem; }
.guide-step__body p { font-size: 1.04rem; line-height: 1.75; color: var(--ink-2); }
.guide-check { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 18px 20px; display: grid; gap: 10px; }
.guide-toc { display: grid; gap: 2px; }
.guide-toc a { display: flex; gap: 10px; padding: 8px 6px; border-radius: 6px; text-decoration: none; font-size: 15px; transition: background .2s var(--ease); }
.guide-toc a:hover { background: #fff; }
.guide-toc span { color: var(--accent); font-weight: 600; min-width: 16px; }

.acc__mono { width: 48px; height: 48px; border-radius: 10px; background: var(--navy); color: #fff; display: grid; place-items: center; font: 600 17px/1 var(--font); letter-spacing: .04em; }

/* arrondis du zoom 1.18 : pas de défilement horizontal parasite */
html, body { overflow-x: clip; }

/* Présentation PDF téléchargeable (pages Ressources) */
.deckdl { border-top: 1px solid var(--line, #E3E8ED); }
.deckdl__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.deckdl__cover { display: block; border-radius: 10px; overflow: hidden; box-shadow: 0 18px 40px rgba(19, 32, 46, .18); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.deckdl__cover:hover { transform: translateY(-4px); box-shadow: 0 24px 48px rgba(19, 32, 46, .24); }
.deckdl__cover img { display: block; width: 100%; height: auto; }
.deckdl h2 { margin: 10px 0 14px; }
.deckdl .btn { margin-top: 22px; }
@media (max-width: 860px) { .deckdl__in { grid-template-columns: 1fr; gap: 28px; } }

/* Lien vers la présentation PDF, sous l'encart du formulaire de contact */
.deck-link { display: flex; gap: 22px; align-items: center; margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line, #DDE3E9); color: inherit; text-decoration: none; max-width: 480px; }
.deck-link__cover { position: relative; flex: none; width: 150px; aspect-ratio: 16 / 9; }
.deck-link__cover::before { content: ""; position: absolute; inset: 0; border-radius: 4px; background: #C9D3DD; transform: translate(6px, 6px); transition: transform 420ms var(--ease); }
.deck-link__cover img { position: relative; display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 4px; box-shadow: 0 10px 22px rgba(19, 32, 46, .22); transition: transform 420ms var(--ease), box-shadow 420ms var(--ease); }
.deck-link__txt { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.deck-link__txt b { font-weight: 500; font-size: 1.02rem; color: var(--ink, #13202E); }
.deck-link__cta { position: relative; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; padding-bottom: 5px; font: 600 12.5px/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--ink, #13202E); }
.deck-link__cta svg { width: 15px; height: 15px; transition: transform 420ms var(--ease); }
.deck-link__cta::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--steel) 0%, #9CC0E0 50%, var(--steel) 100%); background-size: 220% 100%; transform: scaleX(.3); transform-origin: left center; transition: transform 420ms var(--ease), background-position 700ms var(--ease); }
.deck-link:hover .deck-link__cover img, .deck-link:focus-visible .deck-link__cover img { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(19, 32, 46, .26); }
.deck-link:hover .deck-link__cover::before, .deck-link:focus-visible .deck-link__cover::before { transform: translate(10px, 8px); }
.deck-link:hover .deck-link__cta::after, .deck-link:focus-visible .deck-link__cta::after { transform: scaleX(1); background-position: 100% 0; }
.deck-link:hover .deck-link__cta svg, .deck-link:focus-visible .deck-link__cta svg { transform: translateX(4px); }
.deck-link:focus-visible { outline: 2px solid var(--steel); outline-offset: 6px; border-radius: 4px; }
@media (max-width: 520px) { .deck-link__cover { width: 116px; } }
@media (prefers-reduced-motion: reduce) { .deck-link * , .deck-link *::before, .deck-link *::after { transition: none !important; } }
.deck-toc { columns: 2; column-gap: 56px; padding-left: 1.2em; margin: 0; }
.deck-toc li { break-inside: avoid; padding: 10px 0; border-bottom: 1px solid var(--line, #DDE3E9); }
@media (max-width: 760px) { .deck-toc { columns: 1; } }

/* ------------------------------------------------------------------ Finition v5 (23/09)
   Un seul vocabulaire de survol sur tout le site, celui du bloc présentation :
   jamais de bordure sombre ; léger soulèvement, ombre douce, trait acier qui se déploie
   depuis la gauche, flèche qui avance. */
:root { --lift-shadow: 0 22px 44px -28px rgba(19, 32, 46, .42), 0 2px 6px -2px rgba(19, 32, 46, .06); --sweep: linear-gradient(90deg, var(--accent) 0%, #9CC0E0 50%, var(--accent-2) 100%); }

/* Cartes (liens et blocs) : trait acier en haut, bordure qui reste claire */
.card, .fit > div { position: relative; overflow: hidden; }
.card::after, .fit > div::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--sweep); background-size: 220% 100%; transform: scaleX(0); transform-origin: left center; transition: transform 460ms var(--ease), background-position 800ms var(--ease); pointer-events: none; }
a.card:hover, a.card:focus-visible { border-color: #D5DEE7; transform: translateY(-4px); box-shadow: var(--lift-shadow); }
div.card:hover, .fit > div:hover { border-color: #D5DEE7; transform: translateY(-3px); box-shadow: var(--lift-shadow); }
a.card:hover::after, a.card:focus-visible::after, div.card:hover::after, .fit > div:hover::after { transform: scaleX(1); background-position: 100% 0; }
a.card:focus-visible { outline: none; }
a.card h3 { transition: color .3s var(--ease); }
a.card:hover h3 { color: var(--accent); }
a.card .more .ico, a.card .more svg { transition: transform 420ms var(--ease); }
a.card:hover .more .ico, a.card:hover .more svg { transform: translateX(5px); }
a.card:hover .more { color: var(--accent); }
/* Cartes sur fond marine */
.section.navy div.card:hover, .section.navy a.card:hover { border-color: rgba(169, 187, 204, .3); box-shadow: 0 22px 44px -28px rgba(0, 0, 0, .7); }
.section.navy a.card:hover h3 { color: #fff; }

/* Cartes des comptes rencontrés : logo net au survol, sans cadre */
.card.acc .acc__logo img { transition: transform 460ms var(--ease), filter 460ms var(--ease); }
.card.acc:hover .acc__logo img { transform: scale(1.05); }
.card.acc .acc__mono { transition: background .35s var(--ease), transform .35s var(--ease); }
.card.acc:hover .acc__mono { background: linear-gradient(140deg, var(--accent), var(--accent-2)); transform: scale(1.06); }

/* Chiffres clés : trait acier sous le chiffre au lieu d'un simple décalage */
.stats > div { position: relative; }
.stats > div::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 44px; height: 2px; margin-left: -22px; background: var(--sweep); transform: scaleX(0); transition: transform 420ms var(--ease); }
.stats > div:hover::after { transform: scaleX(1); }

/* En bref : le filet du haut passe au dégradé acier */
.glance__grid > div { position: relative; }
.glance__grid > div::before { content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 2px; background: var(--sweep); transform: scaleX(0); transform-origin: left center; transition: transform 460ms var(--ease); }
.glance__grid > div:hover { border-color: var(--navy); }
.glance__grid > div:hover::before { transform: scaleX(1); }

/* Lignes de tableau et listes : pastille acier à gauche au lieu d'un fond gris */
.table > div, .rows > div { position: relative; }
.table > div::before, .rows > div::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 2px; border-radius: 2px; background: var(--sweep); transform: scaleY(0); transition: transform 380ms var(--ease); }
.table > div:hover, .rows > div:hover { background: #F7F9FB; }
.table > div:hover::before, .rows > div:hover::before { transform: scaleY(1); }
.res-row { position: relative; }
.res-row::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--sweep); transform: scaleX(0); transform-origin: left center; transition: transform 460ms var(--ease); }
.res-row:hover::after { transform: scaleX(1); }
.res-row:hover { color: var(--accent); }

/* Boutons contour : dégradé acier au lieu d'un aplat noir */
.btn-line:hover { background: linear-gradient(140deg, var(--accent) 0%, var(--accent-2) 100%); border-color: transparent; color: #fff; box-shadow: 0 14px 28px -16px rgba(47, 90, 128, .95); }

/* Champs de formulaire : halo acier au lieu d'une bordure noire */
input:focus, textarea:focus { border-color: var(--accent-2); box-shadow: 0 0 0 4px rgba(63, 116, 163, .14); }
input, textarea { transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease); }

/* Fil d'Ariane et liens de texte : soulignement acier */
.article a:not(.btn):not(.card), .legal a { text-decoration: none; background: linear-gradient(var(--accent-2), var(--accent-2)) 0 100% / 100% 1px no-repeat; transition: background-size .35s var(--ease), color .25s; }
.article a:not(.btn):not(.card):hover, .legal a:hover { color: var(--accent); background-size: 100% 2px; }

@media (prefers-reduced-motion: reduce) {
  .card::after, .fit > div::after, .stats > div::after, .glance__grid > div::before, .table > div::before, .rows > div::before, .res-row::after { transition: none; }
}
