/* OEPCA - Direction graphique approuvée : ne pas refondre sans validation */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Cormorant+Garamond:wght@400;500;600&display=swap');
:root{--navy:#102230;--navy2:#233b49;--ivory:#F7F5F0;--sand:#F4F1EB;--gold:#A38A63;--ink:#162734;--muted:#596671;--line:#DDD9D1}
html{background:var(--ivory)}
body{background:var(--ivory);color:var(--ink);font-family:'DM Sans',Arial,sans-serif;font-size:17px;line-height:1.7}
h1,h2,h3,.quote,blockquote,.serif{font-family:'Cormorant Garamond',Georgia,serif;font-weight:500;letter-spacing:-.015em;line-height:1.12}
h1{font-size:clamp(2.75rem,4.8vw,4.75rem)}h2{font-size:clamp(2.35rem,3.6vw,3.65rem)}h3{font-size:clamp(1.55rem,2vw,2.15rem)}
p{line-height:1.7}
/* Desktop header of the selected split-screen, same header is used on all pages */
.site-header,.site-header.hidden{display:block!important;background:#F8F6F1;position:relative;z-index:60;border-bottom:0;box-shadow:none;backdrop-filter:none}
.header-inner{width:min(1360px,calc(100% - 90px));max-width:1360px;height:96px;display:flex;align-items:center;justify-content:space-between;position:relative;gap:18px}
.site-header .nav-links{display:flex;align-items:center;gap:26px;margin:0;padding:0;font-size:.86rem;font-weight:600}
.site-header .nav-links a{white-space:nowrap}
.site-header .nav-links a:hover,.site-header .nav-links a[aria-current=page]{color:#7F6341}
.site-header .nav-links .only-mobile{display:none}
.wordmark{position:absolute;top:4px;left:50%;transform:translateX(-50%);height:132px;width:212px;display:flex;align-items:center;justify-content:center;border-radius:0 0 45% 45%;background:#F8F6F1;z-index:12;padding:4px 14px 20px;overflow:hidden;box-shadow:none}
.wordmark img{display:block;width:174px;height:auto;max-height:116px;object-fit:contain;mix-blend-mode:multiply}
.header-private{display:inline-flex;align-items:center;justify-content:center;min-width:145px;min-height:44px;padding:7px 16px;border:1px solid #B9AB96;background:transparent;color:#1A2A37;font-size:.84rem;font-weight:700;letter-spacing:.01em;margin-left:auto;white-space:nowrap}
.header-private:hover{background:#EDEAE3}
.nav-toggle{display:none}
/* Landing page stays split-screen with quiet line art, no photos or visual clutter */
.landing{min-height:calc(100svh - 96px);display:grid;grid-template-columns:1fr 1fr;overflow:hidden;background:#F7F5F0}
.landing-panel{min-width:0;min-height:600px;position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:135px 8% 120px;filter:none!important;transition:background .3s ease}
.landing-panel:hover{filter:none!important}
.landing:has(.landing-left:hover),.landing:has(.landing-right:hover){grid-template-columns:1fr 1fr}
.landing-left{color:#fff;background:linear-gradient(145deg,#122735 0%,#152b38 60%,#0E212F 100%)}
.landing-left:before{content:"";position:absolute;inset:0;background:url('../assets/paysage-trait.svg') center center/cover no-repeat;opacity:.75;pointer-events:none}
.landing-left:after{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 58% 42%,#1C3644A0,transparent 70%);pointer-events:none}
.landing-right{background:#F7F5F0;color:var(--ink)}
.landing-right:before{content:"";position:absolute;inset:28% 0 0 0;background:url('../assets/cote-ivoire.svg') bottom right/contain no-repeat;opacity:.38;pointer-events:none}
.landing-panel> *{position:relative;z-index:3}
.landing .eyebrow{font-size:.8rem;letter-spacing:.16em;font-weight:700;margin:0 0 25px;color:#CBB08B}
.landing .eyebrow:after{content:"";display:block;width:43px;height:1px;background:currentColor;opacity:.55;margin:10px auto 0}
.landing-right .eyebrow{color:#9A774E}
.landing-panel h1{font-size:clamp(2.7rem,4.35vw,4.5rem);line-height:1.02;font-weight:500;letter-spacing:-.014em;max-width:570px;margin:0 0 30px}
.landing-panel p{font-size:clamp(1.05rem,1.33vw,1.2rem);line-height:1.6;margin:0;max-width:410px;color:#ECF0F0}
.landing-right p{color:#52616A}
.landing .actions{display:flex;flex-direction:column;align-items:stretch;gap:12px;width:min(325px,100%);margin-top:36px}
.landing .actions .btn{min-height:56px;width:100%;letter-spacing:.075em;font-size:.84rem;border-radius:2px;font-weight:700;text-decoration:none}
.landing-left .btn-light{background:#F9F7F3;color:#152734;border:1px solid #F9F7F3}
.landing-left .btn-light:hover{background:#E9E4DA;color:#152734}
.landing-right .btn-light{background:#102330;color:white;border-color:#102330}
.landing-right .btn-light:hover{background:#223D4F;color:white}
.landing-right .btn-ghost{background:transparent;color:#152734;border:1px solid #64737B}
.landing-right .btn-ghost:hover{background:#E8E4DD;color:#152734}
.landing-bottom{display:none}
/* Rest of the existing site: editorial clarity and readable controls */
.inner-hero{background:#F3F0E9}
.portal-hero,.section.navy{background:#132836}
.btn{border-radius:2px;min-height:52px}
.btn:hover{transform:none}
.btn:focus-visible,a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #AD8952;outline-offset:3px}
.eyebrow{color:#987957}
.field label,.onb-wrap .field label{font-size:1rem}
input,textarea,select{font-size:1rem;min-height:48px}
.footer .wordmark{position:static;transform:none;width:200px;height:auto;border-radius:0;padding:0;margin:0 0 30px;background:transparent}
.footer .wordmark img{width:176px;filter:brightness(0) invert(1);mix-blend-mode:normal}
.footer{padding-top:60px}
.onb-demobanner{display:none!important}body.is-portal .onb-demobanner{display:block!important;position:relative;z-index:10;text-align:center;background:#F0EDE6;color:#4C5A62;font-size:.76rem;padding:7px 15px}
/* The site is completely usable on narrow phones; no overlapping center badge */
@media(max-width:1050px){.header-inner{width:calc(100% - 40px)}.site-header .nav-links{gap:14px;font-size:.76rem}.header-private{font-size:.76rem;min-width:130px}.wordmark{width:175px}.wordmark img{width:150px}}
@media(max-width:780px){
 .site-header{position:relative}.header-inner{height:112px;width:calc(100% - 36px);justify-content:center}
 .wordmark{position:static;transform:none;height:111px;width:174px;min-width:174px;padding:5px 8px 7px;border-radius:0;box-shadow:none}
 .wordmark img{width:152px;height:auto;max-height:103px}
 .header-private{display:none}
 .site-header .nav-links{display:none;position:absolute;top:112px;left:-18px;right:-18px;z-index:90;background:#F8F6F1;border-top:1px solid #E5E0D5;border-bottom:1px solid #D8D4CC;padding:14px 24px 23px;box-shadow:0 15px 25px #14273612;flex-direction:column;align-items:stretch;gap:0}
 .site-header .nav-links.open{display:flex}
 .site-header .nav-links a{font-size:1.06rem;white-space:normal;min-height:46px;display:flex;align-items:center;border-bottom:1px solid #E8E4DC}
 .site-header .nav-links .only-mobile{display:flex}
 .nav-toggle{display:flex;align-items:center;justify-content:center;position:absolute;right:0;top:29px;font-size:1.5rem;width:48px;height:48px;min-height:48px;border:1px solid #E1DCD4;padding:0;background:transparent;color:#112735;z-index:100}
 .landing{display:flex;flex-direction:column;min-height:0}
 .landing-panel{min-height:365px;flex:auto;padding:55px 24px 60px}
 .landing-panel:nth-of-type(2){min-height:380px;padding:49px 24px 56px}
 .landing-panel h1{font-size:clamp(2.3rem,8.2vw,3.55rem);line-height:1.05;margin-bottom:18px}
 .landing-panel p{font-size:1.07rem;line-height:1.55;max-width:330px}
 .landing .eyebrow{font-size:.76rem;margin-bottom:20px}
 .landing .actions{margin-top:24px;width:min(345px,100%)}
 .landing .actions .btn{font-size:.8rem;min-height:54px}
 .landing-left:before{background-position:left top;background-size:cover;opacity:.5}
 .landing-right:before{opacity:.28}
 .footer .wordmark{width:190px;height:auto;min-width:0}
}
@media(max-width:375px){.landing-panel{min-height:345px;padding:42px 18px 44px}.landing-panel:nth-of-type(2){min-height:355px;padding:42px 18px 50px}.landing-panel h1{font-size:2.3rem}.landing-panel p{font-size:1rem}.landing .actions .btn{padding:12px 14px}.header-inner{height:106px}.wordmark{height:104px}.site-header .nav-links{top:106px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}


/* Ajustements expressément demandés : histoire retirée, portrait, animation douce, illustrations légèrement renforcées. */
.director-layout{align-items:center;gap:clamp(30px,7vw,110px)}
.director-copy p{font-size:1.08rem;max-width:560px}
.director-figure{margin:0;max-width:460px;width:100%;justify-self:center}
.director-photo{aspect-ratio:4/4.65;position:relative;background:linear-gradient(145deg,#E8E3D9,#F8F6F2 62%,#EAE5DC);border:1px solid #D9D3C8;display:flex;align-items:center;justify-content:center;overflow:hidden}
.director-photo:before{content:'';position:absolute;inset:5%;border:1px solid #C8BDAB;opacity:.55;pointer-events:none;z-index:2}
.director-portrait{display:block;width:100%;height:100%;object-fit:cover;object-position:center 16%;filter:grayscale(100%) contrast(1.02) brightness(1.02)}
.director-figure figcaption{display:flex;align-items:baseline;justify-content:space-between;gap:10px;border-bottom:1px solid #DCD5CA;padding:16px 0;color:#21313B;font-size:.95rem}
.director-figure figcaption span{color:#69747A;font-size:.83rem}
.field-hint{display:block;color:#5A6870;font-size:.86rem;line-height:1.5}
.verification-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:20px;flex-wrap:wrap}
.text-action{background:none;border:0;padding:5px 0;color:#314D5D;text-decoration:underline;font-size:.95rem;cursor:pointer}
.landing{transition:grid-template-columns .66s cubic-bezier(.22,.61,.36,1)}
.landing-left:before{opacity:.81}
.landing-right:before{opacity:.45}
@media(min-width:781px) and (hover:hover) and (pointer:fine){
 .landing:has(.landing-left:hover){grid-template-columns:51.8fr 48.2fr}
 .landing:has(.landing-right:hover){grid-template-columns:48.2fr 51.8fr}
 .landing-panel:hover .eyebrow{letter-spacing:.19em;transition:letter-spacing .4s ease}
}
@media(max-width:780px){
 .director-layout{gap:33px}
 .director-figure{max-width:450px}
 .director-photo{aspect-ratio:4/3.7}
 .director-copy p{font-size:1.02rem}
 .landing-left:before{opacity:.54}
 .landing-right:before{opacity:.32}
 .director-figure figcaption{flex-direction:column;gap:2px}
}
@media(prefers-reduced-motion:reduce){.landing{transition:none!important}.landing-panel:hover .eyebrow{transition:none!important}}

/* 19/10/2026 — demande d'Alexandre : le bandeau de l'espace client reprend le décor du volet gauche de l'accueil (même dégradé, même dessin au trait, même halo). */
.portal-hero{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(145deg,#122735 0%,#152b38 60%,#0E212F 100%)}
.portal-hero:before{content:"";position:absolute;inset:0;z-index:-1;background:url('../assets/paysage-trait.svg') center center/cover no-repeat;opacity:.75;pointer-events:none}
.portal-hero:after{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 58% 42%,#1C3644A0,transparent 70%);pointer-events:none}
@media(max-width:750px){.portal-hero:before{background-position:left top;opacity:.5}}
