/* =====================================================================
   EB FLEG — style.css
   Palette : blanc, vert clair, jaune clair, orange clair (+ vert forêt pour le texte)
   Typo    : Fraunces (titres) + Hanken Grotesk (texte) | Amiri + Tajawal (arabe)
   ===================================================================== */

:root{
  --white:#fff;
  --leaf-50:#f2f9ec; --leaf-100:#e1f1d5; --leaf-300:#a8d58e; --leaf-600:#3f8a4f;
  --forest:#143a27; --forest-2:#1d4d34;
  --sun-50:#fffae0; --sun-100:#fff4c2; --sun-300:#fbe17a; --sun-400:#f6d34a;
  --citrus-50:#fff0e0; --citrus-100:#ffe4c7; --citrus-300:#fbbf80; --citrus-500:#f28c38; --citrus-700:#b85a10;
  --ink:#1b2a21; --muted:#56655b;

  --f-display:Arial,Helvetica,sans-serif;
  --f-body:Arial,Helvetica,sans-serif;

  --ease:cubic-bezier(.22,1,.36,1);
  --pad:clamp(20px,5vw,72px);
  --max:1240px;
  --r:clamp(32px,5vw,72px);
}
html[lang="ar"]{
  --f-display:Arial,Helvetica,sans-serif;
  --f-body:Arial,Helvetica,sans-serif;
}

/* ---------- Base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:72px;-webkit-text-size-adjust:100%}
body{
  margin:0;font-family:var(--f-body);font-size:1.0625rem;line-height:1.7;color:var(--ink);
  background:var(--white);overflow-x:hidden;-webkit-font-smoothing:antialiased;
  transition:opacity .25s ease;
}
body.no-scroll{overflow:hidden}
body.switching main,body.switching footer{opacity:0}
main,footer{transition:opacity .25s ease}
img,svg,video{display:block;max-width:100%}
img.missing{display:none}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
ul,ol{list-style:none;margin:0;padding:0}
h1,h2,h3,p,figure,blockquote,dl,dd{margin:0}
:focus-visible{outline:3px solid var(--citrus-500);outline-offset:3px;border-radius:6px}

h2{
  font-family:var(--f-display);font-weight:400;color:var(--forest);
  font-size:clamp(2.3rem,5vw,4.4rem);line-height:1.04;letter-spacing:-.02em;
}
h3{font-family:var(--f-display);font-weight:500;font-size:clamp(1.4rem,2vw,1.8rem);line-height:1.2;color:var(--forest)}
.lead{font-size:clamp(1.1rem,1.5vw,1.3rem);color:var(--muted);max-width:60ch}
.ico{width:1.15em;height:1.15em;flex:none}

html[lang="ar"] *{letter-spacing:0 !important}
html[lang="ar"] h1,html[lang="ar"] h2,html[lang="ar"] h3{line-height:1.35}
html[lang="ar"] body{line-height:1.9}

.wrap{width:100%;max-width:calc(var(--max) + var(--pad)*2);margin-inline:auto;padding-inline:var(--pad)}
.section{position:relative;padding-block:clamp(90px,12vw,170px)}
.center{display:flex;flex-direction:column;align-items:center;text-align:center;gap:22px}
.round{position:relative;z-index:2;margin-top:calc(var(--r) * -1);border-radius:var(--r) var(--r) 0 0}
.bg-white{background:var(--white)}
.bg-leaf{background:var(--leaf-50)}
.bg-sun{background:var(--sun-50)}
.bg-citrus{background:var(--citrus-50)}

/* ---------- Apparitions au scroll ---------- */
.rv{opacity:0}
.rv.in{opacity:1;animation:rvUp 1s var(--ease) var(--d,0s) backwards}
@keyframes rvUp{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:none}}
.imgrv{clip-path:inset(0 0 100% 0);transition:clip-path 1.5s var(--ease)}
.imgrv.in{clip-path:inset(0 0 0 0)}
.imgrv img{transform:scale(1.25);transition:transform 2s var(--ease)}
.imgrv.in img{transform:none}

/* ---------- Boutons ---------- */
.btn{
  position:relative;display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:16px 30px;border-radius:999px;font-weight:600;font-size:1rem;overflow:hidden;isolation:isolate;
  transition:transform .4s var(--ease),box-shadow .4s var(--ease),background .3s,color .3s;
}
.btn::before{
  content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(110deg,transparent 30%,rgba(255,255,255,.6) 50%,transparent 70%);
  transform:translateX(-130%);transition:transform .9s var(--ease);
}
.btn:hover{transform:translateY(-3px)}
.btn:hover::before{transform:translateX(130%)}
.btn-sun{background:linear-gradient(115deg,var(--sun-400),var(--citrus-300));color:var(--forest);box-shadow:0 16px 36px rgba(242,140,56,.35)}
.btn-line{border:1.5px solid rgba(255,255,255,.7);color:#fff}
.btn-line:hover{background:#fff;color:var(--forest)}
.btn-wa{background:#25D366;color:#0b3a1d;box-shadow:0 14px 30px rgba(37,211,102,.32)}

/* =====================================================================
   HEADER
   ===================================================================== */
.header{
  position:fixed;inset:0 0 auto 0;z-index:100;display:flex;align-items:center;justify-content:space-between;gap:24px;
  padding:18px var(--pad);color:#fff;transition:padding .45s var(--ease),color .4s;
}
.header::before{
  content:"";position:absolute;inset:0;z-index:-1;background:rgba(255,255,255,.88);
  -webkit-backdrop-filter:blur(16px) saturate(1.3);backdrop-filter:blur(16px) saturate(1.3);
  box-shadow:0 10px 34px rgba(20,58,39,.08);opacity:0;transition:opacity .5s;
}
.header.scrolled{color:var(--forest);padding-block:10px}
.header.scrolled::before{opacity:1}
.logo{position:relative;z-index:3;display:flex;align-items:center;font-family:var(--f-display);font-size:1.8rem;font-weight:500;letter-spacing:.02em}
.logo img{height:48px;width:auto}

.nav>ul{display:flex;align-items:center;gap:2px}
.nav>ul>li{position:relative}
.nav>ul>li>a,.sub-toggle{
  position:relative;display:flex;align-items:center;gap:8px;padding:12px 16px;font-size:1rem;font-weight:500;
}
.nav>ul>li>a::after,.sub-toggle::after{
  content:"";position:absolute;inset-inline:16px;bottom:5px;height:2px;border-radius:2px;
  background:linear-gradient(90deg,var(--sun-400),var(--citrus-500));
  transform:scaleX(0);transform-origin:left;transition:transform .5s var(--ease);
}
[dir="rtl"] .nav>ul>li>a::after,[dir="rtl"] .sub-toggle::after{transform-origin:right}
.nav>ul>li:hover>a::after,.nav>ul>li:hover>.sub-toggle::after,
.nav>ul>li.active>a::after,.nav>ul>li.active>.sub-toggle::after{transform:scaleX(1)}
.chev{width:11px;height:11px;transition:transform .4s var(--ease)}
.has-sub:hover .chev,.has-sub.open .chev{transform:rotate(180deg)}

.sub{
  position:absolute;top:100%;inset-inline-start:0;min-width:230px;padding:10px;background:#fff;color:var(--ink);
  border-radius:20px;box-shadow:0 26px 60px rgba(20,58,39,.2);
  opacity:0;visibility:hidden;transform:translateY(12px);transition:opacity .4s var(--ease),transform .5s var(--ease),visibility .4s;
}
.has-sub:hover .sub,.has-sub:focus-within .sub,.has-sub.open .sub{opacity:1;visibility:visible;transform:none}
.sub a{display:block;padding:11px 16px;border-radius:12px;font-size:.98rem;transition:background .3s,padding .35s var(--ease)}
.sub a:hover{background:var(--sun-100);padding-inline-start:22px}

.header-right{position:relative;z-index:3;display:flex;align-items:center;gap:12px}

/* Sélecteur de langue animé */
.lang{position:relative}
.lang-btn{
  display:flex;align-items:center;gap:9px;padding:8px 14px;border-radius:999px;font-weight:600;font-size:.9rem;
  border:1px solid currentColor;transition:background .3s,transform .4s var(--ease);
}
.lang-btn:hover{background:rgba(255,255,255,.16);transform:translateY(-2px)}
.header.scrolled .lang-btn:hover{background:var(--leaf-50)}
.flag{width:28px;height:19px;border-radius:4px;box-shadow:0 0 0 1px rgba(0,0,0,.14);transition:transform .45s var(--ease)}
.lang-btn:hover .flag{transform:rotate(-10deg) scale(1.12)}
.lang-menu{
  position:absolute;top:calc(100% + 12px);inset-inline-end:0;min-width:190px;padding:8px;background:#fff;color:var(--ink);
  border-radius:20px;box-shadow:0 26px 60px rgba(20,58,39,.22);
  opacity:0;visibility:hidden;transform:translateY(-10px) scale(.94);transform-origin:top right;
  transition:opacity .35s var(--ease),transform .5s var(--ease),visibility .35s;
}
[dir="rtl"] .lang-menu{transform-origin:top left}
.lang.open .lang-menu{opacity:1;visibility:visible;transform:none}
.lang.open .chev{transform:rotate(180deg)}
.lang-menu li{opacity:0;transform:translateX(-10px);transition:opacity .4s var(--ease),transform .5s var(--ease)}
.lang.open .lang-menu li{opacity:1;transform:none;transition-delay:calc(var(--i) * 70ms + .1s)}
.lang-menu button{display:flex;align-items:center;gap:14px;width:100%;padding:11px 12px;border-radius:12px;font-weight:500;transition:background .3s}
.lang-menu button:hover,.lang-menu button.active{background:var(--sun-100)}
.lang-menu button:hover .flag{transform:rotate(-12deg) scale(1.18)}

.burger{display:none;position:relative;width:46px;height:46px;border:1px solid currentColor;border-radius:50%;align-items:center;justify-content:center}
.burger span{position:absolute;width:18px;height:2px;background:currentColor;transition:transform .45s var(--ease)}
.burger span:first-child{transform:translateY(-4px)}
.burger span:last-child{transform:translateY(4px)}
.menu-open .burger span:first-child{transform:rotate(45deg)}
.menu-open .burger span:last-child{transform:rotate(-45deg)}

/* =====================================================================
   HERO VIDÉO
   ===================================================================== */
.hero{
  position:relative;height:100vh;height:100svh;min-height:640px;display:flex;align-items:center;color:#fff;overflow:hidden;
  background:linear-gradient(140deg,var(--forest-2),var(--leaf-600) 55%,var(--citrus-500));
}
.hero-media{position:absolute;inset:-5% 0;transform:translate3d(0,calc(var(--sy,0) * .22px),0);will-change:transform}
.hero-media video{width:100%;height:100%;object-fit:cover}
.hero-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,28,18,.6) 0%,rgba(8,28,18,.2) 40%,rgba(8,28,18,.72) 100%)}
.hero-content{
  position:relative;width:100%;max-width:calc(var(--max) + var(--pad)*2);margin-inline:auto;padding:90px var(--pad) 0;
  transform:translate3d(0,calc(var(--sy,0) * -.1px),0);opacity:calc(1 - var(--sy,0) / 650);
}
.hero-kicker{font-size:1.05rem;font-weight:500;letter-spacing:.04em;opacity:0;animation:fadeUp 1s var(--ease) .2s forwards}
.mask{display:block;overflow:hidden;padding-block:.05em}
.mask>span{display:block;transform:translateY(108%);animation:rise 1.4s var(--ease) .45s forwards}
.hero-title{font-family:var(--f-display);font-weight:300;font-size:clamp(4.6rem,17vw,14rem);line-height:.9;letter-spacing:-.035em;margin-block:.06em .02em}
.hero-sub{font-family:var(--f-display);font-style:italic;font-weight:300;font-size:clamp(1.9rem,4.2vw,3.4rem);line-height:1.15}
.hero-sub .mask>span{animation-delay:.8s}
.hero-tag{max-width:34ch;margin-top:22px;font-size:clamp(1.05rem,1.6vw,1.3rem);opacity:0;animation:fadeUp 1s var(--ease) 1.1s forwards}
.hero-cta{display:flex;flex-wrap:wrap;gap:14px;margin-top:34px;opacity:0;animation:fadeUp 1s var(--ease) 1.3s forwards}
.hero-place{
  position:absolute;inset-inline-start:var(--pad);bottom:calc(var(--r) + 22px);display:flex;align-items:center;gap:10px;
  font-size:.95rem;font-weight:500;opacity:0;animation:fadeUp 1s var(--ease) 1.5s forwards;
}
.scroll-cue{
  position:absolute;inset-inline-end:var(--pad);bottom:calc(var(--r) + 18px);width:28px;height:46px;border:1.5px solid rgba(255,255,255,.75);
  border-radius:16px;display:flex;justify-content:center;padding-top:8px;
}
.scroll-cue span{width:4px;height:9px;border-radius:3px;background:#fff;animation:cue 1.8s var(--ease) infinite}
@keyframes rise{to{transform:none}}
@keyframes fadeUp{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
@keyframes cue{0%{transform:translateY(0);opacity:1}70%{transform:translateY(16px);opacity:0}100%{opacity:0}}

/* =====================================================================
   MAROC ↔ MONDE
   ===================================================================== */
.bridge{background:var(--leaf-50);padding-top:clamp(70px,9vw,130px);padding-bottom:calc(var(--r) + 48px);overflow:hidden}
.bridge-title{
  display:flex;align-items:center;justify-content:center;gap:clamp(10px,3vw,40px);
  font-family:var(--f-display);font-style:italic;font-weight:300;font-size:clamp(3.4rem,13vw,11rem);line-height:1.1;color:var(--forest);white-space:nowrap;
}
.bridge-title .a,.bridge-title .b{display:inline-block;will-change:transform}
.bridge-arrow{width:clamp(70px,14vw,220px);height:auto;color:var(--citrus-500);overflow:visible}
.bridge-arrow path{fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.bridge-arrow .ln{stroke-dasharray:6 10;animation:dash 1.6s linear infinite}
@keyframes dash{to{stroke-dashoffset:-32}}
.bridge-tag{text-align:center;margin:18px auto 0;max-width:46ch;font-size:clamp(1.1rem,1.6vw,1.35rem);color:var(--muted)}

.figures{display:grid;grid-template-columns:repeat(4,1fr);margin-top:clamp(48px,7vw,96px);border-top:1px solid rgba(20,58,39,.16)}
.figures li{display:flex;flex-direction:column;gap:8px;padding:30px 26px 0;border-inline-start:1px solid rgba(20,58,39,.16)}
.figures li:first-child{border-inline-start:0;padding-inline-start:0}
.num{font-family:var(--f-display);font-weight:400;font-size:clamp(3rem,6vw,5.2rem);line-height:1;color:var(--leaf-600);font-variant-numeric:lining-nums}
.figures span{color:var(--muted);font-size:.98rem;max-width:22ch;line-height:1.45}

.marquee{direction:ltr;overflow:hidden;margin-top:clamp(48px,7vw,90px);padding-block:26px;
  border-block:1px solid rgba(20,58,39,.14);-webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
.marquee-track{display:flex;width:max-content;animation:marquee 80s linear infinite}
.marquee:hover .marquee-track{animation-play-state:paused}
.marquee-track span{display:flex;align-items:center;padding-inline:26px;font-family:var(--f-display);font-style:italic;font-size:clamp(1.4rem,2.4vw,2rem);line-height:1;color:var(--forest);white-space:nowrap}
.marquee-track span::after{content:"";width:8px;height:8px;margin-inline-start:52px;border-radius:50%;background:var(--citrus-500)}
@keyframes marquee{to{transform:translateX(-50%)}}

/* =====================================================================
   À PROPOS
   ===================================================================== */
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(48px,8vw,120px);align-items:center}
.about-text{display:flex;flex-direction:column;gap:22px}
.about-text h2{margin-bottom:8px}
.collage{position:relative;width:100%;max-width:560px;aspect-ratio:1/1.1;margin-inline:auto}
.arch{position:absolute;overflow:hidden;background:linear-gradient(160deg,var(--sun-100),var(--citrus-100))}
.arch img{width:100%;height:100%;object-fit:cover}
.c1{top:0;inset-inline-start:0;width:62%;aspect-ratio:3/4;border-radius:999px 999px 28px 28px}
.c3{top:9%;inset-inline-end:0;width:30%;aspect-ratio:1;border-radius:22px;background:linear-gradient(160deg,var(--leaf-100),var(--leaf-300))}
.c2{bottom:0;inset-inline-end:2%;width:52%;aspect-ratio:1;border-radius:50%;border:8px solid #fff;background:linear-gradient(160deg,var(--leaf-100),var(--sun-300))}
.seal{position:absolute;z-index:2;bottom:7%;inset-inline-start:3%;width:clamp(96px,11vw,132px);height:auto;filter:drop-shadow(0 10px 20px rgba(20,58,39,.16));animation:spin 26s linear infinite}
.seal text{font:600 8.4px var(--f-body);fill:var(--forest-2);letter-spacing:.14em}
@keyframes spin{to{transform:rotate(360deg)}}

/* =====================================================================
   SAVOIR-FAIRE
   ===================================================================== */
.kh-head{display:grid;grid-template-columns:1fr 1fr;gap:clamp(30px,6vw,100px);align-items:end}
.kh-list{display:grid;grid-template-columns:1fr 1fr;column-gap:clamp(30px,6vw,100px);margin-top:clamp(50px,7vw,90px)}
.kh-list li{display:flex;align-items:center;gap:20px;padding:26px 0;border-bottom:1px solid rgba(20,58,39,.16);font-family:var(--f-display);font-size:clamp(1.4rem,2.3vw,2rem);line-height:1.2;color:var(--forest);transition:padding .5s var(--ease),color .4s}
.kh-list .ico{width:36px;height:36px;padding:8px;border-radius:50%;background:var(--sun-400);color:var(--forest);transition:transform .5s var(--ease),background .4s}
.kh-list li:hover{padding-inline-start:14px;color:var(--citrus-700)}
.kh-list li:hover .ico{transform:rotate(-12deg) scale(1.1);background:var(--citrus-300)}
.kh-outro{margin-top:clamp(50px,7vw,90px);max-width:56ch;font-family:var(--f-display);font-style:italic;font-size:clamp(1.5rem,2.6vw,2.2rem);line-height:1.3;color:var(--forest-2)}

/* =====================================================================
   PRODUITS
   ===================================================================== */
.tabs{position:relative;display:flex;width:max-content;max-width:100%;margin:clamp(36px,5vw,56px) auto 0;padding:6px;gap:4px;background:#fff;border-radius:999px;box-shadow:0 12px 34px rgba(20,58,39,.1)}
.tab-ind{position:absolute;top:6px;bottom:6px;left:0;width:0;border-radius:999px;background:linear-gradient(115deg,var(--sun-400),var(--citrus-300));transition:transform .6s var(--ease),width .6s var(--ease)}
.tab{position:relative;z-index:1;display:flex;align-items:center;gap:10px;padding:14px 28px;border-radius:999px;font-weight:600;color:var(--forest);white-space:nowrap}
.tab-ico{font-size:1.25rem;line-height:1}

.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(20px,2.4vw,32px);align-items:start;margin-top:clamp(40px,6vw,70px)}
.card{
  position:relative;display:block;width:100%;aspect-ratio:4/5;overflow:hidden;isolation:isolate;text-align:start;color:#fff;
  border-radius:28px;background:linear-gradient(160deg,var(--sun-300),var(--citrus-300) 60%,var(--leaf-300));
  animation:cardIn .9s var(--ease) calc(var(--i) * 70ms) backwards;
}
.card:nth-child(3n+2){margin-top:clamp(0px,4vw,56px)}
.card img{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;transition:transform 1.4s var(--ease)}
.card::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,transparent 42%,rgba(8,28,18,.8));transition:opacity .5s}
.card:hover img,.card:focus-visible img{transform:scale(1.08)}
.card-foot{position:absolute;inset:auto 24px 24px;display:flex;align-items:flex-end;justify-content:space-between;gap:16px}
.card-name{font-family:var(--f-display);font-weight:400;font-size:clamp(1.8rem,2.6vw,2.4rem);line-height:1.05}
.card-plus{flex:none;display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:var(--sun-400);color:var(--forest);transition:transform .6s var(--ease),background .4s}
.card-plus .ico{width:22px;height:22px}
.card:hover .card-plus{transform:rotate(90deg) scale(1.1);background:var(--citrus-300)}
@keyframes cardIn{from{opacity:0;transform:translateY(44px)}to{opacity:1;transform:none}}
.hint{margin-top:clamp(28px,4vw,48px);text-align:center;color:var(--muted);font-size:.98rem}

/* =====================================================================
   SECTIONS AVEC PHOTO DE FOND (parallaxe)
   ===================================================================== */
.bgsec{position:relative;overflow:hidden;isolation:isolate;color:#fff;background:linear-gradient(140deg,var(--forest),var(--forest-2))}
.bgsec .bg{position:absolute;inset:-15% 0;z-index:-1;will-change:transform}
.bgsec .bg img{width:100%;height:100%;object-fit:cover}
.bgsec .bg::after{content:"";position:absolute;inset:0;background:var(--ov)}
.bgsec h2{color:#fff}
.bgsec h3{color:#fff}
.bgsec .lead{color:rgba(255,255,255,.86)}

/* Sourcing */
.duo{display:grid;grid-template-columns:1fr 1fr;gap:clamp(20px,3vw,40px);margin-top:clamp(44px,6vw,80px)}
.glass{padding:clamp(28px,4vw,52px);border-radius:28px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.26);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);display:flex;flex-direction:column;gap:16px;align-items:flex-start}
.glass p{color:rgba(255,255,255,.9)}
.tag{display:inline-block;padding:5px 16px;border-radius:999px;background:linear-gradient(115deg,var(--sun-400),var(--citrus-300));color:var(--forest);font-weight:600;font-size:.9rem}
.adapt{margin-top:clamp(50px,7vw,90px);display:flex;flex-direction:column;align-items:center;gap:26px;text-align:center}
.pills,.chips{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}
.pills li,.chips li{padding:10px 22px;border-radius:999px;border:1px solid rgba(255,255,255,.4);font-weight:500;transition:background .35s,color .35s,transform .5s var(--ease),border-color .35s}
.pills li:hover,.chips li:hover{background:var(--sun-400);border-color:var(--sun-400);color:var(--forest);transform:translateY(-4px)}

/* Origines */
.chips{margin-top:clamp(20px,3vw,40px);max-width:980px}
.chips li{opacity:0;background:rgba(255,255,255,.08);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);font-size:1.02rem}
.chips.in li{opacity:1;animation:chipIn .8s var(--ease) calc(var(--i) * 45ms) backwards}
.chips li.ma{background:linear-gradient(115deg,var(--sun-400),var(--citrus-500));border-color:transparent;color:var(--forest);font-weight:700;position:relative}
.chips li.ma::after{content:"";position:absolute;inset:-6px;border-radius:999px;border:2px solid var(--citrus-300);animation:ring 2.4s ease-out infinite}
@keyframes chipIn{from{opacity:0;transform:translateY(16px) scale(.94)}to{opacity:1;transform:none}}
@keyframes ring{0%{transform:scale(.92);opacity:.9}100%{transform:scale(1.14);opacity:0}}
.origins-outro{margin-top:clamp(20px,3vw,40px);max-width:52ch;font-family:var(--f-display);font-style:italic;font-size:clamp(1.4rem,2.3vw,1.9rem);line-height:1.35}

/* =====================================================================
   INFRASTRUCTURE
   ===================================================================== */
.infra-head{display:grid;grid-template-columns:1fr 1fr;gap:clamp(30px,6vw,100px);align-items:start}
.infra-head>div{display:flex;flex-direction:column;gap:20px}
.panels{display:flex;gap:16px;height:min(72vh,580px);margin-top:clamp(50px,7vw,90px)}
.panel{position:relative;flex:1;overflow:hidden;border-radius:28px;background:linear-gradient(160deg,var(--leaf-100),var(--leaf-300));transition:flex .9s var(--ease)}
.panel img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform 1.4s var(--ease)}
.panel::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 50%,rgba(8,28,18,.75))}
.panel figcaption{position:absolute;z-index:1;inset:auto 26px 24px;color:#fff;font-family:var(--f-display);font-size:clamp(1.5rem,2.3vw,2.1rem);line-height:1.1}
.panels:hover .panel{flex:.7}
.panels .panel:hover,.panels .panel:focus-visible{flex:2.4}
.panel:hover img{transform:scale(1.06)}

.flow{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px 6px;margin-top:clamp(44px,6vw,72px)}
.flow li{position:relative;padding:11px 22px;border-radius:999px;background:var(--leaf-50);color:var(--forest);font-weight:600;opacity:0}
.flow li:not(:last-child)::after{content:"→";position:absolute;inset-inline-end:-18px;top:50%;transform:translateY(-52%);color:var(--citrus-500);font-weight:700}
[dir="rtl"] .flow li:not(:last-child)::after{content:"←"}
.flow li:not(:last-child){margin-inline-end:20px}
.flow.in li{opacity:1;animation:chipIn .8s var(--ease) calc(var(--n,0) * 110ms) backwards}
.flow.in li:nth-child(2){--n:1}.flow.in li:nth-child(3){--n:2}.flow.in li:nth-child(4){--n:3}.flow.in li:nth-child(5){--n:4}.flow.in li:nth-child(6){--n:5}

/* Chaîne du froid */
.cold-head{display:grid;grid-template-columns:1.1fr 1fr;gap:clamp(30px,6vw,100px);align-items:end}
.chain{position:relative;display:flex;justify-content:space-between;margin-top:clamp(60px,8vw,110px)}
.chain::before,.chain::after{content:"";position:absolute;top:39px;inset-inline:12%;height:2px;border-radius:2px}
.chain::before{background:rgba(255,255,255,.28)}
.chain::after{background:linear-gradient(90deg,var(--sun-400),var(--citrus-300));transform:scaleX(0);transform-origin:left;transition:transform 2.4s .4s var(--ease)}
[dir="rtl"] .chain::after{transform-origin:right}
.chain.in::after{transform:scaleX(1)}
.node{position:relative;z-index:1;flex:1;display:flex;flex-direction:column;align-items:center;gap:16px;text-align:center;font-family:var(--f-display);font-size:clamp(1.15rem,1.9vw,1.6rem);opacity:0}
.chain.in .node{opacity:1;animation:chipIn .9s var(--ease) calc(var(--i) * .45s + .2s) backwards}
.orb{display:grid;place-items:center;width:80px;height:80px;border-radius:50%;font-size:1.9rem;background:rgba(255,255,255,.16);border:1.5px solid rgba(255,255,255,.55);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transition:transform .6s var(--ease),background .4s}
.node:hover .orb{transform:translateY(-6px) scale(1.08);background:rgba(255,255,255,.3)}

/* =====================================================================
   ENGAGEMENTS
   ===================================================================== */
.bento{display:grid;grid-template-columns:repeat(6,1fr);gap:clamp(14px,1.8vw,22px);margin-top:clamp(44px,6vw,80px)}
.tile{grid-column:span 2;display:flex;flex-direction:column;justify-content:space-between;gap:34px;min-height:270px;padding:clamp(26px,3vw,40px);border-radius:22px;transition:transform .6s var(--ease),box-shadow .6s var(--ease)}
.tile:nth-child(1),.tile:nth-child(4),.tile:nth-child(5){grid-column:span 4}
.tile:hover{transform:translateY(-6px);box-shadow:0 24px 50px rgba(184,90,16,.14)}
.tile h3{font-size:clamp(1.7rem,2.6vw,2.3rem)}
.tile p{max-width:38ch;color:var(--ink)}
.t-leaf{background:var(--leaf-100)} .t-sun{background:var(--sun-100)} .t-white{background:#fff}

/* =====================================================================
   PROCESS
   ===================================================================== */
.process-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:clamp(40px,8vw,120px);align-items:start}
.process-side{position:sticky;top:110px;display:flex;flex-direction:column;gap:22px}
.tall{position:relative;overflow:hidden;margin-top:18px;aspect-ratio:4/3.4;border-radius:999px 999px 28px 28px;background:linear-gradient(160deg,var(--leaf-100),var(--sun-300))}
.tall-in{position:absolute;inset:-8% 0;will-change:transform}
.tall-in img{width:100%;height:100%;object-fit:cover}
.timeline{position:relative;padding-inline-start:84px}
.timeline::before,.timeline::after{content:"";position:absolute;top:10px;bottom:10px;inset-inline-start:27px;width:2px;border-radius:2px}
.timeline::before{background:rgba(20,58,39,.14)}
.timeline::after{background:linear-gradient(180deg,var(--sun-400),var(--citrus-500));transform:scaleY(var(--p,0));transform-origin:top}
.step{position:relative;padding-bottom:clamp(36px,5vw,58px)}
.step:last-child{padding-bottom:0}
.step h3{margin-bottom:8px;font-size:clamp(1.6rem,2.4vw,2.1rem)}
.step p{color:var(--muted);max-width:44ch}
.dot{position:absolute;inset-inline-start:-84px;top:-4px;display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:#fff;border:2px solid var(--leaf-300);font-family:var(--f-display);font-size:1.15rem;color:var(--leaf-600);transition:background .6s var(--ease),border-color .6s,color .6s}
.step.in .dot{background:linear-gradient(135deg,var(--sun-400),var(--citrus-300));border-color:transparent;color:var(--forest)}

/* =====================================================================
   PROMESSE / VISION
   ===================================================================== */
.vision{background:linear-gradient(160deg,var(--sun-100),var(--citrus-100))}
.quote{max-width:24ch;font-family:var(--f-display);font-weight:300;font-style:italic;font-size:clamp(2.1rem,5vw,4.4rem);line-height:1.12;letter-spacing:-.015em;color:var(--forest)}
.quote-sub{margin-top:26px;font-size:clamp(1.15rem,1.8vw,1.5rem);font-weight:600;color:var(--citrus-700)}
.vision-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(36px,7vw,110px);margin-top:clamp(60px,8vw,110px);padding-top:clamp(36px,5vw,60px);border-top:1px solid rgba(20,58,39,.2)}
.vision-grid h3{margin-bottom:16px}
.vision-grid p{max-width:46ch}
.why{display:flex;flex-direction:column}
.why li{display:flex;align-items:center;gap:14px;padding:12px 0;border-bottom:1px solid rgba(20,58,39,.14);font-weight:500;transition:padding .45s var(--ease)}
.why li:hover{padding-inline-start:10px}
.why .ico{width:26px;height:26px;padding:5px;border-radius:50%;background:var(--forest);color:var(--sun-400)}

/* =====================================================================
   CONTACT
   ===================================================================== */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(40px,7vw,110px);align-items:start}
.contact-grid h2{margin-bottom:22px}
.info{display:flex;flex-direction:column;gap:6px;margin-top:clamp(30px,4vw,50px)}
.info li{display:flex;gap:18px;align-items:flex-start;padding:20px 0;border-bottom:1px solid rgba(20,58,39,.14)}
.info .ico{width:28px;height:28px;margin-top:4px;color:var(--citrus-700)}
.info small{display:block;color:var(--muted);font-size:.9rem}
.info a:not(.maplink){font-family:var(--f-display);font-size:clamp(1.3rem,2vw,1.7rem);color:var(--forest);transition:color .3s}
.info a:not(.maplink):hover{color:var(--citrus-700)}
.info span{display:block;font-size:1.1rem}
.maplink{display:inline-block;margin-top:8px;font-weight:600;color:var(--citrus-700);border-bottom:2px solid var(--citrus-300)}
.form{display:flex;flex-direction:column;gap:20px;padding:clamp(26px,4vw,48px);border-radius:28px;background:#fff;box-shadow:0 30px 70px rgba(20,58,39,.1)}
.form label{display:flex;flex-direction:column;gap:8px;font-weight:600;font-size:.95rem;color:var(--forest)}
.form input,.form textarea{width:100%;padding:14px 16px;border:1.5px solid var(--leaf-100);border-radius:14px;background:var(--leaf-50);font:inherit;font-weight:400;color:var(--ink);transition:border-color .3s,background .3s,box-shadow .3s}
.form input:focus,.form textarea:focus{outline:0;border-color:var(--citrus-500);background:#fff;box-shadow:0 0 0 4px rgba(242,140,56,.18)}
.form textarea{resize:vertical;min-height:130px}
.form .btn{align-self:flex-start}

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer{position:relative;z-index:1;background:var(--forest);color:rgba(255,255,255,.82);padding-top:clamp(60px,8vw,100px)}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:clamp(30px,5vw,80px)}
.footer-brand{display:flex;flex-direction:column;gap:12px;max-width:40ch}
.footer-logo{font-family:var(--f-display);font-size:2.4rem;color:#fff;line-height:1}
.footer-links{display:flex;flex-direction:column;gap:10px}
.footer-links a{transition:color .3s,padding .4s var(--ease)}
.footer-links a:hover{color:var(--sun-400);padding-inline-start:8px}
.copy{margin-top:clamp(50px,7vw,90px);padding:26px var(--pad);border-top:1px solid rgba(255,255,255,.14);text-align:center;font-size:.92rem}

/* =====================================================================
   WHATSAPP FLOTTANT + FENÊTRE PRODUIT
   ===================================================================== */
.wa{position:fixed;z-index:90;inset-inline-end:22px;bottom:22px;display:grid;place-items:center;width:62px;height:62px;border-radius:50%;background:#25D366;color:#fff;box-shadow:0 14px 34px rgba(37,211,102,.45);transition:transform .5s var(--ease)}
.wa .ico{width:34px;height:34px}
.wa::before{content:"";position:absolute;inset:0;border-radius:50%;background:#25D366;z-index:-1;animation:pulse 2.6s ease-out infinite}
.wa:hover{transform:scale(1.1) rotate(-6deg)}
@keyframes pulse{0%{transform:scale(1);opacity:.55}100%{transform:scale(1.7);opacity:0}}

dialog.modal{width:min(1040px,94vw);max-width:none;max-height:92vh;padding:0;border:0;background:transparent;overflow:visible}
dialog.modal::backdrop{background:rgba(8,28,18,.72);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.modal-box{position:relative;display:grid;grid-template-columns:1.1fr 1fr;overflow:hidden;border-radius:32px;background:#fff;animation:pop .6s var(--ease)}
@keyframes pop{from{opacity:0;transform:translateY(30px) scale(.96)}to{opacity:1;transform:none}}
.modal-img{position:relative;min-height:480px;background:linear-gradient(160deg,var(--sun-300),var(--citrus-300) 60%,var(--leaf-300))}
.modal-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.modal-body{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:18px;padding:clamp(28px,4vw,56px)}
.modal-cat{font-weight:600;color:var(--citrus-700)}
.modal-body h3{font-size:clamp(2.2rem,4vw,3.4rem);line-height:1.05;font-weight:400}
.modal-x{position:absolute;z-index:2;top:16px;inset-inline-end:16px;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.92);color:var(--forest);transition:transform .5s var(--ease)}
.modal-x:hover{transform:rotate(90deg)}
.modal-nav{display:flex;gap:10px;margin-top:8px}
.modal-nav button{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;border:1.5px solid var(--leaf-300);color:var(--forest);transition:background .3s,transform .4s var(--ease)}
.modal-nav button:hover{background:var(--sun-400);border-color:var(--sun-400);transform:translateY(-3px)}
[dir="rtl"] .modal-nav .ico{transform:scaleX(-1)}

/* =====================================================================
   TABLETTE
   ===================================================================== */
@media (max-width:1023px){
  .burger{display:flex}
  .nav{
    position:fixed;inset:0;z-index:2;display:block;overflow-y:auto;padding:100px var(--pad) 40px;color:#fff;
    background:linear-gradient(160deg,var(--forest),var(--forest-2));
    opacity:0;visibility:hidden;transform:translateY(-16px);
    transition:opacity .5s var(--ease),transform .6s var(--ease),visibility .5s;
  }
  .nav.open{opacity:1;visibility:visible;transform:none}
  .menu-open{color:#fff !important}
  .menu-open::before{opacity:0 !important}
  .nav>ul{flex-direction:column;align-items:stretch;gap:0}
  .nav>ul>li>a,.sub-toggle{width:100%;justify-content:space-between;padding:16px 0;font-family:var(--f-display);font-size:2rem;font-weight:400;border-bottom:1px solid rgba(255,255,255,.14)}
  .nav>ul>li>a::after,.sub-toggle::after{display:none}
  .sub{position:static;min-width:0;padding:0;background:transparent;color:#fff;border-radius:0;box-shadow:none;opacity:1;visibility:visible;transform:none;max-height:0;overflow:hidden;transition:max-height .6s var(--ease)}
  .has-sub:hover .sub{max-height:0}
  .has-sub.open .sub{max-height:340px}
  .sub a{padding:13px 8px;font-size:1.15rem;color:rgba(255,255,255,.85)}
  .sub a:hover{background:transparent;color:var(--sun-400)}

  .about-grid,.kh-head,.infra-head,.cold-head,.process-grid,.vision-grid,.contact-grid{grid-template-columns:1fr}
  .process-side{position:static}
  .grid{grid-template-columns:repeat(2,1fr)}
  .card:nth-child(3n+2){margin-top:0}
  .card:nth-child(even){margin-top:40px}
  .bento .tile,.tile:nth-child(n){grid-column:span 3}
  .footer-grid{grid-template-columns:1fr 1fr}
  .footer-brand{grid-column:1/-1}
}

/* =====================================================================
   TÉLÉPHONE
   ===================================================================== */
@media (max-width:767px){
  body{font-size:1rem}
  .logo img{height:40px}
  .hero-content{padding-top:80px}
  .hero-place{font-size:.85rem;inset-inline-end:var(--pad);bottom:calc(var(--r) + 14px)}
  .scroll-cue{display:none}
  .btn{padding:15px 24px}

  .figures{grid-template-columns:1fr 1fr}
  .figures li{padding:22px 16px 26px}
  .figures li:nth-child(odd){border-inline-start:0;padding-inline-start:0}
  .figures li:nth-child(n+3){border-top:1px solid rgba(20,58,39,.16)}

  .kh-list{grid-template-columns:1fr}
  .duo{grid-template-columns:1fr}

  /* Les grandes cartes produits deviennent un carrousel à faire glisser */
  .grid{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;margin-inline:calc(var(--pad) * -1);padding:0 var(--pad) 22px;scrollbar-width:none}
  .grid::-webkit-scrollbar{display:none}
  .card,.card:nth-child(even){flex:0 0 78%;margin-top:0;scroll-snap-align:center}
  .tabs{width:100%}
  .tab{flex:1;justify-content:center;padding:13px 10px;white-space:normal;text-align:center;font-size:.92rem;line-height:1.2}

  .panels{flex-direction:column;height:auto}
  .panel,.panels:hover .panel,.panels .panel:hover{flex:none;height:250px}

  .chain{flex-direction:column;align-items:flex-start;gap:34px;margin-top:50px}
  .chain::before,.chain::after{top:40px;bottom:40px;inset-inline:auto;inset-inline-start:39px;width:2px;height:auto}
  .chain::after{transform:scaleY(0);transform-origin:top}
  [dir="rtl"] .chain::after{transform-origin:top}
  .chain.in::after{transform:scaleY(1)}
  .node{flex-direction:row;gap:20px;text-align:start;flex:none}

  .bento{grid-template-columns:1fr}
  .bento .tile,.tile:nth-child(n){grid-column:auto;min-height:0}

  .timeline{padding-inline-start:70px}
  .dot{inset-inline-start:-70px;width:50px;height:50px}
  .timeline::before,.timeline::after{inset-inline-start:24px}

  .flow li:not(:last-child)::after{display:none}
  .flow li:not(:last-child){margin-inline-end:0}

  .modal-box{grid-template-columns:1fr}
  .modal-img{min-height:300px}
  dialog.modal{max-height:96vh;overflow:auto;border-radius:28px}
  .footer-grid{grid-template-columns:1fr}
  .wa{width:56px;height:56px;inset-inline-end:16px;bottom:16px}
}

/* =====================================================================
   ACCESSIBILITÉ : mouvement réduit
   ===================================================================== */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none !important;transition:none !important}
  .rv,.chips li,.flow li,.node,.hero-kicker,.hero-tag,.hero-cta,.hero-place{opacity:1 !important}
  .mask>span{transform:none}
  .imgrv{clip-path:none}.imgrv img{transform:none}
  .chain::after{transform:none}
  .marquee-track{animation:none}
}

/* ---------- Améliorations demandées : À propos + galerie produits ---------- */
.about-photo-wrap{position:relative;min-height:560px}
.about-main-photo{position:absolute;inset:20px 55px 20px 20px;border-radius:34px;overflow:hidden;box-shadow:0 25px 70px rgba(20,58,39,.16);z-index:1}
.about-main-photo img{width:100%;height:100%;object-fit:cover;transition:transform 1.5s var(--ease)}
.about-main-photo:hover img{transform:scale(1.045)}
.about-photo-wrap .arch{z-index:2;box-shadow:0 18px 45px rgba(20,58,39,.14)}
.products-more{display:flex;justify-content:center;margin-top:34px}
.more-btn{min-width:170px}
.more-btn.is-open::after{content:'  ↑'}
@media(max-width:900px){.about-photo-wrap{min-height:500px}.about-main-photo{inset:15px 35px 15px 10px}}
@media(max-width:560px){.about-photo-wrap{min-height:420px}.about-main-photo{inset:10px 20px 10px 0}.about-photo-wrap .arch{transform:scale(.72)}}

/* =====================================================================
   AJUSTEMENTS TYPOGRAPHIE (police, tailles, graisses, lisibilité)
   Pour changer une taille, modifiez uniquement les variables ci-dessous.
   ===================================================================== */
:root{
  --fs-hero:clamp(4rem,14vw,11rem);        /* « EB FLEG » en haut de page */
  --fs-bridge:clamp(2.8rem,10vw,8.5rem);   /* grand titre de transition */
  --fs-h2:clamp(2.1rem,4.2vw,3.6rem);      /* titres de sections */
  --fs-h3:clamp(1.35rem,1.9vw,1.7rem);     /* sous-titres */
  --fs-quote:clamp(1.9rem,4.2vw,3.6rem);   /* citation */
  --fs-lead:clamp(1.1rem,1.4vw,1.25rem);   /* paragraphes d'introduction */
  --fs-small:.95rem;                       /* petits textes (minimum lisible) */
}
body{text-rendering:optimizeLegibility;font-kerning:normal;-moz-osx-font-smoothing:grayscale;font-feature-settings:"kern","liga"}
p,li{text-wrap:pretty}
h1,h2,h3,.quote,.kh-outro,.origins-outro,.bridge-tag{text-wrap:balance}

/* Titres : un peu plus compacts et plus réguliers */
h2{font-size:var(--fs-h2);line-height:1.1;letter-spacing:-.015em}
h3{font-size:var(--fs-h3);line-height:1.25}
.hero-title{font-size:var(--fs-hero);font-weight:400;letter-spacing:-.025em}
.hero-sub{font-weight:400}
.bridge-title{font-size:var(--fs-bridge);font-weight:400}
.quote{font-size:var(--fs-quote);font-weight:400;letter-spacing:-.01em}

/* Textes courants : confort de lecture */
.lead{font-size:var(--fs-lead);line-height:1.65}
.hero-tag{max-width:40ch;line-height:1.55}
.about-text p,.kh-head p,.bridge-tag{line-height:1.75}
.about-text p:not(.lead){max-width:62ch}

/* Petits textes : jamais sous 0,95 rem */
.lang-btn,.tag,.info small,.hint,.figures span,.copy,.form label{font-size:var(--fs-small)}
.figures span{line-height:1.5}
.chips li{font-size:1rem}

/* Arabe : titres en gras léger, sans italique (inexistant en arabe) */
html[lang="ar"] .hero-sub,html[lang="ar"] .bridge-title,html[lang="ar"] .quote,
html[lang="ar"] .kh-outro,html[lang="ar"] .origins-outro,html[lang="ar"] .marquee-track span{font-style:normal}
html[lang="ar"] .hero-title{font-size:clamp(3.6rem,12vw,9rem)}


/* =====================================================================
   EB FLEG — AJUSTEMENT FINAL DE LA TYPOGRAPHIE
   Objectif : textes plus homogènes, lisibles et équilibrés sur desktop,
   tablette et mobile, sans modifier l'identité visuelle du modèle.
   ===================================================================== */
:root{
  --fs-body: clamp(1rem, .22vw + .96rem, 1.08rem);
  --fs-nav: clamp(.92rem, .12vw + .88rem, 1rem);
  --fs-hero: clamp(3.9rem, 11.5vw, 10.5rem);
  --fs-hero-sub: clamp(1.65rem, 3.2vw, 2.9rem);
  --fs-hero-tag: clamp(1rem, .45vw + .9rem, 1.22rem);
  --fs-bridge: clamp(3rem, 8.5vw, 8rem);
  --fs-h2: clamp(2.15rem, 3.7vw, 3.8rem);
  --fs-h3: clamp(1.3rem, 1.45vw + .65rem, 1.75rem);
  --fs-lead: clamp(1.04rem, .35vw + .94rem, 1.22rem);
  --fs-text: clamp(1rem, .18vw + .95rem, 1.08rem);
  --fs-small: clamp(.9rem, .12vw + .86rem, .98rem);
}

body{
  font-size:var(--fs-body);
  line-height:1.7;
  text-rendering:optimizeLegibility;
  font-kerning:normal;
  -moz-osx-font-smoothing:grayscale;
}

p,li{ text-wrap:pretty; }

h1,h2,h3,.quote,.kh-outro,.origins-outro,.bridge-tag{
  text-wrap:balance;
}

/* Menu */
.nav>ul>li>a,
.sub-toggle{
  font-size:var(--fs-nav);
  line-height:1.35;
}

/* Hero */
.hero-kicker{
  font-size:clamp(.95rem, .25vw + .86rem, 1.08rem);
  line-height:1.45;
}
.hero-title{
  font-size:var(--fs-hero);
  line-height:.92;
  font-weight:400;
  letter-spacing:-.025em;
}
.hero-sub{
  font-size:var(--fs-hero-sub);
  line-height:1.15;
  font-weight:400;
}
.hero-tag{
  font-size:var(--fs-hero-tag);
  line-height:1.55;
  max-width:42ch;
}
.btn{
  font-size:1rem;
  line-height:1.25;
}

/* Grands titres de sections */
h2{
  font-size:var(--fs-h2);
  line-height:1.08;
  letter-spacing:-.015em;
}
h3{
  font-size:var(--fs-h3);
  line-height:1.25;
}
.lead{
  font-size:var(--fs-lead);
  line-height:1.68;
}
.about-text p,
.kh-head p,
.bridge-tag{
  font-size:var(--fs-text);
  line-height:1.75;
}

/* Bloc Maroc / Monde */
.bridge-title{
  font-size:var(--fs-bridge);
  line-height:1.05;
}
.bridge-tag{
  max-width:54ch;
}

/* Chiffres */
.num{
  font-size:clamp(2.8rem, 5vw, 5rem);
}
.figures span{
  font-size:var(--fs-small);
  line-height:1.5;
}

/* Savoir-faire / listes / sourcing */
.kh-list li,
.pills li,
.flow li,
.why li,
.panel figcaption{
  line-height:1.4;
}
.kh-outro,
.origins-outro{
  line-height:1.5;
}
.glass p,
.tile p,
.step p,
.cold-head p,
.vision-grid p,
.info span{
  font-size:var(--fs-text);
  line-height:1.7;
}

/* Produits */
.tab{
  font-size:var(--fs-small);
  line-height:1.25;
}
.hint,
.products-more .btn{
  font-size:var(--fs-small);
}
.card h3{
  line-height:1.2;
}

/* Formulaire / contact / footer */
.form label,
.info small,
.lang-btn,
.tag,
.hint,
.copy{
  font-size:var(--fs-small);
}
.form input,
.form textarea{
  font-size:var(--fs-text);
  line-height:1.5;
}
.footer{
  line-height:1.6;
}
.footer-links a{
  font-size:var(--fs-text);
}

/* À propos : photo principale plus nette et bien équilibrée avec le texte */
.about-grid{
  align-items:center;
}
.about-text{
  gap:20px;
}
.about-main-photo{
  background:var(--leaf-50);
}
.about-main-photo img{
  object-position:center;
}

/* Arabe : conserver une lecture confortable sans italique décorative */
html[lang="ar"] body{
  line-height:1.9;
}
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3{
  line-height:1.35;
}
html[lang="ar"] .hero-sub,
html[lang="ar"] .bridge-title,
html[lang="ar"] .quote,
html[lang="ar"] .kh-outro,
html[lang="ar"] .origins-outro,
html[lang="ar"] .marquee-track span{
  font-style:normal;
}
html[lang="ar"] .hero-title{
  font-size:clamp(3.5rem, 11vw, 9rem);
}

/* Mobile : éviter les titres trop imposants et les paragraphes serrés */
@media (max-width:767px){
  body{
    font-size:1rem;
    line-height:1.68;
  }
  .hero-title{
    font-size:clamp(3.6rem, 18vw, 6.8rem);
  }
  .hero-sub{
    font-size:clamp(1.55rem, 7vw, 2.25rem);
  }
  .hero-tag{
    font-size:1rem;
    max-width:34ch;
  }
  h2{
    font-size:clamp(2rem, 9vw, 2.8rem);
  }
  h3{
    font-size:clamp(1.25rem, 5.5vw, 1.55rem);
  }
  .lead,
  .about-text p,
  .kh-head p,
  .glass p,
  .tile p,
  .step p,
  .vision-grid p,
  .info span{
    font-size:1rem;
    line-height:1.72;
  }
  .bridge-title{
    font-size:clamp(2.8rem, 14vw, 5rem);
  }
  .about-photo-wrap{
    min-height:420px;
  }
}

/* Très petits écrans */
@media (max-width:420px){
  .hero-title{
    font-size:clamp(3.2rem, 18vw, 5.2rem);
  }
  .hero-cta{
    flex-direction:column;
    align-items:stretch;
  }
  .hero-cta .btn{
    width:100%;
  }
  .bridge-title{
    font-size:clamp(2.5rem, 14vw, 4rem);
  }
}

/* =====================================================================
   CORRECTION FINALE — PHOTO « À PROPOS »
   La photo doit rester visible même si l'animation de révélation n'est
   pas déclenchée par le navigateur.
   ===================================================================== */
.about-main-photo.imgrv{
  clip-path:none !important;
  overflow:hidden;
}
.about-main-photo.imgrv img{
  display:block !important;
  width:100% !important;
  height:100% !important;
  min-height:100% !important;
  object-fit:cover !important;
  object-position:center !important;
  opacity:1 !important;
  visibility:visible !important;
  transform:none !important;
}


/* =====================================================================
   EB FLEG — RESPONSIVE FINAL / STABLE LAYOUT
   Cette couche finale corrige les conflits entre anciennes media queries.
   Elle conserve le modèle visuel validé.
   ===================================================================== */

:root{
  --safe-x: clamp(16px, 4vw, 72px);
  --safe-y: clamp(18px, 3vw, 40px);
}

html, body{
  width:100%;
  max-width:100%;
  overflow-x:hidden;
}

body{
  min-width:320px;
  font-size:clamp(15px, .18vw + 14.5px, 17px);
}

/* Conteneurs : jamais plus larges que la fenêtre */
.wrap,
.hero-content{
  width:100%;
  max-width:calc(var(--max) + var(--safe-x) * 2);
  padding-inline:var(--safe-x);
}

/* ===================== HEADER ===================== */
.header{
  width:100%;
  padding-inline:var(--safe-x);
  gap:clamp(8px,2vw,24px);
}

.logo{
  min-width:0;
  flex:0 0 auto;
}

.logo img{
  width:auto;
  max-width:min(190px,32vw);
  height:auto;
  max-height:48px;
  object-fit:contain;
}

.header-right{
  flex:0 0 auto;
}

/* ===================== HERO — PAS DE DÉCALAGE ===================== */
.hero{
  width:100%;
  min-height:100svh;
  height:100svh;
  height:100dvh;
  isolation:isolate;
  background:linear-gradient(140deg,var(--forest-2),var(--leaf-600) 55%,var(--citrus-500));
}

.hero-media{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  overflow:hidden;
  transform:none;
  will-change:auto;
  background:linear-gradient(140deg,var(--forest-2),var(--leaf-600) 55%,var(--citrus-500));
}

.hero-media video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  min-width:100%;
  min-height:100%;
  object-fit:cover;
  object-position:center center;
  opacity:0;
  transition:opacity .7s ease;
  transform:none;
  will-change:opacity;
}

.hero-media.video-ready video{
  opacity:1;
}

.hero-content{
  min-width:0;
  padding-top:clamp(92px,12vh,145px);
  padding-bottom:clamp(110px,14vh,150px);
  transform:none;
  opacity:1;
}

.hero-title{
  max-width:100%;
  font-size:clamp(3.25rem, 10.8vw, 10.5rem);
  line-height:.9;
  overflow-wrap:anywhere;
}

.hero-sub{
  font-size:clamp(1.5rem,3.2vw,2.9rem);
}

.hero-tag{
  font-size:clamp(.98rem,.45vw + .86rem,1.22rem);
  max-width:min(40ch,100%);
}

.hero-cta{
  flex-wrap:wrap;
}

.hero-place{
  max-width:calc(100% - 2 * var(--safe-x) - 54px);
  font-size:clamp(.78rem,.18vw + .72rem,.95rem);
}

.scroll-cue{
  inset-inline-end:var(--safe-x);
}

/* ===================== TABLETTES ===================== */
@media (max-width:1023px){
  .header{
    padding-block:14px;
  }

  .logo img{
    max-width:170px;
    max-height:44px;
  }

  .lang-btn{
    min-height:42px;
    padding:7px 11px;
  }

  .nav{
    padding:96px var(--safe-x) 40px;
    -webkit-overflow-scrolling:touch;
  }

  .nav>ul>li>a,
  .sub-toggle{
    font-size:clamp(1.35rem,3.5vw,2rem);
  }

  .hero-content{
    padding-top:clamp(100px,15vh,150px);
  }

  .bridge-title{
    white-space:normal;
    text-align:center;
  }

  .figures{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .about-grid,
  .kh-head,
  .infra-head,
  .cold-head,
  .process-grid,
  .vision-grid,
  .contact-grid{
    min-width:0;
  }

  .grid{
    min-width:0;
  }
}

/* ===================== TELEPHONES ===================== */
@media (max-width:767px){
  :root{
    --safe-x:16px;
    --r:28px;
  }

  html{
    scroll-padding-top:64px;
  }

  body{
    font-size:16px;
    line-height:1.68;
  }

  .header{
    padding-block:10px;
    min-height:62px;
  }

  .logo img{
    max-width:145px;
    max-height:38px;
  }

  .header-right{
    gap:7px;
  }

  .lang-btn{
    min-height:40px;
    padding:6px 9px;
    gap:6px;
    font-size:.84rem;
  }

  .lang-btn .flag{
    width:24px;
    height:16px;
  }

  .burger{
    width:42px;
    height:42px;
  }

  .nav{
    padding-top:82px;
  }

  .nav>ul>li>a,
  .sub-toggle{
    font-size:clamp(1.25rem,6vw,1.75rem);
    padding-block:14px;
  }

  .sub a{
    font-size:1rem;
  }

  /* Hero: utilise toute la hauteur disponible, sans minimum de 640px */
  .hero,
  .hero-media{
    min-height:100svh;
    height:100svh;
    height:100dvh;
  }

  .hero-content{
    display:flex;
    flex-direction:column;
    justify-content:center;
    min-height:100%;
    padding-top:86px;
    padding-bottom:116px;
  }

  .hero-kicker{
    font-size:clamp(.78rem,2.8vw,.98rem);
    line-height:1.4;
    max-width:34ch;
  }

  .hero-title{
    font-size:clamp(3rem,17vw,6.2rem);
    line-height:.92;
    letter-spacing:-.035em;
  }

  .hero-sub{
    font-size:clamp(1.45rem,7vw,2.25rem);
    line-height:1.15;
  }

  .hero-tag{
    margin-top:16px;
    font-size:clamp(.92rem,3.7vw,1.04rem);
    line-height:1.55;
    max-width:34ch;
  }

  .hero-cta{
    width:100%;
    margin-top:24px;
    gap:10px;
  }

  .hero-cta .btn{
    flex:1 1 180px;
    min-width:0;
    min-height:48px;
    padding:13px 18px;
    font-size:.94rem;
  }

  .hero-place{
    inset-inline-start:var(--safe-x);
    inset-inline-end:var(--safe-x);
    bottom:calc(var(--r) + 14px);
    max-width:none;
    justify-content:center;
    text-align:center;
    line-height:1.4;
  }

  .scroll-cue{
    display:none;
  }

  .section{
    padding-block:clamp(72px,14vw,110px);
  }

  h2{
    font-size:clamp(2rem,9vw,2.8rem);
  }

  h3{
    font-size:clamp(1.25rem,5.5vw,1.6rem);
  }

  .lead,
  .about-text p,
  .kh-head p,
  .glass p,
  .tile p,
  .step p,
  .vision-grid p,
  .info span{
    font-size:1rem;
    line-height:1.72;
  }

  .bridge{
    padding-top:72px;
  }

  .bridge-title{
    display:flex;
    flex-wrap:wrap;
    white-space:normal;
    gap:8px 12px;
    font-size:clamp(2.35rem,12vw,4.6rem);
    line-height:1.05;
  }

  .bridge-arrow{
    width:clamp(58px,18vw,110px);
  }

  .bridge-tag{
    font-size:1rem;
    line-height:1.65;
  }

  .figures{
    grid-template-columns:1fr 1fr;
  }

  .figures li{
    min-width:0;
    padding:20px 12px;
  }

  .num{
    font-size:clamp(2.5rem,10vw,4rem);
  }

  .figures span{
    font-size:.9rem;
    overflow-wrap:anywhere;
  }

  .btn{
    max-width:100%;
  }

  .tabs{
    max-width:100%;
    overflow:hidden;
  }

  .tab{
    min-width:0;
  }

  .grid{
    width:100%;
  }

  .card{
    min-width:0;
  }

  .modal-box{
    width:100%;
  }

  dialog.modal{
    width:min(94vw,680px);
  }

  .wa{
    width:54px;
    height:54px;
    inset-inline-end:14px;
    bottom:14px;
  }
}

/* ===================== PETITS TÉLÉPHONES ===================== */
@media (max-width:420px){
  .logo img{
    max-width:125px;
  }

  .lang-btn span#langCode,
  .lang-btn .chev{
    display:none;
  }

  .hero-content{
    padding-top:78px;
    padding-bottom:108px;
  }

  .hero-title{
    font-size:clamp(2.75rem,16.5vw,5rem);
  }

  .hero-sub{
    font-size:clamp(1.35rem,7vw,2rem);
  }

  .hero-cta{
    flex-direction:column;
    align-items:stretch;
  }

  .hero-cta .btn{
    width:100%;
    flex:0 0 auto;
  }

  .bridge-title{
    font-size:clamp(2.25rem,12vw,3.8rem);
  }

  .figures{
    grid-template-columns:1fr;
  }

  .figures li{
    border-inline-start:0 !important;
    border-top:1px solid rgba(20,58,39,.16);
  }

  .figures li:first-child{
    border-top:0;
  }
}

/* ===================== ÉCRANS TRÈS COURTS / PAYSAGE ===================== */
@media (max-height:620px) and (orientation:landscape){
  .hero,
  .hero-media{
    min-height:100svh;
    height:100svh;
  }

  .hero-content{
    padding-top:78px;
    padding-bottom:76px;
  }

  .hero-title{
    font-size:clamp(2.8rem,9vw,5.8rem);
  }

  .hero-sub{
    font-size:clamp(1.25rem,3.5vw,2rem);
  }

  .hero-tag{
    margin-top:10px;
    font-size:.9rem;
  }

  .hero-cta{
    margin-top:14px;
  }

  .hero-place{
    display:none;
  }
}

/* ===================== ARABE / RTL ===================== */
html[lang="ar"] .hero-title,
html[lang="ar"] .hero-sub,
html[lang="ar"] .hero-tag,
html[lang="ar"] .hero-place{
  overflow-wrap:anywhere;
}

html[lang="ar"] .hero-content{
  text-align:right;
}

@media (max-width:767px){
  html[lang="ar"] .hero-content{
    text-align:right;
  }

  html[lang="ar"] .hero-place{
    text-align:center;
  }
}

/* ===================== MOUVEMENT RÉDUIT ===================== */
@media (prefers-reduced-motion:reduce){
  .hero-media video{
    transition:none;
  }
}


/* =====================================================================
   EB FLEG — FINAL MOBILE / SMALL-SCREEN TYPOGRAPHY FIX
   Objectif : aucun texte coupé, chevauché ou trop grand.
   Le modèle desktop reste inchangé.
   ===================================================================== */

/* Prevent long words/links from forcing horizontal overflow */
p, li, a, button, label, input, textarea, h1, h2, h3, span{
  overflow-wrap:break-word;
  word-break:normal;
}

/* Keep text containers inside their grid tracks */
.about-grid > *,
.kh-head > *,
.infra-head > *,
.cold-head > *,
.process-grid > *,
.vision-grid > *,
.contact-grid > *{
  min-width:0;
}

/* ===================== iPHONE / MOBILE ===================== */
@media (max-width:767px){

  /* Reduce the giant visual block before the text */
  .section{
    padding-block:clamp(54px,10vw,78px);
  }

  .round{
    margin-top:-28px;
    border-radius:28px 28px 0 0;
  }

  /* About: image first, then text, both fully visible */
  .about-grid{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:clamp(34px,8vw,52px);
    align-items:start;
  }

  .about-photo-wrap{
    width:100%;
    max-width:100%;
    min-height:0;
    height:auto;
    aspect-ratio:1 / .92;
  }

  .about-main-photo{
    inset:8px 28px 8px 0;
    border-radius:26px;
  }

  .about-photo-wrap .c1{
    width:60%;
  }

  .about-photo-wrap .c3{
    width:29%;
    top:8%;
  }

  .about-photo-wrap .c2{
    width:50%;
    border-width:6px;
  }

  .about-photo-wrap .seal{
    width:clamp(72px,21vw,98px);
    bottom:7%;
    inset-inline-start:2%;
  }

  .about-text{
    width:100%;
    gap:16px;
  }

  .about-text h2{
    font-size:clamp(2rem,8.5vw,2.7rem);
    line-height:1.08;
    margin-bottom:4px;
  }

  .about-text p,
  .about-text .lead{
    width:100%;
    max-width:100%;
    font-size:clamp(.98rem,3.7vw,1.05rem);
    line-height:1.68;
  }

  /* Section headings */
  .kh-head,
  .infra-head,
  .cold-head,
  .vision-grid,
  .contact-grid{
    grid-template-columns:minmax(0,1fr);
    gap:28px;
  }

  .kh-head h2,
  .infra-head h2,
  .cold-head h2,
  .contact-grid h2{
    font-size:clamp(2rem,8.5vw,2.7rem);
    line-height:1.08;
  }

  .kh-list{
    grid-template-columns:minmax(0,1fr);
  }

  .kh-list li{
    font-size:clamp(1.15rem,5vw,1.45rem);
    gap:14px;
    padding:18px 0;
  }

  .kh-list .ico{
    width:31px;
    height:31px;
    padding:7px;
  }

  /* Product tabs never overflow */
  .tabs{
    width:100%;
    max-width:100%;
    overflow:hidden;
  }

  .tab{
    min-width:0;
    flex:1 1 0;
    padding:11px 7px;
    font-size:clamp(.78rem,3vw,.92rem);
    white-space:normal;
  }

  /* Cards: readable titles */
  .card-name{
    font-size:clamp(1.5rem,7vw,2rem);
  }

  /* Infrastructure / process */
  .panels{
    height:auto;
  }

  .panel,
  .panels:hover .panel,
  .panels .panel:hover{
    height:210px;
  }

  .panel figcaption{
    inset-inline:18px;
    bottom:18px;
    font-size:clamp(1.25rem,5vw,1.7rem);
  }

  .process-grid{
    grid-template-columns:minmax(0,1fr);
    gap:42px;
  }

  .process-side{
    position:static;
  }

  .timeline{
    padding-inline-start:66px;
  }

  .dot{
    inset-inline-start:-66px;
    width:48px;
    height:48px;
  }

  .step h3{
    font-size:clamp(1.4rem,5.5vw,1.8rem);
  }

  .step p{
    max-width:100%;
    font-size:.98rem;
  }

  /* Contact text and fields */
  .info a:not(.maplink){
    font-size:clamp(1.1rem,5vw,1.45rem);
    overflow-wrap:anywhere;
  }

  .info span{
    font-size:1rem;
  }

  .form{
    padding:22px 18px;
  }

  /* Footer */
  .footer-grid{
    grid-template-columns:minmax(0,1fr);
  }

  .footer-brand{
    grid-column:auto;
    max-width:100%;
  }
}

/* ===================== SMALL PC / TABLET ===================== */
/* This is the range where laptop windows often expose the previous
   desktop 2-column layout too early. */
@media (min-width:768px) and (max-width:1100px){

  :root{
    --safe-x:clamp(22px,4vw,40px);
  }

  .about-grid,
  .kh-head,
  .infra-head,
  .cold-head,
  .process-grid,
  .vision-grid,
  .contact-grid{
    grid-template-columns:minmax(0,1fr);
    gap:42px;
  }

  .about-photo-wrap{
    max-width:min(620px,100%);
    margin-inline:auto;
  }

  .about-text{
    max-width:760px;
    margin-inline:auto;
  }

  .hero-title{
    font-size:clamp(4rem,10vw,7.5rem);
  }

  .bridge-title{
    font-size:clamp(3rem,8vw,6rem);
  }

  .grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .card:nth-child(even){
    margin-top:0;
  }

  .footer-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

/* ===================== VERY SMALL HEIGHT ===================== */
@media (max-width:767px) and (max-height:740px){
  .hero-content{
    padding-top:74px;
    padding-bottom:88px;
  }

  .hero-title{
    font-size:clamp(2.8rem,15.5vw,5rem);
  }

  .hero-sub{
    font-size:clamp(1.3rem,6vw,2rem);
  }

  .hero-tag{
    margin-top:12px;
    font-size:.92rem;
  }

  .hero-cta{
    margin-top:18px;
  }
}

/* ===================== SAFETY FOR TEXT ZOOM ===================== */
/* iOS text-size adjustment must not enlarge individual blocks differently */
html{
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}


/* =====================================================================
   EB FLEG — RESPONSIVE V3 / DEVICE-INDEPENDENT TYPOGRAPHY
   Objectif : iPhone, Android, iPad, petites fenêtres PC, laptops,
   grands écrans. Aucun réglage ne dépend d'un modèle de téléphone précis.
   ===================================================================== */

html{
  width:100%;
  max-width:100%;
  overflow-x:hidden;
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}

body{
  width:100%;
  min-width:0;
  max-width:100%;
  overflow-x:hidden;
  overflow-wrap:break-word;
}

img,video,svg,canvas{
  max-width:100%;
}

.wrap{
  width:100%;
  max-width:var(--max);
  margin-inline:auto;
  padding-inline:clamp(16px,4vw,72px);
}

/* ---------- TYPOGRAPHIE GLOBALE ---------- */

p,li,span,a,label,input,textarea,button{
  overflow-wrap:break-word;
}

p{
  max-width:70ch;
}

h1,h2,h3{
  max-width:100%;
  overflow-wrap:break-word;
  word-break:normal;
  hyphens:auto;
}

/* Titres de sections : jamais gigantesques sur un petit écran */
h2{
  font-size:clamp(1.85rem,3.7vw,3.8rem);
  line-height:1.08;
}

h3{
  font-size:clamp(1.18rem,1.55vw + .55rem,1.8rem);
  line-height:1.22;
}

.lead{
  font-size:clamp(.98rem,.28vw + .9rem,1.2rem);
  line-height:1.68;
}

.about-text p,
.kh-head p,
.bridge-tag,
.glass p,
.tile p,
.step p,
.cold-head p,
.vision-grid p,
.info span,
.footer-brand p{
  font-size:clamp(.96rem,.18vw + .9rem,1.08rem);
  line-height:1.7;
}

/* ---------- HEADER ---------- */

.header{
  width:100%;
  min-width:0;
  padding-inline:clamp(14px,4vw,72px);
}

.logo{
  min-width:0;
}

.logo img{
  width:auto;
  max-width:clamp(118px,15vw,190px);
  height:auto;
  max-height:46px;
  object-fit:contain;
}

.header-right{
  min-width:0;
}

/* ---------- HERO ---------- */

.hero{
  width:100%;
  height:100svh;
  min-height:520px;
  max-height:none;
}

.hero-media{
  inset:0;
  width:100%;
  height:100%;
  transform:none !important;
}

.hero-media video{
  inset:0;
  width:100%;
  height:100%;
  min-width:100%;
  min-height:100%;
  object-fit:cover;
  object-position:center center;
  transform:none !important;
}

.hero-content{
  width:100%;
  min-width:0;
  max-width:var(--max);
  padding-inline:clamp(16px,5vw,72px);
}

.hero-title{
  max-width:100%;
  font-size:clamp(3rem,10.5vw,10.5rem);
  line-height:.9;
  letter-spacing:-.035em;
}

.hero-sub{
  font-size:clamp(1.35rem,3vw,2.9rem);
  line-height:1.12;
}

.hero-tag{
  width:min(100%,42ch);
  font-size:clamp(.9rem,.38vw + .82rem,1.18rem);
  line-height:1.55;
}

.hero-cta{
  max-width:100%;
  flex-wrap:wrap;
}

.hero-cta .btn{
  min-width:0;
}

.hero-place{
  max-width:calc(100% - 32px);
  font-size:clamp(.72rem,.2vw + .68rem,.95rem);
  line-height:1.4;
}

/* ---------- À PROPOS : bloc réellement adaptable ---------- */

.about-grid{
  width:100%;
  min-width:0;
}

.about-text{
  min-width:0;
  width:100%;
}

.about-text p{
  max-width:65ch;
}

.about-photo-wrap{
  width:min(100%,560px);
  max-width:100%;
  margin-inline:auto;
  min-width:0;
}

/* ---------- PRODUITS / GRILLES ---------- */

.grid,
.figures,
.kh-list,
.duo,
.panels,
.bento,
.process-grid,
.vision-grid,
.contact-grid,
.cold-head,
.infra-head,
.kh-head{
  min-width:0;
}

.card,
.tile,
.glass,
.panel,
.step{
  min-width:0;
}

.card-name{
  max-width:calc(100% - 62px);
  font-size:clamp(1.35rem,2.4vw,2.4rem);
  line-height:1.08;
  overflow-wrap:anywhere;
}

/* ---------- PETITE FENÊTRE PC / TABLETTE ---------- */

@media (max-width:1100px){

  .about-grid,
  .kh-head,
  .infra-head,
  .cold-head,
  .process-grid,
  .vision-grid,
  .contact-grid{
    grid-template-columns:minmax(0,1fr);
  }

  .about-photo-wrap{
    width:min(100%,600px);
  }

  .about-text{
    max-width:760px;
    margin-inline:auto;
  }

  .grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .card:nth-child(even){
    margin-top:0;
  }

  .footer-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

/* ---------- TABLETTE / IPHONE / ANDROID ---------- */

@media (max-width:767px){

  :root{
    --pad:16px;
    --r:28px;
  }

  body{
    font-size:16px;
    line-height:1.65;
  }

  .section{
    padding-block:clamp(58px,11vw,90px);
  }

  .wrap{
    padding-inline:16px;
  }

  /* Header */
  .header{
    min-height:62px;
    padding-block:9px;
    padding-inline:14px;
    gap:8px;
  }

  .logo img{
    max-width:132px;
    max-height:38px;
  }

  .header-right{
    gap:7px;
  }

  .lang-btn{
    min-height:40px;
    padding:6px 9px;
    font-size:.82rem;
  }

  .burger{
    width:42px;
    height:42px;
    flex:none;
  }

  /* Hero */
  .hero{
    min-height:560px;
    height:100svh;
  }

  .hero-content{
    min-height:100%;
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding-inline:16px;
    padding-top:82px;
    padding-bottom:106px;
  }

  .hero-kicker{
    max-width:34ch;
    font-size:clamp(.74rem,2.7vw,.95rem);
  }

  .hero-title{
    max-width:100%;
    font-size:clamp(2.85rem,15.8vw,5.8rem);
    line-height:.92;
  }

  .hero-sub{
    font-size:clamp(1.3rem,6.4vw,2.15rem);
  }

  .hero-tag{
    max-width:34ch;
    font-size:clamp(.88rem,3.5vw,1rem);
  }

  .hero-cta{
    width:100%;
    flex-direction:column;
    align-items:stretch;
    gap:9px;
  }

  .hero-cta .btn{
    width:100%;
    min-height:47px;
    padding:12px 16px;
    font-size:.9rem;
  }

  .hero-place{
    left:16px;
    right:16px;
    max-width:none;
    bottom:calc(var(--r) + 12px);
    justify-content:center;
    text-align:center;
    font-size:.74rem;
  }

  .scroll-cue{
    display:none;
  }

  /* Section titles */
  h2{
    font-size:clamp(1.9rem,8.6vw,2.65rem);
    line-height:1.08;
  }

  h3{
    font-size:clamp(1.18rem,5.4vw,1.55rem);
  }

  .lead,
  .about-text p,
  .kh-head p,
  .bridge-tag,
  .glass p,
  .tile p,
  .step p,
  .cold-head p,
  .vision-grid p,
  .info span,
  .footer-brand p{
    font-size:clamp(.94rem,3.65vw,.99rem);
    line-height:1.7;
  }

  /* À propos : beaucoup moins haut que l'ancienne version */
  .about-grid{
    gap:38px;
  }

  .about-photo-wrap{
    width:100%;
    max-width:430px;
    min-height:0;
    aspect-ratio:1 / .92;
  }

  .about-main-photo{
    inset:10px 38px 10px 10px;
    border-radius:28px;
  }

  .c1{
    width:59%;
  }

  .c3{
    width:28%;
    top:8%;
  }

  .c2{
    width:48%;
    right:1%;
    border-width:6px;
  }

  .seal{
    width:clamp(78px,22vw,104px);
    bottom:5%;
  }

  .about-text{
    gap:16px;
  }

  .about-text h2{
    margin-bottom:3px;
  }

  /* Maroc / International */
  .bridge-title{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:center;
    gap:6px 10px;
    font-size:clamp(2.2rem,11.5vw,4rem);
    line-height:1;
    text-align:center;
  }

  .bridge-arrow{
    width:clamp(46px,14vw,90px);
    flex:none;
  }

  .figures{
    grid-template-columns:1fr 1fr;
  }

  .figures li{
    min-width:0;
    padding:18px 10px 22px;
  }

  .num{
    font-size:clamp(2.3rem,9vw,3.8rem);
  }

  .figures span{
    font-size:.82rem;
    line-height:1.4;
    overflow-wrap:anywhere;
  }

  /* Produits */
  .tabs{
    width:100%;
    max-width:100%;
    overflow:hidden;
  }

  .tab{
    min-width:0;
    flex:1 1 0;
    padding:11px 7px;
    font-size:clamp(.75rem,3vw,.9rem);
    line-height:1.2;
    white-space:normal;
    text-align:center;
    justify-content:center;
  }

  .grid{
    display:flex;
    width:100%;
    overflow-x:auto;
    gap:14px;
    scroll-snap-type:x mandatory;
    padding-bottom:18px;
  }

  .card,
  .card:nth-child(even){
    flex:0 0 min(82%,320px);
    margin-top:0;
    scroll-snap-align:center;
  }

  .card-name{
    font-size:clamp(1.35rem,6vw,1.9rem);
  }

  /* Infrastructure */
  .panels{
    height:auto;
    flex-direction:column;
  }

  .panel,
  .panels:hover .panel,
  .panels .panel:hover{
    flex:none;
    height:210px;
  }

  .panel figcaption{
    font-size:clamp(1.2rem,5vw,1.65rem);
  }

  /* Process */
  .process-grid{
    gap:38px;
  }

  .timeline{
    padding-inline-start:62px;
  }

  .dot{
    inset-inline-start:-62px;
    width:46px;
    height:46px;
  }

  .step h3{
    font-size:clamp(1.3rem,5.2vw,1.7rem);
  }

  .step p{
    max-width:100%;
  }

  /* Contact */
  .info a:not(.maplink){
    font-size:clamp(1.05rem,4.8vw,1.4rem);
  }

  .form{
    padding:20px 16px;
  }

  .form input,
  .form textarea{
    min-width:0;
    font-size:16px; /* évite le zoom automatique iPhone */
  }

  /* Footer */
  .footer-grid{
    grid-template-columns:1fr;
  }
}

/* ---------- PETITS TÉLÉPHONES / FENÊTRES ÉTROITES ---------- */

@media (max-width:430px){

  .header{
    padding-inline:12px;
  }

  .logo img{
    max-width:118px;
  }

  .lang-btn{
    padding-inline:8px;
  }

  .hero{
    min-height:540px;
  }

  .hero-content{
    padding-inline:14px;
    padding-top:76px;
    padding-bottom:98px;
  }

  .hero-title{
    font-size:clamp(2.65rem,15.4vw,4.8rem);
  }

  .hero-sub{
    font-size:clamp(1.22rem,6.3vw,1.85rem);
  }

  .hero-tag{
    font-size:.88rem;
    max-width:32ch;
  }

  .section{
    padding-block:54px;
  }

  .about-photo-wrap{
    max-width:390px;
    aspect-ratio:1 / .86;
  }

  .about-main-photo{
    inset:8px 32px 8px 8px;
  }

  .seal{
    width:76px;
  }

  .about-grid{
    gap:30px;
  }

  h2{
    font-size:clamp(1.78rem,8.5vw,2.35rem);
  }

  .about-text p,
  .lead,
  .kh-head p,
  .bridge-tag,
  .glass p,
  .tile p,
  .step p,
  .cold-head p,
  .vision-grid p,
  .info span{
    font-size:.94rem;
    line-height:1.68;
  }

  .figures{
    grid-template-columns:1fr;
  }

  .figures li{
    border-inline-start:0 !important;
    border-top:1px solid rgba(20,58,39,.14);
  }

  .figures li:first-child{
    border-top:0;
  }

  .card,
  .card:nth-child(even){
    flex-basis:84%;
  }

  .wa{
    width:52px;
    height:52px;
    inset-inline-end:13px;
    bottom:13px;
  }
}

/* ---------- ÉCRANS COURTS / MODE PAYSAGE ---------- */

@media (max-width:900px) and (max-height:650px){

  .hero{
    min-height:100svh;
    height:100svh;
  }

  .hero-content{
    padding-top:70px;
    padding-bottom:70px;
  }

  .hero-title{
    font-size:clamp(2.5rem,9vw,5.2rem);
  }

  .hero-sub{
    font-size:clamp(1.2rem,3.5vw,1.9rem);
  }

  .hero-tag{
    font-size:.86rem;
  }

  .hero-place{
    display:none;
  }
}

/* ---------- ACCESSIBILITÉ / ZOOM ---------- */

@media (min-resolution:192dpi) and (max-width:767px){
  /* Ne pas laisser les très hauts DPI agrandir artificiellement les textes. */
  body{
    -webkit-text-size-adjust:100%;
  }
}

/* ---------- RTL ---------- */

html[lang="ar"] .about-text p,
html[lang="ar"] .lead,
html[lang="ar"] .glass p,
html[lang="ar"] .tile p,
html[lang="ar"] .step p{
  overflow-wrap:anywhere;
}

@media (max-width:767px){
  html[lang="ar"] .hero-content{
    text-align:right;
  }

  html[lang="ar"] .hero-place{
    text-align:center;
  }
}

/* =========================================================
   EB FLEG — CORRECTION FINALE SECTION À PROPOS
   Supprime le collage décoratif et garde uniquement
   l'image principale comme sur la version correcte.
   ========================================================= */

.about-photo-wrap {
    position: relative !important;
    min-height: 0 !important;
    height: auto !important;
}

/* Masquer les images décoratives du collage */
.about-photo-wrap .arch {
    display: none !important;
}

/* Image principale */
.about-main-photo {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 0.88 !important;
    overflow: hidden !important;
    border-radius: 32px !important;
}

/* Image */
.about-main-photo img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

/* Conservation du petit élément circulaire existant */
.about-photo-wrap .stamp,
.about-photo-wrap .about-stamp {
    z-index: 10 !important;
}

/* Desktop */
@media (min-width: 1101px) {
    .about-photo-wrap {
        width: 100% !important;
        max-width: 560px !important;
        margin-inline: auto !important;
    }

    .about-main-photo {
        aspect-ratio: 0.84 !important;
    }
}

/* Tablette */
@media (max-width: 1100px) {
    .about-photo-wrap {
        width: min(100%, 560px) !important;
        margin-inline: auto !important;
    }

    .about-main-photo {
        aspect-ratio: 0.9 !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .about-photo-wrap {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 0 !important;
    }

    .about-main-photo {
        width: 100% !important;
        aspect-ratio: 0.9 !important;
        border-radius: 24px !important;
    }
}

/* Petit téléphone */
@media (max-width: 430px) {
    .about-main-photo {
        aspect-ratio: 0.88 !important;
        border-radius: 22px !important;
    }
}
/* ================================================================
   EB FLEG — TYPOGRAPHIE RESPONSIVE FINALE
   Objectif :
   - NE JAMAIS couper les mots
   - Adapter automatiquement les titres
   - Adapter les paragraphes
   - Fonctionner sur téléphone, tablette et ordinateur
   ================================================================ */

/* ------------------------------------------------
   1. EMPÊCHER LA COUPURE DES MOTS
   ------------------------------------------------ */

h1,
h2,
h3,
h4,
h5,
h6,
.hero-title,
.hero-sub,
.bridge-title,
.quote,
.cold-head h2,
.about-text h2,
.infra-head h2,
.kh-head h2,
.vision-grid h3 {
    hyphens: none !important;
    -webkit-hyphens: none !important;
    -moz-hyphens: none !important;

    word-break: normal !important;
    overflow-wrap: normal !important;

    /* Le navigateur peut passer à la ligne entre les mots,
       mais jamais couper un mot */
    white-space: normal !important;

    text-align: start;
}

/* ------------------------------------------------
   2. TITRES DE SECTIONS
   ------------------------------------------------ */

h2 {
    font-size: clamp(2rem, 3.4vw, 3.7rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.015em !important;

    max-width: 22ch;
    margin-inline: 0;
}

/* ------------------------------------------------
   3. TITRE "CHAÎNE DU FROID"
   ------------------------------------------------ */

.cold-head {
    min-width: 0 !important;
}

.cold-head h2 {
    width: 100%;
    max-width: 15ch !important;

    font-size: clamp(
        2.1rem,
        3.5vw,
        3.7rem
    ) !important;

    line-height: 1.08 !important;

    /*
       Important :
       on autorise le titre à prendre plusieurs lignes
       mais uniquement entre les mots.
    */
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
}

/* ------------------------------------------------
   4. PARAGRAPHES
   ------------------------------------------------ */

p,
li {
    word-break: normal !important;
    overflow-wrap: break-word;
    hyphens: none !important;
    -webkit-hyphens: none !important;

    line-height: 1.65;
}

/* ------------------------------------------------
   5. TABLETTE
   ------------------------------------------------ */

@media (max-width: 1100px) {

    h2 {
        font-size: clamp(
            2rem,
            5vw,
            3.2rem
        ) !important;

        max-width: 20ch;
    }

    .cold-head h2 {
        max-width: 16ch !important;

        font-size: clamp(
            2rem,
            5vw,
            3.2rem
        ) !important;
    }

    .lead {
        font-size: clamp(
            1rem,
            1.7vw,
            1.15rem
        ) !important;

        line-height: 1.7 !important;
    }
}

/* ------------------------------------------------
   6. TÉLÉPHONE
   ------------------------------------------------ */

@media (max-width: 767px) {

    h2 {
        font-size: clamp(
            1.9rem,
            8vw,
            2.7rem
        ) !important;

        line-height: 1.12 !important;

        max-width: 100% !important;
    }

    .cold-head h2 {
        font-size: clamp(
            1.9rem,
            7.8vw,
            2.7rem
        ) !important;

        line-height: 1.12 !important;

        max-width: 100% !important;
    }

    p,
    li,
    .lead {
        font-size: clamp(
            .98rem,
            3.7vw,
            1.08rem
        ) !important;

        line-height: 1.7 !important;
    }

    .cold-head {
        gap: 24px !important;
    }
}

/* ------------------------------------------------
   7. PETITS TÉLÉPHONES
   ------------------------------------------------ */

@media (max-width: 430px) {

    h2,
    .cold-head h2 {
        font-size: clamp(
            1.75rem,
            8vw,
            2.35rem
        ) !important;

        line-height: 1.14 !important;

        max-width: 100% !important;
    }

    p,
    li,
    .lead {
        font-size: .98rem !important;
        line-height: 1.68 !important;
    }
}

/* ------------------------------------------------
   8. PETIT ÉCRAN EN PAYSAGE
   ------------------------------------------------ */

@media (max-width: 900px) and (max-height: 650px) {

    h2,
    .cold-head h2 {
        font-size: clamp(
            1.8rem,
            4vw,
            2.8rem
        ) !important;

        line-height: 1.1 !important;
    }

    p,
    .lead {
        line-height: 1.55 !important;
    }
}

/* ------------------------------------------------
   9. ÉCRANS TRÈS LARGES
   ------------------------------------------------ */

@media (min-width: 1600px) {

    h2 {
        font-size: clamp(
            2.8rem,
            3vw,
            4rem
        ) !important;
    }

    .cold-head h2 {
        font-size: clamp(
            2.8rem,
            3vw,
            4rem
        ) !important;
    }
}
/* --- Ajustements de sobriété et performance --- */
h2,h3{font-family:Arial,Helvetica,sans-serif;font-weight:600;letter-spacing:-.025em}
.hero-title,.quote{font-family:Arial,Helvetica,sans-serif}
.rv{will-change:auto}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
  .rv{opacity:1!important;transform:none!important}
  .imgrv{clip-path:none!important}
  .imgrv img{transform:none!important}
}
/* --- Blog EB FLEG --- */
.blog-hero{padding:150px 0 70px;background:#f2f8f0}
.blog-hero .eyebrow{font-size:.78rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#54805b}
.blog-hero h1{font-size:clamp(2.3rem,5vw,4rem);line-height:1.08;color:var(--forest);max-width:850px;margin:12px 0 18px}
.blog-hero p{max-width:760px;color:var(--muted);font-size:1.12rem}
.blog-wrap{max-width:1180px;margin:auto;padding:60px var(--pad) 100px}
.blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.blog-card{border:1px solid #e5ece4;border-radius:14px;overflow:hidden;background:#fff;display:flex;flex-direction:column;transition:box-shadow .2s,border-color .2s}
.blog-card:hover{box-shadow:0 12px 32px rgba(20,58,39,.09);border-color:#c7d9c5}
.blog-card .blog-card-body{padding:24px;display:flex;flex:1;flex-direction:column;align-items:flex-start}
.blog-tag{font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#56805b}
.blog-card h2{font-family:Arial,Helvetica,sans-serif;font-size:1.35rem;line-height:1.3;font-weight:700;margin:10px 0;color:var(--forest)}
.blog-card p{font-size:.96rem;color:var(--muted);line-height:1.65}
.blog-read{margin-top:auto;padding-top:18px;color:#28613a;font-weight:700}
.blog-article{max-width:850px;margin:0 auto;padding:58px var(--pad) 100px}
.blog-article .back{display:inline-block;color:#28613a;font-weight:700;margin-bottom:30px}
.blog-article .blog-tag{margin-bottom:12px}
.blog-article h1{font-size:clamp(2.1rem,4.5vw,3.6rem);line-height:1.12;color:var(--forest);margin-bottom:22px}
.blog-article .intro{font-size:1.2rem;color:#526258;line-height:1.75;margin-bottom:36px}
.blog-article h2{font:700 1.55rem/1.3 Arial,Helvetica,sans-serif;margin:34px 0 12px;color:var(--forest)}
.blog-article p,.blog-article li{font-size:1.04rem;line-height:1.85;color:#34443a;margin:0 0 16px}
.blog-article ul{list-style:disc;padding-left:24px;margin-bottom:20px}
.blog-article .article-cta{margin-top:38px;padding:26px;background:#f2f8f0;border-radius:12px}
.blog-article .article-cta a{color:#28613a;font-weight:700}
@media(max-width:900px){.blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.blog-grid{grid-template-columns:1fr}.blog-hero{padding-top:125px}.blog-wrap{padding-top:38px}.blog-article{padding-top:38px}}


/* ==========================================================
   EB FLEG — Cartes produits compactes
   Grille plus dense, visuels carrés et libellés discrets
   ========================================================== */
#produits .grid{
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:clamp(12px,1.5vw,20px);
  margin-top:clamp(28px,4vw,46px);
  align-items:stretch;
}
#produits .card,
#produits .card:nth-child(3n+2),
#produits .card:nth-child(even){
  aspect-ratio:1/1.08;
  margin-top:0;
  border-radius:18px;
  min-height:0;
  box-shadow:0 10px 28px rgba(20,58,39,.10);
  transition:transform .45s cubic-bezier(.2,.7,.2,1),box-shadow .45s ease;
}
#produits .card:hover,
#produits .card:focus-visible{
  transform:translateY(-6px);
  box-shadow:0 18px 34px rgba(20,58,39,.18);
}
#produits .card img{
  transition:transform .8s cubic-bezier(.2,.7,.2,1),filter .5s ease;
}
#produits .card::after{
  background:linear-gradient(180deg,rgba(8,28,18,0) 30%,rgba(8,28,18,.72) 100%);
}
#produits .card-foot{
  inset:auto 13px 13px;
  gap:8px;
  align-items:center;
}
#produits .card-name{
  max-width:calc(100% - 38px);
  font-family:var(--f-display);
  font-size:clamp(.95rem,1.25vw,1.25rem);
  line-height:1.12;
  font-weight:600;
}
#produits .card-plus{
  width:32px;
  height:32px;
}
#produits .card-plus .ico{
  width:16px;
  height:16px;
}
@media(max-width:1100px){
  #produits .grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:767px){
  #produits .grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
    overflow:visible;
    margin-inline:0;
    padding:0;
  }
  #produits .card,
  #produits .card:nth-child(even){
    flex:none;
    width:100%;
    aspect-ratio:1/1.08;
    scroll-snap-align:unset;
  }
  #produits .card-foot{inset:auto 10px 10px}
  #produits .card-name{font-size:1rem}
  #produits .card-plus{width:29px;height:29px}
}
@media(prefers-reduced-motion:reduce){
  #produits .card,
  #produits .card img{transition:none}
}


/* Alignement centré des cartes produits :
   les 3 premières cartes sont centrées ; les rangées suivantes
   restent centrées lorsque l'utilisateur affiche tous les produits. */
@media(min-width:768px){
  #produits .grid{
    width:100%;
    grid-template-columns:repeat(auto-fit,minmax(180px,220px));
    justify-content:center;
    justify-items:stretch;
    margin-inline:auto;
  }
}
@media(max-width:767px){
  #produits .grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    justify-content:center;
  }
}


/* ==========================================================
   EB FLEG — Harmonisation générale des textes et paragraphes
   ========================================================== */
:root{
  --paragraph-line-height:1.78;
}
body{
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}
main p{
  max-width:68ch;
  line-height:var(--paragraph-line-height);
  overflow-wrap:break-word;
  word-break:normal;
  hyphens:auto;
  margin-block:0 1.15em;
}
main p:last-child{margin-bottom:0}
.section .wrap > .center p,
.section .wrap > p.lead,
.bgsec .wrap > .center p,
.blog-hero p{
  margin-inline:auto;
  text-align:center;
}
.lead{
  max-width:66ch;
  margin:14px auto 0;
  line-height:1.75;
}
.about-grid{
  align-items:center;
  column-gap:clamp(48px,7vw,112px);
}
.about-text{
  width:100%;
  max-width:570px;
  justify-self:start;
  display:flex;
  flex-direction:column;
  gap:0;
}
.about-text h2{
  max-width:13ch;
  line-height:1.08;
  letter-spacing:-.025em;
  margin:0 0 28px;
  text-wrap:balance;
}
.about-text p{
  max-width:62ch;
  margin:0 0 20px;
  font-size:clamp(.98rem,1.05vw,1.08rem);
  line-height:1.82;
  color:#34483c;
  text-align:left;
  text-wrap:pretty;
}
.about-text p:last-child{margin-bottom:0}
.kh-head p,.glass p,.tile p,.step p,.cold-head p,.vision-grid p,
.infra-head p,.process-grid p,.contact-grid p{
  line-height:1.78;
  text-wrap:pretty;
}
.blog-article p{
  max-width:70ch;
  line-height:1.82;
  margin:0 0 22px;
  text-wrap:pretty;
}
.blog-article h2{
  line-height:1.2;
  margin:34px 0 14px;
}
@media(max-width:1100px){
  .about-text{max-width:760px}
  .about-text h2{max-width:16ch}
}
@media(max-width:767px){
  main p{line-height:1.72}
  .about-text{max-width:100%;gap:0}
  .about-text h2{
    max-width:15ch;
    margin-bottom:20px;
    line-height:1.12;
  }
  .about-text p{
    font-size:1rem;
    line-height:1.75;
    margin-bottom:17px;
  }
  .lead{line-height:1.68}
}


/* ==========================================================
   Ajustement demandé : paragraphes plus compacts et réguliers
   Référence : deuxième capture fournie par l'utilisatrice
   ========================================================== */
main p{
  font-size:15px !important;
  line-height:1.55 !important;
  margin-top:0 !important;
  margin-bottom:12px !important;
  max-width:100%;
  letter-spacing:0;
  text-wrap:pretty;
}
.about-text{
  gap:0 !important;
  max-width:570px;
}
.about-text p{
  font-size:15px !important;
  line-height:1.58 !important;
  margin:0 0 12px !important;
  max-width:100%;
}
.about-text p:last-child{margin-bottom:0 !important}
.lead{
  font-size:16px !important;
  line-height:1.6 !important;
  margin-top:12px !important;
  margin-bottom:0 !important;
}
.kh-head p,.glass p,.tile p,.step p,.cold-head p,
.vision-grid p,.infra-head p,.process-grid p,.contact-grid p{
  font-size:15px !important;
  line-height:1.58 !important;
  margin-bottom:12px !important;
}
.blog-article p{
  font-size:16px !important;
  line-height:1.65 !important;
  margin-bottom:16px !important;
}
@media(max-width:767px){
  main p,.about-text p,.kh-head p,.glass p,.tile p,.step p,
  .cold-head p,.vision-grid p,.infra-head p,.process-grid p,.contact-grid p{
    font-size:15px !important;
    line-height:1.6 !important;
    margin-bottom:12px !important;
  }
  .lead{font-size:15px !important;line-height:1.6 !important}
}


/* ==========================================================
   SECTION « À PROPOS » — finition spécifique
   Paragraphes alignés, largeur homogène et rythme régulier
   ========================================================== */
#apropos .about-grid{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  align-items:center;
  column-gap:clamp(54px,7.5vw,110px);
}
#apropos .about-text{
  width:100%;
  max-width:540px;
  justify-self:start;
  display:flex;
  flex-direction:column;
  gap:0 !important;
}
#apropos .about-text h2{
  max-width:14ch;
  margin:0 0 22px !important;
  line-height:1.08;
  text-wrap:balance;
}
#apropos .about-text p,
#apropos .about-text p.lead{
  width:100%;
  max-width:540px;
  margin:0 0 13px !important;
  font-size:15px !important;
  line-height:1.6 !important;
  letter-spacing:0;
  text-align:left;
  text-wrap:pretty;
  color:#405348;
}
#apropos .about-text p:last-child{margin-bottom:0 !important}
@media(max-width:1100px){
  #apropos .about-grid{column-gap:40px}
  #apropos .about-text{max-width:100%}
}
@media(max-width:767px){
  #apropos .about-grid{
    grid-template-columns:minmax(0,1fr);
    row-gap:30px;
  }
  #apropos .about-text{max-width:100%}
  #apropos .about-text h2{
    margin-bottom:18px !important;
    font-size:clamp(2rem,8vw,2.6rem);
  }
  #apropos .about-text p,
  #apropos .about-text p.lead{
    font-size:15px !important;
    line-height:1.62 !important;
    margin-bottom:12px !important;
  }
}
