:root{
  --bg:#080b0f;--bg2:#0d1117;--panel:#121820;--panel2:#171e27;--text:#f7f8fa;--muted:#aeb7c3;
  --orange:#f58220;--orange2:#ff9b45;--line:rgba(255,255,255,.09);--shadow:0 18px 50px rgba(0,0,0,.34);
  --radius:22px;--max:1180px;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Arial,sans-serif;background:var(--bg);color:var(--text);line-height:1.55}a{color:inherit;text-decoration:none}img{display:block;max-width:100%}.wrap{width:min(var(--max),calc(100% - 40px));margin:auto}.topbar{position:sticky;top:0;z-index:1000;background:rgba(8,11,15,.92);backdrop-filter:blur(16px);border-bottom:1px solid var(--line)}.nav{min-height:86px;display:flex;align-items:center;gap:26px}.brand{display:flex;align-items:center;flex:0 0 auto}.brand img{width:130px;height:58px;object-fit:contain;object-position:center;background:#050608;border-radius:10px}.nav-links{display:flex;gap:24px;align-items:center;margin-left:auto}.nav-links a{font-size:14px;font-weight:650;color:#d6dbe2;position:relative;padding:32px 0}.nav-links a:hover,.nav-links a.active{color:#fff}.nav-links a.active:after{content:"";position:absolute;left:0;right:0;bottom:22px;height:2px;background:var(--orange);border-radius:3px}.phone-pill{background:var(--orange);padding:12px 18px;border-radius:12px;font-weight:800;color:#0c0d10;white-space:nowrap}.menu-btn{display:none;margin-left:auto;border:1px solid var(--line);background:#11161d;color:white;border-radius:12px;font-size:23px;width:46px;height:46px}.hero{min-height:630px;position:relative;overflow:hidden;display:flex;align-items:center}.hero-bg{position:absolute;inset:0;background:url('assets/hero.jpg') center 53%/cover no-repeat;transform:scale(1.01)}.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(6,8,11,.96) 0%,rgba(6,8,11,.84) 38%,rgba(6,8,11,.28) 70%,rgba(6,8,11,.25) 100%),linear-gradient(0deg,rgba(8,11,15,.55),transparent 45%)}.hero-inner{position:relative;z-index:2;padding:86px 0}.hero-content{max-width:700px}.eyebrow{margin:0 0 14px;font-size:13px;font-weight:850;letter-spacing:.16em;color:#d7dce2;text-transform:uppercase}.orange-text{color:var(--orange)}h1,h2,h3,h4,p{margin-top:0}.hero h1{font-size:clamp(48px,7vw,84px);line-height:.96;letter-spacing:-.045em;margin-bottom:18px}.hero h1 span{color:var(--orange)}.hero h2{font-size:clamp(25px,3vw,40px);line-height:1.12;margin-bottom:18px;max-width:660px}.lead{font-size:19px;color:#d1d6dd;max-width:610px}.hero-actions,.page-actions{display:flex;gap:12px;flex-wrap:wrap;margin:30px 0}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:14px 19px;border-radius:12px;font-weight:800;border:1px solid transparent;transition:.2s}.btn:hover{transform:translateY(-1px)}.btn.orange{background:var(--orange);color:#101216}.btn.ghost{border-color:rgba(255,255,255,.23);background:rgba(10,12,15,.42);color:#fff}.btn.light{background:#fff;color:#111}.hero-badges{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:34px;max-width:760px}.hero-badges div{padding:15px;border:1px solid var(--line);border-radius:15px;background:rgba(15,20,27,.68);display:flex;gap:11px;align-items:center}.hero-badges b{color:var(--orange);font-size:21px}.hero-badges span{font-size:13px;font-weight:650}.section{padding:88px 0}.section.alt{background:var(--bg2)}.section-head{display:flex;justify-content:space-between;gap:40px;align-items:end;margin-bottom:34px}.section-head h2{font-size:clamp(32px,4.6vw,52px);line-height:1.05;letter-spacing:-.03em;margin-bottom:0}.section-head p{color:var(--muted);max-width:530px;margin-bottom:0}.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.service-card{background:linear-gradient(180deg,#151b23,#10151c);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);min-height:100%;transition:.2s}.service-card:hover{transform:translateY(-4px);border-color:rgba(245,130,32,.45)}.service-card .media{height:225px;overflow:hidden;background:#0b0d10}.service-card img{width:100%;height:100%;object-fit:cover;object-position:center}.service-card.chariot img{object-position:center 54%}.service-card.chantier img{object-position:center 58%}.service-card.grue img{object-position:center 53%}.service-card.nacelle img{object-position:center 55%}.service-card.hayon img{object-position:center 50%}.service-card.extincteurs img{object-position:center 45%}.service-card .body{padding:24px}.service-card h3{font-size:22px;margin-bottom:10px}.service-card p{color:var(--muted);margin-bottom:18px}.link-arrow{color:var(--orange);font-weight:800}.feature-strip{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#0d1218}.feature-strip div{padding:25px;border-right:1px solid var(--line)}.feature-strip div:last-child{border-right:0}.feature-strip b{display:block;font-size:20px;margin-bottom:5px}.feature-strip span{color:var(--muted);font-size:14px}.split{display:grid;grid-template-columns:1.15fr .85fr;gap:22px}.image-panel{min-height:520px;border-radius:var(--radius);overflow:hidden;position:relative;background:url('assets/zone.jpg') center/cover no-repeat}.image-panel:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(6,9,13,.88),rgba(6,9,13,.25))}.image-panel .panel-content{position:absolute;z-index:2;left:38px;bottom:38px;max-width:560px}.image-panel h2{font-size:clamp(34px,5vw,54px);line-height:1.02}.image-panel p{color:#e6e9ed;max-width:520px}.dark-panel{background:linear-gradient(160deg,#141b24,#0e131a);border:1px solid var(--line);border-radius:var(--radius);padding:38px}.dark-panel h2{font-size:36px;line-height:1.08}.check-list{display:grid;gap:14px;margin:25px 0}.check-list div{display:flex;gap:12px}.check-list i{font-style:normal;color:var(--orange);font-weight:900}.check-list p{margin:0;color:var(--muted)}.cta{padding:70px 0;background:linear-gradient(90deg,rgba(245,130,32,.17),rgba(245,130,32,.03)),url('assets/zone.jpg') center 56%/cover no-repeat;position:relative}.cta:before{content:"";position:absolute;inset:0;background:rgba(5,8,11,.78)}.cta-inner{position:relative;display:flex;align-items:center;justify-content:space-between;gap:35px}.cta h2{font-size:clamp(34px,5vw,58px);line-height:1.05;margin-bottom:10px}.cta p{color:#d2d8df;margin-bottom:0}.page-hero{padding:92px 0 80px;background:radial-gradient(circle at 75% 20%,rgba(245,130,32,.12),transparent 30%),linear-gradient(160deg,#0d1218,#080b0f);border-bottom:1px solid var(--line)}.page-hero .crumbs{font-size:13px;color:#9ca7b5;margin-bottom:18px}.page-hero h1{font-size:clamp(42px,6vw,72px);line-height:1;letter-spacing:-.04em;max-width:850px;margin-bottom:20px}.page-hero h1 span{color:var(--orange)}.page-hero p{max-width:750px;color:#c1c8d1;font-size:19px}.content-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.content-card{padding:30px;border-radius:20px;background:#11171f;border:1px solid var(--line)}.content-card h3{font-size:24px}.content-card p,.content-card li{color:var(--muted)}.content-card ul{padding-left:20px}.process{counter-reset:step;display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.process .step{background:#10161d;border:1px solid var(--line);border-radius:18px;padding:24px}.process .step:before{counter-increment:step;content:counter(step);display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:var(--orange);color:#111;font-weight:900;margin-bottom:18px}.zone-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.zone-card{padding:30px;border-radius:20px;border:1px solid var(--line);background:#10161d}.zone-card strong{display:block;color:var(--orange);font-size:38px;line-height:1;margin-bottom:8px}.zone-card p{color:var(--muted)}.contact-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:22px}.contact-panel{background:#10161d;border:1px solid var(--line);border-radius:var(--radius);padding:34px}.contact-item{padding:18px 0;border-bottom:1px solid var(--line)}.contact-item:last-child{border-bottom:0}.contact-item small{display:block;color:var(--muted)}.contact-item a,.contact-item strong{font-size:20px;font-weight:800}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.field{display:grid;gap:7px}.field.full{grid-column:1/-1}.field label{font-size:13px;font-weight:750;color:#cfd5dd}.field input,.field textarea,.field select{width:100%;border:1px solid #2a333f;background:#0b1016;color:white;border-radius:12px;padding:14px 15px;font:inherit}.field textarea{min-height:150px;resize:vertical}.form-note{font-size:12px;color:#8f9aa7;margin-top:12px}.legal{max-width:850px}.legal h2{font-size:28px;margin-top:35px}.legal p,.legal li{color:#b6bec8}footer{border-top:1px solid var(--line);padding:58px 0 26px;background:#07090c}.footer-grid{display:grid;grid-template-columns:1.2fr .8fr .9fr 1.1fr;gap:34px}.footer-logo{width:180px;height:95px;object-fit:contain;background:#050608;border-radius:12px}.footer-grid h4{font-size:15px;margin-bottom:14px}.footer-grid a,.footer-grid span{display:block;color:#aeb6c0;margin:8px 0;font-size:14px}.footer-bottom{border-top:1px solid var(--line);margin-top:35px;padding-top:22px;display:flex;justify-content:space-between;gap:20px;color:#808a96;font-size:12px}.sticky-mobile{display:none}.notice{padding:16px 18px;background:rgba(245,130,32,.09);border:1px solid rgba(245,130,32,.25);border-radius:14px;color:#d9dee5}.kicker{display:inline-flex;padding:7px 10px;border-radius:999px;background:rgba(245,130,32,.13);color:var(--orange2);font-weight:800;font-size:12px;letter-spacing:.08em;text-transform:uppercase}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.stat{padding:26px;border:1px solid var(--line);border-radius:18px;background:#10161d}.stat b{display:block;font-size:26px;color:var(--orange)}.stat span{color:var(--muted)}
@media(max-width:980px){.desktop,.nav-links{display:none}.menu-btn{display:block}.nav{min-height:74px}.brand img{width:112px;height:50px}.nav-links.open{position:absolute;display:grid;top:74px;left:20px;right:20px;background:#0d1218;border:1px solid var(--line);border-radius:16px;padding:12px;box-shadow:var(--shadow)}.nav-links.open a{padding:12px}.nav-links.open a.active:after{display:none}.hero{min-height:610px}.hero-overlay{background:linear-gradient(90deg,rgba(6,8,11,.96),rgba(6,8,11,.76) 65%,rgba(6,8,11,.56))}.hero-badges{grid-template-columns:1fr 1fr}.service-grid{grid-template-columns:1fr 1fr}.feature-strip{grid-template-columns:1fr 1fr}.feature-strip div:nth-child(2){border-right:0}.feature-strip div:nth-child(-n+2){border-bottom:1px solid var(--line)}.split,.contact-grid{grid-template-columns:1fr}.process{grid-template-columns:1fr 1fr}.zone-cards{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr 1fr}.cta-inner{align-items:flex-start;flex-direction:column}}
@media(max-width:640px){.wrap.split{display:grid!important;grid-template-columns:1fr!important;width:100%!important;max-width:100%!important;min-width:0!important;}.wrap.split{display:grid!important;grid-template-columns:1fr!important;width:100%!important;max-width:100%!important;min-width:0!important;}.wrap{width:min(100% - 28px,var(--max))}.hero{min-height:auto}.hero-inner{padding:66px 0}.hero-bg{background-position:62% center}.hero h1{font-size:48px}.hero h2{font-size:27px}.lead{font-size:17px}.hero-badges{grid-template-columns:1fr}.section{padding:62px 0}.section-head{display:block}.section-head p{margin-top:14px}.service-grid{grid-template-columns:1fr}.service-card .media{height:210px}.feature-strip{grid-template-columns:1fr}.feature-strip div{border-right:0!important;border-bottom:1px solid var(--line)!important}.feature-strip div:last-child{border-bottom:0!important}.image-panel{min-height:520px}.image-panel .panel-content{left:24px;right:24px;bottom:26px}.dark-panel{padding:26px}.content-grid,.form-grid,.process,.stat-grid{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr}.footer-bottom{flex-direction:column}.page-hero{padding:65px 0}.page-hero h1{font-size:46px}.cta{padding:56px 0 90px}.sticky-mobile{display:flex;position:fixed;left:12px;right:12px;bottom:12px;z-index:999;gap:8px;background:rgba(8,11,15,.94);border:1px solid var(--line);padding:8px;border-radius:16px;backdrop-filter:blur(12px)}.sticky-mobile a{flex:1;font-size:13px;padding:12px 8px}.service-card img{object-position:center!important}}

/* Responsive image tuning V5 */
.hero-bg{background-image:url('assets/responsive/hero-desktop.webp');background-position:center center;background-size:cover}
.image-panel{background-image:url('assets/responsive/zone-desktop.webp');background-position:center center;background-size:cover}
.service-card .media picture{display:block;width:100%;height:100%}
.service-card .media picture img,.service-card .media>img{width:100%;height:100%;object-fit:cover;object-position:center}
.service-card .media>img[src$="chargeuse.svg"]{object-fit:contain;background:#10161d;padding:8px}
@media(max-width:640px){
  .hero-bg{background-image:url('assets/responsive/hero-mobile.webp');background-position:center 28%}
  .image-panel{background-image:url('assets/responsive/zone-mobile.webp');background-position:center center}
  .service-card .media{height:240px}
  .service-card img{object-position:center!important}
}

/* ===== V6 CLAIRE / PHOTOS NETTES ===== */
:root{--bg:#f5f7fa;--bg2:#ffffff;--panel:#ffffff;--panel2:#f7f9fb;--text:#17202a;--muted:#66717f;--line:rgba(15,29,45,.11);--shadow:0 14px 38px rgba(14,32,48,.10)}
html{color-scheme:light only}body{background:#f5f7fa;color:var(--text)}
.topbar{background:rgba(255,255,255,.97);border-bottom:1px solid #e5e9ee;box-shadow:0 4px 20px rgba(15,29,45,.06)}
.nav{min-height:76px}.brand img{width:190px;height:64px;background:white;border-radius:0;object-fit:contain}.nav-links a{color:#27313c;padding:27px 0}.nav-links a:hover,.nav-links a.active{color:#111}.nav-links a.active:after{bottom:18px}.phone-pill{color:white;background:#ff6a13}.menu-btn{background:white;color:#18222d;border-color:#d7dde4}
.hero{min-height:570px;background:white}.hero-bg{background-image:url('assets/v6/hero-desktop.webp')!important;background-position:right center!important;background-size:62% 100%!important;background-repeat:no-repeat!important;transform:none}
.hero-overlay{background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.98) 36%,rgba(255,255,255,.78) 52%,rgba(255,255,255,.12) 72%,rgba(255,255,255,0) 100%)}
.hero-inner{padding:68px 0}.hero-content{max-width:610px}.hero .eyebrow{color:#2d3742}.hero h1,.hero h2{color:#17202a}.lead{color:#4f5b68}.btn.ghost{background:white;color:#18222d;border-color:#9ca7b3}.hero-badges{max-width:760px}.hero-badges div{background:rgba(255,255,255,.94);border-color:#e3e8ed;box-shadow:0 8px 22px rgba(14,32,48,.07)}.hero-badges span{color:#2d3742}
.section{background:#fff}.section.alt{background:#f4f7fa}.section-head p{color:#65717e}.service-card{background:#fff;border-color:#e3e8ed;box-shadow:0 14px 35px rgba(18,38,56,.10)}.service-card p{color:#66717f}.service-card .media{background:#eef2f5;height:255px}.service-card img{filter:none}.feature-strip{background:#fff;border-color:#e0e6ec;box-shadow:0 10px 30px rgba(17,35,52,.06)}.feature-strip div{border-color:#e6ebef}.feature-strip span{color:#66717f}
.image-panel{background-image:url('assets/v6/zone.webp')!important}.image-panel:after{background:linear-gradient(90deg,rgba(4,26,48,.93),rgba(4,26,48,.30))}.image-panel h2,.image-panel p,.image-panel .eyebrow{color:white}.dark-panel{background:linear-gradient(160deg,#10243a,#0c1a2a);color:white}.dark-panel .check-list p{color:#dbe3ea}.dark-panel .btn.ghost{background:transparent;color:white;border-color:rgba(255,255,255,.35)}
.page-hero{background:linear-gradient(135deg,#fff 0%,#f6f8fb 62%,#fff2e9 100%);border-bottom:1px solid #e5e9ee}.page-hero .crumbs{color:#7b8792}.page-hero h1{color:#17202a}.page-hero p{color:#596674}.content-card,.contact-panel,.stat,.zone-card{background:#fff;border-color:#e1e7ec;box-shadow:0 10px 28px rgba(18,38,56,.06)}.content-card p,.content-card li,.zone-card p,.stat span{color:#66717f}.process .step{background:#fff;border-color:#e1e7ec}.field label{color:#34404c}.field input,.field textarea,.field select{background:#fff;color:#17202a;border-color:#cfd7df}.legal p,.legal li{color:#66717f}
.cta{background-image:linear-gradient(90deg,rgba(10,34,56,.92),rgba(10,34,56,.78)),url('assets/v6/zone.webp')}.cta:before{background:transparent}.cta h2,.cta p,.cta .eyebrow{color:white}
footer{background:#0a1119}.footer-logo{width:210px;height:94px;background:white;border-radius:8px;padding:5px}.sticky-mobile{background:rgba(255,255,255,.97);border-color:#dfe5ea}.sticky-mobile .btn.ghost{color:#17202a;border-color:#c7d0d8;background:white}
@media(max-width:980px){.brand img{width:170px;height:58px}.hero-bg{background-size:72% 100%!important}.hero-overlay{background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.96) 48%,rgba(255,255,255,.5) 70%,rgba(255,255,255,.08) 100%)}}
@media(max-width:640px){.nav{min-height:70px}.brand img{width:142px;height:52px}.hero{min-height:620px;align-items:flex-end}.hero-bg{background-image:url('assets/v6/hero-mobile.webp')!important;background-size:100% 58%!important;background-position:center top!important}.hero-overlay{background:linear-gradient(180deg,rgba(255,255,255,.05) 0%,rgba(255,255,255,.22) 28%,rgba(255,255,255,.94) 53%,#fff 69%,#fff 100%)}.hero-inner{padding:300px 0 40px}.hero h1{font-size:46px}.hero h2{font-size:24px}.hero-actions .btn{flex:1}.hero-badges{grid-template-columns:1fr 1fr;gap:8px}.hero-badges div{padding:12px}.hero-badges span{font-size:12px}.service-card .media{height:235px}.section{padding:54px 0}.image-panel{min-height:470px}.footer-logo{width:185px;height:82px}}

/* ===== V7 PROPORTIONS GLOBALES ===== */
:root{--max:1240px;--radius:18px}
.wrap{width:min(var(--max),calc(100% - 48px))}
.nav{min-height:72px;gap:22px}.brand img{width:172px;height:56px}.nav-links{gap:20px}.nav-links a{padding:25px 0;font-size:13px}.phone-pill{padding:11px 16px;border-radius:10px}
.hero{min-height:520px}.hero-inner{padding:56px 0}.hero-content{max-width:570px}.hero h1{font-size:clamp(44px,5.7vw,70px);margin-bottom:14px}.hero h2{font-size:clamp(23px,2.5vw,34px);margin-bottom:14px}.lead{font-size:17px}.hero-actions{margin:24px 0}.hero-badges{margin-top:26px;gap:10px}.hero-badges div{padding:12px 13px}
.section{padding:68px 0}.section-head{margin-bottom:28px;align-items:center}.section-head h2{font-size:clamp(30px,3.7vw,46px)}
.service-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:stretch}.service-card{display:flex;flex-direction:column;height:100%}.service-card .media{height:auto;aspect-ratio:16/10;flex:0 0 auto}.service-card .media picture{height:100%}.service-card .body{padding:22px;display:flex;flex-direction:column;flex:1}.service-card h3{font-size:21px;line-height:1.2}.service-card p{font-size:15px;line-height:1.55}.service-card .link-arrow{margin-top:auto;padding-top:4px}.service-card.grue img{object-position:center 45%}
.feature-strip div{padding:22px}.split{grid-template-columns:1.08fr .92fr}.image-panel{min-height:470px}.dark-panel{padding:34px}.cta{padding:58px 0}
.footer-grid{gap:28px}.footer-logo{width:190px;height:84px}footer{padding:48px 0 24px}
@media(max-width:980px){.wrap{width:min(100% - 36px,var(--max))}.nav{min-height:68px}.brand img{width:155px;height:52px}.hero{min-height:500px}.hero-inner{padding:50px 0}.service-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.service-card .body{padding:18px}.service-card h3{font-size:19px}.service-card p{font-size:14px}.section{padding:58px 0}}
@media(max-width:760px){.service-grid{grid-template-columns:1fr 1fr}.service-card.grue{grid-column:1/-1}.service-card.grue{display:grid;grid-template-columns:1fr 1fr}.service-card.grue .media{aspect-ratio:auto;height:100%;min-height:230px}.service-card.grue .body{min-height:230px}.section-head{display:block}.section-head p{margin-top:12px}}
@media(max-width:640px){.wrap{width:min(100% - 28px,var(--max))}.nav{min-height:64px}.brand img{width:132px;height:46px}.menu-btn{width:42px;height:42px}.hero{min-height:580px}.hero-inner{padding:270px 0 34px}.hero h1{font-size:42px;line-height:.98}.hero h2{font-size:22px}.lead{font-size:16px}.hero-actions{gap:8px;margin:20px 0}.hero-actions .btn{padding:12px 10px;font-size:13px}.hero-badges{margin-top:20px}.section{padding:46px 0}.section-head h2{font-size:32px}.service-grid{grid-template-columns:1fr;gap:16px}.service-card.grue{display:flex;grid-column:auto}.service-card .media,.service-card.grue .media{aspect-ratio:16/10;height:auto;min-height:0}.service-card.grue .body{min-height:0}.service-card .body{padding:20px}.image-panel{min-height:420px}.dark-panel{padding:24px}.cta{padding:48px 0 88px}.footer-logo{width:170px;height:76px}}


/* ===== V8 : PROPORTIONS + MODE CLAIR VERROUILLÉ + PHOTO INTERVENTION ===== */
:root{
  color-scheme: light;
  --page-bg:#f6f8fb;
  --card-bg:#ffffff;
  --ink:#17202a;
  --sub:#66717f;
  --border:#e2e7ec;
}
html{
  color-scheme: light !important;
  background:#ffffff !important;
}
body{
  background:var(--page-bg) !important;
  color:var(--ink) !important;
}
.topbar{
  background:#ffffff !important;
  border-bottom:1px solid var(--border) !important;
}
.nav-links a{color:#26313d !important}
.nav-links a.active,.nav-links a:hover{color:#111820 !important}
.menu-btn{
  background:#ffffff !important;
  color:#17202a !important;
  border-color:#d7dee6 !important;
}
.section{background:#ffffff !important}
.section.alt{background:#f5f7fa !important}
.service-card,
.content-card,
.contact-panel,
.stat,
.zone-card,
.process .step,
.feature-strip{
  background:#ffffff !important;
  color:var(--ink) !important;
}
.service-card p,
.content-card p,
.content-card li,
.zone-card p,
.stat span,
.feature-strip span{
  color:var(--sub) !important;
}

/* Grille et proportions fixes : les 3 cartes sont réellement identiques. */
.service-grid{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:20px !important;
  align-items:stretch !important;
}
.service-card{
  display:flex !important;
  flex-direction:column !important;
  min-width:0 !important;
  overflow:hidden !important;
  border:1px solid var(--border) !important;
  border-radius:18px !important;
}
.service-card .media,
.service-card.grue .media{
  width:100% !important;
  height:auto !important;
  aspect-ratio:16 / 10 !important;
  min-height:0 !important;
  overflow:hidden !important;
  background:#edf1f4 !important;
}
.service-card .media picture{
  display:block !important;
  width:100% !important;
  height:100% !important;
}
.service-card .media img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center center !important;
  display:block !important;
}
.service-card.grue img{
  object-position:center 42% !important;
}
.service-card .body,
.service-card.grue .body{
  display:flex !important;
  flex-direction:column !important;
  flex:1 !important;
  min-height:220px !important;
  padding:22px !important;
}
.service-card .link-arrow{margin-top:auto !important}

/* Header proportionné */
.nav{min-height:70px !important}
.brand img{
  width:160px !important;
  height:54px !important;
  object-fit:contain !important;
  background:#ffffff !important;
}

/* Empêche Samsung/les navigateurs de repeindre les cartes en noir. */
@media (prefers-color-scheme: dark){
  html,body{background:#f6f8fb !important;color:#17202a !important}
  .topbar,.section,.service-card,.content-card,.contact-panel,.stat,.zone-card,
  .process .step,.feature-strip,.sticky-mobile{
    background:#ffffff !important;
    color:#17202a !important;
  }
  .service-card p,.content-card p,.content-card li,.zone-card p,.stat span,.feature-strip span{
    color:#66717f !important;
  }
  .nav-links a{color:#26313d !important}
  .menu-btn{background:#ffffff !important;color:#17202a !important}
}

/* Tablette */
@media(max-width:900px){
  .service-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
  .service-card.grue{
    grid-column:1/-1 !important;
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
  }
  .service-card.grue .media{
    aspect-ratio:auto !important;
    height:100% !important;
    min-height:250px !important;
  }
  .service-card.grue .body{
    min-height:250px !important;
  }
}

/* Mobile : une carte = une colonne, photo uniforme, zéro étirement. */
@media(max-width:640px){
  .wrap{width:min(100% - 28px,var(--max)) !important}
  .nav{min-height:62px !important}
  .brand img{
    width:128px !important;
    height:44px !important;
  }
  .menu-btn{
    width:42px !important;
    height:42px !important;
  }
  .service-grid{
    grid-template-columns:1fr !important;
    gap:16px !important;
  }
  .service-card.grue{
    grid-column:auto !important;
    display:flex !important;
    flex-direction:column !important;
  }
  .service-card .media,
  .service-card.grue .media{
    aspect-ratio:16 / 10 !important;
    height:auto !important;
    min-height:0 !important;
  }
  .service-card .body,
  .service-card.grue .body{
    min-height:205px !important;
    padding:20px !important;
  }
  .service-card h3{
    font-size:21px !important;
    line-height:1.2 !important;
  }
  .service-card p{
    font-size:15px !important;
    line-height:1.55 !important;
  }
  .sticky-mobile{
    background:#ffffff !important;
    border-color:#dfe5ea !important;
  }
}
@media (max-width: 640px) {
  .wrap.split {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .wrap.split > .service-card,
  .wrap.split > .dark-panel {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    position: static !important;
    transform: none !important;
    box-sizing: border-box !important;
  }
}
 /* Menu mobile : fond blanc et texte noir */
@media (max-width: 980px) {
  .nav-links {
    background: #fff !important;
  }

  .nav-links a {
    color: #000 !important;
  }
}
/* Contact : adaptation aux écrans mobiles */
@media (max-width: 640px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .contact-panel {
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box;
  }

  .contact-item,
  .contact-item strong,
  .contact-item a {
    min-width: 0;
    overflow-wrap: anywhere;
    white-space: normal !important;
  }
}