/* ChB Consultants : design en blocs natifs. Couleurs modifiables ici uniquement. */
:root{--n1:#05101e;--n2:#001f42;--n3:#003366;--a:#0a5fb4;--a2:#5b9be0;--ink:#16263a;--muted:#5a6b7e;--line:#e3e9f0;--tint:#f5f8fb;--warm:#d4521e;--r:18px;
  --font:"Helvetica Neue",Helvetica,Arial,sans-serif;--theme-font-family:var(--font)}
html body,body :where(h1,h2,h3,h4,p,li,a,button,input,select,textarea,label,span,div,figcaption),.wp-block-button__link,.ct-menu-link{font-family:var(--font)!important}
.chb-page{color:var(--ink)}
.chb-page .site-main [data-vertical-spacing],.chb-page .site-main>div>[class*="ct-container"]{padding-top:0!important;padding-bottom:0!important}
.chb-page .hero-section{display:none!important}
.chb-page .entry-content{margin:0}
.chb-page .entry-content>.alignfull{margin-top:0!important;margin-bottom:0!important}
.chb-page .entry-content :where(p,li){font-size:1.04rem;line-height:1.7;color:var(--ink)}
.chb-page :where(h1,h2,h3){color:var(--n1);letter-spacing:-.025em;font-weight:700}
.chb-page h2.wp-block-heading{font-size:clamp(1.75rem,2.8vw,2.4rem);line-height:1.12;margin:0 0 20px}
.chb-page h3.wp-block-heading{font-size:1.15rem;line-height:1.3;margin:0 0 8px}
.chb-page a{color:var(--a)}
.chb-page .alignfull{width:100vw;max-width:100vw;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;box-sizing:border-box}
.chb-section{padding:96px 24px!important}
.chb-section-tight{padding-top:0!important}
.chb-page .chb-section>*:not(.alignfull),.chb-page .chb-pagehead>*{max-width:1160px!important;margin-left:auto!important;margin-right:auto!important}
.chb-tint{background:var(--tint)}
.chb-page .wp-block-columns{gap:32px;margin-bottom:0}
.chb-split{gap:64px!important}
.chb-page p.chb-eyebrow{display:flex;align-items:center;gap:10px;font-size:.76rem!important;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--a)!important;margin:0 0 14px!important}
.chb-page p.chb-eyebrow::before{content:"";width:22px;height:2px;background:var(--warm);border-radius:2px}
.chb-page .chb-intro{color:var(--muted)!important;max-width:640px;margin:-6px 0 36px!important}
.chb-rounded img{border-radius:var(--r);width:100%;box-shadow:0 30px 60px rgba(0,31,66,.16)}
.chb-page .wp-block-image{margin-bottom:0}
/* boutons */
.chb-page .wp-block-buttons{gap:12px;margin-top:30px}
.chb-page .wp-block-button__link{border-radius:999px!important;padding:15px 28px!important;font-weight:700!important;font-size:1rem!important;text-decoration:none!important;transition:background .2s,transform .2s}
.chb-page .wp-block-button__link:hover{transform:translateY(-1px)}
.chb-btn-light .wp-block-button__link{background:#fff!important;color:var(--n2)!important}
.chb-btn-ghost .wp-block-button__link{background:rgba(255,255,255,.06)!important;color:#fff!important;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.55)}
.chb-btn-dark .wp-block-button__link{background:var(--n3)!important;color:#fff!important}
/* héros */
.wp-block-cover.chb-hero{min-height:min(88vh,720px)!important;padding:120px max(24px,calc((100vw - 1160px)/2)) 96px!important;align-items:flex-end}
.wp-block-cover.chb-hero-sm{min-height:520px!important}
.wp-block-cover.chb-hero .wp-block-cover__background{background:linear-gradient(100deg,rgba(0,31,66,.94) 0%,rgba(0,31,66,.78) 45%,rgba(0,51,102,.25) 100%)!important;opacity:1!important}
.wp-block-cover.chb-hero .wp-block-cover__inner-container{max-width:1160px!important;width:100%;margin:0 auto!important}
.wp-block-cover.chb-hero .wp-block-cover__inner-container>*{max-width:720px;margin-left:0!important;margin-right:auto!important}
.chb-page .chb-hero p.chb-eyebrow{color:#cfe2f7!important}
.chb-page .chb-hero-title{color:#fff!important;font-size:clamp(2.6rem,6vw,4.6rem)!important;line-height:1.02!important;letter-spacing:-.04em!important;margin:0 0 20px!important}
.chb-page .chb-hero-lead{color:rgba(255,255,255,.86)!important;font-size:clamp(1.05rem,1.6vw,1.25rem)!important;max-width:620px}
.chb-pagehead{background:linear-gradient(110deg,var(--n2),var(--n3) 60%,#0d4f8f);padding:120px 24px 110px!important}
/* chiffres */
.chb-figures{background:var(--n2);padding:40px 24px!important}
.chb-figures-row{max-width:1160px;margin:0 auto!important}
.chb-figures-row>.wp-block-column{border-left:1px solid rgba(255,255,255,.14);padding-left:28px}
.chb-figures-row>.wp-block-column:first-child{border-left:0;padding-left:0}
.chb-page p.chb-num{color:#fff!important;font-size:clamp(2rem,3.6vw,2.9rem)!important;font-weight:700;letter-spacing:-.04em;line-height:1;margin:0 0 8px!important}
.chb-page p.chb-num-t{color:rgba(255,255,255,.72)!important;font-size:.92rem!important;margin:0!important}
/* cartes */
.chb-cards{gap:20px!important;margin-top:8px!important}
.chb-cards+.chb-cards{margin-top:20px!important}
.chb-card{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:30px 28px!important;transition:box-shadow .25s,transform .25s,border-color .25s}
.chb-card:hover{box-shadow:0 24px 50px rgba(0,31,66,.10);transform:translateY(-3px);border-color:transparent}
.chb-card-sm{padding:26px 24px!important}
.chb-page p.chb-card-n{font-size:.8rem!important;font-weight:700;letter-spacing:.1em;color:var(--warm)!important;margin:0 0 18px!important}
.chb-page .chb-card>p:not(.chb-card-n):not(.chb-more){color:var(--muted)!important;font-size:.98rem!important}
.chb-ticks{list-style:none;padding:0!important;margin:14px 0 0!important}
.chb-ticks li{position:relative;padding:6px 0 6px 26px!important;font-size:.96rem!important;border-top:1px solid var(--line)}
.chb-ticks li:first-child{border-top:0}
.chb-ticks li::before{content:"";position:absolute;left:0;top:13px;width:12px;height:12px;border-radius:50%;box-shadow:inset 0 0 0 3.5px var(--a)}
.chb-page p.chb-more{margin:18px 0 0!important}
.chb-more a{font-weight:700;text-decoration:none}
.chb-more a span{display:inline-block;transition:transform .2s}.chb-more a:hover span{transform:translateX(4px)}
/* section sombre */
.chb-dark{background:radial-gradient(1200px 500px at 85% 0%,rgba(10,95,180,.35),transparent 60%),var(--n1)}
.chb-page .chb-dark :where(h2,h3){color:#fff!important}
.chb-page .chb-dark p{color:rgba(255,255,255,.72)!important}
.chb-page .chb-dark p.chb-eyebrow{color:var(--a2)!important}
.chb-values{gap:20px!important}.chb-values+.chb-values{margin-top:20px!important}
.chb-value,.chb-steps>.wp-block-column{border-top:1px solid rgba(255,255,255,.16);padding-top:22px}
.chb-page p.chb-value-n{color:var(--a2)!important;font-weight:700;font-size:.82rem!important;letter-spacing:.1em;margin:0 0 10px!important}
.chb-steps{gap:28px!important;margin-top:16px!important}
/* équipe */
.chb-people{gap:28px!important;margin-top:8px!important}
.chb-person-img img{border-radius:var(--r);aspect-ratio:3/2;object-fit:cover;object-position:center 25%;width:100%}
.chb-person-img{margin:0 0 18px!important}
.chb-page p.chb-role{font-size:.78rem!important;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--a)!important;margin:0 0 6px!important}
.chb-person>p:not(.chb-role):not(.chb-more){color:var(--muted)!important}
.chb-portrait img{aspect-ratio:4/5;object-fit:cover;object-position:center 20%}
.chb-page p.chb-cred{color:var(--muted)!important;font-size:.92rem!important;padding-bottom:18px;border-bottom:1px solid var(--line);margin-bottom:22px!important}
.chb-timeline{list-style:none;padding:0!important;margin:26px 0!important;border-left:2px solid var(--line)}
.chb-timeline li{position:relative;padding:6px 0 6px 22px!important;font-size:.96rem!important}
.chb-timeline li::before{content:"";position:absolute;left:-7px;top:13px;width:12px;height:12px;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 3px var(--a)}
.chb-timeline strong{color:var(--n3);margin-right:6px}
.chb-page p.chb-honours{font-weight:600;color:var(--n3)!important}
.chb-page p.chb-tags{color:var(--muted)!important;font-size:.9rem!important}
.wp-block-gallery.chb-field{gap:16px!important}
.wp-block-gallery.chb-field .wp-block-image img{border-radius:14px;aspect-ratio:4/3;object-fit:cover}
/* appel à l’action */
.chb-cta{background:linear-gradient(110deg,var(--n2),var(--n3) 60%,#0d4f8f);padding:80px 24px!important}
.chb-page .chb-cta h2{color:#fff!important;margin-bottom:8px!important}
.chb-page .chb-cta p{color:rgba(255,255,255,.8)!important}
.chb-cta .wp-block-buttons{justify-content:flex-end;margin-top:0}
/* contact */
.chb-contact{padding-top:0!important}
.chb-contact-card{background:#fff;border:1px solid var(--line);border-radius:26px;box-shadow:0 30px 70px rgba(0,31,66,.12);margin-top:-64px!important;position:relative;overflow:hidden;gap:0!important}
.chb-contact-side{background:var(--tint);padding:40px 34px!important}.chb-contact-main{padding:40px 38px!important}
.chb-chans{display:grid;gap:12px;margin-top:14px!important}
.chb-page p.chb-chan{margin:0!important}
.chb-chan a{display:block;min-height:70px;padding:14px 16px 14px 72px;line-height:1.4;border:1px solid var(--line);border-radius:16px;background:#fff;text-decoration:none!important;position:relative;color:var(--muted)!important;font-size:.92rem}
.chb-chan a:hover{border-color:var(--a)}
.chb-chan a strong{color:var(--n1);font-size:1rem}
.chb-chan a::before{content:"";position:absolute;left:16px;top:50%;margin-top:-20px;width:40px;height:40px;border-radius:12px;background:linear-gradient(135deg,var(--n3),var(--a))}
.chb-chan a::after{content:"";position:absolute;left:26px;top:50%;margin-top:-10px;width:20px;height:20px;background:#fff;-webkit-mask:var(--ic) center/contain no-repeat;mask:var(--ic) center/contain no-repeat}
.chb-chan-mail a{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18v14H3zm2 2v.5l7 4.5 7-4.5V7z'/%3E%3C/svg%3E")}
.chb-chan-tel a{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1z'/%3E%3C/svg%3E")}
.chb-chan-office a{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E")}
/* formulaire Contact Form 7 */
.chb-page .wpcf7 input:not([type=submit]),.chb-page .wpcf7 textarea{width:100%;border:1px solid var(--line)!important;background:var(--tint)!important;border-radius:12px!important;padding:13px 16px!important;font-size:1rem!important;color:var(--ink)!important;box-shadow:none!important}
.chb-page .wpcf7 input:focus,.chb-page .wpcf7 textarea:focus{border-color:var(--a)!important;background:#fff!important;outline:0}
.chb-page .wpcf7 input[type=submit]{background:var(--n3)!important;color:#fff!important;border:0!important;border-radius:999px!important;padding:14px 30px!important;font-weight:700!important;cursor:pointer}
.chb-page .wpcf7 input[type=submit]:hover{background:var(--a)!important}
.chb-page .wpcf7 p{margin:0 0 14px!important}
/* en-tête : menu en gras, centré, soulignement animé ; « Contact » en bouton */
.ct-header [data-id="menu"] .ct-menu-link{font-weight:700!important;text-transform:none!important;letter-spacing:0!important;font-size:15px!important;position:relative}
.ct-header [data-id="menu"] .menu>li>.ct-menu-link::after{content:"";position:absolute;left:var(--menu-items-spacing,14px);right:var(--menu-items-spacing,14px);bottom:calc(50% - 15px);height:2px;border-radius:2px;background:var(--warm);transform:scaleX(0);transition:transform .25s}
.ct-header [data-id="menu"] .menu>li>.ct-menu-link:hover::after,.ct-header [data-id="menu"] .menu>li.current-menu-item>.ct-menu-link::after{transform:scaleX(1)}
@media(min-width:1200px){
 .ct-header [data-device="desktop"] [data-row="middle"] .ct-container{position:relative}
 .ct-header [data-device="desktop"] [data-column="end"] [data-id="menu"]{position:absolute;left:50%;top:0;bottom:0;transform:translateX(-50%);margin:0}
}
/* pied de page minimal */
footer#footer{font-size:14px}
@media(max-width:781px){
 .chb-section{padding:64px 20px!important}
 .wp-block-cover.chb-hero{padding:110px 20px 64px!important;min-height:600px!important}
 .wp-block-cover.chb-hero-sm{min-height:460px!important}
 .chb-split{gap:32px!important}
 .chb-page .wp-block-columns.chb-figures-row{flex-wrap:wrap!important;gap:22px 0!important}
 .chb-page .chb-figures-row>.wp-block-column{flex-basis:50%!important;border-left:0;padding-left:0}
 .chb-cta .wp-block-buttons{justify-content:flex-start;margin-top:12px}
 .chb-contact-card{margin-top:-36px!important}
 .chb-contact-side,.chb-contact-main{padding:26px 22px!important}
 .chb-pagehead{padding:90px 20px 80px!important}
}
@media(prefers-reduced-motion:reduce){.chb-page *{transition:none!important}}
.chb-chan a br{display:none}.chb-chan a strong{display:block}
/* sélecteur clair / sombre */
.chb-theme-btn{border:1px solid var(--line);background:transparent;color:var(--n2);width:34px;height:34px;border-radius:50%;display:inline-grid;place-items:center;cursor:pointer;margin-left:12px;padding:0}
.chb-theme-btn:hover{border-color:var(--n3)}.chb-theme-btn .i-sun{display:none}
html[data-chb-theme="dark"] .chb-theme-btn .i-moon{display:none}html[data-chb-theme="dark"] .chb-theme-btn .i-sun{display:block}
.chb-chan-in a{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9h3v9H6zM7.5 4.5a1.7 1.7 0 1 1 0 3.4 1.7 1.7 0 0 1 0-3.4zM11 9h2.9v1.3c.4-.8 1.4-1.5 2.9-1.5 3 0 3.6 2 3.6 4.5V18h-3v-4.2c0-1 0-2.3-1.4-2.3s-1.6 1.1-1.6 2.2V18h-3z'/%3E%3C/svg%3E")}
.chb-page p.chb-placeholder{background:#fff7e6;border:1px dashed #e0a43a;border-radius:10px;padding:10px 14px;color:#8a5a00!important}
.chb-btn-line .wp-block-button__link{background:transparent!important;color:var(--n3)!important;box-shadow:inset 0 0 0 1.5px var(--line)}
/* thème sombre */
html[data-chb-theme="dark"]{color-scheme:dark;--ink:#d8e2ee;--muted:#9fb0c4;--line:#1f3049;--tint:#0a1626;--theme-palette-color-3:#d8e2ee;--theme-palette-color-4:#ffffff;--theme-palette-color-6:#0c1a2e;--theme-palette-color-7:#0a1626;--theme-palette-color-8:#05101e}
html[data-chb-theme="dark"] body,html[data-chb-theme="dark"] #main-container,html[data-chb-theme="dark"] .site-main{background:#05101e!important;color:#d8e2ee}
html[data-chb-theme="dark"] header#header [data-row],html[data-chb-theme="dark"] footer#footer [data-row]{background:#05101e!important;border-color:#1f3049!important}
html[data-chb-theme="dark"] .ct-menu-link,html[data-chb-theme="dark"] header#header svg,html[data-chb-theme="dark"] footer#footer,html[data-chb-theme="dark"] footer#footer a{color:#d8e2ee!important;fill:#d8e2ee!important}
html[data-chb-theme="dark"] .chb-page :where(h1,h2,h3){color:#fff}
html[data-chb-theme="dark"] :where(.chb-card,.chb-contact-card,.chb-chan a){background:#0c1a2e!important;border-color:#1f3049!important}
html[data-chb-theme="dark"] .chb-contact-side{background:#0a1626!important}
html[data-chb-theme="dark"] .chb-btn-light .wp-block-button__link{color:#001f42!important}
html[data-chb-theme="dark"] .chb-btn-line .wp-block-button__link{color:#d8e2ee!important}
html[data-chb-theme="dark"] .chb-timeline li::before{background:#05101e}
html[data-chb-theme="dark"] .chb-page .wpcf7 input:not([type=submit]),html[data-chb-theme="dark"] .chb-page .wpcf7 textarea{background:#0a1626!important;color:#d8e2ee!important}
html[data-chb-theme="dark"] .site-logo-container img{background:#fff;border-radius:8px;padding:4px}
html[data-chb-theme="dark"] .site-logo-container img{background:#fff;border-radius:12px;padding:4px 8px;box-sizing:content-box}
