:root{
  --green:#123b2d;--green-2:#1b4b39;--green-3:#2e6950;--gold:#c8a34d;--gold-light:#f0dfae;
  --ink:#202820;--muted:#68736d;--line:#e6eae6;--surface:#fff;--page:#f7f8f5;
  --mint:#e3f1e9;--sand:#f8efd9;--blue:#e7eef8;--rose:#f8e9e5;--lilac:#eee9f8;--shadow:0 8px 26px rgba(18,59,45,.07);
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--page);color:var(--ink);padding-bottom:calc(86px + env(safe-area-inset-bottom))}
button,input{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #c8a34d;outline-offset:3px}
.app-shell{max-width:1100px;margin:0 auto;min-height:100vh;background:var(--page)}
.topbar{height:76px;background:var(--surface);border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 clamp(16px,4vw,38px);gap:24px;position:sticky;top:0;z-index:10}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--green);min-width:max-content}.brand-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--green);color:var(--gold);font-weight:900;font-size:26px;line-height:1}.brand-copy{display:flex;flex-direction:column;gap:1px}.brand-copy strong{font-size:18px;letter-spacing:-.5px}.brand-copy small{font-size:9px;letter-spacing:1.2px;font-weight:800;color:var(--muted)}.brand-tagline{margin:auto;font-size:10px;letter-spacing:2px;color:var(--green);font-weight:800;white-space:nowrap}.header-actions{display:flex;gap:8px}.icon-btn{border:1px solid var(--line);background:white;border-radius:12px;width:40px;height:40px;color:var(--green);font-size:20px}
#main-content{padding:26px clamp(16px,4vw,38px) 28px}.hero{min-height:290px;border-radius:24px;background:var(--green);color:white;position:relative;overflow:hidden;display:flex;align-items:center;padding:clamp(24px,5vw,46px);box-shadow:var(--shadow)}.hero-copy{position:relative;z-index:2;width:min(62%,580px)}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:800;color:var(--gold-light);margin:0 0 12px}.hero h1{font-size:clamp(28px,4.2vw,45px);line-height:1.1;letter-spacing:-1.4px;margin:0 0 13px;max-width:540px}.hero h1 span{color:#e7c975}.hero-sub{color:#e4ebe6;font-size:14px;line-height:1.5;margin:0 0 23px}.hero-actions{display:flex;gap:10px;flex-wrap:wrap}.btn{border:1px solid transparent;border-radius:11px;padding:12px 15px;font-size:12px;font-weight:750;display:inline-flex;align-items:center;gap:10px;justify-content:center}.btn-gold{background:var(--gold);color:#1c2b21}.btn-outline{border-color:rgba(255,255,255,.6);color:white;background:transparent}.hero-art{position:absolute;right:0;top:0;width:43%;height:100%;overflow:hidden;opacity:.96}.sun-disc{position:absolute;width:110px;height:110px;border-radius:50%;background:#d8bd70;right:22%;top:15%}.art-hill{position:absolute;bottom:-24%;width:125%;height:70%;border-radius:50% 50% 0 0}.hill-back{right:-24%;background:#2b6049;transform:rotate(-12deg)}.hill-front{right:-12%;bottom:-34%;background:#174634;transform:rotate(10deg)}.art-building{position:absolute;right:22%;bottom:19%;height:96px;width:90px;background:#ead9a5;clip-path:polygon(50% 0,100% 23%,100% 100%,0 100%,0 23%);display:flex;justify-content:space-evenly;align-items:flex-end;padding:0 12px 0}.art-building span{height:50px;width:10px;background:#315c43;margin-bottom:0}.art-building span:nth-child(2),.art-building span:nth-child(4){height:60px}.art-star{position:absolute;right:12%;top:18%;color:#fff0bd;font-size:28px}
.search-panel{display:flex;gap:10px;margin:22px 0 29px}.searchbox{height:48px;border:1px solid var(--line);background:white;border-radius:14px;display:flex;align-items:center;gap:10px;padding:0 13px;flex:1;min-width:0}.search-icon{font-size:24px;color:var(--green)}.searchbox input{border:0;outline:0;background:transparent;min-width:0;flex:1;color:var(--ink);font-size:13px}.clear-search{border:0;background:transparent;color:#7d8982;font-size:22px}.filter-btn{border:1px solid var(--line);background:white;border-radius:14px;padding:0 15px;color:var(--green);font-size:13px;font-weight:700;display:flex;gap:8px;align-items:center}.filter-row{display:flex;gap:8px;margin:-18px 0 25px;flex-wrap:wrap}.chip{border:1px solid var(--line);background:white;border-radius:100px;padding:8px 13px;font-size:12px;color:var(--muted)}.chip.active{background:var(--green);color:white;border-color:var(--green)}
.section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:15px}.dark-eyebrow{color:var(--green);margin-bottom:5px}.section-heading h2{font-size:23px;letter-spacing:-.6px;margin:0}.text-link{border:0;background:transparent;color:var(--green);font-size:12px;font-weight:800;padding:8px 0}.text-link span{color:var(--gold);font-size:17px;margin-left:5px}
.quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.quick-card{position:relative;min-height:142px;border:1px solid transparent;border-radius:18px;text-align:left;padding:17px;display:flex;flex-direction:column;align-items:flex-start;gap:7px;overflow:hidden;transition:transform .18s,box-shadow .18s}.quick-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.card-services{background:var(--sand);border-color:#efe3c2}.card-commerce{background:var(--mint);border-color:#d6e9dd}.card-enterprises{background:var(--blue);border-color:#dce5f1}.card-talents{background:var(--lilac);border-color:#e4dcf3}.card-opportunities{background:#f8e9e5;border-color:#f0dcd6}.card-assistance{background:#e8f1ef;border-color:#d9e8e4}.card-icon{height:32px;width:32px;border-radius:10px;background:rgba(255,255,255,.68);display:grid;place-items:center;color:var(--green);font-size:21px}.card-title{font-size:14px;font-weight:800;color:#26392f}.card-desc{font-size:11px;line-height:1.4;color:#5e6d64;max-width:90%}.card-arrow{position:absolute;right:15px;top:17px;color:#7d8a80;font-size:16px}
.status-note{margin-top:24px;display:flex;gap:12px;align-items:center;padding:14px 16px;background:#fff;border:1px solid var(--line);border-radius:15px;color:var(--ink)}.status-dot{height:9px;width:9px;flex:none;border-radius:50%;background:var(--gold)}.status-note strong,.status-note small{display:block}.status-note strong{font-size:12px}.status-note small{font-size:11px;color:var(--muted);margin-top:3px;line-height:1.4}.module-view{margin-top:18px;background:white;border:1px solid var(--line);border-radius:18px;padding:22px}.module-view h2{margin:0 0 9px;color:var(--green)}.module-view p{color:var(--muted);font-size:13px;line-height:1.6}.module-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:15px}.module-links button{padding:13px;text-align:left;border:1px solid var(--line);background:#fff;border-radius:11px;color:var(--green);font-weight:700}
.bottom-nav{position:fixed;z-index:20;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,1100px);min-height:74px;padding:7px 10px calc(7px + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(5,1fr);backdrop-filter:blur(14px)}.nav-item{border:0;background:transparent;color:#7c877f;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:10px;font-weight:700;min-width:0}.nav-icon{font-size:22px;line-height:24px}.nav-item.active{color:var(--green)}.nav-iba{gap:2px;color:var(--green);font-size:9px}.iba-circle{height:44px;width:44px;border-radius:50%;background:var(--green);border:3px solid var(--gold);display:grid;place-items:center;color:#f6d77d;font-size:24px;margin-top:-22px;box-shadow:0 3px 12px rgba(18,59,45,.16)}.nav-iba span:last-child{margin-top:2px}.toast{position:fixed;bottom:96px;left:50%;transform:translate(-50%,10px);background:#1c3026;color:white;padding:12px 16px;border-radius:12px;font-size:12px;opacity:0;pointer-events:none;transition:.2s;z-index:30;max-width:90vw;text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}
body.dark{--ink:#f1f4f1;--muted:#aab7af;--line:#2f4539;--surface:#172b21;--page:#102219;--shadow:0 8px 26px rgba(0,0,0,.18)}body.dark .topbar,body.dark .bottom-nav,body.dark .searchbox,body.dark .filter-btn,body.dark .status-note,body.dark .module-view,body.dark .module-links button{background:#172b21}body.dark .quick-card{filter:saturate(.8) brightness(.8)}body.dark .card-title{color:#f1f4f1}body.dark .card-desc{color:#d1ddd5}body.dark .hero{background:#0e3023}body.dark .btn-outline{color:white}
@media(min-width:760px){.hero{min-height:320px}.quick-card{min-height:160px;padding:20px}.card-title{font-size:15px}.card-desc{font-size:12px}}
@media(max-width:560px){.topbar{height:64px;gap:10px;padding:0 14px}.brand-mark{width:34px;height:34px}.brand-copy strong{font-size:16px}.brand-copy small{font-size:8px}.brand-tagline{display:none}.header-actions{margin-left:auto}.icon-btn{height:36px;width:36px}#main-content{padding:17px 14px 24px}.hero{min-height:320px;padding:23px 20px;align-items:flex-start}.hero-copy{width:100%;max-width:340px}.hero h1{font-size:31px;max-width:300px}.hero-sub{max-width:250px}.hero-art{width:65%;opacity:.55;right:-10%;top:24%}.hero-actions{max-width:260px}.btn{font-size:11px;padding:11px 12px}.search-panel{margin:17px 0 25px;gap:7px}.filter-btn{padding:0 11px}.filter-btn span{display:none}.quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.quick-card{min-height:133px;padding:13px;border-radius:15px}.card-title{font-size:13px}.card-desc{font-size:10px}.section-heading h2{font-size:21px}.section-heading{align-items:center}.bottom-nav{min-height:70px;padding-left:3px;padding-right:3px}.nav-item{font-size:9px}.iba-circle{width:42px;height:42px}.module-links{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* iConnect responsive correction — mobile, iPhone, iPad and desktop */
:root{--tap-target:44px}
button,a,input{ -webkit-tap-highlight-color:transparent }
button{touch-action:manipulation}
.btn,.icon-btn,.filter-btn,.chip,.nav-item,.module-links button{min-height:var(--tap-target)}
.app-shell{width:100%;max-width:1200px;overflow-x:clip}
.topbar{padding-left:clamp(14px,3.2vw,36px);padding-right:clamp(14px,3.2vw,36px)}
#main-content{padding-left:clamp(14px,3.2vw,36px);padding-right:clamp(14px,3.2vw,36px)}
.hero{isolation:isolate}
.hero-copy{max-width:620px}
.hero h1{overflow-wrap:normal;text-wrap:balance}
.btn{min-height:46px;line-height:1.25;white-space:normal}
.quick-card{min-width:0}
.quick-card:active,.btn:active,.icon-btn:active,.filter-btn:active,.module-links button:active{transform:scale(.985)}
.module-view{scroll-margin-top:86px}
.bottom-nav{padding-bottom:calc(7px + env(safe-area-inset-bottom));}

/* iPad portrait and small tablets: compact header, two-column cards */
@media (min-width:561px) and (max-width:900px){
  .topbar{height:70px;gap:14px}
  .brand-tagline{font-size:9px;letter-spacing:1.4px}
  .hero{min-height:300px;padding:clamp(24px,4vw,36px)}
  .hero-copy{width:64%;max-width:500px}
  .hero h1{font-size:clamp(30px,4.3vw,42px)}
  .hero-art{width:42%}
  .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .quick-card{min-height:138px;padding:16px}
  .card-title{font-size:15px}
  .card-desc{font-size:12px}
}
/* iPhone and narrow screens */
@media (max-width:560px){
  body{padding-bottom:calc(78px + env(safe-area-inset-bottom))}
  .app-shell{min-height:100svh}
  .topbar{height:calc(60px + env(safe-area-inset-top));padding-top:env(safe-area-inset-top);gap:8px}
  .brand{gap:8px;min-width:0}
  .brand-mark{flex:0 0 34px}
  .brand-copy strong{font-size:15px}
  .brand-copy small{font-size:7px;letter-spacing:.9px}
  .header-actions{gap:6px}
  .icon-btn{width:40px;height:40px;flex:0 0 40px}
  #main-content{padding:14px 12px 22px}
  .hero{min-height:330px;padding:24px 18px 22px;border-radius:20px;align-items:flex-start}
  .hero-copy{width:100%;max-width:100%}
  .eyebrow{font-size:9px;letter-spacing:1.4px}
  .hero h1{font-size:clamp(27px,7.4vw,34px);line-height:1.12;letter-spacing:-.8px;max-width:100%}
  .hero-sub{font-size:13px;max-width:78%;margin-bottom:18px}
  .hero-art{width:62%;height:54%;top:auto;bottom:0;right:-5%;opacity:.42}
  .sun-disc{width:82px;height:82px;right:20%;top:8%}
  .art-building{height:72px;width:68px;right:19%;bottom:10%}
  .art-building span{width:7px;height:38px}
  .art-building span:nth-child(2),.art-building span:nth-child(4){height:45px}
  .hero-actions{position:relative;z-index:3;display:grid;grid-template-columns:1fr;gap:8px;width:min(100%,260px)}
  .btn{width:100%;min-height:44px;padding:11px 12px;font-size:12px}
  .search-panel{gap:7px;margin:14px 0 24px}
  .searchbox{height:46px;padding:0 10px;gap:7px}
  .searchbox input{font-size:12px}
  .filter-btn{width:46px;min-width:46px;padding:0;justify-content:center}
  .filter-row{margin:-15px 0 22px;gap:6px}
  .chip{padding:8px 11px;font-size:12px}
  .section-heading{gap:8px;margin-bottom:12px;align-items:center}
  .section-heading h2{font-size:20px}
  .text-link{font-size:11px;white-space:nowrap}
  .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .quick-card{min-height:132px;padding:12px 11px;border-radius:14px;gap:7px}
  .card-icon{width:30px;height:30px;font-size:19px}
  .card-title{font-size:13px;line-height:1.25}
  .card-desc{font-size:10px;line-height:1.35;max-width:100%;overflow-wrap:anywhere}
  .card-arrow{right:10px;top:12px;font-size:14px}
  .status-note{padding:12px;margin-top:18px;align-items:flex-start}
  .status-note strong{font-size:12px}
  .status-note small{font-size:11px}
  .module-view{padding:16px;margin-top:14px}
  .module-view h2{font-size:20px}
  .module-links{grid-template-columns:1fr;gap:8px}
  .module-links button{min-height:46px;padding:12px;font-size:13px}
  .bottom-nav{width:100%;min-height:calc(66px + env(safe-area-inset-bottom));padding:5px 2px calc(5px + env(safe-area-inset-bottom))}
  .nav-item{font-size:9px;gap:2px;padding:2px 0}
  .nav-icon{font-size:21px;line-height:23px}
  .iba-circle{width:40px;height:40px;margin-top:-18px;font-size:22px}
  .toast{bottom:calc(82px + env(safe-area-inset-bottom));font-size:12px;width:max-content;max-width:92vw}
}
/* Very narrow phones */
@media (max-width:360px){
  .brand-copy small{letter-spacing:.4px;font-size:6.5px}
  .hero{padding:20px 14px;min-height:340px}
  .hero h1{font-size:27px}
  .hero-sub{max-width:90%}
  .quick-grid{gap:7px}
  .quick-card{padding:10px;min-height:126px}
  .card-title{font-size:12px}
  .card-desc{font-size:9px}
  .nav-item{font-size:8px}
}
/* iPad landscape and larger screens */
@media (min-width:901px){
  .app-shell{max-width:1200px}
  .hero{min-height:310px}
  .quick-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}

/* Référence visuelle IMPACTLAB ANZ — bannière Bénin et adaptation multi-écrans */
.brand-reference{gap:3px;min-width:0}
.brand-reference strong{font-size:clamp(20px,2.3vw,28px);font-weight:850;letter-spacing:-.8px;color:var(--green);white-space:nowrap}
.brand-reference strong em{font-style:normal;color:#c49a13}
.brand-reference small{font-size:9px;letter-spacing:1.6px;color:var(--green);font-weight:850}
.brand-reference>span:last-child{font-size:11px;color:#78837d;white-space:nowrap}
.hero{background:#003f2c;min-height:360px;border-radius:0;box-shadow:none;padding:clamp(26px,4.5vw,48px);}
.hero::before{content:"";position:absolute;z-index:1;left:0;top:0;bottom:0;width:8px;background:linear-gradient(to bottom,#e6c14b 0 33%,#008751 33% 66%,#ce1126 66% 100%)}
.hero-copy{width:52%;max-width:540px}
.hero .eyebrow{font-size:12px;letter-spacing:3px;color:#e7c34d;text-transform:none}
.hero h1{font-size:clamp(32px,4.2vw,46px);max-width:490px;line-height:1.14;letter-spacing:-.8px}
.hero-sub{max-width:460px;font-size:15px;line-height:1.55;margin-bottom:24px}
.hero-art{width:58%;height:100%;right:0;top:0;opacity:1;overflow:hidden}
.hero-art::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,#003f2c 0%,rgba(0,63,44,.92) 8%,rgba(0,63,44,.48) 42%,rgba(0,63,44,.03) 100%)}
.benin-monument{position:absolute;right:0;top:0;width:100%;height:100%;object-fit:cover;object-position:center 47%}
.benin-flag{position:absolute;z-index:2;left:0;top:0;width:20px;height:100%;object-fit:cover;object-position:left;display:none}
.hero-actions{gap:12px}
.btn{border-radius:999px;padding:14px 22px;min-height:48px;font-size:13px}
.btn-gold{background:#c99b08;color:white}
.btn-outline{background:#00452f;border-color:#00452f;color:white}
.search-panel{margin:0 0 22px;position:relative;z-index:3}
.searchbox{height:58px;border-radius:999px;padding:0 22px}
.filter-btn{height:58px;border-radius:999px;padding:0 20px}
.quick-section{padding-top:4px}
.quick-grid{gap:14px}
.quick-card{min-height:160px;border-radius:22px;padding:20px}
.card-icon{height:40px;width:40px;border-radius:12px}
@media(max-width:760px){
 .topbar{height:auto;min-height:74px;padding:10px 14px;gap:8px}
 .brand-reference strong{font-size:19px}.brand-reference small{font-size:8px;letter-spacing:1px}.brand-reference>span:last-child{display:none}
 .header-actions{margin-left:auto}
 #main-content{padding:0 12px 24px}
 .hero{min-height:430px;padding:28px 20px 24px;align-items:flex-start}
 .hero-copy{width:100%;max-width:100%;padding-top:8px}
 .hero h1{font-size:clamp(31px,8vw,40px);max-width:430px}
 .hero-sub{max-width:95%;font-size:14px}
 .hero-art{width:100%;height:49%;top:auto;bottom:0;right:0;opacity:1}
 .hero-art::before{background:linear-gradient(180deg,#003f2c 0%,rgba(0,63,44,.76) 14%,rgba(0,63,44,.05) 90%)}
 .benin-monument{object-position:center 55%}
 .hero-actions{display:grid;grid-template-columns:1fr 1fr;max-width:100%;gap:8px}
 .btn{padding:12px 9px;font-size:12px;min-height:48px;white-space:normal}
 .search-panel{margin:14px 0 22px}
 .searchbox{height:50px;padding:0 14px}.filter-btn{height:50px;width:50px;min-width:50px;padding:0}
 .filter-btn span{display:none}
 .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .quick-card{min-height:140px;padding:13px;border-radius:17px}
 .card-icon{height:34px;width:34px}
}
@media(max-width:380px){
 .hero{min-height:450px;padding-left:16px;padding-right:16px}
 .hero h1{font-size:30px}
 .hero-actions{grid-template-columns:1fr}
 .hero-art{height:42%}
 .quick-card{min-height:130px;padding:11px}
}
@media(min-width:761px){
 .app-shell{max-width:1440px}
 .topbar{height:92px;padding-left:clamp(24px,5vw,64px);padding-right:clamp(24px,5vw,64px)}
 #main-content{padding:0 clamp(24px,5vw,64px) 34px}
 .hero{min-height:420px;padding-left:clamp(36px,5vw,64px)}
 .hero-copy{width:48%}
 .hero-art{width:58%}
 .search-panel{margin-top:-1px}
}
