/*
 * Aurelian Belcourt — Maquette fidelity / correctifs v0.3.0
 * Référence : fichiers HTML/CSS fournis dans Aurelian-Belcourt-site-v18.
 * Cette feuille vient APRÈS les styles natifs et les correctifs v0.2.
 * Objectifs : préserver le langage visuel du client, stabiliser les dimensions,
 * garantir la lisibilité sans grossir artificiellement le footer.
 */
:root{
  --ab-ink:#103c30;
  --ab-muted:#476459;
  --ab-ivory:#f4f3ed;
  --ab-paper:#fcfbf8;
  --ab-gold:#ad8955;
}
html{scroll-padding-top:calc(var(--ab-nav-h,88px) + 20px)}
body.ab-theme{font-family:var(--sans,Arial,sans-serif);background:var(--ivory,#f4f3ed);color:var(--ink,#17342d)}
body.ab-theme .abstudio-main{width:100%;overflow-x:clip}
body.ab-theme :is(.home-hero,.leaders-hero,.investor-hero,.expat-hero,.page-hero) {isolation:isolate}
body.ab-theme :is(.nav-wrap,.home-nav,.inner-nav){box-sizing:border-box}
body.ab-theme .nav-wrap :is(.brand,.official-logo){flex-shrink:0}
body.ab-theme .nav-wrap nav a{transition:color .2s ease,opacity .2s ease}
body.ab-theme .nav-wrap nav a:hover{color:#80663f}
body.ab-theme .nav-wrap :is(.official-logo){object-fit:contain;display:block}
body.ab-theme .nav-wrap .abstudio-menu-toggle{display:none}
body.ab-theme .nav-wrap .abstudio-nav{align-items:center}
body.ab-theme .nav-wrap .nav-cta{white-space:nowrap}
body.ab-theme .nav-wrap :is(nav a,.nav-cta){font-size:15px;line-height:1.45}
body.ab-theme .home-nav{background:rgba(246,245,239,.96);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
/* Accueil : respecter le diptyque texte/portrait de la v18. */
body.ab-theme.ab-page-accueil .home-hero{
  grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);
  padding-inline:clamp(24px,5.4vw,100px);
  column-gap:clamp(35px,3.3vw,70px);
  min-height:calc(100svh - var(--ab-nav-h,88px));
}
body.ab-theme.ab-page-accueil .home-hero h1{
  font-family:var(--serif,Georgia,serif);
  font-size:clamp(49px,4.6vw,82px);
  font-weight:400;
  letter-spacing:-.057em;
  line-height:1.02;
  margin:clamp(17px,2.1vw,30px) 0 22px;
  color:var(--ab-ink);
  max-width:none;
  text-wrap:balance;
}
body.ab-theme.ab-page-accueil .home-hero h1 em{color:#648571;font-weight:400}
body.ab-theme.ab-page-accueil .home-hero .lead{
  font:clamp(18px,1.3vw,22px)/1.55 var(--serif,Georgia,serif);
  max-width:730px;
}
body.ab-theme.ab-page-accueil .home-hero .hero-thought{font-size:16px;line-height:1.7}
body.ab-theme.ab-page-accueil .home-hero .hero-actions{margin-top:25px}
body.ab-theme.ab-page-accueil .imperial-visual{height:clamp(410px,37vw,660px);max-width:100%;overflow:hidden}
body.ab-theme.ab-page-accueil .imperial-visual>img{object-fit:cover;object-position:53% 28%;mix-blend-mode:multiply}
body.ab-theme.ab-page-accueil .imperial-visual>p{bottom:28px;right:25px;max-width:76%}
/* Galerie et sections : conservation des colonnes de la maquette, mais pas de débordement. */
body.ab-theme :is(.home-section,.leaders-section,.investor-section,.expat-section,.page-section){overflow-x:clip}
body.ab-theme :is(.three-steps,.expertise-home-grid,.world-grid,.solution-grid,.method-timeline,.split-title,.horizon-layout,.global-view) > *{min-width:0}
body.ab-theme .world-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
body.ab-theme .world-card{min-width:0}
body.ab-theme .world-card h3{font-size:clamp(26px,2.5vw,35px)}
body.ab-theme .world-card p{font-size:16px;line-height:1.65}
body.ab-theme .split-title{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr)}
body.ab-theme .expertise-home-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
body.ab-theme .method-timeline article{grid-template-columns:65px minmax(0,1fr) minmax(0,1fr)}
body.ab-theme .living-line{overflow:hidden;max-width:100vw;contain:paint}
body.ab-theme .living-line>div{will-change:transform}
body.ab-theme :is(.global-network,.network-stage,.global-network-wrap){max-width:100%;overflow:hidden}
body.ab-theme :is(.world-map,.global-network,.compact-network){isolation:isolate}
body.ab-theme .global-network :is(.orbit,.orbit-a,.orbit-b,.orbit-c){pointer-events:none}
/* Typographie lisible sur les contenus, sans transformer les petits labels en gros titres. */
body.ab-theme .abstudio-main :is(.eyebrow,.kicker,.hero-pill,.section-index,.circle-status,.values-line,.country-line,.territory-row,.legal-note,.reg-note,.form-note){font-size:max(15px,1em);line-height:1.55}
body.ab-theme .abstudio-main :is(.section-index,.eyebrow,.kicker,.hero-pill){letter-spacing:.13em}
body.ab-theme .abstudio-main :is(.editorial-copy p,.editorial-lead,.world-card p,.home-section p,.leaders-section p,.investor-section p,.expat-section p,.page-section p){font-size:clamp(16px,1.1vw,19px);line-height:1.7}
body.ab-theme .abstudio-main :is(.lead,.hero-thought){overflow-wrap:normal}
body.ab-theme .abstudio-main :is(.button,.text-link){font-size:15px!important;line-height:1.4;min-height:44px}
body.ab-theme .abstudio-main :is(input,select,textarea){font-size:max(16px,1em);max-width:100%}
body.ab-theme .abstudio-main :is(label,summary){font-size:max(16px,1em)}
body.ab-theme .abstudio-main :is(.world-card,.audience-card,.solution-card,.expertise-card) :is(h3,p){overflow-wrap:break-word}
/* Maintenir les proportions des illustrations et éviter les recadrages hasardeux. */
body.ab-theme .abstudio-main :is(.editorial-image,.visual-image,.image-card) img{max-width:100%;height:auto}
body.ab-theme .philosophy-portrait{overflow:hidden}
body.ab-theme .philosophy-portrait>img{width:100%;height:100%;object-fit:cover;object-position:center 32%;left:0;top:0}
body.ab-theme .button.dark:hover{background:#24594b}
body.ab-theme a:not(.button):focus-visible{outline-color:var(--ab-gold)}
/* Le footer conserve volontairement sa hiérarchie discrète de la maquette. */
body.ab-theme footer :is(p,a,small){line-height:1.6}
/* Gabarit WordPress de secours : pas de bouton Menu au milieu du desktop. */
body.ab-theme .ab-fallback-nav{display:flex;align-items:center;justify-content:space-between;gap:clamp(14px,2vw,35px);padding:0 4vw}
body.ab-theme .ab-fallback-nav nav.abstudio-nav{margin-left:auto;display:flex;gap:clamp(10px,1.2vw,24px)}
body.ab-theme .ab-fallback-nav nav.abstudio-nav a{white-space:nowrap;font-size:clamp(13px,1vw,15px)}
body.ab-theme .ab-fallback-nav .abstudio-menu-toggle{display:none}
body.ab-theme .ab-fallback-nav .official-logo{width:clamp(175px,16vw,230px);max-height:75px}
body.ab-theme .ab-default-content{max-width:1250px;margin:0 auto;min-height:55vh;padding:clamp(65px,7vw,110px) 6vw}
body.ab-theme .ab-default-content :is(p,li){font-size:clamp(16px,1.22vw,19px);line-height:1.75}
body.ab-theme .ab-default-content img{max-width:100%;height:auto}
/* Jusqu'à 1240 px, on passe au menu contrôlé : éviter nav écrasée. */
@media(max-width:1240px){
 body.ab-theme .nav-wrap,body.ab-theme .inner-nav,body.ab-theme .home-nav{height:76px;min-height:76px;padding:0 5vw;display:flex;align-items:center;justify-content:space-between;position:relative;overflow:visible}
 body.ab-theme .home-nav{position:sticky;top:0}
 body.ab-theme.admin-bar .home-nav{top:32px}
 body.ab-theme .nav-wrap .nav-cta{display:none!important}
 body.ab-theme .nav-wrap .abstudio-menu-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;position:relative;z-index:102;min-height:44px;font-size:15px;border:1px solid #9cb1a6;border-radius:3px;background:#fff;color:#123e33;cursor:pointer;padding:10px 14px}
 body.ab-theme .nav-wrap .brand{margin-right:auto;max-width:calc(100% - 114px);min-width:0}
 body.ab-theme .nav-wrap .official-logo{width:clamp(158px,19vw,220px);max-height:64px;height:auto}
 body.ab-theme .nav-wrap nav.abstudio-nav,
 body.ab-theme .ab-fallback-nav nav.abstudio-nav{
   display:none!important;position:absolute;z-index:101;inset:calc(100% - 1px) 0 auto 0;
   width:100%;max-width:none;max-height:calc(100dvh - 75px);overflow-y:auto;
   background:#f8f7f1;box-shadow:0 20px 30px rgba(8,43,35,.17);
   border-top:1px solid #cbd5cd;margin:0;padding:14px 5vw 22px;
   flex-direction:column;align-items:stretch;gap:0;
 }
 body.ab-theme .nav-wrap nav.abstudio-nav.is-open,
 body.ab-theme .ab-fallback-nav nav.abstudio-nav.is-open{display:flex!important}
 body.ab-theme .nav-wrap nav.abstudio-nav a,
 body.ab-theme .ab-fallback-nav nav.abstudio-nav a{display:block;padding:12px 8px;border-bottom:1px solid #d8e0d9;font-size:16px;white-space:normal;line-height:1.5}
 body.ab-theme .nav-wrap .abstudio-nav .abstudio-menu-contact{display:block;padding:14px 16px;margin-top:12px;background:#123e33;color:white;text-align:center}
 body.ab-theme.ab-page-accueil .home-hero{grid-template-columns:minmax(0,1fr);gap:45px;min-height:0;padding:62px 6vw 80px}
 body.ab-theme.ab-page-accueil .home-hero h1{font-size:clamp(52px,7vw,85px);max-width:1000px}
 body.ab-theme.ab-page-accueil .imperial-visual{width:min(100%,810px);height:clamp(420px,60vw,620px);margin-inline:auto}
}
@media(max-width:900px){
 body.ab-theme .split-title,body.ab-theme .horizon-layout{grid-template-columns:minmax(0,1fr)}
 body.ab-theme .world-grid{grid-template-columns:minmax(0,1fr)}
 body.ab-theme .expertise-home-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.ab-theme .method-timeline article{grid-template-columns:55px minmax(0,1fr)}
 body.ab-theme .method-timeline article p{grid-column:2}
 body.ab-theme .abstudio-main :is(.section-heading h2,.split-title h2){font-size:clamp(38px,6vw,62px)}
}
@media(max-width:700px){
 body.ab-theme .abstudio-main{overflow-x:clip}
 body.ab-theme .home-hero,body.ab-theme .leaders-hero,body.ab-theme .investor-hero,body.ab-theme .expat-hero,body.ab-theme .page-hero{max-width:100%}
 body.ab-theme.ab-page-accueil .home-hero{padding:42px 6vw 65px;gap:35px}
 body.ab-theme.ab-page-accueil .home-hero h1{font-size:clamp(39px,10.2vw,61px);line-height:1.06;letter-spacing:-.053em;text-wrap:initial}
 body.ab-theme.ab-page-accueil .home-hero .lead{font-size:18px;line-height:1.55}
 body.ab-theme.ab-page-accueil .imperial-visual{height:clamp(340px,100vw,480px);width:100%}
 body.ab-theme.ab-page-accueil .imperial-visual>p{font-size:15px;bottom:16px;right:14px}
 body.ab-theme .home-section,body.ab-theme .leaders-section,body.ab-theme .investor-section,body.ab-theme .expat-section,body.ab-theme .page-section{padding-left:6vw;padding-right:6vw}
 body.ab-theme .expertise-home-grid,body.ab-theme .three-steps,body.ab-theme .solution-grid{grid-template-columns:minmax(0,1fr)}
 body.ab-theme .world-card{min-height:360px;padding:28px}
 body.ab-theme .home-section{padding-top:75px;padding-bottom:80px}
 body.ab-theme .method-timeline article{padding:20px 5px}
 body.ab-theme .philosophy-portrait{min-height:410px}
 body.ab-theme .ab-default-content{padding:56px 6vw}
 body.ab-theme .ab-default-content h1{font-size:clamp(34px,8vw,56px)}
}
@media(max-width:450px){
 body.ab-theme.ab-page-accueil .home-hero h1{font-size:clamp(38px,10vw,46px)}
 body.ab-theme .home-nav .official-logo,body.ab-theme .inner-nav .official-logo{width:clamp(150px,43vw,190px)}
 body.ab-theme .nav-wrap .abstudio-menu-toggle{padding:10px 12px;font-size:14px}
 body.ab-theme .abstudio-main :is(.section-index,.eyebrow,.kicker,.hero-pill){font-size:14px!important}
}
@media(max-width:782px){body.ab-theme.admin-bar .home-nav{top:46px}}
@media(prefers-reduced-motion:reduce){
 body.ab-theme .abstudio-main .reveal{opacity:1!important;transform:none!important}
}
/* Notes de formulaire qui descendaient jusqu'à 12.5px sur mobile. */
body.ab-theme .abstudio-main .qualification-layout :is(.aside-note,.step-copy,.field-error){font-size:16px;line-height:1.6}
body.ab-theme .abstudio-main .qualification-layout :is(.form-note,.step-caption,.field-help){font-size:15px;line-height:1.55}
