/*
Theme Name: MAKSAB
Theme URI: https://maksab.pro/
Author: MAKSAB
Description: Thème léger bilingue français/arabe conçu pour MAKSAB, avec RTL natif et une homepage éditable dans Gutenberg.
Version: 1.0.2
Text Domain: maksab
*/
:root{--ink:#062f32;--ink-2:#103f42;--gold:#bd8422;--gold-light:#dfa83f;--teal:#005e52;--teal-dark:#003d3a;--muted:#66758b;--line:#e3e8eb;--paper:#f6f4ee;--white:#fff;--shadow:0 14px 38px rgba(8,40,43,.12);--font-latin:"DM Sans",Arial,sans-serif;--font-arabic:"Noto Sans Arabic",Tahoma,Arial,sans-serif}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:90px}
body{margin:0;background:#fff;color:var(--ink);font-family:var(--font-latin);font-size:16px;line-height:1.6}
body:lang(ar),html[lang^="ar"] body{font-family:var(--font-arabic);line-height:1.8}
img{max-width:100%;height:auto}
a{color:inherit}
button,a,input,textarea,select{font:inherit}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #e8ae3d;outline-offset:3px}
.container{width:min(1408px,calc(100% - 64px));margin-inline:auto}
.site-header{height:78px;background:rgba(255,255,255,.97);position:relative;z-index:20;border-bottom:1px solid rgba(9,47,50,.06)}
.header-inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:24px;direction:ltr}
.brand{display:flex;align-items:center;gap:7px;text-decoration:none;flex:0 0 300px;min-width:230px;direction:ltr}
.brand-mark{width:33px;height:39px;object-fit:contain}
.brand-copy{display:flex;flex-direction:column;line-height:1.05}
.brand-word{font-size:33px;font-weight:800;letter-spacing:1.4px;color:#07383a}
.brand-tagline{font-size:11px;color:#0e3336;font-weight:600;white-space:nowrap;margin-top:5px}
.main-nav{flex:1;display:flex;justify-content:center}
.main-nav .menu{display:flex;align-items:center;justify-content:center;gap:27px;list-style:none;padding:0;margin:0;direction:rtl}
.main-nav .menu a{font-size:15px;font-weight:700;text-decoration:none;color:#101e28;white-space:nowrap;padding:12px 0;position:relative}
.main-nav .menu a:hover:after,.main-nav .current-menu-item>a:after{content:"";position:absolute;inset-inline:0;bottom:1px;height:2px;background:var(--gold)}
.header-actions{display:flex;align-items:center;gap:11px;flex:0 0 auto;direction:ltr}
.lang-wrap{position:relative}
.lang-switch{display:flex;align-items:center;gap:9px;background:#f2f5f7;border-radius:26px;padding:11px 16px;font-weight:700;text-decoration:none;font-size:14px;color:#10282e}
.lang-flag{font-size:18px;line-height:1}
.btn{min-height:48px;padding:0 23px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;gap:10px;text-decoration:none;font-weight:700;border:1px solid transparent;transition:transform .18s ease,box-shadow .18s ease,background .18s ease;white-space:nowrap}
.btn:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(0,55,50,.16)}
.btn-outline{border-color:#335759;background:#fff;color:#0c3134}
.btn-primary{background:#005c50;color:#fff}
.btn-primary:hover{background:#00483f}
.menu-toggle{display:none;border:1px solid var(--line);background:#fff;width:44px;height:44px;border-radius:10px;color:var(--ink);font-size:20px}
.hero{height:612px;position:relative;overflow:hidden;background:#c8d9e5}
.hero-background{position:absolute;inset:0;z-index:0}
.hero-background img{width:100%;height:100%;object-fit:cover;object-position:center 48%}
.hero-background:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,250,240,.85) 0%,rgba(255,250,240,.56) 37%,rgba(220,235,244,.12) 65%,rgba(228,239,245,.37) 100%),linear-gradient(0deg,rgba(4,38,39,.19),transparent 23%)}
.hero-layout{height:100%;position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,.93fr) minmax(0,1.13fr);gap:28px;align-items:center;direction:ltr}
.hero-copy{max-width:600px;padding:18px 0 22px;text-align:left;direction:ltr}
.hero-copy[dir="rtl"]{text-align:right;direction:rtl}
.hero-badges{display:flex;align-items:center;flex-wrap:wrap;margin:0 0 24px;border-radius:30px;overflow:hidden;width:fit-content;background:rgba(238,244,248,.78);box-shadow:0 2px 8px rgba(0,0,0,.05)}
.hero-badge{padding:7px 18px;font-size:14px;font-weight:600;line-height:1.35;color:#12353a}
.hero-badge-gold{background:#bd8422;color:#fff;border-radius:24px}
.hero-title{font-size:clamp(43px,4vw,53px);line-height:1.08;letter-spacing:-1.7px;font-weight:800;color:#07383a;margin:0 0 17px}
.hero-title .gold{color:#b67d1c}
.hero-description{max-width:565px;font-size:19px;line-height:1.55;color:#112c38;margin:0 0 25px;font-weight:500}
.hero-ctas{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.hero-ctas .btn{min-height:58px;padding-inline:28px}
.btn-demo{border-color:#406568;background:rgba(255,255,255,.95);color:#123338}
.play-dot{width:24px;height:24px;display:inline-grid;place-items:center;background:#006355;color:white;border-radius:50%;font-size:11px}
.hero-benefits{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin-top:20px;color:#163a3d;font-size:14px;font-weight:600}
.hero-benefits span{display:inline-flex;align-items:center;gap:8px}
.hero-benefits i{color:#00645a;font-size:16px}
.dashboard{width:100%;height:506px;display:flex;overflow:hidden;background:#fff;border:1px solid rgba(7,52,55,.18);border-radius:23px;box-shadow:0 22px 52px rgba(20,54,67,.24);transform:perspective(1400px) rotateY(-2deg) rotateZ(-.5deg);direction:ltr}
.dash-sidebar{flex:0 0 156px;background:#003f3c;color:#eaf8f2;padding:17px 10px;display:flex;flex-direction:column}
.dash-brand{display:flex;align-items:center;gap:7px;padding:3px 4px 16px;color:#fff;font-size:17px;font-weight:800;letter-spacing:.4px}
.dash-brand img{width:17px;height:21px;object-fit:contain}
.dash-nav{display:grid;gap:3px}
.dash-nav a{display:flex;align-items:center;gap:8px;color:#e7f4f1;text-decoration:none;padding:8px 7px;border-radius:7px;font-size:10.5px;line-height:1.35;font-weight:600;white-space:nowrap}
.dash-nav a.active{background:#00655a}
.dash-nav i{width:14px;text-align:center;font-size:11px}
.dash-main{min-width:0;flex:1;padding:16px 17px 14px;background:#fff;direction:inherit}.dash-main[dir="rtl"]{direction:rtl}.dash-main[dir="ltr"]{direction:ltr}
.dash-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:16px;color:#607182;font-size:10px}
.dash-profile{display:flex;align-items:center;gap:7px;color:#172f36;font-weight:700}
.dash-avatar{width:22px;height:22px;border-radius:50%;background:#092f33;color:#fff;display:grid;place-items:center;font-size:8px}
.dash-search{display:flex;align-items:center;gap:8px;border:1px solid #d0d9df;border-radius:8px;padding:6px 8px;margin-bottom:12px;min-height:42px;box-shadow:0 2px 5px rgba(0,0,0,.03)}
.dash-search i{font-size:12px;color:#49636a}
.dash-search span{flex:1;color:#758493;font-size:9.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:right}.dashboard[dir="ltr"] .dash-search span{text-align:left}
.dash-search button{background:#005b50;border:0;color:#fff;border-radius:7px;padding:9px 14px;font-size:10px;font-weight:700}
.dash-filters{display:flex;gap:6px;margin-bottom:13px}
.dash-filters span{border:1px solid #e0e5e8;background:#fbfcfc;border-radius:7px;padding:7px 8px;flex:1;white-space:nowrap;text-align:center;font-size:8px;color:#233b40}
.dash-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:14px}
.dash-stat{min-height:82px;padding:11px 9px;border:1px solid #edf0f2;border-radius:12px;display:flex;align-items:center;gap:8px;box-shadow:0 4px 12px rgba(20,45,55,.05)}
.dash-stat-icon{width:33px;height:33px;flex:0 0 33px;border-radius:50%;display:grid;place-items:center;font-size:14px}
.stat-green .dash-stat-icon{background:#def6ec;color:#19a875}.stat-blue .dash-stat-icon{background:#e5efff;color:#3574e9}.stat-orange .dash-stat-icon{background:#fff1d9;color:#ee9a13}
.dash-stat strong{display:block;font-size:16px;line-height:1.2;color:#142f36}
.dash-stat small{display:block;font-size:8px;line-height:1.3;color:#546979;margin-top:4px}
.dash-stat em{font-style:normal;color:#11875f}
.dash-list-heading{display:flex;align-items:center;justify-content:space-between;margin:2px 2px 8px;font-size:11px;font-weight:800;color:#18333a}
.dash-list-heading a{font-size:9px;color:#006256;text-decoration:none}
.dash-tender{display:grid;grid-template-columns:1fr auto;gap:2px 10px;padding:9px 10px;border:1px solid #eef1f2;border-radius:10px;background:#fff;margin-bottom:6px;box-shadow:0 2px 8px rgba(15,44,53,.03)}
.dash-tender-title{font-size:9.5px;font-weight:800;color:#18343a}
.dash-tender-org{font-size:8px;color:#697c86}
.dash-tender-meta{grid-row:1/3;grid-column:2;text-align:left;white-space:nowrap;font-size:8px;color:#3f5661;align-self:center;direction:ltr}
.dash-tag{display:inline-block;background:#e3f7e7;color:#1b7c47;border-radius:4px;padding:2px 5px;margin-top:3px;font-size:7px}
.audience{background:#fff;border-block:1px solid #eff1f2;min-height:96px}
.audience-inner{min-height:96px;display:flex;align-items:center;justify-content:space-between;gap:22px;direction:ltr}
.audience-title{font-size:17px;font-weight:800;white-space:nowrap;color:#14363a}
.audience-list{flex:1;display:flex;align-items:center;justify-content:space-around;gap:18px;direction:ltr}.audience-item{direction:ltr}.audience-item span{unicode-bidi:plaintext}
.audience-item{display:flex;align-items:center;gap:10px;color:#758197;font-size:13px;line-height:1.3;font-weight:700;max-width:160px}
.audience-item i{font-size:27px;color:#8a94a5}
.audience-country{border-left:1px solid #e5e8eb;padding-left:28px;display:flex;align-items:center;gap:12px;white-space:nowrap;color:#1f343b;font-size:12px;font-weight:700}
.audience-country .flag{font-size:25px}
.features-section{background:#f5f3ed;padding:32px 0 54px}
.features-layout{display:grid;grid-template-columns:minmax(320px,.95fr) minmax(0,1.7fr);gap:36px;align-items:start}
.features-intro{padding-top:13px}
.eyebrow{font-size:13px;text-transform:uppercase;letter-spacing:.3px;color:#b47b17;font-weight:800;margin:0 0 7px}
.section-title{font-size:34px;line-height:1.16;letter-spacing:-.8px;font-weight:800;color:#07383a;margin:0 0 12px}
.section-description{font-size:16px;line-height:1.55;color:#253d47;margin:0 0 22px}
.feature-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;direction:ltr}
.feature-card{background:#fff;border:1px solid rgba(10,52,53,.045);border-radius:16px;padding:19px 18px 16px;min-height:190px;box-shadow:0 8px 20px rgba(32,53,56,.04)}
.feature-icon{width:46px;height:46px;border-radius:12px;display:grid;place-items:center;color:#fff;font-size:20px;margin-bottom:15px}
.feature-icon.green{background:#00a77e}.feature-icon.purple{background:#5542dc}.feature-icon.orange{background:#e99a20}.feature-icon.blue{background:#1473cc}
.feature-card h3{font-size:15px;line-height:1.3;margin:0 0 7px;color:#112e34;font-weight:800}
.feature-card p{font-size:13px;line-height:1.55;color:#506175;margin:0}
.value-section{padding:72px 0;background:#fff}
.value-header{text-align:center;max-width:760px;margin:0 auto 34px}
.value-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.value-card{border:1px solid #e8ecec;border-radius:16px;padding:26px;background:#fff;box-shadow:0 10px 30px rgba(15,43,45,.045)}
.value-card i{font-size:24px;color:#bd8422;margin-bottom:15px}
.value-card h3{margin:0 0 9px;font-size:18px;color:#103a3d}
.value-card p{margin:0;color:#596a79;font-size:14px;line-height:1.65}
.cta-band{background:#003f3c;color:#fff;padding:58px 0}
.cta-band-inner{display:flex;align-items:center;justify-content:space-between;gap:24px}
.cta-band h2{color:#fff;margin:0 0 8px;font-size:30px}
.cta-band p{margin:0;color:#d9e9e3;max-width:680px}
.cta-band .btn{background:#fff;color:#06413c}
.site-footer{background:#062c30;color:#d7e4e2;padding:36px 0 25px}
.footer-top{display:flex;justify-content:space-between;align-items:flex-start;gap:32px;padding-bottom:25px;border-bottom:1px solid rgba(255,255,255,.14)}
.footer-brand .brand-word{color:#fff}.footer-brand .brand-tagline{color:#c9dbd8}
.footer-nav{display:flex;gap:18px;flex-wrap:wrap}
.footer-nav a{color:#d3e2df;text-decoration:none;font-size:13px}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:20px;font-size:12px;color:#aabfbd}
.page-shell{min-height:55vh;padding:64px 0 84px;background:#fbfaf7}
.page-content{max-width:850px;margin-inline:auto;background:#fff;border:1px solid #e9ecea;border-radius:20px;padding:clamp(25px,5vw,60px);box-shadow:0 12px 32px rgba(19,49,51,.05)}
.page-content h1{font-size:clamp(32px,5vw,48px);line-height:1.18;margin:0 0 18px;color:var(--ink)}
.page-content h2{font-size:26px;color:var(--ink-2);margin:32px 0 12px}
.page-content p,.page-content li{color:#405763;line-height:1.8}
.contact-form{display:grid;gap:14px;margin-top:25px}
.contact-form label{display:grid;gap:6px;font-weight:700;color:#173a3d}
.contact-form input,.contact-form textarea{border:1px solid #ccd8da;border-radius:9px;padding:12px 14px;width:100%;background:#fff;color:#173438}
.contact-form textarea{min-height:150px;resize:vertical}
.contact-form .hp-field{position:absolute;left:-9999px;opacity:0}
.form-feedback{padding:12px 15px;border-radius:10px;background:#e5f6ed;color:#126044;margin-bottom:18px}
.form-error{background:#fff0ed;color:#9b2d22}
.skip-link{position:absolute;top:-50px;left:12px;background:#fff;color:#000;padding:8px 12px;z-index:100}
.skip-link:focus{top:8px}
html[dir="rtl"] .hero-copy{font-family:var(--font-arabic)}
html[dir="rtl"] .page-content{text-align:right}
html[dir="rtl"] .main-nav .menu{font-family:var(--font-arabic)}
html[dir="rtl"] .hero-benefits{direction:rtl}
html[dir="rtl"] .feature-card{text-align:right}
html[dir="rtl"] .features-intro{text-align:right}
html[dir="rtl"] .dash-tender-meta{text-align:left}
@media(max-width:1320px){.container{width:min(100% - 44px,1100px)}.brand{flex-basis:250px}.brand-word{font-size:29px}.main-nav .menu{gap:16px}.header-actions{gap:7px}.header-actions .btn{padding-inline:15px}.hero{height:600px}.hero-layout{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:18px}.dashboard{height:470px}.dash-sidebar{flex-basis:145px}.dash-main{padding:13px}.features-layout{grid-template-columns:minmax(280px,.8fr) minmax(0,1.5fr);gap:24px}.feature-cards{gap:12px}.feature-card{padding:16px 13px}}
@media(max-width:1100px){.site-header{height:72px}.container{width:calc(100% - 40px)}.brand{flex:1;min-width:0}.brand-tagline{font-size:10px}.main-nav{position:absolute;top:72px;left:0;right:0;display:none;background:#fff;padding:16px 20px 22px;border-bottom:1px solid var(--line);box-shadow:0 16px 22px rgba(20,50,50,.1)}.main-nav.is-open{display:block}.main-nav .menu{align-items:stretch;flex-direction:column;gap:0}.main-nav .menu li{border-bottom:1px solid #eef1f1}.main-nav .menu a{display:block;padding:12px 4px}.header-actions .btn-outline{display:none}.menu-toggle{display:inline-grid;place-items:center}.hero{height:auto;min-height:0;padding:48px 0 38px}.hero-layout{grid-template-columns:1fr;gap:28px}.hero-copy{max-width:700px;padding:0}.hero-title{font-size:clamp(42px,6vw,54px)}.dashboard{max-width:760px;height:480px;margin-inline:auto;transform:none}.audience-inner{padding:20px 0;flex-wrap:wrap;justify-content:center}.audience-title{width:100%;text-align:center}.audience-list{flex-basis:100%;flex-wrap:wrap;justify-content:center}.audience-country{border-left:0;border-top:1px solid #e5e8eb;padding:14px 0 0}.features-layout{grid-template-columns:1fr}.features-intro{max-width:720px}.feature-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.container{width:calc(100% - 32px)}.site-header{height:68px}.header-inner{gap:8px}.brand{flex:0 1 auto;min-width:0;gap:4px}.brand-mark{width:24px;height:29px}.brand-copy{min-width:0}.brand-word{font-size:19px;letter-spacing:.4px}.brand-tagline{display:none}.header-actions{gap:4px}.lang-switch{padding:8px 7px;font-size:11px;gap:4px}.lang-flag{font-size:14px}.header-actions .btn-primary{min-height:40px;padding-inline:8px;font-size:11px;gap:5px}.menu-toggle{width:38px;height:38px;flex:0 0 38px}.main-nav{top:68px}.hero{padding:36px 0 28px}.hero-background img{object-position:54% center}.hero-background:after{background:linear-gradient(90deg,rgba(255,249,239,.9),rgba(255,249,239,.72)),linear-gradient(0deg,rgba(4,38,39,.14),transparent 35%)}.hero-badges{margin-bottom:18px}.hero-badge{font-size:11px;padding:7px 11px}.hero-title{font-size:clamp(36px,10vw,46px);letter-spacing:-1px;margin-bottom:13px}.hero-description{font-size:16px;line-height:1.65;margin-bottom:19px}.hero-ctas{gap:10px}.hero-ctas .btn{min-height:50px;padding-inline:16px;font-size:14px}.hero-benefits{gap:10px 16px;font-size:12px;margin-top:15px}.dashboard{height:380px;border-radius:16px;max-width:100%}.dash-sidebar{flex-basis:105px;padding:12px 6px}.dash-brand{font-size:12px;gap:4px;padding-bottom:12px}.dash-brand img{width:14px;height:17px}.dash-nav a{font-size:7.2px;gap:5px;padding:7px 4px}.dash-nav i{width:10px;font-size:8px}.dash-main{padding:10px 8px}.dash-top{font-size:7px;margin-bottom:9px}.dash-search{min-height:34px;padding:4px 5px;margin-bottom:7px}.dash-search span{font-size:7px}.dash-search button{font-size:7px;padding:7px}.dash-filters{gap:3px;margin-bottom:7px}.dash-filters span{font-size:5.6px;padding:5px 3px}.dash-stats{gap:4px;margin-bottom:8px}.dash-stat{min-height:62px;gap:4px;padding:5px 4px;border-radius:8px}.dash-stat-icon{width:22px;height:22px;flex-basis:22px;font-size:9px}.dash-stat strong{font-size:11px}.dash-stat small{font-size:5.5px;margin-top:2px}.dash-list-heading{font-size:8px;margin-bottom:5px}.dash-list-heading a{font-size:6px}.dash-tender{padding:6px 6px;gap:2px 4px;margin-bottom:4px}.dash-tender-title{font-size:6.5px}.dash-tender-org{font-size:5.6px}.dash-tender-meta{font-size:5.5px}.dash-tag{font-size:5px;padding:1px 3px}.audience-inner{gap:12px}.audience-title{font-size:15px}.audience-list{gap:13px}.audience-item{font-size:11px;max-width:135px;gap:7px}.audience-item i{font-size:21px}.audience-country{font-size:11px}.features-section{padding:28px 0 38px}.features-layout{gap:20px}.eyebrow{font-size:11px}.section-title{font-size:28px}.section-description{font-size:14px}.feature-cards{gap:10px}.feature-card{min-height:180px;padding:13px 12px;border-radius:13px}.feature-icon{width:39px;height:39px;font-size:17px;margin-bottom:12px}.feature-card h3{font-size:13px}.feature-card p{font-size:11px}.value-section{padding:48px 0}.value-header{margin-bottom:23px}.value-grid{grid-template-columns:1fr;gap:12px}.value-card{padding:21px}.cta-band{padding:40px 0}.cta-band-inner{align-items:flex-start;flex-direction:column}.cta-band h2{font-size:25px}.footer-top,.footer-bottom{flex-direction:column}.footer-nav{gap:12px}.page-shell{padding:34px 0 52px}.page-content{padding:24px 20px;border-radius:14px}.page-content h2{font-size:22px}}
.editorial-page{font-size:17px}
.editorial-page h1{margin-bottom:16px}
.editorial-page .lead{font-size:20px;line-height:1.6;color:#344e58;font-weight:600;margin:0 0 12px}
.editorial-page .value-grid{margin-top:30px}
.editorial-page .value-card h2{font-size:20px;margin:0 0 8px}
.editorial-page .value-card p{font-size:14px}
.editorial-page[dir="rtl"]{text-align:right}
@media(max-width:600px){.editorial-page{font-size:15px}.editorial-page .lead{font-size:17px}}
.footer-nav{align-items:center}
.footer-menu{display:flex;gap:18px;flex-wrap:wrap;list-style:none;padding:0;margin:0}
.footer-menu a{color:#d3e2df;text-decoration:none;font-size:13px}
@media(max-width:600px){.footer-menu{gap:12px}}
html[dir="rtl"] .hero-title{letter-spacing:0}
html[dir="rtl"] .audience-item span{text-align:right}


@media(max-width:400px){.header-inner{gap:5px}.brand{gap:3px}.brand-mark{width:20px}.brand-word{font-size:16px;letter-spacing:0}.header-actions{gap:3px}.lang-switch{padding-inline:5px;gap:3px}.header-actions .btn-primary{padding-inline:5px;font-size:10px;gap:3px}.menu-toggle{width:36px;flex-basis:36px}}

@media(min-width:1321px) and (max-width:1600px){.header-inner{gap:12px}.brand{flex-basis:270px;min-width:220px}.main-nav .menu{gap:14px}.header-actions{gap:7px}.header-actions .btn{padding-inline:17px}}

@media(min-width:1101px) and (max-width:1320px){.header-inner{gap:10px}.brand{flex:0 0 195px;min-width:185px}.brand-tagline{font-size:9px}.brand-word{font-size:26px}.main-nav{min-width:0}.main-nav .menu{gap:7px}.main-nav .menu a{font-size:12px}.header-actions{gap:4px}.header-actions .btn{padding-inline:9px;font-size:13px}.lang-switch{padding-inline:8px}}

.mobile-nav-login{display:none}@media(max-width:1100px){.main-nav.is-open .mobile-nav-login{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;margin-top:14px;text-align:center;white-space:normal}}
