/* Thème MG Élec : reprise de mg-elec.alsace. Points de rupture : 1400, 1200 (menu latéral), 992 (colonnes empilées), 768, 480. */
:root{--navy:#252936;--ink:#181818;--black:#000;--grey:#dee3e6;--line:rgba(24,24,24,.2);--light:#f5f5f5;--wrap:1200px;--pad:30px;
  --sp-xs:10px;--sp-s:16px;--sp-n:32px;--sp-m:80px;--sp-l:140px;--sp-lp:190px;--sp-xl:256px;--gap:40px;--fs:16px;--lh:24px}
@media (max-width:1200px){:root{--sp-xs:8.75px;--sp-s:14px;--sp-n:28px;--sp-m:70px;--sp-l:122.5px;--sp-lp:166px;--sp-xl:224px;--fs:14px;--lh:21px}}
@media (max-width:768px){:root{--sp-m:42px;--sp-l:61.25px;--sp-lp:83px;--sp-xl:168px}}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body.mg{margin:0;font-family:'Ubuntu',Arial,Helvetica,sans-serif;font-size:var(--fs);line-height:var(--lh);color:var(--ink);background:#fff;-webkit-font-smoothing:antialiased;overflow-x:hidden}
img{max-width:100%;height:auto;display:block}
a{color:#000;text-decoration:none}
a:hover{color:#000}
button{font:inherit;cursor:pointer}
.mg-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.mg-skip{position:absolute;left:-9999px;top:0;z-index:999;background:#000;color:#fff;padding:12px 18px}
.mg-skip:focus{left:10px;top:10px}
:focus-visible{outline:2px solid #000;outline-offset:3px}
.bg-navy :focus-visible,.bg-black :focus-visible,.mg-ft :focus-visible,.mg-hero :focus-visible{outline-color:#fff}
.mg-wrap{max-width:var(--wrap);margin:0 auto;position:relative}
@media (max-width:1260px){.mg-wrap{max-width:none;margin:0 var(--pad)}}

/* ------------------------------------------------------------------ Sections */
.mg-sec{position:relative;overflow:hidden}
.mg-sec.bg-navy{background:var(--navy);color:#fff}
.mg-sec.bg-black{background:#000;color:#fff}
.mg-sec.bg-light{background:var(--light)}
.mg-sec.shadow{box-shadow:0 0 100px rgba(0,0,0,.07);overflow:visible;z-index:1}
.pt-0{padding-top:0}.pt-xs{padding-top:var(--sp-xs)}.pt-s{padding-top:var(--sp-s)}.pt-n{padding-top:var(--sp-n)}.pt-m{padding-top:var(--sp-m)}.pt-l{padding-top:var(--sp-l)}.pt-lp{padding-top:var(--sp-lp)}.pt-xl{padding-top:var(--sp-xl)}
.pb-0{padding-bottom:0}.pb-xs{padding-bottom:var(--sp-xs)}.pb-s{padding-bottom:var(--sp-s)}.pb-n{padding-bottom:var(--sp-n)}.pb-m{padding-bottom:var(--sp-m)}.pb-l{padding-bottom:var(--sp-l)}.pb-lp{padding-bottom:var(--sp-lp)}.pb-xl{padding-bottom:var(--sp-xl)}
.mg-curve{position:absolute;left:0;right:0;z-index:2;pointer-events:none}
.mg-curve img{width:100%;height:auto}
.mg-curve.top{top:-1px}.mg-curve.bottom{bottom:-1px}

/* ------------------------------------------------------------------ Titres */
.mg-hd{margin:0}
.mg-eye{display:flex;align-items:center;margin:0 0 10.8px;font-size:18px;line-height:18px;font-weight:400}
.mg-eye::before{content:"";flex:0 0 60px;width:60px;border-top:2px solid currentColor;margin-right:10px}
.mg-eye a{color:inherit}
.mg-hd.al-center{text-align:center}
.mg-hd.al-center .mg-eye{justify-content:center}
.mg-hd.al-center .mg-eye::after{content:"";flex:0 0 40px;width:40px;border-top:2px solid currentColor;margin-left:10px}
.mg-hd.al-center .mg-eye::before{flex-basis:40px;width:40px}
.mg-t{margin:0;font-family:'Ubuntu',Arial,Helvetica,sans-serif;font-weight:900;letter-spacing:-.03em;line-height:1;color:inherit}
.sz-xl .mg-t{font-size:70px}.sz-l .mg-t{font-size:60px}.sz-ml .mg-t{font-size:44px}.sz-m .mg-t{font-size:40px}.sz-n .mg-t{font-size:30px}.sz-s .mg-t{font-size:25px}
@media (max-width:1400px){.sz-xl .mg-t{font-size:48px}.sz-l .mg-t{font-size:38.4px}}
@media (max-width:480px){.sz-ml .mg-t{font-size:36px}.sz-m .mg-t{font-size:34px}}
.mg-sub{margin:23.4px 0 0;padding-right:40px;font-family:'Raleway',Arial,Helvetica,sans-serif;font-size:18px;line-height:27px;font-weight:400}
.sz-n .mg-sub,.sz-s .mg-sub{font-size:15px;line-height:19.5px;margin-top:19.5px}
.mg-g{color:var(--grey)}
.mg-b{color:#000}
.on-dark .mg-t,.bg-navy .mg-t,.bg-black .mg-t{color:#fff}
.on-dark .mg-b,.bg-navy .mg-b,.bg-black .mg-b{color:#000;text-shadow:2px 0 #fff,-2px 0 #fff,0 2px #fff,0 -2px #fff,1px 1px #fff,-1px -1px #fff,1px -1px #fff,-1px 1px #fff}
.only-xl{display:inline}.not-xl{display:none}
@media (max-width:1400px){.only-xl{display:none}.not-xl{display:inline}}

/* ------------------------------------------------------------------ Textes */
.mg-txt{font-size:var(--fs);line-height:var(--lh)}
.mg-txt>:first-child{margin-top:0}.mg-txt>:last-child{margin-bottom:0}
.mg-txt p{margin:0 0 1em}
.mg-txt ul,.mg-txt ol{margin:0 0 1em;padding-left:1.1em}
.mg-txt li{margin:0}
.mg-txt strong,.mg-txt b{font-weight:700}
.mg-txt a{color:#000;text-decoration:underline;text-underline-offset:2px}
.bg-navy .mg-txt a,.bg-black .mg-txt a{color:#fff}
.mg-txt h1,.mg-txt h2,.mg-txt h3,.mg-txt h4,.mg-txt h5,.mg-txt h6{font-family:'Ubuntu',Arial,Helvetica,sans-serif;font-weight:800;letter-spacing:-.03em;line-height:1;margin:1em 0 .5em}
.mg-txt h1{font-size:48px}.mg-txt h2{font-size:40px}.mg-txt h3{font-size:33.6px}.mg-txt h4{font-size:28.3px}.mg-txt h5{font-size:23.8px}.mg-txt h6{font-size:20px}
@media (max-width:1200px){.mg-txt h1{font-size:42px}.mg-txt h2{font-size:35px}.mg-txt h3{font-size:29.4px}.mg-txt h4{font-size:24.7px}.mg-txt h5{font-size:20.8px}.mg-txt h6{font-size:17.5px}}
.mg-long h2,.mg-long h3,.mg-long h4{margin:.6em 0 .25em}
.mg-long p{margin:0 0 1.15em}
.mg-hd+.mg-txt,.mg-hd+.mg-accs,.mg-hd+.mg-tabs{margin-top:var(--sp-n)}
.mg-note{padding:16px;border:1px dashed #bbb;border-radius:5px;color:#666}

/* ------------------------------------------------------------------ Boutons */
.mg-btn{display:inline-flex;align-items:center;justify-content:center;font-family:'Ubuntu',Arial,Helvetica,sans-serif;font-weight:700;text-decoration:none;transition:box-shadow .3s,background-color .3s,color .3s,transform .3s}
.mg-btn.fill{background:#000;color:#fff;font-size:16px;line-height:16px;padding:18px 30px;border-radius:5px;box-shadow:0 -2px 0 0 rgba(24,24,24,.15) inset}
.mg-btn.fill:hover{color:#fff;box-shadow:0 -3px 0 0 rgba(255,255,255,.2) inset,0 2px 10px rgba(0,0,0,.25)}
.mg-btn.white{background:#fff;color:#000;font-size:16px;line-height:16px;padding:18px 30px;border-radius:5px}
.mg-btn.line{display:flex;width:100%;font-size:14px;line-height:15.4px;color:#191919;padding:0}
.mg-btn.line::after{content:"";flex:1 1 auto;height:2px;background:#000;margin-left:12px;transition:transform .3s;transform-origin:left}
.mg-btn.line:hover::after{transform:scaleX(.9)}
.bg-navy .mg-btn.line,.bg-black .mg-btn.line{color:#fff}.bg-navy .mg-btn.line::after,.bg-black .mg-btn.line::after{background:#fff}
.mg-btn.pill{border-radius:30px}
.mg-btn.wide{width:100%}
@media (max-width:1200px){.mg-btn.fill,.mg-btn.white{font-size:14px;line-height:14px;padding:16px 24px}}
.mg-btn-row{margin:var(--sp-n) 0 0}

/* ------------------------------------------------------------------ En-tête */
.mg-hdr{position:absolute;z-index:60;top:0;left:50%;width:var(--wrap);margin-left:calc(var(--wrap) / -2);background:#fff;box-shadow:0 2px 30px rgba(0,0,0,.15);font-family:'Noto Sans',Arial,Helvetica,sans-serif}
.mg-hdr-top{height:80px;background:#000;display:flex;align-items:center}
.mg-logo{display:block;height:100%;flex:0 0 auto}
.mg-logo img{height:80px;width:auto;padding:7px 7px 7px 20px;max-width:none}
.mg-logo-txt{display:flex;align-items:center;height:100%;padding:0 20px;color:#fff;font:700 24px/1 'Ubuntu',sans-serif}
.mg-burger{display:none}
.mg-hsoc{margin-left:auto;display:flex;align-items:center;padding-right:30px}
.mg-hsoc a,.mg-psoc a{color:#fff;display:flex;margin-left:1em}
.mg-hsoc .mg-i{width:36px;height:36px}
.mg-panel{display:flex;align-items:stretch;height:70px;background:#fff}
.mg-panel-soc{display:none}
.mg-nav{flex:1 1 auto;padding-left:30px}
.mg-nav>ul{list-style:none;margin:0;padding:0;display:flex;height:100%}
.mg-nav>ul>li{position:relative;margin-right:50px}
.mg-nav>ul>li>a{display:block;line-height:70px;font-size:16px;font-weight:700;color:var(--ink);white-space:nowrap}
.mg-nav>ul>li.on>a::before,.mg-nav>ul>li.on-par>a::before{content:"";display:inline-block;width:10px;border-top:2px solid currentColor;vertical-align:middle;margin:-3px 5px 0 0}
.mg-subt{display:none}
.mg-subm{list-style:none;margin:0;padding:12px 0;position:absolute;top:50px;left:-20px;width:270px;background:#fff;box-shadow:0 0 30px rgba(0,0,0,.12);opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .25s,transform .25s,visibility .25s;z-index:5}
.mg-nav li:hover>.mg-subm,.mg-nav li:focus-within>.mg-subm{opacity:1;visibility:visible;transform:none}
.mg-subm a{display:block;padding:9px 20px;font-size:14px;line-height:27px;color:var(--ink);font-weight:400;transition:padding .2s}
.mg-subm a:hover,.mg-subm .on>a{padding-left:26px}
.mg-tools{display:flex;align-items:stretch}
.mg-vdiv{width:1px;background:rgba(24,24,24,.1)}
.mg-search-t{background:none;border:0;padding:0 30px;color:var(--ink);display:flex;align-items:center}
.mg-search-t .mg-i{width:15px;height:15px}
.mg-shade{display:none}
/* Menu toujours visible au défilement (ordinateur) */
@media (min-width:1201px){
  .mg-hdr.stuck{position:fixed;animation:mgDown .35s ease-out}
  .mg-hdr.stuck .mg-hdr-top{display:none}
  body.admin-bar .mg-hdr.stuck{top:32px}
}
@keyframes mgDown{from{transform:translateY(-100%)}to{transform:none}}
/* Recherche plein écran */
.mg-search{position:fixed;inset:0;z-index:100;background:rgba(255,255,255,.97);display:flex;align-items:center;justify-content:center}
.mg-search[hidden]{display:none}
.mg-search-in{width:min(800px,90vw);position:relative}
.mg-sform{display:flex;border-bottom:2px solid #000}
.mg-sform input{flex:1;border:0;background:none;font:400 40px/1.4 'Ubuntu',sans-serif;padding:10px 0;color:#000;outline:0}
.mg-sform button{background:none;border:0;padding:0 10px}
.mg-sform .mg-i{width:22px;height:22px}
.mg-search-x{position:absolute;top:-80px;right:0;background:none;border:0;padding:10px}
.mg-search-x .mg-i{width:28px;height:28px}

/* Tablette et mobile : barre noire, menu dans un panneau à gauche */
@media (max-width:1200px){
  .mg-hdr{position:absolute;left:0;right:0;width:auto;margin:0;background:none;box-shadow:none;height:84px}
  .mg-hdr-top{height:84px;padding:0 30px;position:relative;z-index:2;transition:transform .4s ease}
  .mg-logo img{height:84px;padding:7px 7px 7px 20px}
  .mg-hsoc{display:none}
  .mg-burger{display:block;position:relative;width:35px;height:27px;background:none;border:0;padding:0;flex:0 0 auto}
  .mg-burger span{position:absolute;left:0;width:35px;height:2px;background:#fff;transition:transform .3s,opacity .3s,top .3s}
  .mg-burger span:nth-child(1){top:2px}.mg-burger span:nth-child(2){top:13px}.mg-burger span:nth-child(3){top:24px}
  body.mg-open .mg-burger span:nth-child(1){top:13px;transform:rotate(45deg)}
  body.mg-open .mg-burger span:nth-child(2){opacity:0}
  body.mg-open .mg-burger span:nth-child(3){top:13px;transform:rotate(-45deg)}
  .mg-panel{position:fixed;top:0;left:0;bottom:0;width:320px;height:auto;flex-direction:column;overflow-y:auto;transform:translateX(-100%);transition:transform .4s ease;z-index:3;box-shadow:none}
  body.mg-open .mg-panel{transform:none}
  .mg-panel-soc{display:block;background:#000;min-height:50px}
  .mg-psoc{display:flex;justify-content:center;align-items:center;height:50px}
  .mg-psoc a{margin:0 .5em}.mg-psoc .mg-i{width:26px;height:26px}
  .mg-nav{flex:0 0 auto;padding:16px 30px}
  .mg-nav>ul{display:block;height:auto}
  .mg-nav>ul>li{margin:0;border-bottom:1px solid rgba(24,24,24,.1)}
  .mg-nav>ul>li:last-child{border-bottom:0}
  .mg-nav>ul>li>a{line-height:17.6px;padding:16px 32px;text-align:center;white-space:normal}
  .mg-nav>ul>li.on>a::before,.mg-nav>ul>li.on-par>a::before{display:none}
  .mg-nav>ul>li.on>a,.mg-nav>ul>li.on-par>a{background:#000;color:#fff;font-weight:400}
  .mg-subt{display:flex;align-items:center;justify-content:center;position:absolute;right:0;top:0;width:40px;height:49.6px;background:none;border:0;color:rgba(24,24,24,.5);padding:0}
  .mg-subt .mg-i{width:10px;height:10px;transition:transform .3s}
  .on>.mg-subt,.on-par>.mg-subt{color:#fff}
  .open>.mg-subt .mg-i{transform:rotate(180deg)}
  .mg-subm{position:static;width:auto;box-shadow:none;opacity:1;visibility:visible;transform:none;display:none;padding:4px 0 10px;transition:none}
  .open>.mg-subm{display:block}
  .mg-subm a{text-align:center;font-size:14.4px;line-height:15.84px;font-weight:700;padding:14.4px 28.8px}
  .mg-subm a:hover,.mg-subm .on>a{padding-left:28.8px;text-decoration:underline}
  .mg-tools{justify-content:center;padding:20px 0 30px}
  .mg-vdiv{display:none}
  .mg-search-t{padding:10px}
  .mg-shade{position:fixed;inset:0;z-index:55;background:transparent}
  body.mg-open .mg-shade{display:block}
  body.mg-open .mg-hdr-top,body.mg-open .mg-main,body.mg-open .mg-ft{transform:translateX(320px)}
  .mg-main,.mg-ft{transition:transform .4s ease}
  body.mg-open{overflow:hidden}
  .mg-sform input{font-size:28px}
}

/* ------------------------------------------------------------------ En-tête de page avec photo */
.mg-hero{position:relative;display:flex;background:var(--navy);color:#fff;overflow:hidden}
.mg-hero-txt{position:relative;z-index:2;flex:0 0 calc(45.3125% - 1.875px);padding:260px 20px 68px 0}
.mg-hero-in{width:450px;max-width:none;margin-left:auto}
.mg-hero .mg-sub{margin-top:23.4px}
.mg-hero-btn{margin-top:60px}
.mg-hero-img{position:relative;flex:1 1 auto;min-width:0;margin:0 -20px 0 -200px;display:flex;align-items:flex-end}
.mg-hero-img>img:first-child{width:100%;max-width:1440px;height:auto;aspect-ratio:4/3;object-fit:cover}
.mg-hero-corner{position:absolute;left:0;bottom:0;width:214px!important;height:1200px!important;max-width:none}
.mg-hero.is-post .mg-t{font-size:48px}
.mg-hero.is-post .mg-sub{font-family:'Raleway',sans-serif;font-size:16px;display:flex;align-items:center;gap:6px}
.mg-hero.is-post .mg-sub .mg-i{width:12px;height:12px}
.mg-hero:not(:has(.mg-hero-img img[src*="uploads"])) .mg-hero-txt{flex-basis:100%}
@media (max-width:1200px){.mg-hero-txt{flex:0 0 41.6667%;padding:226px 20px 122px var(--pad)}.mg-hero-in{margin-left:0}.mg-hero-img{display:block;margin:0 0 0 -200px}.mg-hero-img>img:first-child{height:100%;max-width:none;aspect-ratio:auto}.mg-hero-btn{margin-top:52.5px}.mg-hero.is-post .mg-t{font-size:36px}}
@media (max-width:992px){
  .mg-hero{flex-direction:column}
  .mg-hero-txt{flex:none;padding:226px var(--pad) 122px}
  .mg-hero-in{width:auto;max-width:none}
  .mg-hero-img{margin:0;width:100%}
  .mg-hero-img>img:first-child{height:auto}
  .mg-hero-corner{display:none}
}
@media (max-width:768px){.mg-hero-txt{padding:145px var(--pad) 61px}.mg-hero-btn{margin-top:42px}}

/* ------------------------------------------------------------------ Texte et photo */
.mg-split{display:grid;grid-template-columns:1fr 1fr;column-gap:var(--gap);align-items:center}
.mg-split.tw-5.side-right{grid-template-columns:5fr 7fr}
.mg-split.tw-5.side-left{grid-template-columns:7fr 5fr}
.mg-split.va-top{align-items:start}
.mg-col{position:relative;min-width:0}
.mg-col-txt.indent .mg-col-in{padding-left:calc((100% + var(--gap)) * .165);margin-right:-20px}
.mg-col-txt .mg-col-in{position:relative;z-index:1}
.mg-split .mg-sub{max-width:520px}
.mg-pic{position:relative;overflow:hidden}
.mg-pic img{width:100%}
.mg-col-img .mg-pic{margin-left:auto}
.side-left .mg-col-img .mg-pic{margin-left:0;margin-right:auto}
.mg-col-img.bleed{margin-right:calc((var(--wrap) - 100vw) / 2)}
.side-left .mg-col-img.bleed{margin-right:0;margin-left:calc((var(--wrap) - 100vw) / 2)}
.side-left .mg-col-img.bleed .mg-pic{margin-left:auto;margin-right:0}
@media (max-width:1260px){.mg-col-img.bleed{margin-right:calc(var(--pad) * -1)}.side-left .mg-col-img.bleed{margin-left:calc(var(--pad) * -1)}}
/* Grands écrans : texte et photo calés sur le centre de l'écran, comme l'original */
@media (min-width:1261px){
  .mg-split:not(.is-fill){grid-template-columns:580px 580px}
  .mg-split.tw-5.side-right:not(.is-fill){grid-template-columns:480px 1fr}
  .mg-split.tw-5.side-left:not(.is-fill){grid-template-columns:1fr 480px}
  .mg-split:not(.is-fill) .mg-col-txt>.mg-col-in{width:calc(100% + 20px)}
  .mg-split:not(.is-fill) .mg-col-txt.indent>.mg-col-in{padding-left:100px}
  .mg-split.side-right:not(.is-fill) .mg-col-txt>.mg-col-in{margin-left:-20px}
  .mg-split.side-left:not(.is-fill) .mg-col-txt>.mg-col-in{margin-right:-20px}
  .mg-split.side-right:not(.is-fill) .mg-col-img.bleed .mg-pic{margin-left:0;margin-right:auto}
  .mg-split.side-left:not(.is-fill) .mg-col-img.bleed .mg-pic{margin-left:auto;margin-right:0}
}
.r-diag{border-radius:115px 0}.r-diag2{border-radius:0 115px}.r-tr{border-radius:0 145px 0 0}.r-tl{border-radius:145px 0 0 0}.r-br{border-radius:0 0 100px 0}.r-bl{border-radius:0 0 0 100px}.r-diag-s{border-radius:50px 0}.r-diag2-s{border-radius:0 50px}
@media (max-width:768px){.r-diag{border-radius:60px 0}.r-diag2{border-radius:0 60px}.r-tr{border-radius:0 80px 0 0}.r-tl{border-radius:80px 0 0 0}}
.mg-corner{position:absolute;width:142px;height:142px;pointer-events:none}
.mg-corner.white-bl{left:0;bottom:0}
.mg-corner.black-br{right:0;bottom:0}
/* Photo qui remplit la hauteur (section bleu nuit « Pourquoi… ») */
.mg-split.is-fill{align-items:stretch}
.has-split.pt-0 .is-fill,.has-split .is-fill{min-height:100%}
.mg-col-img.fill{align-self:stretch}
.mg-col-img.fill .mg-pic{height:100%;min-height:512px}
.mg-col-img.fill .mg-pic img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:right top}
.mg-sec.has-split:has(.is-fill){padding-top:0;padding-bottom:0}
.mg-sec.has-split:has(.is-fill) .mg-col-txt{padding:var(--sp-l) 0 var(--sp-m)}
.mg-circle{position:absolute;left:calc(6vw - 20px - (100vw - var(--wrap)) / 2);top:96px;width:110px;height:110px;border-radius:50%;background:#fff;box-shadow:0 1.25em 4.5em rgba(0,0,0,.1);z-index:0;pointer-events:none}
.mg-form-col>.mg-circle{top:-55px}
@media (max-width:1260px){.mg-circle{left:calc(6vw - 20px - var(--pad))}}
.mg-form-col>.mg-circle{left:calc(60px - (100vw - var(--wrap)) / 2);width:124px;height:124px}
@media (max-width:1260px){.mg-form-col>.mg-circle{left:calc(60px - var(--pad))}}
.mg-col-img>.mg-circle{left:auto;right:calc(min(var(--pw, 100%), 100%) - 1.6vw);top:-48px;width:6.45vw;height:6.45vw;z-index:2}
@media (max-width:992px){
  .mg-split,.mg-split.tw-5.side-right,.mg-split.tw-5.side-left{grid-template-columns:1fr;row-gap:var(--sp-m)}
  .mg-split.side-left .mg-col-img{order:-1}
  .mg-split.side-right .mg-col-img{order:2}
  .mg-col-txt.indent .mg-col-in{padding-left:0}
  .mg-col-img.bleed,.side-left .mg-col-img.bleed{margin-left:calc(var(--pad) * -1);margin-right:calc(var(--pad) * -1)}
  .side-right .mg-col-img .mg-pic{margin:0 auto 0 0}
  .side-left .mg-col-img .mg-pic{margin:0 0 0 auto}
  .mg-col-img.fill .mg-pic{max-width:none}
  .mg-col-img.fill .mg-pic{min-height:336px}
  .mg-sec.has-split:has(.is-fill) .mg-col-txt{padding:var(--sp-m) 0}
  .mg-split.is-fill{row-gap:0}
  .mg-circle{display:none}
}

/* Questions dépliables */
.mg-accs{border-top:1px solid rgba(24,24,24,.1)}
.mg-acc{border-bottom:1px solid rgba(24,24,24,.1)}
.mg-acc summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 0;font-size:14px;line-height:18px;font-weight:700;color:#191919}
.mg-acc summary::-webkit-details-marker{display:none}
.mg-acc summary .mg-i{flex:0 0 10px;width:10px;height:10px;color:rgba(24,24,24,.5);transition:transform .3s}
.mg-acc[open] summary .mg-i{transform:rotate(180deg)}
.mg-acc-b{padding:0 0 16px}
/* Onglets */
.mg-tabs-h{display:flex;flex-wrap:wrap;gap:0 40px;margin-bottom:var(--sp-n)}
.mg-tabs-h button{background:none;border:0;padding:6px 0;font-weight:700;font-size:14px;line-height:18px;color:#191919;display:flex;align-items:center}
.mg-tabs-h button[aria-selected="true"]::before{content:"";width:10px;border-top:2px solid currentColor;margin-right:5px}
.mg-tabs-h button:hover{text-decoration:underline}

/* ------------------------------------------------------------------ Services avec icônes */
.mg-center8{max-width:calc(var(--wrap) * 8 / 12);margin:0 auto var(--sp-m)}
.mg-center6{max-width:580px;margin:0 auto var(--sp-m)}
.mg-half{max-width:50%;margin-bottom:var(--sp-m)}
.mg-svcs{display:grid;grid-template-columns:repeat(3,1fr);column-gap:var(--gap);row-gap:var(--sp-n)}
.mg-svcs.n2{grid-template-columns:repeat(2,1fr)}.mg-svcs.n4{grid-template-columns:repeat(4,1fr)}
.mg-svc-h{display:flex;align-items:center;gap:16px;margin-bottom:var(--sp-n)}
.mg-svc-h h3{margin:0;font-size:25px;line-height:24px;font-weight:900;letter-spacing:-.03em}
.mg-svc-i{flex:0 0 90px;width:90px;height:90px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;background:#000}
.mg-svc-i.grey{background:var(--grey)}
.mg-svc-i .mg-i{width:48px;height:48px}
.mg-svc .mg-btn-row{margin-top:var(--sp-n)}
@media (max-width:1200px){.mg-svc-h h3{font-size:20px;line-height:20px}.mg-svc-i{flex-basis:80px;width:80px;height:80px}.mg-svc-i .mg-i{width:42px;height:42px}}
@media (max-width:992px){.mg-svcs,.mg-svcs.n2,.mg-svcs.n4{grid-template-columns:1fr}.mg-svc{padding-bottom:var(--sp-n)}}

/* ------------------------------------------------------------------ Colonnes avec photo et texte */
.mg-cards{display:grid;grid-template-columns:repeat(3,1fr);column-gap:var(--gap);row-gap:var(--sp-m)}
.mg-cards.n2{grid-template-columns:repeat(2,1fr)}.mg-cards.n4{grid-template-columns:repeat(4,1fr)}
.mg-card .mg-pic{margin-bottom:var(--sp-n)}
.mg-card .mg-txt+.mg-pic{margin:var(--sp-n) 0 0}
.mg-card-t{margin:0 0 var(--sp-s);font-size:25px;line-height:25px;font-weight:900;letter-spacing:-.03em}
.mg-half.mg-cards-hd .mg-hd{max-width:600px}
@media (max-width:992px){.mg-cards,.mg-cards.n2,.mg-cards.n4{grid-template-columns:1fr}.mg-half{max-width:none}}

/* ------------------------------------------------------------------ Logos */
.mg-logos{list-style:none;margin:0;padding:0 100px;display:grid;grid-template-columns:repeat(5,1fr);align-items:center}
.mg-logos li{display:flex;justify-content:center;padding:0 10px}
.mg-logos img{height:75px;width:auto;max-width:100%;object-fit:contain}
@media (max-width:992px){.mg-logos{padding:0}}
@media (max-width:768px){
  .mg-logos{display:block;position:relative;height:75px;overflow:hidden}
  .mg-logos li{position:absolute;inset:0;opacity:0;transition:opacity .6s}
  .mg-logos li.on{opacity:1}
  .no-js .mg-logos{display:flex;flex-wrap:wrap;height:auto;gap:20px}
  .no-js .mg-logos li{position:static;opacity:1}
}

/* ------------------------------------------------------------------ Avis */
.mg-reviews{margin-top:0}

/* ------------------------------------------------------------------ Formulaire et carte */
.mg-formmap{display:grid;grid-template-columns:1fr 1fr;column-gap:var(--gap);align-items:center}
.mg-form-col{position:relative;padding:var(--sp-l) 0 var(--sp-m) 0;max-width:560px}
.mg-form-intro{margin-bottom:var(--sp-n)}
.mg-form-t{margin:0 0 25px;font-size:23.8px;line-height:1;font-weight:800;letter-spacing:-.03em}
.mg-map-col{position:relative;align-self:stretch;margin-right:calc((var(--wrap) - 100vw) / 2);margin-left:calc(var(--gap) / -2)}
.mg-map{display:block;width:100%;height:100%;min-height:900px;border:0}
.mg-map-col .mg-corner{left:0;bottom:0;z-index:2}
.mg-map-col .wck-embed{height:100%;min-height:900px;aspect-ratio:auto!important}
.mg-map-col .wck-embed iframe{width:100%;height:100%;min-height:900px;border:0}
.mg-form-center{max-width:calc(var(--wrap) * 8 / 12);margin:0 auto}
.mg-form-center .mg-form-col{max-width:none;padding:0}
.mg-form-center .mg-hd{margin-bottom:var(--sp-m)}
.mg-form-box{background:var(--light);padding:60px}
.mg-form-box .mg-form-col{max-width:none;padding:0}
@media (max-width:1260px){.mg-map-col{margin-right:calc(var(--pad) * -1)}}
@media (max-width:992px){
  .mg-formmap{grid-template-columns:1fr}
  .mg-form-col{max-width:none;padding:var(--sp-m) 0}
  .mg-map-col{margin:0 calc(var(--pad) * -1)}
  .mg-map{min-height:450px}
  .mg-form-box{padding:30px 20px}
}
/* Champs de l'extension Formulaire : présentation de l'ancien site (champs avec texte indicatif) */
.mg-formw .wcf3{max-width:none;margin:0;padding:0;background:none;box-shadow:none;border:0;font-family:'Ubuntu',Arial,sans-serif}
.mg-formw .wcf3-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:26px 20px}
.mg-formw .wcf3-f{grid-column:span 6;margin:0}
.mg-formw .wcf3-f.w-half{grid-column:span 3}.mg-formw .wcf3-f.w-third{grid-column:span 2}
.mg-formw .wcf3-f.has-ph>.wcf3-l{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.mg-formw .wcf3 input[type=text],.mg-formw .wcf3 input[type=email],.mg-formw .wcf3 input[type=tel],.mg-formw .wcf3 input[type=number],.mg-formw .wcf3 input[type=date],.mg-formw .wcf3 select,.mg-formw .wcf3 textarea{width:100%;height:52px;padding:0 20px;border:1px solid var(--line);border-radius:5px;background:#fff;color:var(--ink);font:400 16px/20px 'Ubuntu',Arial,sans-serif;box-shadow:none;outline:0;transition:border-color .2s,box-shadow .2s}
.mg-formw .wcf3 textarea{height:106px;padding:16px 20px;resize:vertical}
.mg-formw .wcf3 select{appearance:none;-webkit-appearance:none;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23999' stroke-width='1.2'/%3E%3C/svg%3E") no-repeat right 18px center/10px 6px;padding-right:40px}
.mg-formw input:focus,.mg-formw select:focus,.mg-formw textarea:focus{border-color:#000;box-shadow:0 0 0 1px #000}
.mg-formw ::placeholder{color:rgba(24,24,24,.6);opacity:1}
.mg-formw .wcf3-l,.mg-formw legend.wcf3-l{font-size:14px;font-weight:700;color:var(--ink);margin:0 0 8px;padding:0}
.mg-formw .wcf3-group{border:0;margin:0;padding:0}
.mg-formw .wcf3-ch{display:flex;flex-direction:column;gap:2px}
.mg-formw .wcf3-ch.cols{display:flex}
.mg-formw .wcf3-opt{display:flex;align-items:center;gap:8px;font-size:14px;line-height:20px;font-weight:400;cursor:pointer}
.mg-formw .wcf3-opt input{width:14px;height:14px;margin:0;accent-color:#000}
.mg-formw .wcf3-consent{align-items:flex-start;font-size:13px;line-height:19px}
.mg-formw .wcf3-consent input{margin-top:3px}
.mg-formw .wcf3-hint,.mg-formw .wcf3-legend{font-size:13px;color:rgba(24,24,24,.6);margin:6px 0 0}
.mg-formw .wcf3-legend{display:none}
.mg-formw .wcf3-rgpd{font-size:12.5px;line-height:18px;color:rgba(24,24,24,.6);margin:22px 0 0}
.mg-formw .wcf3-rgpd a{color:inherit;text-decoration:underline}
.mg-formw .wcf3-nav{display:flex;gap:12px;margin-top:26px;justify-content:flex-start}
.mg-formw .wcf3 .wcf3-send,.mg-formw .wcf3 .wcf3-next{display:inline-flex;align-items:center;height:52px;padding:0 30px;border:0;border-radius:5px!important;background:#000;color:#fff;font:700 16px/16px 'Ubuntu',Arial,sans-serif;box-shadow:0 -2px 0 0 rgba(24,24,24,.15) inset;transition:box-shadow .3s}
.mg-formw .wcf3-send:hover,.mg-formw .wcf3-next:hover{box-shadow:0 -3px 0 0 rgba(255,255,255,.2) inset,0 2px 10px rgba(0,0,0,.25)}
.mg-formw .wcf3-back{height:52px;padding:0 24px;border:1px solid var(--line);border-radius:5px;background:#fff;color:var(--ink);font:700 16px/16px 'Ubuntu',Arial,sans-serif}
.mg-formw .wcf3-step:not(:last-of-type) .wcf3-nav{justify-content:flex-end}
.mg-formw .wcf3-stepn{display:none}
.mg-formw .wcf3-prog{list-style:none;margin:0 0 40px;padding:0;display:flex;justify-content:space-between;position:relative;counter-reset:s}
.mg-formw .wcf3-prog::before{content:"";position:absolute;left:12px;right:12px;top:11px;height:2px;background:var(--grey)}
.mg-formw .wcf3-prog li{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center}
.mg-formw .wcf3-prog li span{width:24px;height:24px;border-radius:50%;background:var(--grey);color:#999;font-size:11px;line-height:24px;text-align:center}
.mg-formw .wcf3-prog li.on span,.mg-formw .wcf3-prog li.done span{background:#000;color:#fff}
.mg-formw .wcf3-prog li b{position:absolute;top:32px;white-space:nowrap;font-size:12px;font-weight:400;color:#999}
.mg-formw .wcf3-prog li.on b{color:#000}
.mg-formw .wcf3-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:110px;border:1px dashed var(--line);border-radius:5px;text-align:center;padding:20px;cursor:pointer;font-size:14px}
.mg-formw .wcf3-drop .mg-i,.mg-formw .wcf3-drop svg{width:20px;height:20px;transform:rotate(-90deg)}
.mg-formw .wcf3-drop b{display:block;font-size:22px;font-weight:700}
.mg-formw .wcf3-ok{display:flex;gap:14px;align-items:flex-start;padding:24px;border-radius:5px;background:var(--light);font-size:16px}
.mg-formw .wcf3-ok svg{flex:0 0 24px;width:24px;height:24px}
.mg-formw .wcf3-err{color:#b42318;font-size:13px;margin:6px 0 0}
.mg-formw .is-err input,.mg-formw .is-err select,.mg-formw .is-err textarea{border-color:#b42318}
.mg-formw .wcf3-sum{border:1px solid #b42318;border-radius:5px;padding:14px 18px;margin-bottom:24px;font-size:14px}
.mg-form-box .mg-formw input,.mg-form-box .mg-formw select,.mg-form-box .mg-formw textarea{height:40px;border-radius:3px}
.mg-form-box .mg-formw textarea{height:80px}
@media (max-width:1200px){.mg-formw .wcf3 input[type=text],.mg-formw .wcf3 input[type=email],.mg-formw .wcf3 input[type=tel],.mg-formw .wcf3 input[type=number],.mg-formw .wcf3 input[type=date],.mg-formw .wcf3 select,.mg-formw .wcf3 textarea{font-size:14px;height:46px}.mg-formw .wcf3 textarea{height:100px}.mg-formw .wcf3 .wcf3-send,.mg-formw .wcf3 .wcf3-next{height:46px;font-size:14px}}
@media (max-width:480px){.mg-formw .wcf3-f.w-half,.mg-formw .wcf3-f.w-third{grid-column:span 6}.mg-formw .wcf3-prog li b{display:none}}

/* ------------------------------------------------------------------ Coordonnées */
.mg-infos-g{display:grid;grid-template-columns:1fr 1fr;column-gap:var(--gap);align-items:start}
.mg-infos{display:grid;grid-template-columns:repeat(3,1fr);column-gap:var(--gap);padding-top:10px}
.mg-info{text-align:center;display:flex;flex-direction:column;align-items:center}
.mg-info .mg-svc-i{flex:none;width:90px;height:90px;margin-bottom:16px}
.mg-info .mg-svc-i .mg-i{width:40px;height:40px}
.mg-info h3{margin:0 0 6px;font:400 20px/24px 'Ubuntu',sans-serif}
.mg-info p{margin:0;font-size:14px;line-height:21px}
.mg-info a{color:inherit;text-decoration:none}
@media (max-width:992px){.mg-infos-g{grid-template-columns:1fr;row-gap:var(--sp-m)}}
@media (max-width:480px){.mg-infos{grid-template-columns:1fr;row-gap:30px}}
.mg-sec.pb-0 .mg-infos-g{padding-bottom:var(--sp-l)}

/* ------------------------------------------------------------------ Texte */
.mg-text.narrow{max-width:calc(var(--wrap) * 8 / 12);margin:0 auto}
.mg-text .mg-hd{margin-bottom:var(--sp-n)}

/* ------------------------------------------------------------------ Offres d'emploi */
.mg-jobs{display:grid;grid-template-columns:1fr 1fr;column-gap:var(--gap);align-items:center}
.mg-tiles{display:grid;grid-template-columns:1fr 1fr;gap:20px;width:min(750px, 50vw - 80px);margin-left:calc(100% - 40px - min(750px, 50vw - 80px))}
.mg-jobs-txt{padding-left:20px}
.mg-tile{position:relative;aspect-ratio:1/1;overflow:hidden;border-radius:5px;background:#1f2d3d}
.mg-tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.mg-tile::after{content:"";position:absolute;inset:0;background:rgba(31,45,61,.7)}
.mg-tile-b{position:absolute;z-index:1;left:32px;right:32px;bottom:32px;color:#fff}
.mg-tile-b h3{margin:0 0 18px;font-size:25px;line-height:25px;font-weight:800}
.mg-tile-b p{margin:0;font-family:'Raleway',sans-serif;font-size:14px;line-height:21px}
.mg-jobs-txt .mg-txt{margin-top:var(--sp-n)}
.mg-jobf{display:flex;flex-wrap:wrap;gap:8px;margin:var(--sp-n) 0 16px}
.mg-jobf button{border:2px solid rgba(24,24,24,.2);background:#fff;border-radius:35px;padding:5px 15px;font-size:16px;line-height:24px}
.mg-jobf button.on{border-color:#000}
.mg-joblist{list-style:none;margin:0;padding:0}
.mg-joblist li{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#eee;padding:25px 30px 25px 25px;margin-bottom:10px}
.mg-joblist li[hidden]{display:none}
.mg-joblist b{display:block;font-size:20px;line-height:26px;font-weight:500}
.mg-joblist small{display:block;font-size:15px;font-weight:500;color:#333;margin-top:10px}
.mg-joblist .mg-btn{padding:15px 50px;font-size:16px;line-height:22px;font-weight:500;text-transform:uppercase;border-radius:35px}
.mg-joblist-empty{margin:var(--sp-n) 0 0;color:#555}
@media (max-width:1200px){.mg-tiles{width:calc(50vw - 38px);margin-left:calc(100% - 50vw + 38px)}.mg-jobs-txt{padding-left:4px}}
@media (max-width:992px){.mg-jobs{grid-template-columns:1fr;row-gap:var(--sp-m)}.mg-tiles{margin:0;width:auto;grid-template-columns:1fr}.mg-jobs-txt{padding-left:0}}

/* Fiche de poste */
.mg-job{display:grid;grid-template-columns:2fr 1fr;gap:60px;align-items:start}
.mg-job-k{margin:0;font-size:14px;font-weight:700}
.mg-job-title{margin:8px 0 30px;font-size:24px;line-height:1.2;font-weight:400}
.mg-job-s h2{margin:26px 0 8px;font-size:14px;font-weight:700}
.mg-job-s .mg-txt{font-size:14px;line-height:21px}
.mg-job-side{border:1px solid rgba(24,24,24,.1);background:#fafafa;padding:30px}
.mg-job-logo{margin:0 0 30px}.mg-job-logo img{max-width:230px}
.mg-job-side dl{margin:0}
.mg-job-r{margin:0 0 18px}
.mg-job-r dt{font-size:13px;font-weight:700}
.mg-job-r dd{margin:4px 0 0;font-size:13px;display:flex;gap:6px;align-items:flex-start}
.mg-job-r .mg-i{flex:0 0 12px;width:12px;height:12px;margin-top:3px}
.mg-job-r a{display:inline-flex;gap:6px;color:inherit}
@media (max-width:992px){.mg-job{grid-template-columns:1fr}}
@media print{.mg-hdr,.mg-ft,.mg-hero,.mg-job-side .mg-btn-row,.mg-shade{display:none!important}.mg-job{display:block}}

/* ------------------------------------------------------------------ Actualités */
.mg-blog{display:grid;grid-template-columns:minmax(0,1fr) 280px;column-gap:40px;align-items:start}
.mg-blog-main{min-width:0;padding-right:0}
.mg-pi{display:grid;grid-template-columns:1.55fr 1fr;column-gap:32px;align-items:center;padding:0 0 50px;margin:0 0 50px;border-bottom:1px solid rgba(24,24,24,.12)}
.mg-pi.alt{grid-template-columns:1fr 1.55fr}.mg-pi.alt .mg-pi-img{order:2}
.mg-pi.noimg{grid-template-columns:1fr}
.mg-pi-img{display:block;overflow:hidden;border-radius:0 115px}
.mg-pi-img img{width:100%;aspect-ratio:3/2;object-fit:cover;transition:transform .5s}
.mg-pi-img:hover img{transform:scale(1.04)}
.mg-pi .mg-t a{color:inherit}
.mg-pi .mg-eye{font-size:14px;line-height:18px}
.mg-pi .mg-eye::before{flex-basis:40px;width:40px}
.mg-pi .mg-t{font-size:40px}
@media (max-width:1400px){.mg-pi .mg-t{font-size:36px}}
.mg-date{display:flex;align-items:center;gap:6px;margin:20px 0 0;font-family:'Raleway',sans-serif;font-size:14px}
.mg-date .mg-i{width:12px;height:12px}
.mg-share{display:flex;gap:7px;margin-top:22px}
.mg-share a{width:22px;height:22px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;opacity:.45;transition:opacity .2s}
.mg-share a:hover{opacity:1;color:#fff}
.mg-share .mg-i{width:11px;height:11px}
.mg-share .fb{background:#3b5998}.mg-share .x{background:#000}.mg-share .li{background:#0077b5}.mg-share .wa{background:#25d366}
.mg-pager{display:flex;gap:6px}
.mg-pager a{min-width:40px;height:40px;display:flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:5px;font-weight:700}
.mg-pager a[aria-current]{background:#000;color:#fff;border-color:#000}
.mg-empty{font-size:18px}
.mg-found{margin-bottom:50px}.mg-found ul{margin:10px 0 0;padding-left:1.1em}
/* Article */
.mg-article h1,.mg-article h2,.mg-article h3{font-size:32px;line-height:1.1;margin:0 0 .35em}
.mg-article h4{font-size:26px;line-height:1.1;margin:.4em 0 .35em}
.mg-article h5{font-size:21px;margin:.5em 0 .3em}
.mg-article p{margin:0 0 1em}
.mg-article img{border-radius:15px;margin:1em 0}
.mg-article iframe{max-width:100%}
.mg-post-foot{display:flex;justify-content:space-between;align-items:center;gap:30px;margin:40px 0 0;padding-bottom:40px;border-bottom:1px solid rgba(24,24,24,.12)}
.mg-post-foot .mg-share{margin:0}
.mg-tags{display:flex;flex-wrap:wrap;gap:5px}
.mg-tags a{display:inline-block;padding:9px 12px;font-size:12px;line-height:13px;background:var(--grey);color:#191919;border-radius:3px;transition:background .2s,color .2s}
.mg-tags a:hover,.mg-tags.dark a{background:#000;color:#fff}
.mg-tags.dark a:hover{background:#333}
.mg-pns{display:flex;justify-content:space-between;gap:30px;padding-top:30px}
.mg-pn{display:flex;align-items:center;gap:16px;max-width:50%}
.mg-pn img{width:60px;height:60px;border-radius:50%;object-fit:cover;flex:0 0 60px}
.mg-pn small{display:block;font-size:13px;color:#555}
.mg-pn b{display:block;font-size:16px;line-height:1.3}
.mg-pn.next{text-align:right;flex-direction:row-reverse}
/* Colonne latérale */
.mg-side{font-size:14px}
.mg-wsearch{display:flex;border:1px solid var(--line);border-radius:5px;margin-bottom:50px}
.mg-wsearch input{flex:1;min-width:0;border:0;background:none;height:46px;padding:0 14px;font:400 14px 'Ubuntu',sans-serif;outline:0}
.mg-wsearch button{background:none;border:0;padding:0 14px}
.mg-wsearch .mg-i{width:13px;height:13px}
.mg-w{margin-bottom:50px}
.mg-w-t{margin:0 0 22px;padding-bottom:12px;font-size:20px;line-height:22px;font-weight:700;position:relative}
.mg-w-t::after{content:"";position:absolute;left:0;bottom:0;width:40px;border-top:2px solid #000}
.mg-recent{list-style:none;margin:0;padding:0}
.mg-recent li{border-bottom:1px solid rgba(24,24,24,.12);padding:8px 0}
.mg-recent a{display:flex;gap:10px;align-items:center;color:inherit}
.mg-recent img,.mg-recent .mg-ph{flex:0 0 75px;width:75px;height:75px;border-radius:15px;object-fit:cover;background:var(--grey)}
.mg-recent small{display:block;font-size:12px;color:#555;margin-bottom:2px}
.mg-recent b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;line-height:19px}
.mg-arch{list-style:none;margin:0;padding:0}
.mg-arch li{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid rgba(24,24,24,.12)}
.mg-arch a{color:inherit}
@media (max-width:992px){
  .mg-blog{grid-template-columns:1fr;row-gap:60px}
  .mg-pi{grid-template-columns:1fr;row-gap:24px}.mg-pi.alt .mg-pi-img{order:0}
  .mg-pi .mg-t{font-size:30px}
  .mg-post-foot{flex-direction:column;align-items:flex-start}
}

/* ------------------------------------------------------------------ Pied de page */
.mg-ft-main{background:#000;color:#fff;padding:70px 0 64px}
.mg-ft-grid{display:grid;grid-template-columns:repeat(4,1fr);column-gap:20px}
.mg-ft-c{padding:0 60px 0 0}
.mg-ft .mg-eye{font-size:14px;line-height:24px;margin:0 0 9px}
.mg-ft .mg-eye::before{flex-basis:40px;width:40px}
.mg-ft-t{margin:0 0 14px;font:900 20px/20px 'Ubuntu',sans-serif;letter-spacing:-.03em;color:#fff}
.mg-ft-p{margin:0;font-family:'Raleway',sans-serif;font-size:14px;line-height:21px}
.mg-ft-more{margin:22px 0 0}.mg-ft-more a{color:#fff;font-size:12.25px;font-weight:700}
.mg-ft-l{list-style:none;margin:0;padding:0}
.mg-ft-l li{margin:0 0 8px}
.mg-ft-l a{color:#fff;font-size:14px;line-height:24px}
.mg-ft-l a:hover,.mg-ft-more a:hover{color:#fff;text-decoration:underline}
.mg-fsoc{display:flex;gap:7px;margin-top:20px}
.mg-fsoc a{width:50px;height:50px;border-radius:5px;background:#fff;color:#000;display:flex;align-items:center;justify-content:center}
.mg-fsoc .mg-i{width:20px;height:20px}
.mg-ft-bar{background:#fff;color:#191919;font-size:14px;line-height:24px}
.mg-ft-bar-in{display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:80px}
.mg-ft-copy{margin:0}
.mg-ft-copy a{color:inherit}
.mg-ft-legal{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:4px 28px}
.mg-ft-legal a{color:#191919}
.mg-ft-legal a:hover{text-decoration:underline}
.mg-totop{margin-left:20px}
@media (max-width:992px){.mg-ft-grid{grid-template-columns:1fr 1fr;row-gap:50px}}
@media (max-width:768px){
  .mg-ft-main{padding:60px 0}
  .mg-ft-grid{grid-template-columns:1fr}
  .mg-ft-bar-in{flex-direction:column;align-items:flex-start;padding:24px 0;gap:14px}
  .mg-ft-copy{text-align:center;width:100%}
  .mg-ft-legal{gap:4px 20px}.mg-totop{margin-left:0}
}

/* ------------------------------------------------------------------ Apparition au défilement */
.js .mg-anim{opacity:0;transform:translateY(30px);transition:opacity .8s ease,transform .8s ease;transition-delay:var(--d,0s)}
.js .mg-anim.in,.cms-preview .mg-anim{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.js .mg-anim{opacity:1;transform:none;transition:none}html{scroll-behavior:auto}}
.mg-404 .mg-btn-row{text-align:center}

/* Formulaire : options et étapes comme l'ancien site */
.mg-formw .wcf3 .wcf3-opt{border:0!important;background:none!important;padding:0!important;min-height:0!important;box-shadow:none!important;border-radius:0!important;font-size:14px;line-height:20px;color:var(--ink)}
.mg-formw .wcf3 .wcf3-opt input{appearance:auto;-webkit-appearance:auto;position:static;opacity:1;width:13px;height:13px;margin:0}
.mg-formw .wcf3 .wcf3-opt span::before,.mg-formw .wcf3 .wcf3-opt span::after{display:none!important}
.mg-formw .wcf3-ch,.mg-formw .wcf3-ch.cols{display:flex!important;flex-direction:column;gap:2px;grid-template-columns:none}
.mg-formw .wcf3-f.t-radio.w-half,.mg-formw .wcf3-f.t-checkbox.w-half{grid-row:span 2}
.mg-formw .wcf3-l:not(legend){display:block}
.mg-formw .wcf3-h{margin:0 0 6px;font:800 23.8px/1 'Ubuntu',sans-serif;letter-spacing:-.03em;color:var(--ink)}
.mg-formw .t-heading{grid-column:span 6}
.mg-formw .wcf3-prog li b{display:none}
.mg-formw .wcf3-prog{margin:0 30px 50px}
.mg-formw .wcf3-step:not(:last-of-type) .wcf3-next{margin-left:auto}
.mg-formw .wcf3-drop b{font-size:22px}
/* Newsletter sur fond sombre : champ souligné et bouton sur la même ligne */
.bg-black .mg-formw .wcf3,.bg-navy .mg-formw .wcf3{color:#fff}
.bg-black .mg-formw input[type=email],.bg-navy .mg-formw input[type=email]{background:transparent;border:0;border-bottom:1px solid rgba(255,255,255,.6);border-radius:0;color:#fff;padding:0 10px}
.bg-black .mg-formw ::placeholder,.bg-navy .mg-formw ::placeholder{color:rgba(255,255,255,.6)}
.bg-black .mg-formw .wcf3-rgpd,.bg-navy .mg-formw .wcf3-rgpd{color:rgba(255,255,255,.5)}
.mg-formw .wcf3[data-wcf="newsletter"] .wcf3-step{display:grid;grid-template-columns:1fr auto;column-gap:20px;align-items:end;max-width:640px;margin:0 auto}
.mg-formw .wcf3[data-wcf="newsletter"] .wcf3-grid{grid-column:1;grid-row:1}
.mg-formw .wcf3[data-wcf="newsletter"] .wcf3-nav{grid-column:2;grid-row:1;margin:0}
.mg-formw .wcf3[data-wcf="newsletter"] .wcf3-rgpd{grid-column:1 / -1;grid-row:2;text-align:center}
.bg-black .mg-formw .wcf3[data-wcf="newsletter"] .wcf3-send,.bg-navy .mg-formw .wcf3[data-wcf="newsletter"] .wcf3-send{background:transparent;box-shadow:none;padding:0 20px;font-size:14px}
.mg-form-center .mg-hd.al-center .mg-sub{padding-right:0}
.mg-form-center .mg-hd{margin-bottom:30px}

/* En-têtes des actualités (liste, article, catégories) : texte aligné sur le contenu */
.mg-hero.is-blog .mg-hero-txt{padding-top:305px;padding-left:calc((100vw - var(--wrap)) / 2)}
.mg-hero.is-blog .mg-hero-in{margin-left:0}
.mg-hero.is-blog .mg-hero-img{display:block}
.mg-hero.is-blog .mg-hero-img>img:first-child{position:absolute;inset:0;width:100%;height:100%;max-width:none;aspect-ratio:auto}
.mg-hero.is-blog{min-height:700px}
.mg-hero.is-post .mg-t{font-size:40px}
.mg-hero.sz-l .mg-t{font-size:48px}
@media (max-width:1260px){.mg-hero.is-blog .mg-hero-txt{padding-left:var(--pad)}}
@media (max-width:1200px){.mg-hero.is-blog .mg-hero-txt{padding-top:226px}.mg-hero.is-blog{min-height:0}}
@media (max-width:768px){.mg-hero.is-blog .mg-hero-txt{padding-top:145px}.mg-hero.is-post .mg-t{font-size:32px}}
@media (max-width:992px){.mg-hero.is-blog .mg-hero-img>img:first-child{position:static;height:auto}}
@media (max-width:768px){.mg-ft-l a{font-size:13px}.mg-ft-l li{margin:0 0 4px}}

/* Points décoratifs */
.mg-hero.has-dots .mg-hero-txt::before{content:"";position:absolute;left:-20px;top:50%;width:261px;height:137px;margin-top:-68px;background:url(../img/mg-dots-gold.png) no-repeat;pointer-events:none;z-index:-1}
@media (max-width:1200px){.mg-hero.has-dots .mg-hero-txt::before{display:none}}
.mg-sec.has-dots{position:relative}
.mg-sec.has-dots::before{content:"";position:absolute;inset:0;background:url(../img/mg-dots-gray.png) no-repeat 50% 50%/100% auto;pointer-events:none}
.mg-sec.has-dots>.mg-wrap{position:relative}
/* Carrousel d'avis : pas de défilement automatique à l'affichage (mesure LCP de PageSpeed).
   L'aimantation des cartes est activée par le script du thème au premier geste du visiteur. */
.wag-track{scroll-padding-inline:2px}
.js .wag-track:not(.mg-snap){scroll-snap-type:none!important}
