
/* Swiper (styles de base intégrés) */
.swiper{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}
.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:ease;box-sizing:content-box}
.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}
.swiper-fade .swiper-slide{pointer-events:none;transition-property:opacity}
.swiper-fade .swiper-slide-active{pointer-events:auto}
.swiper-pagination{position:absolute;text-align:center;transition:.3s opacity;transform:translate3d(0,0,0);z-index:10}
.swiper-pagination-progressbar{position:absolute;left:0;top:0;width:100%;height:4px;background:rgba(0,0,0,.1)}
.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}
.swiper-pagination-bullets{bottom:8px;left:0;width:100%}
.swiper-pagination-bullet{width:8px;height:8px;display:inline-block;border-radius:50%;margin:0 4px;cursor:pointer}
.swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}
.map-fallback{display:grid;place-items:center;text-align:center;padding:24px;height:100%;color:var(--muted);font-size:.95rem}
.map-fallback a{color:var(--orange-d);font-weight:600}
/* D&M Élec & Plomberie — feuille de styles */
:root {
  --ink: #14110e;
  --ink-2: #1e1a16;
  --ink-3: #2a2520;
  --cream: #f6f2ea;
  --cream-2: #ece6da;
  --paper: #fffdf9;
  --orange: #f08a2c;
  --orange-d: #d9721a;
  --blue: #3d9be0;
  --text: #2b2621;
  --muted: #6f675e;
  --line: rgba(20, 17, 14, .1);
  --line-l: rgba(255, 255, 255, .12);
  --r: 22px;
  --r-s: 14px;
  --shadow: 0 24px 60px -24px rgba(20, 17, 14, .28);
  --ff-d: "Outfit", "DM Sans", system-ui, sans-serif;
  --ff: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--ff); color: var(--text); background: var(--cream); line-height: 1.65; font-size: 17px; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
main { overflow-x: clip; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--ff-d); line-height: 1.08; letter-spacing: -.02em; color: var(--ink); }
h2 { font-size: clamp(2rem, 4.200vw, 3.300rem); font-weight: 700; }
h2 em, h1 em { font-style: normal; color: var(--orange); }
svg { width: 1.150em; height: 1.150em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--orange); color: var(--ink); padding: 10px 16px; border-radius: 8px; z-index: 200; font-weight: 600; }
.skip:focus { left: 8px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: .96rem; text-decoration: none; border: 1.500px solid transparent; transition: transform .25s, background .25s, color .25s, border-color .25s, box-shadow .25s; white-space: nowrap; }
.btn svg { transition: transform .25s; }
.btn:hover svg { transform: translateX(4px); }
.btn--lg { padding: 17px 28px; font-size: 1.020rem; }
.btn--primary { background: var(--orange); color: var(--ink); box-shadow: 0 12px 30px -10px rgba(240, 138, 44, .7); }
.btn--primary:hover { background: #ffa04a; transform: translateY(-2px); }
.btn--ghost { border-color: var(--line-l); color: #fff; background: rgba(255, 255, 255, .05); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .12); }

/* Header */
.header { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background .3s, box-shadow .3s, padding .3s; padding: 16px 0; }
.header.is-stuck { background: rgba(20, 17, 14, .86); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line-l); padding: 9px 0; }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand__logo { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--cream-2); border: 2px solid rgba(255, 255, 255, .18); }
.brand__txt { display: grid; line-height: 1.1; }
.brand__txt strong { font-family: var(--ff-d); font-size: 1.300rem; font-weight: 700; letter-spacing: -.01em; }
.brand__txt span { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .65); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { color: rgba(255, 255, 255, .78); text-decoration: none; font-size: .94rem; font-weight: 500; position: relative; padding: 6px 0; transition: color .2s; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.nav a:not(.btn):hover { color: #fff; }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.500px solid var(--line-l); background: rgba(255, 255, 255, .06); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, top .3s; }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* Hero */
.hero { position: relative; background: var(--ink); color: #fff; padding: clamp(130px, 17vh, 190px) 0 clamp(70px, 9vw, 120px); overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.glow--o { width: 560px; height: 560px; background: var(--orange); top: -180px; right: -80px; opacity: .34; }
.glow--b { width: 480px; height: 480px; background: var(--blue); bottom: -240px; left: -140px; opacity: .22; }
.grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line-l) 1px, transparent 1px), linear-gradient(90deg, var(--line-l) 1px, transparent 1px); background-size: 64px 64px; opacity: .35; mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 75%); }
.hero__in { display: grid; grid-template-columns: 1.150fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .84rem; font-weight: 500; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-l); background: rgba(255, 255, 255, .05); color: rgba(255, 255, 255, .85); margin-bottom: 26px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #52d67a; box-shadow: 0 0 0 4px rgba(82, 214, 122, .2); }
.hero h1 { color: #fff; font-size: clamp(2.500rem, 5.600vw, 4.500rem); font-weight: 700; }
.lead { margin-top: 24px; font-size: clamp(1.050rem, 1.400vw, 1.200rem); color: rgba(255, 255, 255, .72); max-width: 56ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 52px; padding-top: 30px; border-top: 1px solid var(--line-l); }
.hero__facts li { display: grid; }
.hero__facts strong { font-family: var(--ff-d); font-size: 1.900rem; font-weight: 700; line-height: 1.1; }
.hero__facts span { font-size: .86rem; color: rgba(255, 255, 255, .6); }
.hero__visual { position: relative; }
.hero__img { border-radius: 32px; overflow: hidden; aspect-ratio: 4 / 4.600; border: 1px solid var(--line-l); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .8); transform: rotate(1.500deg); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.chip { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; background: rgba(255, 253, 249, .96); color: var(--ink); border-radius: 18px; box-shadow: var(--shadow); animation: float 6s ease-in-out infinite; }
.chip strong { display: block; font-family: var(--ff-d); font-size: 1rem; line-height: 1.2; }
.chip small { color: var(--muted); font-size: .76rem; }
.chip__ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.chip__ic--o { background: var(--orange); }
.chip__ic--b { background: var(--blue); }
.chip--a { top: 9%; left: -9%; }
.chip--b { bottom: 10%; right: -5%; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-12px); } }

/* Entrée du hero */
@keyframes rise { from { opacity: 0; transform: translateY(34px); } }
.hero-anim { animation: rise .95s cubic-bezier(.2, .7, .2, 1) backwards; }
.hero-anim-visual { animation: rise 1.100s cubic-bezier(.2, .7, .2, 1) .3s backwards; }
.hero h1 { animation-delay: .1s; }
.lead { animation-delay: .22s; }
.hero__cta { animation-delay: .34s; }
.hero__facts { animation-delay: .46s; }

/* Bandeau défilant */
.marquee { background: var(--orange); color: var(--ink); padding: 20px 0; transform: rotate(-1.200deg) scale(1.030); margin: -22px 0 0; position: relative; z-index: 2; box-shadow: 0 20px 40px -20px rgba(20, 17, 14, .4); }
.js-marquee .swiper-wrapper { transition-timing-function: linear !important; }
.js-marquee .swiper-slide { width: auto; font-family: var(--ff-d); font-weight: 700; font-size: clamp(1.050rem, 1.800vw, 1.450rem); text-transform: uppercase; letter-spacing: .02em; display: flex; align-items: center; gap: 34px; padding-right: 34px; white-space: nowrap; }
.js-marquee .swiper-slide::after { content: "✦"; font-size: .8em; opacity: .65; }

/* Sections */
.section { padding: clamp(80px, 10vw, 140px) 0; position: relative; overflow-x: clip; }
.section--dark { background: var(--ink); color: rgba(255, 255, 255, .74); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--tint { background: var(--cream-2); }
.section__head { margin-bottom: clamp(36px, 5vw, 60px); }
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section__head--row h2 { max-width: 18ch; }
.section__head--center { text-align: center; max-width: 760px; margin-inline: auto; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-d); margin-bottom: 16px; }
.kicker::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.kicker--light { color: var(--orange); }

/* Flèches carrousel */
.arrows { display: flex; gap: 10px; flex: none; }
.arrow { width: 56px; height: 56px; border-radius: 50%; border: 1.500px solid var(--line); background: var(--paper); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .25s, color .25s, transform .25s, border-color .25s, opacity .25s; }
.arrow svg { width: 22px; height: 22px; }
.arrow:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: scale(1.060); }
.arrow.swiper-button-disabled { opacity: .35; pointer-events: none; }

/* Carrousel services */
.container--bleed { width: 100%; padding-left: max(20px, calc((100vw - 1200px) / 2)); }
.js-services { overflow: visible; padding-bottom: 56px; }
.card { height: auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 34px 30px 32px; position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s, border-color .4s; }
.card::before { content: ""; position: absolute; inset: auto -30% -55% auto; width: 260px; height: 260px; border-radius: 50%; background: var(--orange); opacity: 0; filter: blur(60px); transition: opacity .4s; }
.card--plomb::before { background: var(--blue); }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { opacity: .28; }
.card__n { position: absolute; top: 22px; right: 26px; font-family: var(--ff-d); font-weight: 800; font-size: 3rem; line-height: 1; color: var(--ink); opacity: .07; }
.card h3 { font-size: 1.500rem; font-weight: 700; margin: 20px 0 10px; }
.card p { color: var(--muted); font-size: .96rem; }
.card ul { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); width: 100%; display: grid; gap: 9px; font-size: .9rem; font-weight: 500; }
.card li { display: flex; align-items: center; gap: 10px; }
.card li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); flex: none; }
.card--plomb li::before { background: var(--blue); }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.tag--o { background: rgba(240, 138, 44, .16); color: #a9540c; }
.tag--b { background: rgba(61, 155, 224, .16); color: #1c69a5; }
.tag--d { background: var(--ink); color: #fff; }
.swiper-pagination.js-serv-pag { bottom: 0; top: auto; left: 0; width: min(1160px, calc(100% - 20px)); height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; }
.js-serv-pag .swiper-pagination-progressbar-fill { background: var(--orange); border-radius: 4px; }

/* Expertise */
.split { display: grid; grid-template-columns: .9fr 1.100fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.split__media { position: relative; }
.split__media img { border-radius: 28px; aspect-ratio: 1 / 1.100; object-fit: cover; width: 100%; }
.badge { position: absolute; right: -18px; bottom: 34px; background: var(--orange); color: var(--ink); border-radius: 20px; padding: 18px 22px; display: flex; align-items: center; gap: 14px; box-shadow: 0 24px 50px -20px rgba(240, 138, 44, .8); }
.badge strong { font-family: var(--ff-d); font-size: 3rem; font-weight: 800; line-height: 1; }
.badge strong::after { content: "+"; }
.badge span { font-size: .84rem; font-weight: 600; line-height: 1.3; }
.split__txt > p:not(.kicker) { margin-top: 22px; max-width: 60ch; }
.feats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 38px; }
.feat { display: flex; gap: 16px; padding: 22px; border-radius: var(--r-s); border: 1px solid var(--line-l); background: rgba(255, 255, 255, .035); transition: background .3s, border-color .3s, transform .3s; }
.feat:hover { background: rgba(255, 255, 255, .07); border-color: rgba(240, 138, 44, .5); transform: translateY(-4px); }
.feat__ic { width: 46px; height: 46px; border-radius: 12px; background: rgba(240, 138, 44, .15); color: var(--orange); display: grid; place-items: center; flex: none; }
.feat__ic svg { width: 24px; height: 24px; }
.feat h3 { font-size: 1.100rem; font-weight: 600; margin-bottom: 4px; letter-spacing: -.01em; }
.feat p { font-size: .9rem; line-height: 1.5; }

/* Deux métiers */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.trade { border-radius: 28px; padding: clamp(30px, 4vw, 52px); background: var(--paper); border: 1px solid var(--line); position: relative; overflow: hidden; transition: transform .4s, box-shadow .4s; }
.trade:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.trade::after { content: ""; position: absolute; top: -90px; right: -90px; width: 260px; height: 260px; border-radius: 50%; background: var(--c); opacity: .14; }
.trade--o { --c: var(--orange); }
.trade--b { --c: var(--blue); }
.trade__ic { width: 62px; height: 62px; border-radius: 18px; background: var(--c); color: #fff; display: grid; place-items: center; margin-bottom: 26px; }
.trade__ic svg { width: 30px; height: 30px; }
.trade h3 { font-size: clamp(1.600rem, 2.400vw, 2.100rem); font-weight: 700; margin-bottom: 12px; }
.trade > p { color: var(--muted); }
.checks { margin: 26px 0 30px; display: grid; gap: 13px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; font-size: .98rem; }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--c) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.500' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 13px no-repeat; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--ink); border-bottom: 2px solid var(--c); padding-bottom: 3px; }
.link svg { transition: transform .25s; }
.link:hover svg { transform: translateX(5px); }

/* Réalisations */
.js-real { border-radius: 30px; overflow: hidden; box-shadow: var(--shadow); }
.real { margin: 0; position: relative; aspect-ratio: 16 / 8; background: var(--ink); }
.real img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.080); transition: transform 6s ease-out; }
.real.swiper-slide-active img { transform: scale(1); }
.real::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(20, 17, 14, .88)); }
.real figcaption { position: absolute; z-index: 2; left: clamp(22px, 4vw, 52px); bottom: clamp(40px, 5vw, 60px); right: 22px; color: rgba(255, 255, 255, .8); display: grid; gap: 8px; justify-items: start; }
.real figcaption strong { font-family: var(--ff-d); color: #fff; font-size: clamp(1.500rem, 3vw, 2.400rem); font-weight: 700; line-height: 1.1; }
.real .tag--o, .real .tag--b { background: var(--orange); color: var(--ink); }
.real .tag--b { background: var(--blue); color: #fff; }
.js-real .swiper-pagination { text-align: left; padding-left: clamp(22px, 4vw, 52px); bottom: 18px; }
.js-real .swiper-pagination-bullet { width: 26px; height: 4px; border-radius: 4px; background: #fff; opacity: .4; transition: width .3s, opacity .3s; }
.js-real .swiper-pagination-bullet-active { width: 52px; opacity: 1; background: var(--orange); }

/* Méthode */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.steps::before { content: ""; position: absolute; top: 28px; left: 6%; right: 6%; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px); }
.steps li { position: relative; text-align: center; padding: 0 10px; }
.steps span { width: 58px; height: 58px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--ff-d); font-weight: 700; font-size: 1.300rem; display: grid; place-items: center; margin: 0 auto 22px; border: 5px solid var(--cream); transition: background .3s, transform .3s; }
.steps li:hover span { background: var(--orange); color: var(--ink); transform: scale(1.100); }
.steps h3 { font-size: 1.250rem; font-weight: 600; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: .94rem; }

/* Zone */
.zone { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.zone p:not(.kicker) { margin: 22px 0 32px; max-width: 52ch; }
.towns { display: flex; flex-wrap: wrap; gap: 12px; }
.towns li { padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line-l); background: rgba(255, 255, 255, .04); color: #fff; font-weight: 500; font-size: .96rem; display: flex; align-items: center; gap: 10px; transition: background .25s, color .25s, border-color .25s, transform .25s; }
.towns li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); transition: background .25s; }
.towns li:hover { background: var(--orange); color: var(--ink); border-color: var(--orange); transform: translateY(-3px); }
.towns li:hover::before { background: var(--ink); }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.200fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.faq__list { display: grid; gap: 14px; }
details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-s); transition: box-shadow .3s, border-color .3s; }
details[open] { box-shadow: var(--shadow); border-color: transparent; }
summary { cursor: pointer; list-style: none; padding: 22px 26px; font-family: var(--ff-d); font-weight: 600; font-size: 1.150rem; color: var(--ink); display: flex; justify-content: space-between; gap: 20px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--cream-2); display: grid; place-items: center; font-family: var(--ff); font-weight: 500; font-size: 1.300rem; transition: transform .3s, background .3s; }
details[open] summary::after { transform: rotate(45deg); background: var(--orange); }
details p { padding: 0 26px 24px; color: var(--muted); max-width: 64ch; }
details a { color: var(--orange-d); font-weight: 600; }

/* CTA */
.section--cta { padding-top: 0; }
.cta { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: rgba(255, 255, 255, .74); border-radius: 36px; padding: clamp(48px, 7vw, 96px) clamp(26px, 6vw, 90px); text-align: center; }
.cta__glow { position: absolute; z-index: -1; width: 620px; height: 620px; border-radius: 50%; background: var(--orange); filter: blur(120px); opacity: .32; left: 50%; bottom: -420px; transform: translateX(-50%); }
.cta h2 { color: #fff; max-width: 20ch; margin-inline: auto; }
.cta > p:not(.kicker) { max-width: 56ch; margin: 22px auto 0; }
.cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }

/* Footer */
.footer { background: var(--ink); color: rgba(255, 255, 255, .62); padding: 72px 0 0; font-size: .93rem; }
.footer__in { display: grid; grid-template-columns: 1.500fr 1fr 1fr 1.200fr; gap: 40px; padding-bottom: 54px; }
.footer__brand p { margin-top: 18px; max-width: 34ch; }
.footer h3 { color: #fff; font-family: var(--ff); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul { display: grid; gap: 9px; }
.footer address { font-style: normal; line-height: 1.8; }
.footer a:not(.brand) { color: var(--orange); text-decoration: none; }
.footer a:not(.brand):hover { text-decoration: underline; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 22px 0; border-top: 1px solid var(--line-l); font-size: .82rem; }

/* Responsive */
@media (max-width: 1020px) {
  .burger { display: block; }
  .nav { position: fixed; inset: 0; background: var(--ink); flex-direction: column; justify-content: center; gap: 26px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; z-index: -1; }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav a:not(.btn) { font-family: var(--ff-d); font-size: 1.700rem; font-weight: 600; color: #fff; }
  .hero__in, .split, .zone, .faq { grid-template-columns: 1fr; }
  .hero__visual { max-width: 460px; margin-inline: auto; width: 100%; }
  .chip--a { left: -2%; }
  .chip--b { right: -2%; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .steps::before { display: none; }
  .footer__in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .container { width: min(1200px, 100% - 32px); }
  .container--bleed { width: 100%; padding-left: 16px; }
  .duo, .feats { grid-template-columns: 1fr; }
  .section__head--row { flex-direction: column; align-items: flex-start; }
  .hero__facts { gap: 18px 28px; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .chip { padding: 9px 14px 9px 9px; }
  .chip small { display: none; }
  .real { aspect-ratio: 4 / 5; }
  .badge { right: 10px; bottom: 16px; }
  .badge strong { font-size: 2.300rem; }
  .cta { border-radius: 26px; }
  .cta__btns .btn { width: 100%; justify-content: center; white-space: normal; word-break: break-word; }
  .steps { grid-template-columns: 1fr; }
  .footer__in { grid-template-columns: 1fr; }
}
/* ===== Pages intérieures ===== */
.nav a[aria-current="page"]:not(.btn) { color: #fff; }
.nav a[aria-current="page"]:not(.btn)::after { transform: scaleX(1); }
.footer ul a { color: inherit !important; text-decoration: none; transition: color .2s; }
.footer ul a:hover { color: var(--orange) !important; text-decoration: none !important; }

.page-hero { position: relative; background: var(--ink); color: #fff; padding: clamp(140px, 19vh, 200px) 0 clamp(64px, 8vw, 110px); overflow: hidden; isolation: isolate; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .86rem; color: rgba(255, 255, 255, .55); margin-bottom: 22px; }
.crumbs a { text-decoration: none; transition: color .2s; }
.crumbs a:hover { color: var(--orange); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.page-hero h1 { color: #fff; font-size: clamp(2.300rem, 5.200vw, 4.200rem); font-weight: 700; max-width: 20ch; }
.page-hero .lead { max-width: 62ch; }
.page-hero h1 { animation-delay: .1s; }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.jump a { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line-l); background: rgba(255, 255, 255, .05); color: #fff; text-decoration: none; font-size: .92rem; font-weight: 500; transition: background .25s, color .25s, border-color .25s, transform .25s; }
.jump a::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.jump a.is-b::before { background: var(--blue); }
.jump a:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); transform: translateY(-3px); }
.jump a:hover::before { background: var(--ink); }

/* Liste détaillée des services */
.svc-group { display: grid; grid-template-columns: .78fr 1.220fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.svc-group__intro { position: sticky; top: 120px; }
.svc-group__intro > p:not(.kicker) { margin-top: 20px; color: var(--muted); max-width: 46ch; }
.svc-group__intro .trade__ic { margin-bottom: 24px; }
.svc-group--o { --c: var(--orange); }
.svc-group--b { --c: var(--blue); }
.svc-list { display: grid; gap: 18px; }
.svc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(26px, 3.400vw, 40px); position: relative; overflow: hidden; scroll-margin-top: 110px; transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s, border-color .4s; }
.svc::before { content: ""; position: absolute; inset: auto -20% -60% auto; width: 280px; height: 280px; border-radius: 50%; background: var(--c); opacity: 0; filter: blur(70px); transition: opacity .4s; }
.svc:hover, .svc:target { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.svc:hover::before, .svc:target::before { opacity: .22; }
.svc__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.svc__n { font-family: var(--ff-d); font-weight: 800; font-size: 2.600rem; line-height: 1; color: var(--ink); opacity: .08; }
.svc h3 { font-size: clamp(1.450rem, 2.200vw, 1.850rem); font-weight: 700; margin: 14px 0 12px; }
.svc > p { color: var(--muted); max-width: 62ch; }
.svc .checks { margin: 22px 0 26px; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.svc .link { font-size: .95rem; }

/* Bloc dépannage */
.rescue { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.rescue > div > p:not(.kicker) { margin: 22px 0 32px; max-width: 54ch; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1.250fr .75fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.form { background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: clamp(26px, 4vw, 48px); box-shadow: var(--shadow); }
.form h2 { font-size: clamp(1.700rem, 3vw, 2.300rem); }
.form > p { color: var(--muted); margin: 10px 0 30px; }
.form fieldset { border: 0; padding: 0; margin: 0 0 22px; }
.form legend, .field label { display: block; font-weight: 600; font-size: .92rem; color: var(--ink); margin-bottom: 9px; }
.field { margin-bottom: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.req { color: var(--orange-d); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); padding: 14px 16px; border: 1.500px solid rgba(20, 17, 14, .16); border-radius: 12px; background: #fff; transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none; }
.field select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314110e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; padding-right: 44px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(240, 138, 44, .18); }
.field input:user-invalid, .field textarea:user-invalid, .field select:user-invalid { border-color: #c2412c; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pill span { display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: 999px; border: 1.500px solid rgba(20, 17, 14, .16); background: #fff; font-weight: 500; font-size: .94rem; transition: background .2s, border-color .2s, color .2s; }
.pill span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--ink)); }
.pill:hover span { border-color: var(--ink); }
.pill input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.pill input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--muted); margin: 6px 0 26px; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--orange); flex: none; }
.form .btn--primary { border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.form__status { margin-top: 18px; padding: 16px 18px; border-radius: 12px; background: rgba(82, 214, 122, .14); color: #1d6b37; font-size: .94rem; }

.infos { display: grid; gap: 18px; position: sticky; top: 110px; }
.infos__card { background: var(--ink); color: rgba(255, 255, 255, .72); border-radius: 28px; padding: clamp(26px, 3.400vw, 38px); position: relative; overflow: hidden; isolation: isolate; }
.infos__card::after { content: ""; position: absolute; z-index: -1; width: 320px; height: 320px; border-radius: 50%; background: var(--orange); filter: blur(90px); opacity: .22; right: -140px; top: -160px; }
.infos__card h2 { color: #fff; font-size: 1.600rem; margin-bottom: 22px; }
.infos__list { display: grid; gap: 20px; }
.infos__list li { display: flex; gap: 16px; align-items: flex-start; }
.infos__list strong { display: block; color: #fff; font-family: var(--ff-d); font-weight: 600; font-size: 1.040rem; margin-bottom: 2px; }
.infos__list a { color: var(--orange); text-decoration: none; overflow-wrap: anywhere; }
.infos__list a:hover { text-decoration: underline; }
.infos__list address { font-style: normal; }
.map { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--cream-2); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.35) contrast(1.050); }
.map-link { font-size: .86rem; color: var(--muted); }
.map-link a { color: var(--orange-d); font-weight: 600; }

@media (max-width: 1020px) {
  .svc-group, .rescue, .contact-grid { grid-template-columns: 1fr; }
  .svc-group__intro, .infos { position: static; }
}
@media (max-width: 700px) {
  .svc .checks, .form__row { grid-template-columns: 1fr; }
  .form { border-radius: 22px; }
  .form .btn--primary { width: 100%; justify-content: center; }
}

/* ===== Pages métier (Électricité / Plomberie) ===== */
.hero .crumbs { margin-bottom: 18px; }
.hero--page { padding-bottom: clamp(60px, 7vw, 100px); }
.hero--page h1 { font-size: clamp(2.300rem, 5vw, 4rem); }
.photo { filter: saturate(.9) contrast(1.050) brightness(1.020); }
.svc-rows { display: grid; gap: clamp(70px, 9vw, 130px); }
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5.500vw, 88px); align-items: center; scroll-margin-top: 100px; }
.svc-row:nth-child(even) .svc-row__media { order: 2; }
.svc-row__media { position: relative; }
.svc-row__media::after { content: ""; position: absolute; inset: 0; border-radius: 28px; background: linear-gradient(160deg, rgba(240, 138, 44, .10), transparent 45%, rgba(20, 17, 14, .18)); pointer-events: none; }
.svc-row__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); }
.svc-row__media .tag { position: absolute; left: 18px; top: 18px; z-index: 2; background: var(--paper); box-shadow: 0 8px 20px -10px rgba(20, 17, 14, .4); }
.svc-row__n { display: block; font-family: var(--ff-d); font-weight: 800; font-size: clamp(3.200rem, 6vw, 5rem); line-height: .9; color: transparent; -webkit-text-stroke: 1.500px var(--c); }
.svc-row h2 { font-size: clamp(1.800rem, 3.200vw, 2.600rem); margin: 14px 0 16px; }
.svc-row__txt > p { color: var(--muted); max-width: 56ch; }
.svc-row .checks { grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 24px 0 30px; }
.svc-row__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--c, var(--orange)); color: var(--ink); transform: translateY(-2px); }
.page--o { --c: var(--orange); }
.page--b { --c: var(--blue); }
.page--b .kicker { color: #1c69a5; }
.page--b .hero h1 em, .page--b .section h2 em { color: var(--blue); }
.page--b .section--dark h2 em { color: #6cb8ee; }
.cross { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cross a { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(24px, 3vw, 36px); border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); text-decoration: none; transition: transform .3s, box-shadow .3s; }
.cross a:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.cross strong { display: block; font-family: var(--ff-d); font-size: 1.400rem; color: var(--ink); }
.cross span { color: var(--muted); font-size: .94rem; }
.cross svg { width: 26px; height: 26px; color: var(--ink); }
.credit { opacity: .7; }
.footer h3 a { color: inherit !important; text-decoration: none !important; }
.card__link { text-decoration: none; color: inherit; }
.card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__link:focus-visible { outline: none; }
.card:has(.card__link:focus-visible) { outline: 3px solid var(--orange); outline-offset: 3px; }
.jump--light { justify-content: center; margin: 0 auto clamp(60px, 8vw, 100px); max-width: 900px; }
.jump--light a { border-color: var(--line); background: var(--paper); color: var(--ink); }
.page--b .jump--light a::before { background: var(--blue); }
@media (max-width: 1020px) {
  .svc-row { grid-template-columns: 1fr; }
  .svc-row:nth-child(even) .svc-row__media { order: 0; }
  .svc-row__media { max-width: 640px; }
}
@media (max-width: 700px) {
  .svc-row .checks, .cross { grid-template-columns: 1fr; }
  .svc-row__media img { border-radius: 22px; }
  .svc-row__media::after { border-radius: 22px; }
}

/* ===== Sous-pages service ===== */
.svc-row h2 a { color: inherit; text-decoration: none; transition: color .2s; }
.svc-row h2 a:hover { color: var(--c); }
.article-grid { display: grid; grid-template-columns: 1.400fr .6fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.prose h2 { margin-bottom: 8px; }
.prose p { color: var(--muted); margin-top: 16px; max-width: 68ch; }
.prose h3 { font-size: 1.450rem; font-weight: 700; margin-top: 40px; }
.prose a, .steps a, .faq a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--c, var(--orange)); text-decoration-thickness: 2px; text-underline-offset: 3px; transition: color .2s; }
.prose a:hover, .steps a:hover { color: var(--c, var(--orange-d)); }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }
.gallery figcaption { font-size: .85rem; color: var(--muted); margin-top: 10px; padding-left: 10px; border-left: 2px solid var(--c, var(--orange)); }
.aside { position: sticky; top: 110px; }
.aside .infos__card h2 { font-size: 1.450rem; margin-bottom: 18px; }
.aside .checks { margin: 0 0 22px; }
.aside .checks li { color: rgba(255, 255, 255, .82); font-size: .95rem; }
.aside .btn { width: 100%; justify-content: center; margin-top: 10px; white-space: normal; text-align: center; overflow-wrap: anywhere; }
.aside__more { margin-top: 18px; font-size: .9rem; }
.aside__more a { color: var(--orange); font-weight: 600; }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related a { display: flex; flex-direction: column; text-decoration: none; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .35s, box-shadow .35s; }
.related a:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.related img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.related a:hover img { transform: scale(1.060); }
.related__body { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 22px 20px; flex: 1; }
.related__body strong { display: block; font-family: var(--ff-d); font-size: 1.120rem; color: var(--ink); line-height: 1.25; }
.related__body small { display: block; color: var(--muted); font-size: .84rem; margin-top: 4px; }
.related__body svg { width: 22px; height: 22px; color: var(--c, var(--orange)); flex: none; transition: transform .25s; }
.related a:hover .related__body svg { transform: translateX(4px); }
.related a.related--other { background: var(--ink); border-color: var(--ink); }
.related--other .related__body strong { color: #fff; }
.related--other .related__body small { color: rgba(255, 255, 255, .6); }

/* ===== Filigrane du logo dans les sections ===== */
:is(#expertise, #zone, #faq, #methode, #engagements, #presentation, #devis, #autres-services, #autre-metier, #prestations)::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: clamp(240px, 30vw, 440px); aspect-ratio: 1;
  right: -60px; top: 50%; transform: translateY(-50%) rotate(-10deg);
  background: url("../img/dmelecplomberie-6d6f57.jpg") center / contain no-repeat;
  opacity: .08; mix-blend-mode: multiply; filter: grayscale(1) contrast(2.400) brightness(1.150);
}
:is(#faq, #methode, #presentation, #autre-metier)::after { right: auto; left: -60px; transform: translateY(-50%) rotate(8deg); }
#presentation::after { top: auto; bottom: -40px; transform: rotate(8deg); }
.section--dark:is(#expertise, #zone, #engagements)::after { filter: invert(1) grayscale(1) contrast(2.400) brightness(.9); mix-blend-mode: screen; opacity: .07; }
:is(#expertise, #zone, #faq, #methode, #engagements, #presentation, #devis, #autres-services, #autre-metier, #prestations) > .container { position: relative; z-index: 1; }

@media (max-width: 1020px) {
  .article-grid { grid-template-columns: 1fr; }
  .aside { position: static; }
  .cards-grid, .related { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .cards-grid, .related, .gallery { grid-template-columns: 1fr; }
  :is(#expertise, #zone, #faq, #methode, #engagements, #presentation, #devis, #autres-services, #autre-metier, #prestations)::after { width: 220px; opacity: .05; }
}

/* ===== Téléphone ===== */
.nav { margin-left: auto; gap: 22px; }
.nav a:not(.btn), .brand__txt, .brand__txt span { white-space: nowrap; }
.nav a:not(.btn) { font-size: .9rem; }
.nav__cta { padding: 12px 18px; }
.header__tel { display: inline-flex; align-items: center; gap: 9px; color: #fff; text-decoration: none; font-weight: 600; font-size: .94rem; padding: 10px 16px; border: 1.500px solid var(--line-l); border-radius: 999px; white-space: nowrap; transition: border-color .25s, color .25s, background .25s; }
.header__tel svg { width: 17px; height: 17px; color: var(--orange); }
.header__tel:hover { border-color: var(--orange); background: rgba(240, 138, 44, .12); }
.btn svg:first-child:not(:last-child) { order: -1; }
@media (max-width: 1239px) { .header__tel span { display: none; } .header__tel { padding: 12px; } }
@media (max-width: 1020px) { .header__tel { margin-left: auto; width: 46px; height: 46px; justify-content: center; padding: 0; } }

/* ===== Effets de défilement et carrousels ===== */
.scroll-progress { position: fixed; left: 0; top: 0; z-index: 300; width: 100%; height: 3px; background: linear-gradient(90deg, var(--orange), #ffc27a); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .18em 0 .12em; margin: -.18em 0 -.12em; }
.w__i { display: inline-block; will-change: transform; }
.steps { --line: 1; }
.steps::after { content: ""; position: absolute; top: 28px; left: 6%; width: 88%; height: 2px; background: var(--orange); transform: scaleX(var(--line)); transform-origin: left; }
.js-carousel { padding: 14px 4px 48px; margin: -14px -4px 0; }
.js-carousel .swiper-slide { height: auto; }
.swiper-wrapper.cards-grid, .swiper-wrapper.related { display: flex; gap: 0; }
.js-carousel > .swiper-pagination { top: auto; bottom: 0; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.js-carousel .swiper-pagination-progressbar-fill { background: var(--c, var(--orange)); border-radius: 4px; }
.page--b .arrow:hover, .page--o .arrow:hover { background: var(--c); border-color: var(--c); color: #fff; }
@media (max-width: 1020px) { .steps::after { display: none; } }

/* ===== Sous-menus Électricité / Plomberie ===== */
.nav__item { position: relative; display: flex; align-items: center; gap: 2px; }
.nav__toggle { display: grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%; background: none; color: rgba(255, 255, 255, .7); cursor: pointer; transition: transform .25s, color .2s, background .2s; }
.nav__toggle svg { width: 15px; height: 15px; }
.nav__toggle:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.has-sub.is-open > .nav__toggle { transform: rotate(180deg); color: var(--orange); }
.sub__head { display: flex; gap: 12px; align-items: center; padding: 4px 10px 14px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.sub__head strong { display: block; font-family: var(--ff-d); font-size: 1.120rem; color: var(--ink); line-height: 1.2; }
.sub__head small { display: block; color: var(--muted); font-size: .82rem; }
.sub__ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; flex: none; }
.sub__ic svg { width: 22px; height: 22px; }
.sub__ic--o { background: var(--orange); }
.sub__ic--b { background: var(--blue); }
.sub ul { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.nav .sub a:not(.btn) { display: block; padding: 11px 14px; border-radius: 12px; color: var(--ink); font-family: var(--ff); font-size: .95rem; font-weight: 500; white-space: normal; letter-spacing: 0; }
.nav .sub a:not(.btn)::after { display: none; }
.nav .sub a:not(.btn):hover, .nav .sub a[aria-current="page"] { background: var(--cream); }
.nav .sub a[aria-current="page"] strong { color: var(--orange-d); }
.sub a strong { display: block; font-family: var(--ff-d); font-weight: 600; font-size: 1rem; line-height: 1.25; }
.sub a small { display: block; color: var(--muted); font-size: .8rem; font-weight: 400; margin-top: 2px; }
.nav .sub a.sub__all { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding: 13px 16px; background: var(--ink); color: #fff; font-weight: 600; }
.nav .sub a.sub__all:hover { background: var(--orange); color: var(--ink); }
.sub__all svg { width: 18px; height: 18px; }

@media (min-width: 1021px) {
  .sub { position: absolute; z-index: 20; top: calc(100% + 16px); left: 50%; width: 580px; padding: 16px; background: var(--paper); border-radius: 20px; box-shadow: 0 34px 70px -24px rgba(0, 0, 0, .55); opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-50%, 8px); transition: opacity .2s, transform .2s, visibility .2s; }
  .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
  .sub::after { content: ""; position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; background: var(--paper); transform: translateX(-50%) rotate(45deg); border-radius: 3px; }
  .has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.is-open .sub { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
  .has-sub:hover > .nav__toggle { transform: rotate(180deg); color: var(--orange); }
}

@media (max-width: 1020px) {
  .nav { justify-content: flex-start; align-items: stretch; gap: 0; padding: 92px 22px 28px; overflow-y: auto; }
  .nav > a:not(.btn), .nav__item > a { font-size: 1.500rem !important; padding: 14px 0; }
  .nav > a:not(.btn) { border-bottom: 1px solid var(--line-l); }
  .nav > a:not(.btn)::after, .nav__item > a::after { display: none; }
  .nav__item { flex-wrap: wrap; justify-content: space-between; border-bottom: 1px solid var(--line-l); }
  .nav__item > a { flex: 1; }
  .nav__toggle { width: 44px; height: 44px; border: 1.500px solid var(--line-l); }
  .nav__toggle svg { width: 18px; height: 18px; }
  .sub { display: none; width: 100%; padding: 0 0 14px; }
  .has-sub.is-open .sub { display: block; }
  .sub__head { display: none; }
  .sub ul { grid-template-columns: 1fr; }
  .nav .sub a:not(.btn) { color: rgba(255, 255, 255, .9); padding: 10px 12px; }
  .nav .sub a:not(.btn):hover, .nav .sub a[aria-current="page"] { background: rgba(255, 255, 255, .07); }
  .sub a small { color: rgba(255, 255, 255, .5); }
  .nav .sub a.sub__all { background: rgba(240, 138, 44, .15); color: var(--orange); }
  .nav .nav__cta { margin-top: 24px; justify-content: center; }
}

/* Menu mobile : pas de flou sur l'en-tête (il enfermait le menu plein écran dans la barre) */
@media (max-width: 1020px) {
  .header, .header.is-stuck { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .header.is-stuck { background: var(--ink); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* ===================================================================
   Nouveau plan (4 métiers) — ajouts
   =================================================================== */
:root { --heat: #e0533a; --cool: #12a594; --c-o: var(--orange); --c-b: var(--blue); --c-h: var(--heat); --c-k: var(--cool); }
.page--h { --c: var(--heat); }
.page--k { --c: var(--cool); }
.page--h .arrow:hover, .page--k .arrow:hover { background: var(--c); border-color: var(--c); color: #fff; }
.tag--h { background: rgba(224, 83, 58, .14); color: #b23a24; }
.tag--k { background: rgba(18, 165, 148, .14); color: #0b7a6d; }
.chip__ic--h, .sub__ic--h { background: var(--heat); }
.chip__ic--k, .sub__ic--k { background: var(--cool); }
.trade--h { --c: var(--heat); }
.trade--k { --c: var(--cool); }
.card--chauf::before, .card--chauf li::before { background: var(--heat); }
.card--clim::before, .card--clim li::before { background: var(--cool); }
.page--h .jump--light a::before, .page--k .jump--light a::before { background: var(--c); }

/* Accueil : 4 métiers */
.duo--4 { grid-template-columns: 1fr 1fr; }
.trade h3 a { color: inherit; text-decoration: none; }
.trade .checks { --c: inherit; }
.trade .checks a { color: var(--ink); text-decoration: none; transition: color .2s; }
.trade .checks a:hover { color: var(--c); }
.cross--3 { grid-template-columns: repeat(3, 1fr); }

/* Menu « Nos métiers » (méga-menu) */
@media (min-width: 1021px) {
  .nav__item--mega { position: static; }
  .sub--mega { top: calc(100% - 4px); width: min(1000px, calc(100vw - 40px)); padding: 18px; }
  .sub--mega::after { display: none; }
  .mega { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .mega__col { padding: 6px; border-radius: 16px; }
  .mega__col + .mega__col { border-left: 1px solid var(--line); padding-left: 16px; }
  .sub--mega ul { grid-template-columns: 1fr; }
  .nav .sub a.mega__head { display: flex; gap: 12px; align-items: center; padding: 8px 10px 12px; margin-bottom: 6px; border-bottom: 1px solid var(--line); border-radius: 12px 12px 0 0; }
  .mega__head strong { font-size: 1.050rem !important; }
  .nav .sub--mega ul a:not(.btn) { padding: 9px 10px; }
}
@media (max-width: 1020px) {
  .mega__col { padding-top: 6px; }
  .mega__head .sub__ic { width: 30px; height: 30px; border-radius: 9px; }
  .mega__head .sub__ic svg { width: 16px; height: 16px; }
  .nav .sub a.mega__head { display: flex; gap: 10px; align-items: center; font-weight: 600; color: #fff; }
  .mega__head small { display: none !important; }
  .mega ul { padding-left: 40px; }
}

/* Catégorie vide : encart d'expérience (en attendant les articles) */
.empty { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(18px, 3vw, 32px); align-items: center; padding: clamp(24px, 4vw, 40px); border-radius: var(--r); background: var(--paper); border: 1.500px dashed rgba(20, 17, 14, .18); }
.empty__ic { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; color: #fff; background: var(--c, var(--orange)); }
.empty__ic svg { width: 30px; height: 30px; }
.empty h3 { font-size: clamp(1.300rem, 2vw, 1.600rem); font-weight: 700; margin: 12px 0 6px; }
.empty p { color: var(--muted); max-width: 60ch; }
.section__sub { max-width: 40ch; color: var(--muted); }
.section--intro { padding-bottom: clamp(56px, 7vw, 90px); }
.checks--2 { grid-template-columns: 1fr 1fr; gap: 13px 28px; margin-bottom: 0; }
.aside__txt { color: rgba(255, 255, 255, .72); font-size: .95rem; margin: -8px 0 18px; }

/* L'équipe */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 900px; margin-inline: auto; }
.member { display: flex; align-items: center; gap: 22px; padding: 30px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.member__av { width: 86px; height: 86px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-family: var(--ff-d); font-weight: 700; font-size: 1.600rem; border: 3px solid var(--orange); }
.member h3 { font-size: 1.400rem; font-weight: 700; }
.member p { color: var(--muted); margin-top: 4px; }

/* Grille d'articles (thème WordPress : affichée dès qu'une catégorie contient des articles) */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s, border-color .4s; }
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.post:has(a:focus-visible) { outline: 3px solid var(--orange); outline-offset: 3px; }
.post__media { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-3); }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.post:hover .post__media img { transform: scale(1.060); }
.post__media .tag { position: absolute; left: 16px; top: 16px; background: rgba(255, 253, 249, .94); }
.post__body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 24px 26px 26px; }
.post__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .84rem; font-weight: 500; color: var(--muted); }
.post h3 { font-size: 1.300rem; font-weight: 700; line-height: 1.2; margin: 12px 0 10px; }
.post h3 a { color: inherit; text-decoration: none; }
.post h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.post p { color: var(--muted); font-size: .95rem; }
.post__more { margin-top: auto; padding-top: 20px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .94rem; color: var(--ink); }
.post--featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.250fr 1fr; }
.post--featured .post__media { aspect-ratio: auto; min-height: 400px; }
.post--featured .post__body { justify-content: center; padding: clamp(28px, 4vw, 52px); }

/* Contenu des articles générés par Lina (thème WordPress : the_content()) */
.entry { max-width: 72ch; font-size: 1.040rem; }
.entry > * + * { margin-top: 18px; }
.entry p, .entry li, .entry td { color: var(--muted); }
.entry strong { color: var(--ink); }
.entry h2 { font-size: clamp(1.550rem, 2.600vw, 2rem); margin-top: 52px; scroll-margin-top: 110px; }
.entry h3 { font-size: 1.250rem; font-weight: 700; margin-top: 32px; }
.entry ul, .entry ol { display: grid; gap: 10px; }
.entry ul li { position: relative; padding-left: 26px; }
.entry ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--orange)); }
.entry a { color: var(--ink); font-weight: 600; text-decoration-color: var(--c, var(--orange)); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.entry figure { margin: 34px 0; }
.entry figure img { width: 100%; height: auto; border-radius: 20px; box-shadow: var(--shadow); }
.entry table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 28px 0; font-size: .94rem; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.entry thead th { background: var(--ink); color: #fff; text-align: left; font-weight: 600; padding: 14px 18px; }
.entry td { padding: 13px 18px; border-top: 1px solid var(--line); vertical-align: top; }

@media (max-width: 1020px) {
  .cross--3 { grid-template-columns: 1fr; }
  .posts { grid-template-columns: 1fr 1fr; }
  .post--featured { grid-template-columns: 1fr; }
  .post--featured .post__media { min-height: 0; aspect-ratio: 16 / 10; }
  .section__head--row:has(.section__sub) { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 700px) {
  .duo--4, .team, .checks--2, .posts { grid-template-columns: 1fr; }
  .empty { grid-template-columns: 1fr; justify-items: start; }
  .member { padding: 24px; }
  .entry table { display: block; overflow-x: auto; }
}

/* Section sombre suivie du bandeau final : on garde de l'air entre les deux */
.section--dark + .section--cta { padding-top: clamp(80px, 10vw, 140px); }

/* Pages légales */
.hero--plain .hero__in { grid-template-columns: 1fr; }
.hero--plain .hero__txt { max-width: 760px; }
.legal { max-width: 820px; }
.legal h2 { font-size: clamp(1.400rem, 2.200vw, 1.750rem); margin: 44px 0 12px; }
.legal h2:first-child, .legal__date + h2 { margin-top: 0; }
.legal p { color: var(--muted); margin-top: 12px; }
.legal a { color: var(--ink); font-weight: 600; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.legal__date { font-size: .9rem; margin: 0 0 36px !important; }
.todo { display: inline-block; padding: 4px 10px; border-radius: 8px; background: rgba(240, 138, 44, .16); color: #a9540c; font-weight: 600; font-size: .92rem; }
.cross a span { display: block; }
/* Accueil : bouton « Découvrir l'équipe » dans le bloc équipe */
.split__cta { margin: 26px 0 4px; }
/* Accueil : titre principal plus long (4 métiers) */
.hero h1.h1--home { font-size: clamp(2.300rem, 4.300vw, 3.700rem); }

/* ===== Article de chantier ===== */
.post-cat { text-decoration: none; margin-bottom: 18px; }
.hero--post h1 { font-size: clamp(2.100rem, 4.400vw, 3.500rem); }
.post-facts { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 24px; color: rgba(255, 255, 255, .72); font-size: .96rem; font-weight: 500; }
.post-facts li { display: inline-flex; align-items: center; gap: 8px; }
.post-facts svg { color: var(--c, var(--orange)); }
.prose .checks { margin: 20px 0 0; }

/* ===== Contenu des articles (HTML généré par Lina, stylé sans retouche) ===== */
.entry { max-width: 72ch; color: var(--text); font-size: 1.040rem; }
.entry > * + * { margin-top: 18px; }
.entry p { color: var(--muted); }
.entry strong { color: var(--ink); }
.entry h2 { font-size: clamp(1.550rem, 2.600vw, 2rem); margin-top: 52px; scroll-margin-top: 110px; }
.entry h3 { font-size: 1.250rem; font-weight: 700; margin-top: 32px; }
.entry h2 + p, .entry h3 + p, .entry h2 + h3 { margin-top: 12px; }
.entry ul, .entry ol { display: grid; gap: 10px; padding-left: 0; }
.entry ul li { position: relative; padding-left: 26px; color: var(--muted); }
.entry ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--orange)); }
.entry ol { counter-reset: n; }
.entry ol li { position: relative; padding-left: 36px; color: var(--muted); counter-increment: n; }
.entry ol li::before { content: counter(n); position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; font-weight: 700; color: #fff; background: var(--c, var(--orange)); }
.entry a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--c, var(--orange)); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.entry figure, .entry .upweb-figure { margin: 34px 0; }
.entry figure img, .entry > p > img { width: 100%; height: auto; border-radius: 20px; box-shadow: var(--shadow); }
.entry figcaption { font-size: .85rem; color: var(--muted); margin-top: 10px; }
.entry table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 28px 0; font-size: .94rem; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.entry thead th { background: var(--ink); color: #fff; text-align: left; font-weight: 600; padding: 14px 18px; white-space: nowrap; }
.entry td { padding: 13px 18px; border-top: 1px solid var(--line); color: var(--muted); vertical-align: top; }
.entry tbody tr:nth-child(even) td { background: rgba(20, 17, 14, .025); }
.entry blockquote { margin: 28px 0; padding: 18px 22px; border-left: 3px solid var(--c, var(--orange)); background: var(--paper); border-radius: 0 14px 14px 0; }
.toc { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 22px 24px; margin-bottom: 18px; }
.toc__title { font-family: var(--ff-d); font-weight: 700; color: var(--ink); font-size: 1.050rem; margin-bottom: 12px; }
.toc ol { display: grid; gap: 4px; counter-reset: t; }
.toc li { counter-increment: t; }
.toc a { display: flex; gap: 10px; padding: 7px 0; font-size: .9rem; line-height: 1.35; color: var(--muted); text-decoration: none; transition: color .2s; }
.toc a::before { content: counter(t, decimal-leading-zero); font-weight: 700; color: var(--c, var(--orange)); font-size: .8rem; padding-top: 1px; }
.toc a:hover { color: var(--ink); }
.hero--post .hero__img img { object-position: center; }
@media (max-width: 1020px) { .toc { display: none; } }
@media (max-width: 700px) { .entry table { display: block; overflow-x: auto; } }

@media (max-width: 1020px) {
  .posts { grid-template-columns: 1fr 1fr; }
  .post--featured { grid-template-columns: 1fr; }
  .post--featured .post__media { min-height: 0; aspect-ratio: 16 / 10; }
  .section__head--row:has(.section__sub) { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 700px) {
  .posts { grid-template-columns: 1fr; }
  .checks--2 { grid-template-columns: 1fr; }
  .post__body { padding: 22px 22px 24px; }
}

/* ===== Intégration Divi : les sections Divi s'effacent derrière la maquette ===== */
body.dm { font-family: var(--ff); color: var(--text); background: var(--cream); font-size: 17px; line-height: 1.65; font-weight: 400; }
body.dm .container { max-width: none; text-align: inherit; }
body.dm :is(h1, h2, h3, h4, h5, h6) { padding-bottom: 0; }
body.dm p { padding-bottom: 0; }
body.dm .et_pb_section.dm-sec { padding: 0 !important; background: transparent !important; }
body.dm .dm-sec > .et_pb_row, body.dm .et_pb_row.dm-row { width: 100% !important; max-width: none !important; padding: 0 !important; margin: 0 !important; }
body.dm .dm-sec .et_pb_column { width: 100% !important; margin: 0 !important; padding: 0 !important; }
body.dm .dm-sec .et_pb_module.dm-code { margin: 0 !important; padding: 0 !important; }
body.dm .et_pb_code_inner { position: static; }
.section--cta.section--after-dark { padding-top: clamp(80px, 10vw, 140px); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__status--error { background: rgba(214, 69, 50, .12); color: #9b2c1c; }
body.admin-bar .header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .header { top: 46px; } }
/* Bannière cookies (Complianz) aux couleurs du site — Refuser aussi visible qu'Accepter (CNIL) */
.cmplz-cookiebanner { font-family: var(--ff) !important; border-radius: 22px !important; box-shadow: 0 30px 70px -24px rgba(20, 17, 14, .55) !important; background: var(--paper) !important; color: var(--text) !important; }
.cmplz-cookiebanner .cmplz-title { font-family: var(--ff-d) !important; font-weight: 700 !important; font-size: 1.100rem !important; color: var(--ink) !important; }
.cmplz-cookiebanner .cmplz-message, .cmplz-cookiebanner .cmplz-message p { color: var(--muted) !important; font-size: .9rem !important; line-height: 1.55 !important; }
.cmplz-cookiebanner .cmplz-btn { border-radius: 999px !important; font-family: var(--ff) !important; font-weight: 600 !important; border: 1.500px solid transparent !important; transition: background .2s, color .2s !important; }
.cmplz-cookiebanner .cmplz-btn.cmplz-accept { background: var(--orange) !important; border-color: var(--orange) !important; color: var(--ink) !important; }
.cmplz-cookiebanner .cmplz-btn.cmplz-deny { background: var(--ink) !important; border-color: var(--ink) !important; color: #fff !important; }
.cmplz-cookiebanner .cmplz-btn.cmplz-view-preferences, .cmplz-cookiebanner .cmplz-btn.cmplz-save-preferences { background: transparent !important; border-color: rgba(20, 17, 14, .22) !important; color: var(--ink) !important; }
.cmplz-cookiebanner .cmplz-links a, .cmplz-cookiebanner a.cmplz-link { color: var(--orange-d) !important; }
.cmplz-cookiebanner .cmplz-close { color: var(--ink) !important; }
#cmplz-manage-consent .cmplz-manage-consent { background: var(--ink) !important; color: #fff !important; font-family: var(--ff) !important; border-radius: 12px 12px 0 0 !important; }
/* Éditeur visuel Divi : tout reste visible pendant l'édition */
body.et-fb .hero-anim, body.et-fb .hero-anim-visual { animation: none !important; opacity: 1 !important; transform: none !important; }
