@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');
:root{--navy:#06182b;--steel:#244b68;--turq:#19b8bc;--pale:#eef3f5;--ink:#112334;--muted:#617181;--line:#d9e2e7;--white:#fff}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:'DM Sans',Arial,sans-serif;background:#fff}a{text-decoration:none;color:inherit}.topbar{height:34px;background:var(--navy);color:#c7d8e2;padding:8px max(5vw,20px);display:flex;justify-content:space-between;font-size:.76rem}header{height:82px;display:flex;align-items:center;gap:28px;padding:0 max(5vw,20px);border-bottom:1px solid var(--line);background:#fff;position:sticky;z-index:10;top:0}.brand{display:flex;align-items:center;gap:9px;font-family:Manrope;font-weight:800;letter-spacing:1px;font-size:1rem}.brand i{background:linear-gradient(135deg,var(--turq),#2780a3);color:white;font-style:normal;width:38px;height:38px;display:grid;place-items:center;clip-path:polygon(0 0,100% 0,77% 100%,0 100%)}.brand small{display:block;font-size:.53rem;letter-spacing:3.2px;color:var(--steel)}nav{margin-left:auto;display:flex;gap:19px;font-size:.86rem;font-weight:600}nav a:hover,nav a.active{color:var(--turq)}.langs{display:flex;border:1px solid var(--line);border-radius:4px;overflow:hidden}.langs button{border:0;background:white;padding:6px 7px;font-size:.7rem;cursor:pointer}.langs button.active{background:var(--navy);color:white}.btn{border:0;background:var(--turq);color:#fff;padding:12px 17px;border-radius:3px;font-size:.83rem;font-weight:700;display:inline-block;cursor:pointer}.btn.outline{background:transparent;border:1px solid #b8d1dd;color:#fff}.btn.dark{background:var(--navy)}.menu{display:none}.hero{min-height:570px;background:linear-gradient(100deg,rgba(6,24,43,.97),rgba(6,24,43,.72)),url('https://images.unsplash.com/photo-1581092335397-9583eb92d232?auto=format&fit=crop&w=1800&q=80') center/cover;color:white;display:flex;align-items:center;padding:60px max(5vw,20px)}.hero-inner{max-width:720px}.eyebrow{color:#61dde0;text-transform:uppercase;font-size:.72rem;letter-spacing:2px;font-weight:700}.hero h1{font:800 clamp(2.4rem,5vw,4.5rem)/1.04 Manrope;margin:17px 0}.hero p{max-width:610px;line-height:1.7;color:#d2e0e7;font-size:1.08rem}.actions{display:flex;gap:12px;margin-top:29px}.section{padding:85px max(5vw,20px)}.section.alt{background:var(--pale)}.section-head{max-width:660px;margin-bottom:37px}.section h2{font:800 clamp(1.8rem,3vw,2.75rem)/1.2 Manrope;margin:9px 0}.section-head p{color:var(--muted);line-height:1.7}.grid{display:grid;gap:20px}.grid.four{grid-template-columns:repeat(4,1fr)}.grid.three{grid-template-columns:repeat(3,1fr)}.card{background:white;border:1px solid var(--line);padding:28px;min-height:190px;transition:.2s}.card:hover{transform:translateY(-5px);box-shadow:0 15px 35px #0a26301a}.icon{width:43px;height:43px;background:#e7f7f7;color:var(--turq);display:grid;place-items:center;font-size:1.35rem;margin-bottom:17px}.card h3{font:700 1.05rem Manrope;margin:0 0 9px}.card p{margin:0;color:var(--muted);line-height:1.6;font-size:.9rem}.band{padding:50px max(5vw,20px);background:var(--steel);color:white;display:flex;align-items:center;justify-content:space-between;gap:20px}.band h2{font:700 1.7rem Manrope;margin:0}.benefit{border-left:2px solid var(--turq);padding:5px 15px}.benefit b{font:700 1rem Manrope;display:block}.benefit span{font-size:.86rem;color:var(--muted)}.product{padding:0;overflow:hidden}.product-art{height:170px;background:linear-gradient(140deg,#123c58,#2d7080);position:relative}.product-art:after{content:'⚙';font-size:4rem;color:#ffffff35;position:absolute;right:22px;bottom:15px}.product .inside{padding:22px}.tag{font-size:.7rem;color:var(--steel);font-weight:700;text-transform:uppercase}.price{font-weight:700;color:var(--turq);font-size:.86rem}.empty{padding:32px;border:1px dashed #b6c6ce;color:var(--muted)}.page-hero{padding:78px max(5vw,20px);background:linear-gradient(120deg,var(--navy),#123b58);color:white}.page-hero h1{font:800 clamp(2.3rem,4vw,3.5rem) Manrope;margin:12px 0}.page-hero p{max-width:670px;line-height:1.7;color:#ccdde5}.split{display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:start}.check{list-style:none;padding:0}.check li{padding:11px 0;border-bottom:1px solid var(--line)}.check li:before{content:'✓';color:var(--turq);font-weight:bold;margin-right:10px}.form{background:white;border:1px solid var(--line);padding:28px;box-shadow:0 12px 35px #102a3910}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{display:grid;gap:6px}.field.full{grid-column:1/-1}label{font-size:.8rem;font-weight:700}input,select,textarea{width:100%;padding:11px;border:1px solid #cbd8de;border-radius:2px;font:inherit;font-size:.9rem}textarea{min-height:108px;resize:vertical}.hint{font-size:.77rem;color:var(--muted)}.notice{padding:14px;background:#e9f7f6;color:#17666b;margin-top:15px;display:none}.realisation{background:#fff;border:1px solid var(--line);padding:26px}.realisation small{color:var(--muted)}footer{background:var(--navy);color:#c9d8e0;padding:43px max(5vw,20px);display:flex;justify-content:space-between;align-items:center;gap:25px;font-size:.83rem}footer p{max-width:450px}footer .brand{color:white}.chat-toggle{position:fixed;right:23px;bottom:22px;border:0;border-radius:30px;padding:13px 17px;background:var(--turq);color:white;font-weight:700;box-shadow:0 8px 25px #0a596077;z-index:11;cursor:pointer}.chat-toggle span{margin-left:7px}.chat{position:fixed;right:23px;bottom:78px;width:min(370px,calc(100vw - 30px));background:white;box-shadow:0 16px 50px #071a2c45;border-radius:7px;overflow:hidden;display:none;z-index:12}.chat.open{display:block}.chat header{height:auto;background:var(--navy);color:white;padding:15px 17px;position:static;border:0;justify-content:space-between}.chat header button{color:white;background:transparent;border:0;font-size:1.4rem}.chat-log{min-height:205px;max-height:300px;overflow:auto;padding:16px;background:#f5f8f9}.bubble{padding:10px 12px;border-radius:8px;margin:7px 0;max-width:90%;font-size:.85rem;line-height:1.45;background:white}.bubble.me{margin-left:auto;background:#dff6f5}.quick{padding:9px 12px;display:flex;gap:5px;flex-wrap:wrap}.quick button{background:white;border:1px solid var(--line);font-size:.72rem;padding:5px 7px;cursor:pointer}.chat-form{display:flex;border-top:1px solid var(--line)}.chat-form input{border:0}.chat-form button{border:0;background:var(--turq);color:white;width:44px}[dir=rtl]{font-family:Tahoma,Arial,sans-serif}[dir=rtl] .check li:before{margin-left:10px;margin-right:0}[dir=rtl] .benefit{border-left:0;border-right:2px solid var(--turq)}
@media(max-width:900px){nav,.header-cta{display:none}.menu{display:block;margin-left:auto;background:none;border:0;font-size:1.4rem}.menu.open+nav{display:flex;position:absolute;top:81px;left:0;right:0;background:white;padding:20px;flex-direction:column;box-shadow:0 8px 16px #0002}.grid.four{grid-template-columns:repeat(2,1fr)}.grid.three{grid-template-columns:repeat(2,1fr)}}@media(max-width:590px){header{gap:10px;height:70px}.topbar{font-size:.65rem}.topbar span:last-child{display:none}.brand{font-size:.83rem}.langs button{padding:5px}.hero{min-height:500px}.section{padding:58px 20px}.grid.four,.grid.three,.split,.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.band,footer{display:block}.band .btn{margin-top:18px}footer>*{margin:15px 0}.actions{flex-wrap:wrap}.chat-toggle span{display:none}.chat-toggle{right:15px}}
.admin-body{background:var(--pale)}.admin-wrap{max-width:1180px;margin:50px auto;padding:0 20px}.login{max-width:470px;margin:70px auto}.login h1,.admin-head h1{font-family:Manrope}.error{color:#b32727;font-size:.85rem}.admin-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.admin-grid{display:grid;grid-template-columns:230px 1fr;gap:20px}.admin-grid aside{background:var(--navy);height:max-content}.admin-grid aside button{width:100%;text-align:left;padding:15px;color:#d2e1e8;background:transparent;border:0;border-bottom:1px solid #ffffff14;cursor:pointer}.admin-grid aside button.active{background:var(--turq);color:white}.admin-item{border:1px solid var(--line);padding:11px 13px;margin:9px 0;display:flex;gap:12px;align-items:center}.admin-item small{color:var(--muted)}.admin-item button,.quote-row button{margin-left:auto;border:0;color:#9d2424;background:#fae7e7;padding:5px 8px;cursor:pointer}.quote-row{border-bottom:1px solid var(--line);padding:14px 0}.quote-row p{margin:7px 0}.quote-row small{color:var(--muted)}@media(max-width:700px){.admin-grid{grid-template-columns:1fr}.admin-grid aside{display:flex;overflow:auto}.admin-grid aside button{min-width:150px}.admin-head{display:block}.admin-head .btn{margin-top:10px}}
.admin-body{background:var(--pale)}.admin-wrap{max-width:1180px;margin:50px auto;padding:0 20px}.login{max-width:470px;margin:70px auto}.login h1,.admin-head h1{font-family:Manrope}.error{color:#b32727;font-size:.85rem}.admin-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.admin-grid{display:grid;grid-template-columns:230px 1fr;gap:20px}.admin-grid aside{background:var(--navy);height:max-content}.admin-grid aside button{width:100%;text-align:left;padding:15px;color:#d2e1e8;background:transparent;border:0;border-bottom:1px solid #ffffff14;cursor:pointer}.admin-grid aside button.active{background:var(--turq);color:white}.admin-item{border:1px solid var(--line);padding:11px 13px;margin:9px 0;display:flex;gap:12px;align-items:center}.admin-item small{color:var(--muted)}.admin-item button,.quote-row button{margin-left:auto;border:0;color:#9d2424;background:#fae7e7;padding:5px 8px;cursor:pointer}.quote-row{border-bottom:1px solid var(--line);padding:14px 0}.quote-row p{margin:7px 0}.quote-row small{color:var(--muted)}@media(max-width:700px){.admin-grid{grid-template-columns:1fr}.admin-grid aside{display:flex;overflow:auto}.admin-grid aside button{min-width:150px}.admin-head{display:block}.admin-head .btn{margin-top:10px}}
/* Palette officielle : orange Merbah et gris/noir neutres. */
:root{--navy:#211f1e;--steel:#4b4b4b;--turq:#f68712;--pale:#f5f4f2;--ink:#242322}
.eyebrow{color:#f68712}.icon{background:#fff0df}.notice{background:#fff0df;color:#8a4b05}.bubble.me{background:#fff0df}
/* Chatbot: fixed viewport panel, with a scrollable message area only. */
.chat-toggle{right:24px;bottom:22px;z-index:41}.chat-toggle.is-hidden{display:none}.chat{right:24px;bottom:22px;width:min(380px,calc(100vw - 48px));height:min(620px,calc(100dvh - 44px));max-height:calc(100dvh - 44px);display:none;flex-direction:column;z-index:42}.chat.open{display:flex}.chat header{flex:0 0 auto;display:flex;align-items:center}.chat-log{flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto}.quick{flex:0 0 auto;max-height:min(138px,25dvh);overflow-y:auto}.chat-form{flex:0 0 auto;min-height:52px}.chat-form input{min-width:0}.chat-form button{flex:0 0 52px;width:52px}
.quick{display:block;max-height:none;overflow:visible;padding:8px 12px}.quick-primary,.quick-extra{display:flex;gap:6px;overflow-x:auto;overscroll-behavior-x:contain;padding-bottom:2px;scrollbar-width:thin}.quick-extra{margin-top:6px}.quick button{flex:0 0 auto;white-space:nowrap}.quick .quick-more{margin-top:5px;padding:2px 0;background:transparent;border:0;color:var(--steel);font-size:.7rem;font-weight:700}
.chat{height:fit-content;max-height:72dvh}.chat-log{flex:0 1 auto;min-height:0;max-height:calc(72dvh - 260px);overflow-y:auto}.quick{display:block;flex:0 0 auto;overflow:visible;padding:8px 12px}.quick-primary,.quick-extra{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;overflow:visible;padding:0}.quick-extra{margin-top:6px}.quick-extra[hidden]{display:none}.quick button{min-width:0;white-space:normal;overflow-wrap:anywhere;line-height:1.25}.quick .quick-more{display:block;margin-top:6px;padding:2px 0;justify-self:start}.chat-form{flex:0 0 52px;min-height:52px}
@media(max-width:590px){.chat{left:16px;right:16px;bottom:20px;width:auto;height:auto;max-height:72dvh}.chat-toggle{right:16px;bottom:20px}}
.news-modal iframe{display:block;width:min(980px,100%);max-width:100%;aspect-ratio:16/9;max-height:calc(100vh - 130px);margin:auto;border:0;background:#000}.news-youtube-link{display:inline-block;margin:12px auto 0;color:#fff;font-weight:700;text-decoration:underline;text-underline-offset:4px}
.hero{position:relative;isolation:isolate;min-height:calc(100svh - 116px);overflow:hidden;background:#071a2c;color:#fff}.hero::before{content:'';position:absolute;inset:-4%;z-index:-2;background:url('/media/home/merbah-hero-industrial.jpg') center/cover no-repeat;transform:translate3d(0,0,0) scale(1);transform-origin:center center;will-change:transform;animation:hero-drone-move 14s cubic-bezier(.22,.61,.36,1) both}.hero::after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(6,18,30,.72),rgba(6,18,30,.34) 56%,rgba(6,18,30,.18))}.hero-inner{position:relative;z-index:1}.hero .eyebrow{display:none}.hero h1{letter-spacing:.05em}.hero p{font-size:clamp(1.05rem,2vw,1.35rem);font-weight:600;max-width:560px;color:#fff}.hero .history-mark{color:#fff;border-left:2px solid #f68712;padding-left:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}@keyframes hero-drone-move{from{transform:translate3d(0,0,0) scale(1)}to{transform:translate3d(1.2%,0,0) scale(1.08)}}@media(max-width:590px){.hero{min-height:calc(100svh - 104px);padding:44px 20px}.hero::before{inset:-8%;background-position:58% center;animation:hero-drone-move-mobile 14s cubic-bezier(.22,.61,.36,1) both}.hero::after{background:linear-gradient(90deg,rgba(6,18,30,.78),rgba(6,18,30,.42))}.hero h1{font-size:clamp(2.35rem,12vw,3.4rem)}@keyframes hero-drone-move-mobile{from{transform:translate3d(0,0,0) scale(1)}to{transform:translate3d(.5%,0,0) scale(1.035)}}}@media(prefers-reduced-motion:reduce){.hero::before{animation:none;transform:translate3d(0,0,0) scale(1);will-change:auto}}
@media(max-width:590px){.chat{left:16px;right:16px;bottom:20px;width:auto;height:auto;max-height:72dvh}.chat-toggle{right:16px;bottom:20px}}
.news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.news-card{padding:0;border:1px solid var(--line);background:#fff;text-align:inherit;cursor:pointer;overflow:hidden;transition:transform .2s,box-shadow .2s}.news-card:hover{transform:translateY(-4px);box-shadow:0 15px 32px #211f1e18}.news-media{height:230px;background:#eee;position:relative}.news-media img{width:100%;height:100%;object-fit:cover;display:block}.news-play{position:absolute;left:50%;top:50%;translate:-50% -50%;width:58px;height:58px;display:grid;place-items:center;padding-left:3px;border-radius:50%;background:#f68712e6;color:#fff;font-size:1.2rem}.news-copy{padding:18px}.news-copy h2{font:700 1.05rem Manrope;margin:0}.news-copy p{margin:8px 0 0;color:var(--muted);line-height:1.55;font-size:.88rem}.news-modal{position:fixed;inset:0;z-index:50;background:#000c;display:grid;place-items:center;padding:36px 70px}.news-modal figure{margin:0;max-width:min(1050px,100%);max-height:calc(100vh - 72px);color:#fff;text-align:center}.news-modal img,.news-modal video{display:block;max-width:100%;max-height:calc(100vh - 130px);margin:auto;object-fit:contain}.news-modal video{width:min(980px,100%);background:#000}.news-modal figcaption{padding:12px 0;font-weight:700}.news-modal .gallery-close,.news-modal .gallery-prev,.news-modal .gallery-next{position:absolute;border:0;background:#211f1ee8;color:#fff;cursor:pointer}.news-modal .gallery-close{top:18px;right:22px;font-size:2rem;width:42px;height:42px}.news-modal .gallery-prev,.news-modal .gallery-next{top:50%;translate:0 -50%;font-size:3rem;width:46px;height:64px}.news-modal .gallery-prev{left:14px}.news-modal .gallery-next{right:14px}@media(max-width:900px){.news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:590px){.news-grid{grid-template-columns:1fr}.news-media{height:220px}.news-modal{padding:34px 14px}.news-modal .gallery-prev,.news-modal .gallery-next{width:38px;height:54px;font-size:2.2rem}.news-modal .gallery-prev{left:2px}.news-modal .gallery-next{right:2px}}
