/* Aurelian Belcourt v0.2.0 — évolutions indépendantes d'Avada. */
:root{--ab-nav-h:88px;--ab-focus:#b18a53}
html{scroll-padding-top:calc(var(--ab-nav-h) + 20px)}
body.ab-theme{margin:0;min-width:320px;max-width:100%;overflow-x:clip;color:var(--ink,#17342d);font-size:16px;line-height:1.6;-webkit-text-size-adjust:100%}
body.ab-theme *,body.ab-theme *::before,body.ab-theme *::after{box-sizing:border-box}
body.ab-theme :is(img,video,iframe,svg){max-width:100%}
body.ab-theme :is(h1,h2,h3,p,li){overflow-wrap:break-word}
body.ab-theme a:focus-visible,body.ab-theme button:focus-visible,body.ab-theme :is(input,textarea,select,summary):focus-visible{outline:3px solid var(--ab-focus);outline-offset:4px}
body.ab-theme .abstudio-skip{position:fixed;z-index:999999;top:-100px;left:16px;padding:12px 18px;background:white;color:#123e33;font:600 16px/1.4 Arial,sans-serif;border:2px solid #123e33}
body.ab-theme .abstudio-skip:focus{top:14px}
body.ab-theme .grain{pointer-events:none}
/* Accueil : contraste lisible ; en-tête dans le flux, sans zone vide parasite. */
body.ab-theme .home-nav{position:sticky;top:0;height:var(--ab-nav-h);min-height:var(--ab-nav-h);background:rgba(246,245,239,.97);z-index:100}
body.ab-theme.admin-bar .home-nav{top:32px}
body.ab-theme .home-nav .official-logo{height:auto;max-height:70px;object-fit:contain}
body.ab-theme .home-hero{min-height:calc(100svh - var(--ab-nav-h));padding:clamp(42px,5vw,76px) 5.6vw clamp(64px,6vw,110px);grid-template-columns:minmax(0,1.13fr) minmax(0,.87fr);gap:clamp(28px,4vw,84px);align-items:center}
body.ab-theme .home-hero .hero-statement{min-width:0}
body.ab-theme .home-hero h1{color:#11392f;font-size:clamp(51px,5.35vw,98px);line-height:.99;letter-spacing:-.055em;max-width:990px;margin:24px 0 22px}
body.ab-theme .home-hero h1 em{color:#648571}
body.ab-theme .home-hero .eyebrow{color:#43675b}
body.ab-theme .home-hero .lead{font-size:clamp(18px,1.34vw,23px);line-height:1.47;max-width:730px;color:#36584d}
body.ab-theme .home-hero .hero-thought{font-size:16px;line-height:1.6}
body.ab-theme .home-hero .hero-actions{margin-top:28px;gap:20px 30px;flex-wrap:wrap}
body.ab-theme .imperial-visual{height:clamp(410px,36vw,660px);width:100%;max-width:100%;overflow:hidden;background:#dfe4dc;border-radius:min(44%,290px) min(44%,290px) 3px 3px}
body.ab-theme .imperial-visual>img,body.ab-theme .philosophy-portrait>img{width:100%;height:100%;left:0;top:0;max-width:100%;object-fit:cover;object-position:center 35%;mix-blend-mode:multiply}
body.ab-theme .imperial-visual .memento-seal{display:none}/* Déjà intégré au visuel officiel */
body.ab-theme .imperial-visual>p{font-size:16px;line-height:1.4;max-width:70%;text-shadow:0 1px 8px rgba(0,0,0,.5)}
body.ab-theme .home-nav nav{gap:clamp(12px,1.55vw,30px)}
body.ab-theme .home-nav nav a,body.ab-theme .home-nav .nav-cta{font-size:14px}
/* Règle de lisibilité : 14px min pour légendes / étiquettes, 16px pour contenus courants. */
body.ab-theme main :is(.eyebrow,.kicker,.hero-pill,.section-index,.section-index.light,.legal-note,.reg-note,.country-line,.values-line,.circle-status,.form-note,.coordinate,.territory-row,.world-card>span,.audience-card small,.principles span,.expertise-list span){font-size:14px!important;line-height:1.5}
body.ab-theme main :is(p,li):not([class]){font-size:max(16px,1em)}
body.ab-theme main :is(.button,.text-link){font-size:14px!important;line-height:1.45;min-height:44px;display:inline-flex;align-items:center;white-space:normal}
body.ab-theme main :is(label,small,summary){font-size:max(14px,1em)}
body.ab-theme :is(.home-section,.leaders-section,.investor-section,.expat-section,.page-section) :is(p,li){line-height:1.65}
/* Grilles et composants : pas de texte ou de colonne au-delà de la fenêtre. */
body.ab-theme :is(.home-hero,.leaders-hero,.investor-hero,.expat-hero,.page-hero,.qualification-layout,.split-title,.method-timeline,.world-grid,.expertise-home-grid,.solution-grid)>*{min-width:0}
body.ab-theme .abstudio-main :is(img,iframe,video){max-width:100%;height:auto}
body.ab-theme .abstudio-main :is(.imperial-visual,.philosophy-portrait) img{height:100%}
/* Pages normales non gérées par le micro-CMS. */
body.ab-theme .ab-fallback-nav{position:relative;min-height:88px;background:#f6f5ef}
body.ab-theme .ab-fallback-nav .official-logo{width:230px;height:auto}
body.ab-theme .ab-default-content{min-height:55vh;padding:clamp(80px,9vw,140px) 6vw;max-width:1250px;margin:auto}
body.ab-theme .ab-default-content h1{font:400 clamp(40px,5.5vw,80px)/1.12 Georgia,serif;color:#123e33}
body.ab-theme .ab-default-content p{font-size:18px;line-height:1.7}
body.ab-theme .ab-default-footer{padding:36px 6vw;background:#082b23;color:#c9d9d1;display:flex;gap:24px;flex-wrap:wrap;align-items:center}
body.ab-theme .ab-default-footer p{margin:0 auto 0 0}
body.ab-theme .ab-default-footer a{color:#d3e0d8}
/* Bibliothèque de futurs composants standards (props validées et rendues par PHP). */
.ab-component{padding:clamp(64px,8vw,112px) 6vw;background:#f4f3ed;color:#17342d}
.ab-component.ab-variant-light{background:white}.ab-component.ab-variant-dark{background:#082b23;color:white}.ab-component.ab-variant-accent{background:#123e33;color:white}
.ab-component-container{max-width:1420px;margin:auto}.ab-component h2{font:400 clamp(38px,5vw,76px)/1.07 Georgia,serif;letter-spacing:-.045em;max-width:1100px}
.ab-component h3{font:400 clamp(23px,2.25vw,34px)/1.2 Georgia,serif}
.ab-component p{font-size:clamp(16px,1.4vw,20px);line-height:1.65}
.ab-component .ab-component-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:44px}
.ab-component .ab-component-items article{border-top:1px solid #9bb2a5;padding-top:20px;min-width:0}
.ab-component .ab-component-items strong{display:block;font:400 clamp(38px,5vw,74px)/1.1 Georgia,serif}
.ab-component .ab-component-items details{grid-column:1/-1;border-bottom:1px solid #9bb2a5;padding:16px 0}
.ab-component details summary{cursor:pointer;font-size:clamp(17px,2vw,24px)!important}
.ab-component blockquote{margin:0;max-width:1050px;font:400 clamp(32px,5vw,64px)/1.2 Georgia,serif}
.ab-component figure{max-width:860px;margin:48px auto 0;overflow:hidden;border-radius:260px 260px 4px 4px}
.ab-component figure img{width:100%;height:auto;display:block}
/* Mobile et tablettes. */
@media(max-width:1100px){
 :root{--ab-nav-h:76px}
 body.ab-theme .home-nav{position:sticky;top:0}
 body.ab-theme .home-hero{grid-template-columns:minmax(0,1fr);padding:58px 6vw 72px;gap:44px;min-height:0}
 body.ab-theme .home-hero h1{font-size:clamp(51px,8vw,82px);max-width:900px}
 body.ab-theme .imperial-visual{height:clamp(420px,67vw,610px);max-width:780px;margin:auto}
 body.ab-theme .ab-fallback-nav nav{gap:14px}
}
@media(max-width:700px){
 :root{--ab-nav-h:72px}
 body.ab-theme .home-hero{padding:44px 6vw 65px;gap:36px}
 body.ab-theme .home-hero h1{font-size:clamp(40px,10.3vw,66px);line-height:1.03;letter-spacing:-.052em}
 body.ab-theme .home-hero .lead{font-size:18px}
 body.ab-theme .imperial-visual{height:clamp(340px,103vw,480px)}
 body.ab-theme .imperial-visual>p{bottom:16px;right:14px;max-width:78%;font-size:14px}
 body.ab-theme .philosophy-portrait{min-height:410px}
 body.ab-theme .ab-component .ab-component-items{grid-template-columns:minmax(0,1fr)}
 body.ab-theme .abstudio-main :is(.world-grid,.expertise-home-grid,.solution-grid,.three-steps){grid-template-columns:minmax(0,1fr)}
}
@media(max-width:380px){body.ab-theme .home-hero h1{font-size:clamp(37px,10vw,44px)}}
@media(max-width:782px){body.ab-theme.admin-bar .home-nav{top:46px}}
@media(prefers-reduced-motion:reduce){body.ab-theme *,body.ab-theme *::before,body.ab-theme *::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
@media(max-width:1100px){
 body.ab-theme .ab-fallback-nav{height:76px;min-height:76px;padding:0 5vw;display:flex;flex-wrap:nowrap;justify-content:space-between;align-items:center;position:relative;z-index:100}
 body.ab-theme .ab-fallback-nav .abstudio-menu-toggle{display:inline-flex;position:relative;z-index:102;border:1px solid #9faea6;background:white;color:#123e33;font-size:14px;padding:10px 14px;align-items:center;gap:8px;min-height:44px}
 body.ab-theme .ab-fallback-nav nav.abstudio-nav{display:none;position:absolute;inset:100% 0 auto 0;background:#f8f7f1;box-shadow:0 20px 30px #082b232a;padding:12px 6vw;z-index:101;max-height:calc(100dvh - 76px);overflow-y:auto;flex-direction:column}
 body.ab-theme .ab-fallback-nav nav.abstudio-nav.is-open{display:flex}
 body.ab-theme .ab-fallback-nav nav.abstudio-nav a{font-size:16px;line-height:1.45;padding:13px;border-bottom:1px solid #cbd5cc}
}
