:root{
  --ink:#071b31;
  --ink-2:#0d2a49;
  --ink-3:#143b63;
  --gold:#d5a72c;
  --gold-2:#f0c85d;
  --sand:#f4f0e8;
  --ivory:#fbfaf6;
  --paper:#fff;
  --text:#172235;
  --muted:#647080;
  --line:rgba(7,27,49,.14);
  --line-light:rgba(255,255,255,.15);
  --burgundy:#8f2d43;
  --shadow:0 24px 80px rgba(5,24,44,.13);
  --serif:Georgia,"Times New Roman",serif;
  --sans:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --shell:min(1440px,calc(100vw - 64px));
  --header-h:84px;
}
*{box-sizing:border-box}
html{scroll-behavior:auto;background:var(--ivory);color-scheme:light}
body{margin:0;background:var(--ivory);color:var(--text);font-family:var(--sans);line-height:1.65;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
body.is-locked{overflow:hidden}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
img{display:block;max-width:100%;height:auto}
address{font-style:normal}
::selection{background:var(--gold);color:var(--ink)}
.shell{width:var(--shell);margin-inline:auto}
.skip-link{position:fixed;left:16px;top:12px;transform:translateY(-140%);z-index:9999;background:#fff;color:var(--ink);padding:11px 16px;border-radius:4px;font-weight:800;transition:transform .15s ease}
.skip-link:focus{transform:translateY(0)}

/* Brand reveal */
.brand-reveal{position:fixed;inset:0;z-index:5000;display:grid;place-items:center;background:var(--ink);transition:opacity .34s ease,visibility .34s ease}
.brand-reveal::before,.brand-reveal::after{content:"";position:absolute;inset:0;background:linear-gradient(120deg,transparent 25%,rgba(213,167,44,.08) 50%,transparent 75%);transform:translateX(-100%);animation:brandSweep 1.1s ease .15s both}
.brand-reveal__mark{position:relative;z-index:1;text-align:center;color:#dbe7f2;letter-spacing:.18em;text-transform:uppercase;font-size:11px;font-weight:700}
.brand-reveal__mark img{width:min(290px,58vw);margin:0 auto 22px;filter:drop-shadow(0 12px 40px rgba(0,0,0,.24))}
.brand-reveal.is-done{opacity:0;visibility:hidden;pointer-events:none}
@keyframes brandSweep{to{transform:translateX(100%)}}
@media (prefers-reduced-motion:reduce){.brand-reveal::before,.brand-reveal::after{animation:none}.brand-reveal{transition-duration:.05s}}

/* Header */
.site-header{position:sticky;top:0;z-index:900;background:rgba(6,27,49,.96);border-bottom:1px solid rgba(255,255,255,.08);backdrop-filter:blur(14px)}
.header-inner{height:var(--header-h);width:min(1540px,calc(100vw - 36px));margin:auto;display:flex;align-items:center;gap:28px}
.brand{display:flex;align-items:center;min-width:168px}
.brand img{width:148px;height:auto;max-height:65px;object-fit:contain}
.desktop-nav{display:flex;align-items:center;justify-content:center;gap:clamp(16px,1.65vw,30px);flex:1}
.desktop-nav a{position:relative;color:#e8eef4;font-size:13.5px;font-weight:740;white-space:nowrap;padding:30px 0 28px}
.desktop-nav a::after{content:"";position:absolute;left:0;right:100%;bottom:21px;height:2px;background:var(--gold);transition:right .2s ease}
.desktop-nav a:hover::after,.desktop-nav a:focus-visible::after,.desktop-nav a.is-active::after{right:0}
.header-actions{display:flex;align-items:center;gap:10px}
.search-trigger{border:1px solid rgba(255,255,255,.14);background:var(--burgundy);color:#fff;border-radius:999px;display:inline-flex;align-items:center;gap:8px;padding:10px 13px;font-weight:800;font-size:12.5px;box-shadow:0 8px 22px rgba(143,45,67,.22)}
.search-trigger svg,.mobile-search svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.9}
.search-trigger:hover{background:#a73650}
.language-switch{display:flex;align-items:center;gap:4px;color:#c8d3dc;font-size:11px;font-weight:800}
.language-switch button{border:0;background:none;color:#99a8b5;padding:6px 3px;font-size:11px;font-weight:850}
.language-switch button.is-active{color:var(--gold-2)}
.header-cta{background:var(--gold);color:var(--ink);padding:11px 17px;border-radius:2px;font-weight:900;font-size:12.5px;white-space:nowrap}
.header-cta:hover{background:var(--gold-2)}
.menu-toggle{display:none;border:0;background:transparent;width:44px;height:44px;align-items:center;justify-content:center;flex-direction:column;gap:5px}
.menu-toggle span{display:block;width:24px;height:2px;background:var(--gold)}

/* Mobile menu */
.mobile-menu{position:fixed;inset:0;z-index:1800;background:var(--ink);color:#fff;padding:22px clamp(22px,7vw,42px) 32px;overflow:auto}
.mobile-menu[hidden]{display:none}
.mobile-menu__head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line-light);padding-bottom:18px}
.mobile-menu__head img{width:128px;max-height:74px;object-fit:contain}
.menu-close{width:46px;height:46px;border:1px solid rgba(255,255,255,.15);border-radius:50%;background:none;color:var(--gold-2);font-size:30px;line-height:1}
.mobile-menu nav{display:grid;margin-top:20px}
.mobile-menu nav>a,.mobile-search{border:0;border-bottom:1px solid rgba(255,255,255,.1);background:none;color:#fff;padding:18px 4px;text-align:left;font-family:var(--serif);font-size:clamp(24px,7vw,34px);font-weight:700;display:flex;align-items:center;justify-content:space-between;width:100%}
.mobile-search{font-family:var(--sans);font-size:15px;font-weight:850;background:var(--burgundy);border:0;border-radius:4px;padding:15px 18px;margin-top:22px;justify-content:flex-start;gap:10px}
.mobile-menu__foot{margin-top:34px;display:grid;gap:8px;color:#bdc8d3;font-size:14px}

/* Search */
.search-dialog{position:fixed;inset:0;z-index:2200;background:rgba(2,13,25,.78);backdrop-filter:blur(12px);padding:7vh 20px;overflow:auto}
.search-dialog[hidden]{display:none}
.search-panel{width:min(880px,100%);margin:auto;background:var(--ivory);box-shadow:0 30px 100px rgba(0,0,0,.32);border-top:4px solid var(--burgundy);padding:clamp(24px,4vw,48px)}
.search-panel__top{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}
.search-panel h2{margin:5px 0 24px;font-family:var(--serif);font-size:clamp(30px,5vw,52px);line-height:1.06;color:var(--ink)}
.search-close{width:48px;height:48px;border:1px solid var(--line);background:#fff;color:var(--ink);font-size:30px;line-height:1}
.search-box{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid rgba(7,27,49,.18);padding:13px 16px}
.search-box:focus-within{border-color:var(--burgundy);box-shadow:0 0 0 3px rgba(143,45,67,.1)}
.search-box svg{width:22px;height:22px;fill:none;stroke:var(--burgundy);stroke-width:1.8;flex:0 0 auto}
.search-box input{border:0;outline:0;background:transparent;font-size:17px;flex:1;min-width:0;color:var(--ink)}
.search-box kbd{font:700 11px var(--sans);background:var(--sand);border:1px solid var(--line);padding:3px 7px;color:var(--muted)}
.search-results{display:grid;margin-top:14px;border-top:1px solid var(--line)}
.search-result{display:grid;grid-template-columns:100px 1fr auto;gap:16px;align-items:center;padding:15px 3px;border-bottom:1px solid var(--line);text-align:left;background:none;border-left:0;border-right:0;border-top:0;color:var(--ink);width:100%}
.search-result:hover,.search-result:focus-visible{background:rgba(213,167,44,.08)}
.search-result__type{font-size:10px;font-weight:900;letter-spacing:.13em;text-transform:uppercase;color:var(--burgundy)}
.search-result strong{font-family:var(--serif);font-size:18px}
.search-result span:last-child{color:var(--gold);font-weight:900}
.search-empty{padding:22px 0;color:var(--muted)}
.search-tip{color:var(--muted);font-size:12px;margin:18px 0 0}

/* Generic typography */
.eyebrow{display:inline-flex;align-items:center;gap:11px;color:#a77713;font-size:11.5px;font-weight:900;letter-spacing:.18em;text-transform:uppercase}
.eyebrow::before{content:"";width:42px;height:2px;background:currentColor}
.eyebrow--light{color:var(--gold-2)}
.section{padding:clamp(76px,8vw,128px) 0}
.section--light{background:var(--ivory)}
.section--sand{background:var(--sand)}
.section--ink{background:var(--ink);color:#e8eef4}
.section--blue{background:linear-gradient(145deg,#08213c,#0c3257);color:#eaf1f7}
.section h2,.cta-section h2{font-family:var(--serif);font-size:clamp(40px,5.2vw,78px);line-height:.99;letter-spacing:-.035em;color:var(--ink);margin:14px 0 28px;max-width:1050px}
.section--ink h2,.section--blue h2,.cta-section h2{color:#fff}
.section h3{font-family:var(--serif);color:var(--ink)}
.lead{font-size:clamp(18px,1.7vw,24px);line-height:1.65;color:#3e4c5e}
.section p{font-size:16.5px}
.section-head{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);gap:60px;align-items:end;margin-bottom:54px}
.section-head>p{margin:0 0 6px;color:#617082;font-size:17px;line-height:1.7}
.section-head--light>p{color:#bbc8d5}

/* Hero */
.hero{position:relative;min-height:calc(100svh - var(--header-h));background:var(--ink);overflow:hidden;display:flex;align-items:stretch;color:#fff}
.hero-media,.hero-overlay{position:absolute;inset:0}
.hero-media img{width:100%;height:100%;object-fit:cover;object-position:center 45%}
.hero-overlay{background:linear-gradient(90deg,rgba(5,22,40,.98) 0%,rgba(5,22,40,.91) 44%,rgba(5,22,40,.55) 72%,rgba(5,22,40,.26) 100%),linear-gradient(180deg,rgba(3,15,29,.15),rgba(3,15,29,.72))}
.hero-content{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(340px,.65fr);gap:72px;align-items:end;padding-top:clamp(85px,11vh,145px);padding-bottom:clamp(58px,8vh,92px)}
.hero-copy{align-self:center;max-width:940px}
.hero-brandline{font-size:13px;letter-spacing:.15em;text-transform:uppercase;color:#cbd5df;margin:20px 0 8px;font-weight:800}
.hero h1{font-family:var(--serif);font-size:clamp(58px,6.8vw,112px);line-height:.9;letter-spacing:-.055em;margin:14px 0 32px;max-width:1050px}
.hero h1 em{font-style:normal;color:var(--gold-2)}
.hero-lead{max-width:800px;font-size:clamp(19px,1.7vw,25px);line-height:1.58;color:#d5dfe8;margin:0}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:36px}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:13px 22px;border:1px solid transparent;font-weight:880;font-size:14px;transition:background .18s ease,color .18s ease,border-color .18s ease,transform .18s ease}
.btn:hover{transform:translateY(-1px)}
.btn--gold{background:var(--gold);color:var(--ink)}
.btn--gold:hover{background:var(--gold-2)}
.btn--glass{background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.34);color:#fff}
.btn--glass:hover{background:#fff;color:var(--ink)}
.btn--dark{background:var(--ink);color:#fff}
.btn--dark:hover{background:var(--ink-3)}
.btn--outline-light{border-color:rgba(255,255,255,.34);color:#fff;background:transparent}
.btn--outline-light:hover{background:#fff;color:var(--ink)}
.hero-proof{align-self:end;border-left:1px solid rgba(255,255,255,.18);display:grid;grid-template-columns:1fr 1fr}
.hero-proof div{padding:22px 24px;border-top:1px solid rgba(255,255,255,.15);min-height:122px}
.hero-proof div:nth-child(odd){border-right:1px solid rgba(255,255,255,.15)}
.hero-proof span{display:block;color:var(--gold-2);font:800 11px var(--sans);letter-spacing:.12em;margin-bottom:6px}
.hero-proof strong{display:block;font-family:var(--serif);font-size:21px;margin-bottom:5px}
.hero-proof small{display:block;color:#aebdca;font-size:12px;line-height:1.5}

.statement-band{background:#fff;border-bottom:1px solid var(--line)}
.statement-band__inner{min-height:108px;display:flex;align-items:center;justify-content:space-between;gap:28px;padding-block:25px}
.statement-band p{margin:0;font-family:var(--serif);font-size:clamp(22px,2.4vw,36px);line-height:1.25;color:var(--ink)}
.statement-band p strong{color:#9f7418}
.statement-band a{font-size:13px;font-weight:850;color:var(--ink);white-space:nowrap;border-bottom:1px solid var(--gold);padding-bottom:3px}

/* Cabinet */
.split-editorial{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(380px,.95fr);gap:clamp(55px,7vw,110px);align-items:center}
.section-copy h2{max-width:850px}
.section-copy>p:not(.lead){color:#526174;font-size:17px;max-width:860px}
.editorial-points{display:grid;grid-template-columns:1fr 1fr;margin-top:42px;border-top:1px solid var(--line);border-left:1px solid var(--line)}
.editorial-points div{padding:18px 20px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;gap:14px;align-items:baseline}
.editorial-points span{color:#a77713;font-size:11px;font-weight:900}
.editorial-points b{font-family:var(--serif);color:var(--ink);font-size:18px}
.editorial-image{margin:0;position:relative}
.editorial-image img{width:100%;aspect-ratio:4/5;object-fit:cover;box-shadow:var(--shadow)}
.editorial-image figcaption,.sectors-image figcaption{position:absolute;left:-28px;bottom:30px;background:var(--ink);color:#fff;padding:14px 18px;font-size:12px;font-weight:750;letter-spacing:.02em;max-width:330px;border-left:3px solid var(--gold)}

/* Expertises */
.expertise-list{border-top:1px solid var(--line-light)}
.expertise-row{display:grid;grid-template-columns:minmax(270px,.85fr) minmax(360px,1.15fr) 190px;gap:42px;align-items:center;padding:36px 0;border-bottom:1px solid var(--line-light)}
.expertise-row__title{display:grid;grid-template-columns:42px 1fr;gap:12px;align-items:start}
.expertise-row__title span{color:var(--gold-2);font-size:12px;font-weight:900;margin-top:8px}
.expertise-row h3{margin:0;color:#fff;font-size:clamp(26px,2.4vw,40px);line-height:1.04;letter-spacing:-.02em}
.expertise-row>p{margin:0;color:#bac8d5;line-height:1.72}
.expertise-row>a{justify-self:end;color:var(--gold-2);font-size:13px;font-weight:850;border-bottom:1px solid rgba(240,200,93,.4);padding-bottom:3px}

/* Method */
.method-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(6,1fr);border-top:1px solid var(--line);border-left:1px solid var(--line)}
.method-steps li{min-height:240px;padding:24px 20px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
.method-steps span{color:#a77713;font-weight:900;font-size:12px;letter-spacing:.11em}
.method-steps h3{font-size:24px;line-height:1.08;margin:42px 0 12px}
.method-steps p{color:#687687;font-size:14px;line-height:1.55;margin:0}

/* Sectors */
.sectors-layout{display:grid;grid-template-columns:minmax(0,.95fr) minmax(420px,1.05fr);gap:clamp(50px,7vw,110px);align-items:center}
.sector-index{margin-top:36px;border-top:1px solid var(--line)}
.sector-index div{display:grid;grid-template-columns:54px 1fr;gap:12px;padding:15px 0;border-bottom:1px solid var(--line);align-items:baseline}
.sector-index span{font-size:10px;font-weight:900;color:#9f7418}
.sector-index b{font-family:var(--serif);font-size:19px;color:var(--ink)}
.sectors-image{margin:0;position:relative}
.sectors-image img{width:100%;aspect-ratio:1/1;object-fit:cover;box-shadow:var(--shadow)}

/* Ecosystem */
.ecosystem-row{display:grid;grid-template-columns:minmax(400px,1fr) minmax(0,1fr);gap:clamp(48px,7vw,104px);align-items:center;padding:72px 0;border-top:1px solid var(--line-light)}
.ecosystem-row--reverse figure{order:2}
.ecosystem-row figure{margin:0;overflow:hidden}
.ecosystem-row figure img{width:100%;aspect-ratio:16/10;object-fit:cover;transition:transform .45s ease}
.ecosystem-row:hover figure img{transform:scale(1.018)}
.ecosystem-no{display:inline-block;color:var(--gold-2);font-size:12px;font-weight:900;letter-spacing:.15em;margin-bottom:22px}
.ecosystem-row h3{color:#fff;font-size:clamp(32px,3.5vw,54px);line-height:1.02;margin:14px 0 20px;max-width:720px}
.ecosystem-row p:not(.eyebrow){color:#c6d1dc;font-size:17px;line-height:1.72;max-width:720px}
.tag-list{display:flex;flex-wrap:wrap;gap:7px;margin:26px 0}
.tag-list span{border:1px solid rgba(255,255,255,.2);padding:7px 10px;font-size:11px;color:#d8e2ea}
.text-link{display:inline-block;color:var(--gold-2);font-weight:850;font-size:14px;border-bottom:1px solid rgba(240,200,93,.5);padding-bottom:4px}
.text-link--dark{color:var(--ink);border-color:rgba(7,27,49,.3)}
.ecosystem-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}

/* Resources */
.resource-intro{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(300px,.75fr);gap:64px;align-items:end;margin-bottom:52px}
.resource-intro h2{margin-bottom:0}
.resource-intro>p{color:#627183;margin:0 0 5px;font-size:16.5px;line-height:1.72}
.resource-library{border-top:2px solid var(--ink)}
.resource-item{display:grid;grid-template-columns:170px minmax(280px,.8fr) minmax(300px,1.1fr) 220px;gap:34px;align-items:center;padding:30px 0;border-bottom:1px solid var(--line)}
.resource-meta{display:grid;gap:6px;font-size:10px;font-weight:900;letter-spacing:.11em;text-transform:uppercase;color:#9e741a}
.resource-meta span:last-child{color:#697585}
.resource-item h3{margin:0;font-size:24px;line-height:1.18}
.resource-item>p{margin:0;color:#657284;font-size:14.5px;line-height:1.62}
.resource-actions{display:flex;justify-content:flex-end;gap:8px}
.resource-actions a{border:1px solid var(--line);padding:10px 12px;font-size:12px;font-weight:850;background:#fff;color:var(--ink)}
.resource-actions a:last-child{background:var(--ink);color:#fff;border-color:var(--ink)}
.resource-actions a:hover{border-color:var(--gold);color:#9a6c09}
.resource-actions a:last-child:hover{background:var(--ink-3);color:#fff}

/* References */
.reference-highlights{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line-light);border-left:1px solid var(--line-light);margin-bottom:46px}
.reference-highlights>div{padding:20px 22px;border-right:1px solid var(--line-light);border-bottom:1px solid var(--line-light)}
.reference-highlights span{color:var(--gold-2);font-size:10px;font-weight:900}
.reference-highlights b{display:block;color:#fff;font-family:var(--serif);font-size:22px;margin:20px 0 8px}
.reference-highlights p{margin:0;color:#aebdca;font-size:13px;line-height:1.55}
.table-wrap{overflow:auto;border:1px solid var(--line-light);max-height:620px}
.references-table{width:100%;border-collapse:collapse;min-width:880px;font-size:13px}
.references-table th{position:sticky;top:0;background:#0b2949;color:var(--gold-2);text-align:left;padding:16px 18px;font-size:10px;letter-spacing:.13em;text-transform:uppercase;z-index:1}
.references-table td{padding:16px 18px;border-top:1px solid var(--line-light);vertical-align:top;color:#cbd5df;line-height:1.55}
.references-table td:first-child{font-weight:850;color:#fff;min-width:210px}
.references-table th:nth-child(2){min-width:420px}

/* CTA */
.cta-section{background:linear-gradient(120deg,#071b31,#0d355e);color:#fff;padding:clamp(74px,8vw,120px) 0;text-align:center;position:relative;overflow:hidden}
.cta-section::before{content:"";position:absolute;inset:-60% 50% -60% -20%;border:1px solid rgba(213,167,44,.22);border-radius:50%;transform:rotate(18deg)}
.cta-section__inner{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center}
.cta-section h2{max-width:1000px}
.cta-section p{max-width:800px;color:#c8d3dd;font-size:18px;margin:-2px auto 30px}

/* Contact */
.contact-layout{display:grid;grid-template-columns:minmax(0,.82fr) minmax(500px,1.18fr);gap:clamp(55px,8vw,120px);align-items:start}
.contact-info h2{font-size:clamp(42px,4.5vw,68px)}
.contact-list{display:grid;margin-top:34px;border-top:1px solid var(--line)}
.contact-list a{display:grid;grid-template-columns:150px 1fr;gap:18px;padding:16px 0;border-bottom:1px solid var(--line);align-items:baseline}
.contact-list span{font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.12em;color:#9f7418}
.contact-list strong{color:var(--ink);font-size:14px;overflow-wrap:anywhere}
.contact-list a:hover strong{color:#8f2d43}
.whatsapp-link{display:inline-block;margin-top:20px;font-size:13px;font-weight:850;color:#137c55;border-bottom:1px solid rgba(19,124,85,.4)}
.contact-form{background:#fff;border-top:4px solid var(--ink);padding:clamp(26px,4vw,48px);box-shadow:var(--shadow)}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.contact-form label{display:grid;gap:7px;color:var(--ink);font-size:12px;font-weight:800}
.contact-form input,.contact-form select,.contact-form textarea{width:100%;border:1px solid rgba(7,27,49,.18);background:#fff;color:var(--ink);padding:13px 14px;outline:0;border-radius:0;min-height:48px}
.contact-form textarea{resize:vertical;min-height:140px}
.contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus{border-color:var(--gold);box-shadow:0 0 0 3px rgba(213,167,44,.12)}
.form-span{grid-column:1/-1}
.form-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:22px}
.form-note{color:#778493;font-size:11px!important;margin:18px 0 0!important;line-height:1.5}
.honeypot{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}

/* Footer */
.site-footer{background:#041426;color:#b8c5d0;padding:62px 0 24px}
.footer-grid{display:grid;grid-template-columns:1.35fr .75fr .9fr 1fr;gap:56px;padding-bottom:42px}
.footer-brand img{width:190px;margin-bottom:20px}
.footer-brand p{max-width:360px;font-size:13px;line-height:1.7}
.site-footer h3{font-family:var(--serif);font-size:18px;color:#fff;margin:3px 0 17px}
.site-footer>div>div:not(.footer-brand){display:flex;flex-direction:column;align-items:flex-start}
.site-footer a{display:block;font-size:12.5px;margin:7px 0;color:#b8c5d0}
.site-footer a:hover{color:var(--gold-2)}
.footer-bottom{display:flex;justify-content:space-between;gap:20px;padding-top:20px;border-top:1px solid rgba(255,255,255,.1);font-size:11px;color:#8191a0}

/* Focus */
:focus-visible{outline:3px solid var(--gold-2);outline-offset:3px}

/* Responsive */
@media (max-width:1260px){
  :root{--shell:min(1180px,calc(100vw - 48px))}
  .desktop-nav{display:none}.menu-toggle{display:flex}.header-cta{display:none}
  .hero-content{grid-template-columns:minmax(0,1fr) 360px;gap:44px}
  .hero h1{font-size:clamp(56px,7.4vw,88px)}
  .method-steps{grid-template-columns:repeat(3,1fr)}
  .resource-item{grid-template-columns:140px 1fr 1fr}.resource-actions{grid-column:2/-1;justify-content:flex-start;margin-top:-6px}
}
@media (max-width:980px){
  :root{--shell:min(900px,calc(100vw - 38px));--header-h:74px}
  .header-inner{height:var(--header-h)}.brand img{width:125px}.brand{min-width:auto}.search-trigger span{display:none}.language-switch{display:none}
  .hero{min-height:auto}.hero-content{grid-template-columns:1fr;padding-top:100px;padding-bottom:60px}.hero-copy{max-width:780px}.hero-proof{max-width:720px;border-left:0}
  .hero-overlay{background:linear-gradient(90deg,rgba(5,22,40,.97),rgba(5,22,40,.78)),linear-gradient(180deg,rgba(3,15,29,.08),rgba(3,15,29,.76))}
  .split-editorial,.sectors-layout{grid-template-columns:1fr;gap:48px}.editorial-image img{aspect-ratio:16/10}.editorial-image figcaption{left:20px}
  .section-head,.resource-intro{grid-template-columns:1fr;gap:8px}.section-head>p,.resource-intro>p{max-width:760px}
  .expertise-row{grid-template-columns:1fr;gap:16px;padding:30px 0}.expertise-row>a{justify-self:start}.expertise-row__title{grid-template-columns:38px 1fr}
  .ecosystem-row,.ecosystem-row--reverse{grid-template-columns:1fr;gap:36px}.ecosystem-row--reverse figure{order:0}.ecosystem-row figure img{aspect-ratio:16/9}
  .resource-item{grid-template-columns:125px 1fr;gap:20px 28px}.resource-item>p{grid-column:2}.resource-actions{grid-column:2}
  .contact-layout{grid-template-columns:1fr}.contact-info{max-width:780px}
  .footer-grid{grid-template-columns:1.3fr 1fr 1fr;gap:38px}.footer-brand{grid-column:1/-1}
}
@media (max-width:700px){
  :root{--shell:calc(100vw - 32px);--header-h:68px}
  .site-header{position:sticky}.header-inner{width:calc(100vw - 20px);gap:8px}.brand img{width:110px;max-height:52px}.search-trigger{width:42px;height:42px;padding:0;justify-content:center}.menu-toggle{width:40px;height:40px}
  .hero-media img{object-position:58% center}.hero-content{padding-top:76px;padding-bottom:36px}.hero h1{font-size:clamp(47px,14vw,70px);line-height:.92}.hero-lead{font-size:18px}.hero-actions{display:grid}.hero-actions .btn{width:100%}
  .hero-proof{grid-template-columns:1fr 1fr;margin-top:14px}.hero-proof div{padding:15px 14px;min-height:102px}.hero-proof strong{font-size:17px}.hero-proof small{font-size:10.5px}
  .statement-band__inner{display:grid;gap:16px}.statement-band a{justify-self:start}
  .section{padding:68px 0}.section h2,.cta-section h2{font-size:clamp(38px,12vw,56px)}.lead{font-size:18px}
  .editorial-points{grid-template-columns:1fr}.editorial-image img{aspect-ratio:4/5}.editorial-image figcaption{left:12px;right:12px;max-width:none;bottom:14px}
  .method-steps{grid-template-columns:1fr}.method-steps li{min-height:auto;padding:20px}.method-steps h3{margin:18px 0 8px}
  .sectors-image img{aspect-ratio:4/5}.sectors-image figcaption{left:12px;right:12px;max-width:none;bottom:14px}
  .ecosystem-row{padding:48px 0}.ecosystem-row figure img{aspect-ratio:4/3}.ecosystem-actions{display:grid}.ecosystem-actions .btn{width:100%}
  .resource-library{border-top-width:1px}.resource-item{grid-template-columns:1fr;padding:27px 0;gap:12px}.resource-item>p,.resource-actions{grid-column:auto}.resource-actions{display:grid;grid-template-columns:1fr 1fr}.resource-actions a{text-align:center}.resource-meta{display:flex;gap:16px}.resource-item h3{font-size:23px}
  .reference-highlights{grid-template-columns:1fr}.references-table{font-size:12px}
  .contact-list a{grid-template-columns:1fr;gap:4px}.form-grid{grid-template-columns:1fr}.form-span{grid-column:auto}.form-actions{display:grid}.form-actions .btn{width:100%}.form-actions .text-link{justify-self:start}
  .footer-grid{grid-template-columns:1fr}.footer-brand{grid-column:auto}.footer-bottom{display:grid}.search-panel{padding:22px 18px}.search-result{grid-template-columns:70px 1fr 20px;gap:8px}.search-result strong{font-size:16px}.search-tip{display:none}
}
@media (max-width:420px){
  .hero-proof{grid-template-columns:1fr}.hero-proof div:nth-child(odd){border-right:0}.hero h1{font-size:45px}.resource-actions{grid-template-columns:1fr}.search-box kbd{display:none}
}

/* ========================================================================== 
   V4.1 — Institutional navigation, stronger wordmark and premium hero carousel
   ========================================================================== */

/* Header wordmark */
.header-inner{width:min(1760px,calc(100vw - 32px));gap:22px}
.brand{min-width:290px;gap:12px;flex:0 0 auto}
.brand img{width:76px;max-height:62px;object-fit:contain}
.brand-wordmark{display:grid;line-height:.9;color:#fff;text-transform:uppercase;white-space:nowrap}
.brand-wordmark strong{font-family:Baskerville,"Palatino Linotype",Palatino,Georgia,serif;font-size:24px;letter-spacing:.035em;font-weight:700}
.brand-wordmark span{margin-top:7px;color:var(--gold-2);font-family:var(--sans);font-size:10.5px;letter-spacing:.30em;font-weight:900}

/* Main navigation: large uppercase institutional tabs */
.desktop-nav{gap:clamp(14px,1.35vw,27px)}
.desktop-nav a{font-size:14.5px;font-weight:860;letter-spacing:.055em;text-transform:uppercase;padding:30px 0 28px}
.desktop-nav .nav-faculty{color:var(--gold-2)}
.desktop-nav .nav-faculty::after{background:var(--gold-2)}

/* Search remains distinctive but harmonized with the larger header */
.search-trigger{font-size:13px;padding:11px 14px}
.header-cta{font-size:13px;padding:12px 17px;text-transform:uppercase;letter-spacing:.035em}

/* Mobile menu */
.mobile-menu nav>a{font-family:var(--sans);font-size:clamp(23px,6.3vw,32px);font-weight:850;letter-spacing:.035em;text-transform:uppercase}
.mobile-menu nav>a.mobile-faculty{color:var(--gold-2);border-left:3px solid var(--gold-2);padding-left:15px}

/* Hero carousel */
.hero{min-height:calc(100svh - var(--header-h));position:relative;isolation:isolate}
.hero-carousel{position:absolute;inset:0;z-index:0}
.hero-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .78s ease,visibility .78s ease;display:flex;align-items:stretch;color:#fff;pointer-events:none}
.hero-slide.is-active{opacity:1;visibility:visible;z-index:1;pointer-events:auto}
.hero-slide .hero-media,.hero-slide .hero-overlay{position:absolute;inset:0}
.hero-slide .hero-media img{width:100%;height:100%;object-fit:cover;object-position:center 45%;transform:scale(1.035);transition:transform 8s cubic-bezier(.2,.65,.3,1)}
.hero-slide.is-active .hero-media img{transform:scale(1)}
.hero-slide .hero-overlay{background:linear-gradient(90deg,rgba(5,22,40,.985) 0%,rgba(5,22,40,.94) 42%,rgba(5,22,40,.58) 72%,rgba(5,22,40,.30) 100%),linear-gradient(180deg,rgba(3,15,29,.12),rgba(3,15,29,.74))}
.hero-slide:nth-child(2) .hero-media img{object-position:center 48%}
.hero-slide:nth-child(3) .hero-media img{object-position:center 40%}
.hero-slide--faculty .hero-media img{object-position:center 44%}
.hero-slide--faculty .hero-overlay{background:linear-gradient(90deg,rgba(5,22,40,.985) 0%,rgba(5,22,40,.93) 46%,rgba(5,22,40,.62) 73%,rgba(5,22,40,.34) 100%),linear-gradient(180deg,rgba(3,15,29,.16),rgba(3,15,29,.77))}
.hero-slide .hero-content{position:relative;z-index:2;width:var(--shell);display:flex;align-items:center;padding-top:clamp(90px,11vh,140px);padding-bottom:clamp(150px,17vh,205px)}
.hero-slide .hero-copy{max-width:990px}
.hero-brandline{font-family:Baskerville,"Palatino Linotype",Palatino,Georgia,serif;font-size:clamp(18px,1.6vw,25px);letter-spacing:.10em;color:#fff;margin:22px 0 8px;font-weight:700}
.hero h1{font-size:clamp(57px,6vw,104px);max-width:1080px;margin:12px 0 29px}
.hero-lead{font-size:clamp(19px,1.55vw,24px);max-width:850px}

/* Hero carousel controls */
.hero-controls{position:absolute;z-index:10;left:50%;bottom:28px;transform:translateX(-50%);display:flex;align-items:stretch;gap:12px;color:#fff}
.hero-tabs{display:grid;grid-template-columns:repeat(4,minmax(145px,1fr));flex:1;border:1px solid rgba(255,255,255,.16);background:rgba(4,20,38,.74);backdrop-filter:blur(14px)}
.hero-tab{position:relative;min-height:72px;border:0;border-right:1px solid rgba(255,255,255,.12);background:transparent;color:#c9d5df;padding:14px 18px;text-align:left;display:grid;grid-template-columns:32px 1fr;align-items:center;gap:6px;overflow:hidden}
.hero-tab:last-child{border-right:0}
.hero-tab::after{content:"";position:absolute;left:0;right:100%;bottom:0;height:3px;background:var(--gold);transition:right .25s ease}
.hero-tab:hover,.hero-tab:focus-visible,.hero-tab.is-active{background:rgba(255,255,255,.055);color:#fff}
.hero-tab.is-active::after{right:0}
.hero-tab span{color:var(--gold-2);font-size:14px;font-weight:950;letter-spacing:.08em}
.hero-tab b{font-size:12.5px;line-height:1.25;text-transform:uppercase;letter-spacing:.055em}
.hero-tab--faculty b{color:var(--gold-2)}
.hero-pause{width:72px;border:1px solid rgba(255,255,255,.16);background:rgba(4,20,38,.74);backdrop-filter:blur(14px);color:var(--gold-2);font-size:20px;font-weight:900}
.hero-pause:hover,.hero-pause:focus-visible{background:rgba(255,255,255,.09)}

/* Slightly larger numbers and small type across the site */
.eyebrow{font-size:12.5px}
.section p{font-size:17px}
.section-head>p{font-size:17.8px}
.editorial-points span{font-size:13px}
.editorial-points b{font-size:19px}
.expertise-row__title span{font-size:14px;margin-top:7px}
.expertise-row>p{font-size:16.5px}
.expertise-row>a{font-size:14px}
.method-steps span{font-size:14px}
.method-steps p{font-size:15px}
.sector-index span{font-size:12.5px}
.ecosystem-no{font-size:14px}
.tag-list span{font-size:12.5px}
.resource-meta{font-size:11.5px}
.resource-item>p{font-size:15.5px}
.resource-actions a{font-size:13px}
.reference-highlights span{font-size:12px}
.reference-highlights p{font-size:14px}
.references-table{font-size:13.8px}
.references-table th{font-size:11px}
.contact-list span{font-size:11.5px}
.contact-list strong{font-size:15px}
.contact-form label{font-size:13px}
.form-note{font-size:12px!important}
.site-footer a{font-size:13.5px}
.footer-brand p{font-size:14px}
.footer-bottom{font-size:12px}
.footer-domain{font-family:Baskerville,"Palatino Linotype",Palatino,Georgia,serif!important;color:var(--gold-2)!important;font-size:18px!important;letter-spacing:.04em}

/* Responsive adaptations */
@media (max-width:1500px){
  .brand{min-width:250px}.brand img{width:66px}.brand-wordmark strong{font-size:21px}.desktop-nav a{font-size:13.3px}.desktop-nav{gap:15px}.search-trigger span{display:none}
}
@media (max-width:1260px){
  .brand{min-width:250px}
  .hero-slide .hero-content{padding-bottom:170px}
}
@media (max-width:980px){
  .brand{min-width:auto}.brand img{width:62px}.brand-wordmark strong{font-size:20px}.brand-wordmark span{font-size:9px}
  .hero-slide .hero-content{padding-top:92px;padding-bottom:176px}.hero-slide .hero-copy{max-width:780px}
  .hero-slide .hero-overlay{background:linear-gradient(90deg,rgba(5,22,40,.97),rgba(5,22,40,.76)),linear-gradient(180deg,rgba(3,15,29,.06),rgba(3,15,29,.82))}
  .hero-tabs{grid-template-columns:repeat(4,1fr)}.hero-tab{grid-template-columns:1fr;min-height:68px;padding:12px 13px}.hero-tab span{font-size:13px}.hero-tab b{font-size:10.5px}.hero-pause{width:62px}
}
@media (max-width:700px){
  .header-inner{width:calc(100vw - 18px)}
  .brand{gap:8px}.brand img{width:52px;max-height:48px}.brand-wordmark strong{font-size:17px}.brand-wordmark span{font-size:7.5px;letter-spacing:.22em;margin-top:5px}
  .hero{min-height:760px}.hero-slide .hero-content{padding-top:68px;padding-bottom:142px;align-items:center}.hero-slide .hero-media img{object-position:62% center}.hero-slide:nth-child(2) .hero-media img{object-position:62% center}.hero-slide:nth-child(3) .hero-media img{object-position:53% center}.hero-slide--faculty .hero-media img{object-position:54% center}
  .hero-slide .hero-overlay{background:linear-gradient(90deg,rgba(5,22,40,.97),rgba(5,22,40,.78)),linear-gradient(180deg,rgba(3,15,29,.12),rgba(3,15,29,.86))}
  .hero-brandline{font-size:17px;letter-spacing:.07em}.hero h1{font-size:clamp(44px,13vw,64px)}.hero-lead{font-size:18px}
  .hero-controls{bottom:14px;gap:7px}.hero-tabs{grid-template-columns:repeat(4,1fr)}.hero-tab{min-width:0;min-height:58px;padding:10px 8px;text-align:center;justify-items:center}.hero-tab span{font-size:12px}.hero-tab b{display:none}.hero-pause{width:52px;font-size:17px}
  .section p{font-size:16.5px}.section-head>p{font-size:17px}
}
@media (max-width:420px){
  .brand-wordmark strong{font-size:15px}.brand-wordmark span{font-size:7px}.hero{min-height:735px}.hero-slide .hero-content{padding-bottom:130px}.hero h1{font-size:43px}
}
@media (prefers-reduced-motion:reduce){
  .hero-slide,.hero-slide .hero-media img{transition:none!important}
}
.hero-tab.is-active::before{content:"";position:absolute;left:0;bottom:0;height:3px;width:100%;background:var(--gold-2);transform-origin:left center;animation:heroProgress 6.6s linear forwards}
.hero-tab.is-active::after{display:none}
.hero.is-paused .hero-tab.is-active::before{animation-play-state:paused}
@keyframes heroProgress{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@media (prefers-reduced-motion:reduce){.hero-tab.is-active::before{animation:none;transform:scaleX(1)}}
.site-footer .footer-domain{display:block;margin:7px 0;font-family:Baskerville,"Palatino Linotype",Palatino,Georgia,serif;color:var(--gold-2);font-size:18px;letter-spacing:.035em}

/* V4.2 — PDF reader, faculty copy and dual professional emails */
.resource-actions button,
.resource-actions a{font-family:var(--sans);line-height:1.2;cursor:pointer}
.resource-actions button{appearance:none;border:1px solid var(--line);padding:10px 12px;font-size:13px;font-weight:850;background:#fff;color:var(--ink)}
.resource-actions button:hover{border-color:var(--gold);color:#9a6c09}
.resource-actions button:focus-visible,
.resource-actions a:focus-visible{outline:3px solid rgba(201,151,43,.28);outline-offset:3px}

.pdf-dialog{position:fixed;inset:0;z-index:2300;background:rgba(2,13,25,.82);backdrop-filter:blur(12px);padding:4vh 20px;overflow:auto}
.pdf-dialog[hidden]{display:none}
.pdf-panel{width:min(1180px,100%);height:min(92vh,900px);margin:auto;background:#f8f5ef;box-shadow:0 34px 100px rgba(0,0,0,.38);display:grid;grid-template-rows:auto minmax(0,1fr) auto;border-top:4px solid var(--gold)}
.pdf-panel__head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:20px 24px 16px;border-bottom:1px solid var(--line)}
.pdf-panel__head .eyebrow{margin-bottom:6px}
.pdf-panel__head h2{font-size:clamp(22px,2.5vw,34px);line-height:1.12;margin:0;max-width:900px}
.pdf-close{appearance:none;width:46px;height:46px;border:1px solid var(--line);background:#fff;color:var(--ink);font-size:30px;line-height:1;cursor:pointer;flex:0 0 auto}
.pdf-close:hover{background:var(--ink);color:#fff}
.pdf-frame-wrap{min-height:0;background:#dfe4e8;padding:12px}
.pdf-frame-wrap iframe{display:block;width:100%;height:100%;min-height:520px;border:0;background:#fff}
.pdf-panel__foot{display:flex;justify-content:space-between;align-items:center;gap:28px;padding:14px 24px 18px;border-top:1px solid var(--line)}
.pdf-panel__foot p{margin:0;color:var(--muted);font-size:13.5px;line-height:1.5;max-width:760px}
.pdf-panel__foot a{white-space:nowrap}
.contact-list a strong{overflow-wrap:anywhere}

@media (max-width:700px){
  .pdf-dialog{padding:0}
  .pdf-panel{height:100dvh;width:100%;border-top-width:3px}
  .pdf-panel__head{padding:16px}
  .pdf-panel__head h2{font-size:21px}
  .pdf-frame-wrap{padding:0}
  .pdf-frame-wrap iframe{min-height:0;height:100%}
  .pdf-panel__foot{padding:12px 16px 16px;display:grid;gap:8px}
  .pdf-panel__foot p{font-size:12.5px}
  .resource-actions button,.resource-actions a{min-height:48px;display:flex;align-items:center;justify-content:center;text-align:center}
}

/* V4.3 — chronological references and reliable mobile footer interactions */
.footer-contact-block{position:relative;z-index:3}
.footer-touch-link{position:relative;z-index:4;display:grid!important;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:10px;min-height:44px;padding:5px 0;margin:2px 0!important;pointer-events:auto!important;touch-action:manipulation;-webkit-tap-highlight-color:rgba(240,200,93,.18)}
.footer-touch-link .footer-link-icon{display:grid;place-items:center;width:28px;height:28px;border:1px solid rgba(240,200,93,.34);color:var(--gold-2);font-weight:900;font-size:14px;line-height:1}
.footer-touch-link span:last-child{overflow-wrap:anywhere}
.footer-touch-link:hover .footer-link-icon,.footer-touch-link:focus-visible .footer-link-icon{background:var(--gold-2);color:var(--ink)}
.footer-bottom a{position:relative;z-index:4;min-height:44px;display:inline-flex;align-items:center;pointer-events:auto!important;touch-action:manipulation}

@media (max-width:700px){
  .site-footer{position:relative;z-index:2}
  .site-footer a{font-size:15px;line-height:1.35}
  .footer-contact-block{width:100%}
  .footer-touch-link{width:100%;min-height:52px;padding:8px 0;border-bottom:1px solid rgba(255,255,255,.08)}
  .footer-touch-link .footer-link-icon{width:34px;height:34px;font-size:16px}
  .footer-bottom{gap:10px}
  .footer-bottom a{width:max-content;min-height:48px}
}

/* Correction affichage des adresses e-mail */
.footer-touch-link[href^="mailto:"] {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 0 !important;
}

.footer-touch-link[href^="mailto:"] span:last-child {
  overflow-wrap: normal;
  word-break: normal;
}

@media (min-width: 701px) {
  .footer-touch-link[href^="mailto:"] span:last-child {
    white-space: nowrap;
    font-size: 0.92em;
  }
}

/* Correction des e-mails dans la section Contact */
.contact-email-value {
  display: inline-block;
  white-space: nowrap;
}

.contact-email-value--rehoboth {
  font-size: 0.82em;
  letter-spacing: -0.01em;
}

@media (max-width: 700px) {
  .contact-email-value {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .contact-email-value--rehoboth {
    font-size: 0.95em;
  }
}

/* ARCHETYP - finition section Contact */

/* Adresse REHOBOTH : une seule ligne, taille lisible */
.contact-email-value--rehoboth {
  display: inline-block !important;
  white-space: nowrap !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  font-size: 0.78em !important;
  letter-spacing: -0.02em !important;
}

/* Texte saisi dans le formulaire : graisse normale */
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-weight: 400 !important;
}

/* Texte indicatif des champs */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  font-weight: 400 !important;
  opacity: 0.72;
}


/* ARCHETYP - équilibrage final des tailles */

/* Email REHOBOTH : plus lisible tout en restant sur une ligne */
.contact-email-value--rehoboth {
  font-size: 0.90em !important;
  letter-spacing: -0.015em !important;
  white-space: nowrap !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

/* Texte saisi dans le formulaire */
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-size: 16px !important;
  line-height: 1.5 !important;
  font-weight: 400 !important;
}

/* Texte indicatif avant saisie */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  font-size: 15px !important;
  font-weight: 400 !important;
}


/* Suppression du point jaune devant Faculte */

/* Finition professionnelle : expertises + emails footer */
@media (min-width: 901px) {
  .expertise-row > a {
    justify-self: stretch !important;
    width: 100%;
    text-align: left;
  }
}

.footer-touch-link[href^="mailto:"] {
  grid-template-columns: 34px minmax(0,1fr) !important;
  gap: 12px !important;
}

.footer-touch-link[href^="mailto:"] .footer-link-icon {
  display: grid !important;
}


/* ARCHETYP - header mobile coherent avec REHOBOTH */
@media (max-width:900px){

  .header-inner{
    display:flex !important;
    align-items:center !important;
  }

  .header-actions{
    margin-left:auto !important;
    display:flex !important;
    align-items:center !important;
    gap:8px !important;
  }

  .search-trigger{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:46px !important;
    height:46px !important;
    flex:0 0 46px !important;
    padding:0 !important;
    border:1px solid var(--gold) !important;
    border-radius:10px !important;
  }

  .search-trigger span{
    display:none !important;
  }

  .menu-toggle{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:46px !important;
    height:46px !important;
    flex:0 0 46px !important;
    padding:10px !important;
    border:1px solid var(--gold) !important;
    border-radius:10px !important;
    background:rgba(255,255,255,.025) !important;
  }

  /* Les coordonnées n'ont pas à être répétées dans le menu mobile */
  .mobile-menu__foot{
    display:none !important;
  }
}


/* ARCHETYP - sélecteur FR / EN visible sur mobile */
@media (max-width:900px){

  .language-switch{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:3px !important;
    flex:0 0 auto !important;
    margin:0 !important;
    padding:5px 7px !important;
    min-width:58px !important;
    height:34px !important;
    border:1px solid rgba(212,175,55,.55) !important;
    border-radius:9px !important;
    background:rgba(255,255,255,.025) !important;
  }

  .language-switch button{
    padding:0 !important;
    border:0 !important;
    background:transparent !important;
    font-size:11px !important;
    line-height:1 !important;
    font-weight:800 !important;
  }

  .language-switch span{
    display:inline !important;
    font-size:10px !important;
    opacity:.65 !important;
  }
}


/* ARCHETYP - ordre final du header mobile */
@media (max-width:900px){

  .language-switch{
    order:1 !important;
    border:0 !important;
    background:transparent !important;
    min-width:auto !important;
    height:auto !important;
    padding:0 4px !important;
    border-radius:0 !important;
  }

  .search-trigger{
    order:2 !important;
  }

  .menu-toggle{
    order:3 !important;
  }

  .language-switch button{
    font-size:12px !important;
  }

  .language-switch .is-active{
    color:var(--gold) !important;
  }
}


/* ARCHETYP - identité de marque mobile */
@media (max-width:700px){

  .brand{
    gap:10px !important;
    flex-shrink:1 !important;
    min-width:0 !important;
  }

  .brand img{
    width:72px !important;
    max-height:62px !important;
    height:auto !important;
    object-fit:contain !important;
  }

  .brand-wordmark strong{
    font-size:18px !important;
    letter-spacing:.025em !important;
  }

  .brand-wordmark span{
    font-size:7.5px !important;
    letter-spacing:.22em !important;
    margin-top:5px !important;
  }
}

@media (max-width:420px){
  .brand img{
    width:68px !important;
    max-height:58px !important;
  }

  .brand-wordmark strong{
    font-size:17px !important;
  }
}



/* V4.11 - References with official logos from REFERENCES.2026 */
.reference-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.reference-card{
  min-width:0;
  display:grid;
  grid-template-columns:148px minmax(0,1fr);
  gap:22px;
  align-items:center;
  padding:22px;
  border:1px solid rgba(255,255,255,.13);
  background:rgba(255,255,255,.035);
}
.reference-logo{
  height:108px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:14px;
  background:#fff;
  border:1px solid rgba(213,167,44,.28);
}
.reference-logo img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}
.reference-card__body{min-width:0;}
.reference-card__body h3{
  margin:0 0 10px;
  color:#fff;
  font-family:var(--serif);
  font-size:21px;
  line-height:1.16;
}
.reference-card__body p{
  margin:0;
  color:#bdc9d4;
  font-size:14px;
  line-height:1.62;
}
@media(max-width:1050px){
  .reference-grid{grid-template-columns:1fr;}
  .reference-card{grid-template-columns:138px minmax(0,1fr);}
}
@media(max-width:620px){
  .reference-grid{gap:12px;}
  .reference-card{
    grid-template-columns:96px minmax(0,1fr);
    gap:14px;
    padding:15px;
    align-items:start;
  }
  .reference-logo{height:82px;padding:10px;}
  .reference-card__body h3{font-size:17px;margin-bottom:7px;}
  .reference-card__body p{font-size:13px;line-height:1.55;}
}
@media(max-width:390px){
  .reference-card{grid-template-columns:82px minmax(0,1fr);gap:12px;padding:13px;}
  .reference-logo{height:72px;padding:8px;}
  .reference-card__body h3{font-size:16px;}
  .reference-card__body p{font-size:12.5px;}
}

/* V4.12 - Agrandissement ciblé de certains logos uniquement sur mobile */
@media (max-width:620px){

  .reference-logo img[src$="bank-of-africa.png"]{
    transform:scale(1.32);
  }

  .reference-logo img[src$="abi.png"]{
    transform:scale(1.38);
  }

  .reference-logo img[src$="csrs.png"]{
    transform:scale(1.32);
  }

}


/* V4.13 - Logos mobiles agrandis mais strictement contenus */
@media (max-width:620px){

  .reference-logo{
    overflow:hidden !important;
    position:relative !important;
  }

  .reference-logo img{
    transform-origin:center center !important;
  }

  .reference-logo img[src$="bank-of-africa.png"]{
    transform:scale(1.20) !important;
  }

  .reference-logo img[src$="abi.png"]{
    transform:scale(1.22) !important;
  }

  .reference-logo img[src$="csrs.png"]{
    transform:scale(1.18) !important;
  }
}


/* V4.14 - logos officiels BOA ABI CSRS */
.reference-logo:has(img[src$="bank-of-africa.png"]),
.reference-logo:has(img[src$="abi.png"]),
.reference-logo:has(img[src$="csrs.png"]){
  padding:6px !important;
  overflow:hidden !important;
}
.reference-logo img[src$="bank-of-africa.png"],
.reference-logo img[src$="abi.png"],
.reference-logo img[src$="csrs.png"]{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  transform:none !important;
  transform-origin:center center !important;
}

/* Téléphones moyens : plus d'espace horizontal pour les logos larges */
@media (min-width:391px) and (max-width:620px){
  .reference-card:has(img[src$="bank-of-africa.png"]),
  .reference-card:has(img[src$="csrs.png"]){
    grid-template-columns:122px minmax(0,1fr) !important;
  }
  .reference-card:has(img[src$="abi.png"]){
    grid-template-columns:146px minmax(0,1fr) !important;
  }
  .reference-card:has(img[src$="bank-of-africa.png"]) .reference-logo,
  .reference-card:has(img[src$="abi.png"]) .reference-logo,
  .reference-card:has(img[src$="csrs.png"]) .reference-logo{
    height:82px !important;
    padding:3px !important;
  }
}

/* Petits téléphones : le logo passe au-dessus du texte pour rester grand et net */
@media (max-width:390px){
  .reference-card:has(img[src$="bank-of-africa.png"]),
  .reference-card:has(img[src$="abi.png"]),
  .reference-card:has(img[src$="csrs.png"]){
    grid-template-columns:1fr !important;
    gap:10px !important;
  }
  .reference-card:has(img[src$="bank-of-africa.png"]) .reference-logo,
  .reference-card:has(img[src$="csrs.png"]) .reference-logo{
    width:min(220px,100%) !important;
    height:78px !important;
    justify-self:center !important;
    padding:4px !important;
  }
  .reference-card:has(img[src$="abi.png"]) .reference-logo{
    width:min(250px,100%) !important;
    height:72px !important;
    justify-self:center !important;
    padding:3px !important;
  }
}

/* V4.15 - BOA, ABI et CSRS harmonisés avec les autres références sur mobile */
@media (max-width:620px){

  .reference-card:has(img[src$="bank-of-africa.png"]),
  .reference-card:has(img[src$="abi.png"]),
  .reference-card:has(img[src$="csrs.png"]){
    grid-template-columns:108px minmax(0,1fr) !important;
    gap:14px !important;
    align-items:start !important;
  }

  .reference-card:has(img[src$="bank-of-africa.png"]) .reference-logo,
  .reference-card:has(img[src$="abi.png"]) .reference-logo,
  .reference-card:has(img[src$="csrs.png"]) .reference-logo{
    width:108px !important;
    height:92px !important;
    min-width:108px !important;
    padding:4px !important;
    margin:0 !important;
    justify-self:start !important;
    align-self:start !important;
    overflow:hidden !important;
  }

  .reference-card:has(img[src$="bank-of-africa.png"]) .reference-logo img,
  .reference-card:has(img[src$="abi.png"]) .reference-logo img,
  .reference-card:has(img[src$="csrs.png"]) .reference-logo img{
    width:100% !important;
    height:100% !important;
    object-fit:contain !important;
    transform:none !important;
  }
}

/* Très petits téléphones : même structure, légèrement plus compacte */
@media (max-width:370px){

  .reference-card:has(img[src$="bank-of-africa.png"]),
  .reference-card:has(img[src$="abi.png"]),
  .reference-card:has(img[src$="csrs.png"]){
    grid-template-columns:96px minmax(0,1fr) !important;
    gap:12px !important;
  }

  .reference-card:has(img[src$="bank-of-africa.png"]) .reference-logo,
  .reference-card:has(img[src$="abi.png"]) .reference-logo,
  .reference-card:has(img[src$="csrs.png"]) .reference-logo{
    width:96px !important;
    min-width:96px !important;
    height:84px !important;
  }
}

