/* Claude Bernard : maquette HTML (généré par build.js, ne pas modifier à la main) */

:root {
  
  --navy: #0d1f45;          
  --navy-2: #283652;        
  --navy-3: #102247;
  --ink: #01110a;
  --ice: #f0f4f9;           
  --ice-2: #f9fbfd;
  --blue-ice: #daf2fd;      
  --light-ice: #d8f6f8;     
  --blue: #0091d0;          
  --teal: #35b9c5;          
  --teal-dark: #1a727a;     
  --deep: #074667;          
  --line: #cad4e1;          
  --white: #ffffff;
  --muted: rgba(13, 31, 69, .64);

  
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-quote: "Onest", var(--font);

  
  --container: 1312px;
  --gutter: 64px;
  --section: 128px;
  --header-h: 80px;

  
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur: .5s;
}
/* ---------- Remise à zéro limitée aux blocs de la maquette (.cbx) ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
:where(.cbx), :where(.cbx) *, :where(.cbx) *::before, :where(.cbx) *::after { box-sizing: border-box; }
:where(.cbx) :is(img, svg) { display: block; max-width: 100%; }
:where(.cbx) :is(h1, h2, h3, h4, p, ul, figure, blockquote) { margin: 0; }
:where(.cbx) ul { padding: 0; list-style: none; }
:where(.cbx) a { color: inherit; text-decoration: none; }
:where(.cbx) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:where(.cbx) input { font: inherit; }
.cbx { font-family: var(--font); color: var(--navy); line-height: 1.4; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.cbx ::selection { background: var(--light-ice); color: var(--navy); }
/* Contour seulement au clavier (pas au clic), comme dans la maquette */
.wp-site-blocks :focus:not(:focus-visible) { outline: none; }
:where(.cbx) :focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.cbh-search__field input:focus-visible { outline: none; }
.cbh-search:focus-within { background: rgba(255, 255, 255, .2); box-shadow: 0 0 0 1px rgba(53, 185, 197, .55); }

/* Espacements automatiques de WordPress : neutralisés dans la maquette
   (même poids que la règle de WordPress, placée avant les composants) */
:where(.cbx) .is-layout-flow > *, :where(.cbx) .is-layout-constrained > *, :where(.cbx) .is-layout-flex > *,
.cbx:where(.is-layout-flow, .is-layout-constrained, .is-layout-flex) > * { margin-block: 0; }
:where(.cbx) .wp-block-buttons { gap: 0; }
.wp-site-blocks > header.wp-block-template-part,
.wp-site-blocks > footer.wp-block-template-part,
.wp-site-blocks > .cbh-main { margin-block: 0; }

.cbh-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.cbh-container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.cbh-section { padding-block: var(--section); }

.cbh-h1 { font-size: 56px; font-weight: 500; line-height: 1.1; letter-spacing: -.04em; }
.cbh-h2 { font-size: 48px; font-weight: 500; line-height: 1.1; letter-spacing: -.04em; }
.cbh-h4 { font-size: 24px; font-weight: 500; line-height: 1.2; letter-spacing: -.02em; }
.cbh-body-l { font-size: 20px; line-height: 1.4; }
.cbh-small { font-size: 14px; }
.cbh-muted { color: var(--muted); }

[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease-out); transition-delay: calc(var(--wi, 0) * 40ms); }
[data-split].is-in .w > span { transform: none; }

[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: .15s; }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-stagger] > * { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms + .1s); }
[data-stagger].is-in > * { opacity: 1; transform: none; }

.cbh-btn {
  display: inline-flex; align-items: center; gap: 20px;
  font-weight: 500; letter-spacing: -.02em; line-height: 1.3;
  transition: background-color .3s var(--ease-out), color .3s var(--ease-out), box-shadow .3s var(--ease-out);
  white-space: nowrap;
}
.cbh-btn--secondary-m { background: var(--ice); color: var(--navy); padding: 12px 16px; font-size: 16px; gap: 8px; }
.cbh-btn--secondary-m:hover { background: var(--white); }
.cbh-btn--outline-m { background: var(--white); color: var(--navy); padding: 12px 16px; font-size: 16px; box-shadow: inset 0 0 0 1px var(--line); }

.cbh-btn--primary-l,
.cbh-btn--secondary-l {
  height: 56px; padding: 4px 4px 4px 24px; font-size: 20px;
  justify-content: space-between;
}
.cbh-btn--primary-l { background: var(--white); color: var(--navy); }
.cbh-btn--secondary-l { background: var(--ice); color: var(--navy); }
.cbh-btn--bordered { box-shadow: inset 0 0 0 1px var(--line); }
.cbh-btn--block { width: 100%; }

.cbh-btn__arrow {
  position: relative; flex: none; width: 48px; height: 48px;
  display: grid; place-items: center; overflow: hidden;
  background: var(--blue-ice); color: var(--deep);
  transition: background-color .35s var(--ease-out), color .35s var(--ease-out);
}
.cbh-btn__arrow svg { width: 15px; height: 12px; }
.cbh-btn--secondary-l .cbh-btn__arrow { background: var(--light-ice); color: var(--teal-dark); }
.cbh-btn--dark-arrow .cbh-btn__arrow { background: var(--teal-dark); color: var(--white); }

.cbh-btn:hover .cbh-btn__arrow { background: var(--deep); color: var(--white); }
.cbh-btn--secondary-l:hover .cbh-btn__arrow { background: var(--teal-dark); color: var(--white); }
.cbh-btn--dark-arrow:hover .cbh-btn__arrow { background: var(--teal); color: var(--navy); }
.cbh-btn--bordered:hover { box-shadow: inset 0 0 0 1px var(--deep); }

.cbh-btn-icon {
  width: 45px; height: 45px; display: grid; place-items: center;
  background: rgba(240, 244, 249, .16); color: var(--ice);
  transition: background-color .3s var(--ease-out);
}
.cbh-btn-icon svg { width: 20px; height: 20px; }
.cbh-btn-icon:hover { background: rgba(240, 244, 249, .28); }

.cbh-site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  background: var(--navy);
  border-bottom: 1px solid var(--navy-2);
}
.cbh-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.cbh-header__logo img { width: 87px; height: 48px; }
.cbh-header__right { display: flex; align-items: center; gap: 32px; }

.cbh-nav__list { display: flex; align-items: center; gap: 24px; }
.cbh-nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  color: var(--white); opacity: .64; font-size: 16px; line-height: 1.4;
  transition: opacity .3s var(--ease-out);
}
.cbh-nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.cbh-nav__link:hover, .cbh-nav__link.is-active, .cbh-nav__link[aria-expanded="true"] { opacity: 1; }
.cbh-nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.cbh-nav__caret { width: 12px; height: 12px; display: grid; place-items: center; transition: transform .35s var(--ease-out); }
.cbh-nav__caret svg { width: 9px; height: 5px; }
.cbh-nav__item--drop { position: relative; }
.cbh-nav__item--drop:hover .cbh-nav__caret, .cbh-nav__link[aria-expanded="true"] .cbh-nav__caret { transform: rotate(180deg); }
.cbh-dropdown {
  position: absolute; top: calc(100% + 22px); left: -16px; min-width: 240px;
  background: var(--white); padding: 8px; display: grid;
  box-shadow: 0 24px 48px -24px rgba(13, 31, 69, .45), 0 0 0 1px rgba(13, 31, 69, .06);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), visibility .3s;
}
.cbh-dropdown::before { content: ""; position: absolute; inset: -24px 0 100%; }
.cbh-dropdown a { padding: 10px 12px; color: var(--navy); font-size: 15px; transition: background-color .2s; }
.cbh-dropdown a:hover { background: var(--ice); }
.cbh-nav__item--drop:hover .cbh-dropdown,
.cbh-nav__item--drop:focus-within .cbh-dropdown,
.cbh-nav__link[aria-expanded="true"] + .cbh-dropdown { opacity: 1; visibility: visible; transform: none; }

.cbh-header__actions { display: flex; gap: 8px; }
.cbh-header__menu { display: none; }

.cbh-mobile-menu {
  position: fixed; inset: var(--header-h) 0 0; z-index: 99;
  background: var(--navy); padding: 32px 16px 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .6s var(--ease-in-out), visibility .6s;
}
.cbh-mobile-menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.cbh-mobile-menu__nav { display: grid; }
.cbh-mobile-menu__nav a {
  color: var(--white); font-size: 32px; font-weight: 500; letter-spacing: -.04em; line-height: 1.1;
  padding: 14px 0; border-bottom: 1px solid var(--navy-2);
  opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.cbh-mobile-menu.is-open .cbh-mobile-menu__nav a { opacity: 1; transform: none; }
.cbh-mobile-menu.is-open .cbh-mobile-menu__nav a:nth-child(2) { transition-delay: .05s; }
.cbh-mobile-menu.is-open .cbh-mobile-menu__nav a:nth-child(3) { transition-delay: .1s; }
.cbh-mobile-menu.is-open .cbh-mobile-menu__nav a:nth-child(4) { transition-delay: .15s; }
.cbh-mobile-menu.is-open .cbh-mobile-menu__nav a:nth-child(5) { transition-delay: .2s; }
.cbh-mobile-menu.is-open .cbh-mobile-menu__nav a:nth-child(6) { transition-delay: .25s; }

.cbh-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy); color: var(--white);
  padding: 192px 0 144px;
}
.cbh-hero__inner { text-align: center; }
.cbh-hero__title { max-width: 910px; margin-inline: auto; }

.cbh-search {
  width: 100%; max-width: 646px; margin: 48px auto 0;
  padding: 8px; border-radius: 12px; background: rgba(255, 255, 255, .12);
  transition: background-color .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.cbh-search__field {
  position: relative; display: flex; align-items: center; gap: 20px;
  height: 56px; padding: 4px 4px 4px 24px; background: var(--ice);
}
.cbh-search__field input {
  flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent;
  color: var(--navy); font-size: 16px; line-height: 1.4;
}
.cbh-search__field input::placeholder { color: var(--muted); opacity: 1; }
.cbh-search__field input::-webkit-search-cancel-button { -webkit-appearance: none; }
.cbh-search__btn {
  flex: none; width: 48px; height: 48px; display: grid; place-items: center;
  background: var(--blue); color: var(--white);
  transition: background-color .3s var(--ease-out);
}
.cbh-search__btn svg { width: 20px; height: 20px; }
.cbh-search__btn:hover { background: var(--deep); }

.cbh-hero__dots { position: absolute; left: 0; right: 0; bottom: 32px; max-width: none; padding-inline: 32px; display: flex; justify-content: space-between; pointer-events: none; }
.cbh-dots { position: relative; width: 70px; height: 70px; flex: none; }
.cbh-dots i { position: absolute; display: block; border-radius: 2px; background: var(--c); opacity: var(--o); }
.cbh-dots--a { --c: var(--teal); }
.cbh-dots--b { --c: var(--blue); transform: scaleX(-1); }

.cbh-split-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 539px);
  gap: 24px; align-items: center; margin-bottom: 48px;
}
.cbh-services__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }

.cbh-svc {
  --card: var(--blue-ice);
  display: flex; flex-direction: column; gap: 8px; padding: 8px;
  background: var(--card);
}
.cbh-svc--teal { --card: var(--light-ice); }
.cbh-svc--grey { --card: var(--ice); }
.cbh-svc__top { display: flex; flex-direction: column; gap: 8px; }
.cbh-svc__title {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px;
  font-size: 20px; font-weight: 500; line-height: 1.3; letter-spacing: -.02em;
}
.cbh-svc__icon { flex: none; width: 32px; height: 32px; color: var(--navy); }
.cbh-svc__icon svg { width: 32px; height: 32px; }
.cbh-svc__desc {
  background: var(--white); padding: 16px; min-height: 95px;
  font-size: 16px; font-weight: 500; line-height: 1.3; letter-spacing: -.02em;
}
.cbh-svc__visual { position: relative; height: 213px; overflow: hidden; }
.cbh-svc__fade { position: absolute; left: 0; right: 0; bottom: 0; height: 106px; background: linear-gradient(to bottom, color-mix(in srgb, var(--card) 0%, transparent), var(--card)); pointer-events: none; z-index: 2; }

.cbh-svc__visual i { display: block; background: rgba(255, 255, 255, .64); border-radius: 2px; }

.cbh-mock-list { position: absolute; top: 19px; left: 50%; width: 292px; margin-left: -146px; }
.cbh-mock-list__bar { position: relative; height: 40px; border-radius: 8px; background: rgba(255, 255, 255, .32); }
.cbh-mock-list__bar i { position: absolute; height: 10px; top: 15px; }
.cbh-mock-list__bar i:nth-child(1) { width: 28px; height: 28px; left: 7px; top: 6px; }
.cbh-mock-list__bar i:nth-child(2) { left: 49px; }
.cbh-mock-list__bar i:nth-child(3) { right: 13px; }
.cbh-mock-list__rows { display: grid; gap: 12px; padding: 13px 8px 0; }
.cbh-mock-row { display: flex; align-items: center; height: 28px; }
.cbh-mock-row i { height: 10px; margin-left: 12px; }
.cbh-mock-row i.cbh-sq { width: 28px; height: 28px; margin: 0; }
.cbh-mock-row i.cbh-r { width: 61px; margin-left: auto; }

.cbh-mock-doc { position: absolute; inset: 0 auto 0 50%; width: 413px; margin-left: -206.5px; }
.cbh-mock-doc::before { content: ""; position: absolute; left: 56px; top: 22px; width: 292px; height: 191px; background: rgba(255, 255, 255, .32); }
.cbh-mock-doc i { position: absolute; }
.cbh-mock-doc .cbh-a { left: 70px; top: 35px; width: 32px; height: 32px; }
.cbh-mock-doc .cbh-b { left: 239px; top: 35px; width: 94px; height: 72px; }
.cbh-mock-doc .cbh-c { left: 107px; top: 38px; width: 38px; height: 10px; }
.cbh-mock-doc .cbh-d { left: 107px; top: 54px; width: 61px; height: 10px; }
.cbh-mock-doc .cbh-e { left: 70px; top: 127px; width: 263px; height: 27px; }
.cbh-mock-doc .cbh-ln { left: 70px; width: 263px; height: 10px; transform-origin: left; }
.cbh-mock-doc .cbh-ln:nth-of-type(6) { top: 159px; }
.cbh-mock-doc .cbh-ln:nth-of-type(7) { top: 174px; }
.cbh-mock-doc .cbh-ln:nth-of-type(8) { top: 190px; }
.cbh-mock-doc .cbh-ln:nth-of-type(9) { top: 206px; }

.cbh-mock-scan { position: absolute; inset: 0 auto 0 50%; width: 413px; margin-left: -206.5px; }
.cbh-mock-scan .cbh-page { position: absolute; top: 18px; width: 136px; height: 191px; background: rgba(255, 255, 255, .32); }
.cbh-mock-scan .cbh-page--l { left: -28px; }
.cbh-mock-scan .cbh-page--c { left: 136px; }
.cbh-mock-scan .cbh-page--r { left: 305px; }
.cbh-mock-scan .cbh-page--c i { position: absolute; border-radius: 1px; }
.cbh-mock-scan .cbh-page--c .cbh-a { left: 7px; top: 6px; width: 15px; height: 15px; }
.cbh-mock-scan .cbh-page--c .cbh-b { left: 86px; top: 6px; width: 44px; height: 34px; }
.cbh-mock-scan .cbh-page--c .cbh-c { left: 24px; top: 7px; width: 18px; height: 5px; }
.cbh-mock-scan .cbh-page--c .cbh-d { left: 24px; top: 15px; width: 28px; height: 5px; }
.cbh-mock-scan .cbh-grp { position: absolute; left: 7px; width: 123px; display: grid; gap: 4px; }
.cbh-mock-scan .cbh-grp:nth-of-type(1) { top: 49px; }
.cbh-mock-scan .cbh-grp:nth-of-type(2) { top: 109px; }
.cbh-mock-scan .cbh-grp i { position: static; height: 5px; }
.cbh-mock-scan .cbh-grp i.cbh-h { height: 13px; margin-bottom: 4px; }
.cbh-mock-scan .cbh-beam {
  position: absolute; left: -13px; width: 435px; top: 54px; height: 94px; opacity: .64; z-index: 1;
  border-top: 5px solid var(--white);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.cbh-univers { background: var(--ice); }
.cbh-center-head { max-width: 1092px; margin: 0 auto 64px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.cbh-center-head .cbh-body-l { max-width: 612px; }
.cbh-univers__grid {
  max-width: 1048px; margin-inline: auto;
  display: grid; grid-template-columns: 329fr 356fr 339fr; gap: 12px;
}
.cbh-uni {
  background: var(--white); padding: 32px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.cbh-uni .cbh-muted { font-size: 16px; }
.cbh-uni__visual { position: relative; width: 272px; max-width: 100%; height: 224px; }
.cbh-uni__visual > svg { width: 272px; height: 224px; overflow: visible; }
.cbh-uni__visual--explore { overflow: hidden; }

.cbh-info-list { position: absolute; left: 50%; top: 14px; width: 234px; margin-left: -117px; display: grid; gap: 12px; text-align: left; }
.cbh-info-list li {
  height: 42px; padding: 8px 8px 8px 12px; display: flex; align-items: center; justify-content: space-between;
  font-size: 14px; line-height: 1.3; color: var(--deep); background: rgba(240, 244, 249, .48);
}
.cbh-info-list li b { font-weight: 400; min-width: 25px; padding: 4px; text-align: center; background: var(--white); font-variant-numeric: tabular-nums; }
.cbh-info-list li.is-active { background: var(--navy-3); color: var(--white); }
.cbh-info-list li.is-active b { background: rgba(255, 255, 255, .16); }
.cbh-info-list .cbh-info-list__more { height: 34px; justify-content: center; background: var(--ice-2); font-variant-numeric: tabular-nums; }

.cbh-univers__cta { display: flex; justify-content: center; margin-top: 48px; }
.cbh-univers__cta .cbh-btn { width: 413px; max-width: 100%; }

.cbh-logos { position: relative; background: var(--ice); padding: 64px 0; overflow: hidden; }
.cbh-logos::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, rgba(202, 212, 225, 0), var(--line) 49%, rgba(202, 212, 225, 0)); }
.cbh-marquee {
  
  position: relative; width: 1120px; max-width: 100%; height: 64px; margin-inline: auto;
  display: flex; align-items: center; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 21.15%, #000 77.88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 21.15%, #000 77.88%, transparent);
}
.cbh-marquee__track { display: flex; align-items: center; gap: 64px; width: max-content; padding-right: 64px; animation: marquee 32s linear infinite; }
.cbh-marquee__track img { height: 24px; width: auto; }
.cbh-marquee:hover .cbh-marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.cbh-news { border-top: 1px solid var(--ice); border-bottom: 1px solid var(--ice); overflow: hidden; }
.cbh-news__head { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-bottom: 48px; }
.cbh-news__title { color: #160c00; }
.cbh-news__nav { display: flex; gap: 8px; }
.cbh-arrow-btn {
  width: 48px; height: 48px; display: grid; place-items: center;
  background: var(--ice); color: #160c00; transition: background-color .3s var(--ease-out), opacity .3s;
}
.cbh-arrow-btn svg { width: 11px; height: 5px; }
.cbh-arrow-btn--prev svg { transform: rotate(90deg); }
.cbh-arrow-btn--next svg { transform: rotate(-90deg); }
.cbh-arrow-btn:hover:not(:disabled) { background: var(--light-ice); }
.cbh-arrow-btn:disabled { opacity: .32; cursor: default; }

.cbh-news__viewport {
  --pad: max(var(--gutter), calc((100vw - var(--container)) / 2));
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad);
  scrollbar-width: none; cursor: grab;
}
.cbh-news__viewport::-webkit-scrollbar { display: none; }
.cbh-news__viewport.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.cbh-news__viewport.is-dragging * { pointer-events: none; }
.cbh-news__track { display: flex; gap: 24px; width: max-content; padding-inline: var(--pad); }
.cbh-slide { flex: 0 0 880px; height: 460px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; scroll-snap-align: start; }
.cbh-slide__media { position: relative; overflow: hidden; background: var(--white); }
.cbh-slide__media img { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.cbh-slide__media img.is-wide { width: 120.7%; max-width: none; margin-left: -11.5%; } 
.cbh-slide__glow { position: absolute; width: 370px; height: 370px; border-radius: 50%; background: var(--light-ice); opacity: .64; filter: blur(90px); pointer-events: none; }
.cbh-slide__glow--r { left: 394px; top: 125px; }
.cbh-slide__glow--l { left: -279px; top: 174px; }
.cbh-slide__card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  padding: 32px; box-shadow: inset 0 0 0 1px var(--ice);
}
.cbh-slide__headline a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease-out); }
.cbh-slide__headline a:hover { background-size: 100% 1px; }
.cbh-slide__logo { width: 128px; height: 24px; }
.cbh-quote { font-family: var(--font-quote); font-size: 24px; line-height: 1.2; letter-spacing: -.01em; }
.cbh-author { display: flex; align-items: center; gap: 12px; }
.cbh-author img { width: 40px; height: 40px; object-fit: cover; flex: none; }
.cbh-author p { line-height: 1.4; }
.cbh-author .cbh-small { margin-top: 2px; }

.cbh-contact { padding-block: 64px; }
.cbh-contact__box {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy); color: var(--white); padding: 64px; text-align: center;
}
.cbh-contact__content { max-width: 868px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; }
.cbh-contact__content .cbh-body-l { max-width: 566px; margin-top: 24px; color: rgba(255, 255, 255, .64); }
.cbh-contact__content .cbh-btn { margin-top: 48px; }
.cbh-contact__dots { position: absolute; left: 25px; right: 21px; bottom: 18px; display: flex; justify-content: space-between; pointer-events: none; }

.cbh-tag { display: inline-block; background: var(--ice); color: var(--navy-2); padding: 8px 16px; font-size: 16px; line-height: 1.4; }
.cbh-faq .cbh-center-head { margin-bottom: 64px; }
.cbh-accordion { max-width: 870px; margin-inline: auto; }
.cbh-acc { transition: background-color .45s var(--ease-out); }
.cbh-acc:hover { background: rgba(240, 244, 249, .5); }
.cbh-acc.is-open { background: var(--ice); }
.cbh-acc__q {
  width: 100%; display: flex; align-items: center; gap: 24px; padding: 24px 16px 24px 24px; text-align: left;
  font-size: 20px; font-weight: 500; line-height: 1.3; letter-spacing: -.02em; color: var(--ink);
}
.cbh-acc__icon {
  flex: none; width: 32px; height: 32px; display: grid; place-items: center;
  background: var(--ice); color: var(--navy-2);
  transition: background-color .45s var(--ease-out), color .45s var(--ease-out);
}
.cbh-acc__icon svg { width: 13px; height: 13px; transition: transform .5s var(--ease-out); }
.cbh-acc:hover .cbh-acc__icon { background: var(--light-ice); }
.cbh-acc.is-open .cbh-acc__icon { background: var(--teal); color: var(--ice); }
.cbh-acc.is-open .cbh-acc__icon svg { transform: rotate(135deg); }
.cbh-acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease-out); }
.cbh-acc.is-open .cbh-acc__a { grid-template-rows: 1fr; }
.cbh-acc__a > div { overflow: hidden; }
.cbh-acc__a p { padding: 0 24px 24px 80px; color: rgba(1, 17, 10, .64); opacity: 0; transform: translateY(-6px); transition: opacity .4s, transform .5s var(--ease-out); }
.cbh-acc.is-open .cbh-acc__a p { opacity: 1; transform: none; transition-delay: .12s; }

.cbh-footer { background: var(--navy); color: var(--white); padding-top: 64px; }
.cbh-footer__cols { display: flex; justify-content: space-between; gap: 40px; }
.cbh-footer__col .cbh-h4 { margin-bottom: 16px; color: var(--white); }
.cbh-footer__col ul { display: grid; gap: 12px; }
.cbh-footer__col a, .cbh-footer__legal a {
  color: var(--line);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: color .3s, background-size .45s var(--ease-out);
}
.cbh-footer__col a:hover, .cbh-footer__legal a:hover { color: var(--white); background-size: 100% 1px; }
.cbh-footer__sep { flex: none; width: 1px; height: 305px; background: linear-gradient(var(--line), rgba(202, 212, 225, 0)); opacity: .32; }

.cbh-footer__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: 96px; padding-bottom: 48px; }
.cbh-footer__logos { display: flex; align-items: center; gap: 48px; }
.cbh-footer__logos img { width: 116px; height: 64px; }
.cbh-adrenaline { width: 125px; height: 64px; background: url("img/adrenaline.png") -14.4px -6.6px / 153.75px 77.2px no-repeat; }
.cbh-footer__info { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 32px; font-size: 14px; line-height: 1.3; color: var(--line); }
.cbh-footer__info li { display: flex; align-items: center; gap: 16px; }
.cbh-footer__info li + li::before { content: ""; width: 1px; height: 26px; background: var(--line); opacity: .32; }
.cbh-footer__name { font-size: 20px; font-weight: 500; letter-spacing: -.02em; color: var(--white); }

.cbh-green-badge { flex: none; width: 270px; background: var(--navy-2); padding: 8px; display: grid; gap: 8px; }
.cbh-green-badge__top { display: flex; align-items: center; justify-content: space-between; padding: 8px; }
.cbh-green-badge__txt { font-size: 14px; line-height: 1.1; letter-spacing: -.02em; color: var(--line); }
.cbh-green-badge__txt span { color: var(--light-ice); }
.cbh-green-badge__smiley { width: 48px; height: 48px; color: var(--light-ice); }
.cbh-green-badge__smiley svg { width: 48px; height: 48px; }
.cbh-green-badge__bottom { display: grid; gap: 1px; background: var(--light-ice); color: var(--navy); padding: 12px; font-size: 12px; line-height: 1.3; }

.cbh-footer__legal { background: var(--navy-2); padding: 16px 0; }
.cbh-footer__legal ul { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 36px; font-size: 14px; line-height: 1.3; }
.cbh-footer__legal li { display: flex; align-items: center; gap: 36px; }
.cbh-footer__legal li + li::before { content: ""; width: 1px; height: 18px; background: var(--line); opacity: .32; }

@media (max-width: 1280px) {
  :root { --gutter: 40px; }
  .cbh-nav__list { gap: 18px; }
  .cbh-header__right { gap: 24px; }
  .cbh-slide { flex-basis: min(880px, 78vw); }
}

@media (max-width: 1100px) {
  .cbh-nav, .cbh-header__actions { display: none; }
  .cbh-header__menu { display: inline-flex; }
  .cbh-header__menu[aria-expanded="true"] { background: var(--ice); }

  .cbh-services__grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .cbh-split-head { grid-template-columns: 1fr; gap: 16px; }
  .cbh-univers__grid { grid-template-columns: 1fr; max-width: 480px; }
  .cbh-footer__cols { flex-wrap: wrap; justify-content: flex-start; gap: 40px 64px; }
  .cbh-footer__sep { display: none; }
  .cbh-footer__col { flex: 1 1 40%; }
  .cbh-footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
  :root { --gutter: 16px; --section: 80px; }
  .cbh-h1 { font-size: 38px; }
  .cbh-h2 { font-size: 32px; letter-spacing: -.02em; } 
  .cbh-body-l { font-size: 18px; }
  .cbh-hero { padding: 136px 0 128px; }
  .cbh-hero__dots { bottom: 24px; padding-inline: 16px; }
}
@media (max-width: 560px) {
  .cbh-btn--primary-l, .cbh-btn--secondary-l { white-space: normal; height: auto; min-height: 56px; text-align: left; }
  .cbh-univers__cta .cbh-btn { width: 100%; }
}

@media (max-width: 440px) {
  .cbh-h1 { font-size: 32px; }
  .cbh-btn--primary-l, .cbh-btn--secondary-l { font-size: 18px; }
  .cbh-footer__logos { gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-split] .w > span, [data-reveal], [data-stagger] > * { transform: none !important; opacity: 1 !important; }
  .cbh-marquee__track { animation: none; }
}

/* ==========================================================================
   Correspondance maquette HTML ↔ blocs WordPress
   ========================================================================== */
:where(.cbx) a:where(:not(.wp-element-button)) { color: inherit; text-decoration: none; }
:where(.cbx) :is(h1, h2, h3, h4) { color: inherit; }
.cbx .wp-block-image, .cbx figure { margin: 0; }
.cbx .wp-block-buttons { display: flex; }

/* ---------- En-tête collant ---------- */
header.wp-block-template-part:has(.cbh-site-header) { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 100; }
@media (max-width: 600px) { header.wp-block-template-part:has(.cbh-site-header) { top: 0; } }
.cbh-site-header { position: relative; inset: auto; }
.cbh-header__logo { flex: none; }
.cbh-header__logo a { display: block; }
.cbh-header__logo img { width: 87px !important; height: 48px !important; object-fit: contain; }
.cbh-header__actions .wp-block-buttons { display: contents; }
.cbh-btn-icon svg { width: 20px; height: 20px; }

/* Navigation principale (bloc Navigation) */
.cbh-nav { font-size: 16px; line-height: 1.4; }
.cbh-nav .wp-block-navigation__container { gap: 24px; }
.cbh-nav .wp-block-navigation-item { position: relative; color: var(--white); }
.cbh-nav .wp-block-navigation-item__content {
  position: relative; color: var(--white); opacity: .64; padding: 0;
  transition: opacity .3s var(--ease-out);
}
.cbh-nav .wp-block-navigation-item__content::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.cbh-nav .wp-block-navigation-item__content:hover,
.cbh-nav .current-menu-item > .wp-block-navigation-item__content,
.cbh-nav .has-child:hover > .wp-block-navigation-item__content { opacity: 1; }
.cbh-nav .wp-block-navigation-item__content:hover::after { transform: scaleX(1); transform-origin: left; }
.cbh-nav .wp-block-navigation__submenu-icon {
  color: var(--white); opacity: .64; width: 12px; height: 12px; margin-left: 8px; padding: 0;
  transition: transform .35s var(--ease-out), opacity .3s;
}
.cbh-nav .wp-block-navigation__submenu-icon svg { width: 10px; height: 10px; stroke-width: 1.6; }
.cbh-nav .has-child:hover > .wp-block-navigation__submenu-icon,
.cbh-nav .wp-block-navigation__submenu-icon[aria-expanded="true"] { transform: rotate(180deg); opacity: 1; }

@media (min-width: 1101px) {
  .cbh-nav .wp-block-navigation__submenu-container {
    top: calc(100% + 22px) !important; left: -16px !important; min-width: 260px !important;
    background: var(--white) !important; color: var(--navy) !important; border: 0 !important;
    padding: 8px !important; gap: 0;
    box-shadow: 0 24px 48px -24px rgba(13, 31, 69, .45), 0 0 0 1px rgba(13, 31, 69, .06);
    transform: translateY(-6px);
    transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), visibility .3s !important;
  }
  .cbh-nav .wp-block-navigation__submenu-container .wp-block-navigation-item { color: var(--navy); }
  .cbh-nav .wp-block-navigation__submenu-container::before { content: ""; position: absolute; inset: -24px 0 100%; }
  .cbh-nav .has-child:hover > .wp-block-navigation__submenu-container,
  .cbh-nav .has-child:focus-within > .wp-block-navigation__submenu-container,
  .cbh-nav .wp-block-navigation__submenu-icon[aria-expanded="true"] + .wp-block-navigation__submenu-container { transform: none; }
  .cbh-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    color: var(--navy); opacity: 1; padding: 10px 12px !important; font-size: 15px; line-height: 1.35;
    transition: background-color .2s;
  }
  .cbh-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content::after { display: none; }
  .cbh-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--ice); }
}

/* Sous-menus : panneaux larges sous l'en-tête (largeur du site, liens sur 4 colonnes, carte « démo » à droite) */
@media (min-width: 1101px) {
  .cbh-nav .wp-block-navigation__submenu-container.cbh-mega {
    position: fixed; top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--header-h)) !important;
    left: 50% !important; right: auto !important;
    width: min(var(--container), calc(100vw - 2 * var(--gutter))) !important; min-width: 0 !important; height: auto !important;
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) 296px; grid-auto-rows: auto;
    gap: 0; padding: 0 0 20px !important;
    background: var(--white) !important; color: var(--navy) !important; border: 0 !important;
    box-shadow: 0 40px 64px -32px rgba(1, 17, 10, .45), 0 0 0 1px rgba(13, 31, 69, .06);
    transform: translate(-50%, -6px);
    transition: opacity .25s var(--ease-out), transform .35s var(--ease-out), visibility .25s !important;
  }
  /* Pont invisible entre le menu et le panneau */
  .cbh-nav .cbh-mega::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 30px; }
  .cbh-nav .has-child:hover > .cbh-mega,
  .cbh-nav .has-child:focus-within > .cbh-mega,
  .cbh-nav .wp-block-navigation__submenu-icon[aria-expanded="true"] + .cbh-mega { transform: translate(-50%, 0); }

  /* En-tête du panneau */
  .cbh-nav .cbh-mega > .cbh-mega__head {
    grid-column: 1 / 5; grid-row: 1; display: flex; align-items: center; gap: 12px;
    margin: 0 24px 8px; padding: 20px 0 16px; border-bottom: 1px solid var(--ice);
  }
  .cbh-mega__ico { width: 32px; height: 32px; flex: none; display: grid; place-items: center; background: var(--blue-ice); color: var(--deep); }
  .cbh-mega__ico svg { width: 15px; height: 15px; }
  .cbh-mega__nom { font-size: 18px; font-weight: 500; line-height: 1.3; letter-spacing: -.02em; color: var(--navy); }
  .cbh-nav .cbh-mega a.cbh-mega__voir {
    margin-left: auto; display: inline-flex; align-items: center; gap: 8px; padding: 0 !important;
    font-size: 14px; font-weight: 500; color: var(--blue); opacity: 1;
  }
  .cbh-mega__voir svg { width: 12px; height: 10px; transition: transform .3s var(--ease-out); }
  .cbh-nav .cbh-mega a.cbh-mega__voir:hover svg { transform: translateX(3px); }

  /* Liens : tuiles nom + description */
  .cbh-nav .cbh-mega > .wp-block-navigation-item { display: block; width: auto; padding: 0 8px; color: var(--navy); }
  .cbh-nav .cbh-mega > .wp-block-navigation-item:nth-child(4n + 2) { padding-left: 8px; }
  .cbh-nav .cbh-mega .wp-block-navigation-item__content {
    display: flex !important; flex-direction: column; align-items: flex-start; gap: 3px; height: 100%;
    padding: 12px 16px !important; color: var(--navy); opacity: 1; white-space: normal;
    transition: background-color .25s var(--ease-out);
  }
  .cbh-nav .cbh-mega .wp-block-navigation-item__content::after { display: none; }
  .cbh-nav .cbh-mega .wp-block-navigation-item__content:hover,
  .cbh-nav .cbh-mega .wp-block-navigation-item__content:focus-visible { background: var(--ice); }
  .cbh-nav .cbh-mega .wp-block-navigation-item__label { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; }
  .cbh-nav .cbh-mega .wp-block-navigation-item__description { display: block; font-size: 13px; line-height: 1.4; color: var(--muted); }
  .cbh-mega__arr { display: inline-grid; color: var(--blue); opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .3s var(--ease-out); }
  .cbh-mega__arr svg { width: 12px; height: 10px; }
  .cbh-nav .cbh-mega .wp-block-navigation-item__content:is(:hover, :focus-visible) .cbh-mega__arr { opacity: 1; transform: none; }
  .cbh-nav .cbh-mega .wp-block-navigation-item__content:focus-visible { outline-offset: -2px; }

  /* Carte de droite */
  .cbh-nav .cbh-mega > .cbh-mega__card {
    grid-column: 5; grid-row: 1 / span 8; align-self: stretch;
    display: flex; flex-direction: column; margin: 8px 8px -12px 0; padding: 24px;
    background: var(--deep); color: var(--blue-ice);
  }
  .cbh-mega__titre { font-size: 18px; font-weight: 500; line-height: 1.3; letter-spacing: -.02em; color: var(--white); }
  .cbh-nav .cbh-mega .cbh-mega__texte { margin-top: 8px; font-size: 14px; line-height: 1.45; color: var(--blue-ice); opacity: .85; }
  .cbh-nav .cbh-mega a.cbh-mega__cta {
    margin-top: auto; display: flex; align-items: center; justify-content: center; height: 45px; padding: 12px 16px !important;
    background: var(--ice); color: var(--navy); opacity: 1;
    font-size: 16px; font-weight: 500; line-height: 1.3; letter-spacing: -.02em;
    transition: background-color .3s var(--ease-out);
  }
  .cbh-nav .cbh-mega a.cbh-mega__cta:hover { background: var(--white); }
}
/* Menu mobile : liste simple, sans en-tête, descriptions ni carte */
@media (max-width: 1100px) {
  .cbh-mega__head, .cbh-mega__card, .cbh-mega__arr, .cbh-nav .wp-block-navigation-item__description { display: none !important; }
}
.cbh-nav .is-menu-open :is(.cbh-mega__head, .cbh-mega__card, .cbh-mega__arr, .wp-block-navigation-item__description) { display: none !important; }

/* Bouton « Menu » et menu mobile */
.cbh-nav .wp-block-navigation__responsive-container-open {
  background: var(--white); color: var(--navy); padding: 12px 16px; font-size: 16px; font-weight: 500;
  letter-spacing: -.02em; line-height: 1.3; box-shadow: inset 0 0 0 1px var(--line);
}
@media (max-width: 1100px) {
  .cbh-header__actions { display: none !important; }
  .cbh-nav { display: flex !important; }
  .cbh-nav .wp-block-navigation__responsive-container-open { display: inline-flex !important; }
  .cbh-nav .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none !important; }
}
.cbh-nav .wp-block-navigation__responsive-container.is-menu-open {
  background: var(--navy) !important; color: var(--white) !important;
  padding: 24px 16px 40px !important;
  animation: cbh-menu .6s var(--ease-in-out) both;
}
@keyframes cbh-menu { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.cbh-nav .is-menu-open .wp-block-navigation__responsive-container-close { color: var(--white); top: 24px; right: 16px; }
.cbh-nav .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 48px !important; align-items: stretch !important; }
.cbh-nav .is-menu-open .wp-block-navigation__container { gap: 0 !important; width: 100%; align-items: stretch !important; }
.cbh-nav .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item {
  width: 100%; padding: 14px 0; border-bottom: 1px solid var(--navy-2); align-items: flex-start !important;
}
.cbh-nav .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
  font-size: 32px; font-weight: 500; letter-spacing: -.04em; line-height: 1.1; opacity: 1;
}
.cbh-nav .is-menu-open .wp-block-navigation-item { color: var(--white); }
.cbh-nav .is-menu-open .wp-block-navigation-item__content::after { display: none; }
.cbh-nav .is-menu-open .wp-block-navigation__submenu-container { padding: 12px 0 0 !important; gap: 4px; }
.cbh-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  color: var(--white); opacity: .64; font-size: 17px; padding: 4px 0 !important;
}

/* ---------- Hero (l'en-tête n'est plus superposé : 80 px de moins en haut) ---------- */
.cbh-hero { padding-top: 112px; }
@media (max-width: 768px) { .cbh-hero { padding-top: 56px; } }
.cbh-hero__title { color: var(--white); }

/* ---------- Cartes de services ---------- */
.cbh-svc > .wp-block-buttons { display: flex; }
.cbh-svc .cbh-btn--block { width: 100%; }
.cbh-svc__top { flex: 1; }

/* ---------- Univers ---------- */
.cbh-uni:nth-child(1) .cbh-muted { max-width: 265px; }
.cbh-uni:nth-child(2) .cbh-muted { max-width: 200px; }
.cbh-uni:nth-child(3) .cbh-muted { max-width: 275px; }
.cbh-univers__cta.wp-block-buttons { display: flex; justify-content: center; }

/* ---------- Logos ---------- */
.cbh-marquee__track > .wp-block-image { flex: none; margin: 0; }
.cbh-marquee__track .wp-block-image img { height: 24px; width: auto; max-width: none; }

/* ---------- À la une (requête des derniers articles) ---------- */
.cbh-news__viewport .cbh-news__track { display: flex; gap: 24px; width: max-content; max-width: none; margin: 0; padding: 0 var(--pad); list-style: none; }
.cbh-news__track > li.wp-block-post { flex: 0 0 880px; height: 460px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; scroll-snap-align: start; margin: 0; }
@media (max-width: 1280px) { .cbh-news__track > li.wp-block-post { flex-basis: min(880px, 78vw); } }
.cbh-news__viewport .cbh-slide__media { position: relative; overflow: hidden; height: 100%; margin: 0; background: var(--white); }
.cbh-news__viewport .cbh-slide__media img { width: 100%; height: 100% !important; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.cbh-news__viewport .cbh-slide__media::after {
  content: ""; position: absolute; width: 370px; height: 370px; border-radius: 50%;
  background: var(--light-ice); opacity: .64; filter: blur(90px); pointer-events: none; left: 394px; top: 125px;
}
.cbh-news__viewport .cbh-slide--l .cbh-slide__media::after { left: -279px; top: 174px; }
.cbh-slide__card .cbh-slide__top { display: flex; flex-direction: column; gap: 12px; }
.cbh-slide__card .cbh-slide__headline { font-size: 24px; font-weight: 500; line-height: 1.2; letter-spacing: -.02em; }
.cbh-slide__card .wp-block-post-date { color: var(--muted); font-size: 16px; }
.cbh-slide__card .wp-block-post-excerpt { margin: 0; }
.cbh-slide__card .wp-block-post-excerpt__excerpt { color: var(--muted); font-size: 16px; line-height: 1.4; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.cbh-slide__card .wp-block-post-excerpt__more-text { margin: 16px 0 0; }
.cbh-slide__card .wp-block-post-excerpt__more-link { font-weight: 500; color: var(--deep);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease-out); }
.cbh-slide__card .wp-block-post-excerpt__more-link:hover { background-size: 100% 1px; }

/* ---------- Questions fréquentes ---------- */
.cbh-acc h3 { margin: 0; font-size: inherit; }
.cbh-acc__a p + p { margin-top: -12px; }

/* ---------- Pied de page ---------- */
.cbh-footer__col .wp-block-navigation { font-size: 16px; line-height: 1.4; }
.cbh-footer__col .wp-block-navigation__container { display: grid !important; gap: 12px !important; }
.cbh-footer__col .wp-block-navigation-item__content,
.cbh-footer__legal .wp-block-navigation-item__content {
  color: var(--line); padding: 0;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: color .3s, background-size .45s var(--ease-out);
}
.cbh-footer__col .wp-block-navigation-item, .cbh-footer__legal .wp-block-navigation-item { color: var(--line); transition: color .3s; }
.cbh-footer__col .wp-block-navigation-item:hover, .cbh-footer__legal .wp-block-navigation-item:hover { color: var(--white); }
.cbh-footer__col .wp-block-navigation-item__content:hover,
.cbh-footer__legal .wp-block-navigation-item__content:hover { color: var(--white); background-size: 100% 1px; }
.cbh-footer__col .cbh-h4 { color: var(--white); }
.cbh-footer__logos .wp-block-image img { width: 116px; height: 64px; }
.cbx .cbh-footer__info { padding: 0; list-style: none; }
.cbh-footer__legal .wp-block-navigation { font-size: 14px; line-height: 1.3; }
.cbh-footer__legal .wp-block-navigation__container { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 36px !important; }
.cbh-footer__legal .wp-block-navigation-item { display: flex; align-items: center; gap: 36px; }
.cbh-footer__legal .wp-block-navigation-item + .wp-block-navigation-item::before { content: ""; width: 1px; height: 18px; background: var(--line); opacity: .32; }

/* Sous-titre du hero, plus petit (comme sur claudebernard.fr : 48/32) */
.cbh-hero__sub { max-width: 910px; margin: 12px auto 0; font-size: 32px; font-weight: 500; line-height: 1.2; letter-spacing: -.03em; color: var(--white); }
.cbh-hero__sub .w > span { transition-delay: calc(var(--wi, 0) * 40ms + .2s); }
@media (max-width: 768px) { .cbh-hero__sub { font-size: 24px; margin-top: 8px; } }
@media (max-width: 440px) { .cbh-hero__sub { font-size: 21px; } }

/* Le thème souligne les liens au survol : déjà fait par les traits animés de la maquette */
.cbx a:where(:not(.wp-element-button)):is(:hover, :focus, :active),
.cbx .wp-block-navigation-item__content,
.cbx .wp-block-navigation-item__content:hover,
.cbx .wp-block-navigation-item__label { text-decoration: none !important; }

/* ---------- Recherche : suggestions en direct ---------- */
.cbh-search { position: relative; }
.cbh-hero.has-suggest { overflow: visible; z-index: 5; }
.cbh-search.is-suggest { background: rgba(255, 255, 255, .2); }
.cbh-suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 20;
  text-align: left; color: var(--navy); background: var(--white); border-radius: 12px; overflow: hidden;
  box-shadow: 0 24px 64px -12px rgba(1, 17, 10, .45), 0 0 0 1px rgba(13, 31, 69, .06);
  animation: cbh-suggest-in .28s var(--ease-out);
}
.cbh-suggest[hidden] { display: none; }
@keyframes cbh-suggest-in { from { opacity: 0; transform: translateY(-6px); } }
.cbh-suggest__head {
  display: flex; justify-content: space-between; gap: 16px; padding: 14px 20px 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
.cbh-suggest__list { max-height: min(400px, 52vh); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.cbx .cbh-sg {
  position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto 20px; align-items: center; gap: 16px;
  padding: 10px 20px; border-top: 1px solid var(--ice); color: var(--navy);
  transition: background-color .2s var(--ease-out);
}
.cbh-sg::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--teal); transform: scaleY(0); transition: transform .25s var(--ease-out); }
.cbh-sg.is-active, .cbh-sg:hover { background: var(--ice-2); }
.cbh-sg.is-active::before, .cbh-sg:hover::before { transform: scaleY(1); }
.cbh-sg__ill {
  width: 48px; height: 48px; display: grid; place-items: center; border-radius: 8px;
  background: var(--ice); color: var(--navy-2); overflow: hidden;
}
.cbh-sg__ill img { width: 100%; height: 100%; object-fit: contain; padding: 4px; mix-blend-mode: multiply; }
.cbh-sg__ill svg { width: 22px; height: 22px; }
.cbh-sg--marque .cbh-sg__ill { background: var(--navy); color: var(--white); }
.cbh-sg--gen .cbh-sg__ill { background: var(--light-ice); color: var(--teal-dark); }
.cbh-sg__txt { display: grid; gap: 3px; min-width: 0; }
.cbh-sg__lib {
  font-size: 15px; font-weight: 500; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cbh-sg--marque .cbh-sg__lib, .cbh-sg--gen .cbh-sg__lib { font-weight: 600; letter-spacing: .01em; }
.cbh-sg__sub { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13px; line-height: 1.3; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cbh-sg__type {
  flex: none; padding: 2px 7px; border-radius: 4px; font-size: 11px; font-weight: 600; letter-spacing: .03em;
  background: var(--ice); color: var(--navy-2);
}
.cbh-sg--marque .cbh-sg__type { background: var(--navy); color: var(--white); }
.cbh-sg--gen .cbh-sg__type { background: var(--light-ice); color: var(--teal-dark); }
.cbh-sg mark { background: none; color: inherit; font-weight: 700; box-shadow: inset 0 -.38em 0 var(--light-ice); }
.cbh-sg__sub mark { font-weight: 600; box-shadow: none; color: var(--navy-2); }
.cbh-sg__pict {
  width: 30px; height: 30px; display: grid; place-items: center; border-radius: 6px;
  background: #fff1c2; color: #8a6100;
}
.cbh-sg__pict svg { width: 18px; height: 18px; }
.cbh-sg__go { color: var(--blue); opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .25s var(--ease-out); }
.cbh-sg__go svg { width: 18px; height: 18px; }
.cbh-sg.is-active .cbh-sg__go, .cbh-sg:hover .cbh-sg__go { opacity: 1; transform: none; }
.cbx .cbh-suggest__all {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 20px;
  background: var(--ice); color: var(--navy); font-size: 14px; border-top: 1px solid var(--line);
  transition: background-color .2s var(--ease-out);
}
.cbx .cbh-suggest__all:hover { background: var(--blue-ice); }
.cbh-suggest__all strong { font-weight: 600; color: var(--blue); }
.cbh-suggest__keys { flex: none; display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); }
.cbh-suggest__keys kbd {
  min-width: 22px; height: 22px; padding: 0 5px; display: inline-grid; place-items: center; border-radius: 4px;
  font: 600 11px/1 var(--font); color: var(--navy-2); background: var(--white); box-shadow: 0 1px 0 var(--line), 0 0 0 1px var(--line);
}
.cbh-suggest__keys kbd + kbd { margin-left: 0; }
.cbh-suggest__keys kbd:last-child { margin-left: 6px; }
.cbh-suggest__empty { padding: 24px 20px; font-size: 14px; line-height: 1.5; color: var(--muted); }
@media (max-width: 640px) {
  .cbx .cbh-sg { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; padding: 10px 14px; }
  .cbh-sg__ill { width: 40px; height: 40px; }
  .cbh-sg__go, .cbh-suggest__keys { display: none; }
  .cbh-sg__lib { font-size: 14px; }
  .cbh-suggest__head, .cbx .cbh-suggest__all { padding-inline: 14px; }
}
@media (prefers-reduced-motion: reduce) { .cbh-suggest { animation: none; } }

/* Liens légaux : une seule ligne sur ordinateur ; si l'écran est trop étroit, le trait de début de ligne est masqué */
.cbh-footer__legal .wp-block-navigation { font-size: 13px; }
.cbh-footer__legal nav.wp-block-navigation { overflow: hidden; }
.cbh-footer__legal .wp-block-navigation__container { gap: 10px 16px !important; margin-left: -17px !important; flex: 1 1 auto; flex-wrap: nowrap; justify-content: space-between; }
.cbh-footer__legal .wp-block-navigation-item { gap: 16px; white-space: nowrap; }
.cbh-footer__legal .wp-block-navigation-item::before { content: ""; width: 1px; height: 16px; background: var(--line); opacity: .32; flex: none; }
@media (max-width: 1359px) {
  .cbh-footer__legal .wp-block-navigation__container { flex-wrap: wrap; justify-content: flex-start; }
}

/* Illustrations des cartes de services (bloc Image, remplaçable dans l'éditeur) */
.cbh-svc .cbh-svc__illu { display: flex; align-items: center; justify-content: center; margin: 0 !important; height: 213px; max-width: none; }
.cbh-svc .cbh-svc__illu img { width: 100%; height: 100%; object-fit: contain; }

/* Boutons : le libellé ne se coupe jamais en deux (« Nous contacter » sur mobile) */
.cbx .cbh-btn > span:first-child { white-space: nowrap; }

/* Illustrations des services : plus petites et centrées dans la zone visuelle */
.cbh-svc .cbh-svc__illu { padding: 28px 40px 16px; box-sizing: border-box; }
.cbh-svc .cbh-svc__illu img { width: auto; height: auto; max-width: 100%; max-height: 156px; }

/* Carrousel « À la une » : défilement fluide (pas de flou recalculé, aimantation souple) */
.cbh-news__viewport { scroll-snap-type: x proximity; touch-action: pan-x pan-y; -webkit-overflow-scrolling: touch; }
.cbh-news__viewport .cbh-slide__media { transform: translateZ(0); }
.cbh-news__viewport .cbh-slide__media::after {
  filter: none; opacity: 1; width: 730px; height: 730px; left: 214px; top: -55px;
  background: radial-gradient(closest-side, rgba(216, 246, 248, .64) 25%, rgba(216, 246, 248, 0) 100%);
}
.cbh-news__viewport .cbh-slide--l .cbh-slide__media::after { left: -459px; top: -6px; }

/* Titres du carrousel « À la une » : au survol, seule la couleur change (pas de soulignement) */
.cbx .cbh-slide__headline a, .cbx .cbh-slide__headline a:hover { background-image: none !important; text-decoration: none !important; }
