/* Etiquimpact — page de demonstration
   Grille de reference : 1440 px (mockup 1122 px x 1,283) */

:root {
  --magenta: #E2047C;
  --magenta-dark: #C2006A;
  --cyan: #009FE0;
  --lime: #A6C22D;
  --yellow: #FDD404;
  --ink: #0F1012;
  --text: #2E3035;
  --muted: #6C6F76;
  --soft: #F5F6F7;
  --grey: #F3F4F6;
  --footer: #1A1C1F;
  --footer-line: #2F3236;

  --f-title: "Barlow", system-ui, sans-serif;
  --f-ui: "Barlow", system-ui, sans-serif;
  --f-text: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-hand: "Nothing You Could Do", cursive;

  --container: 1292px;
  --gutter: 24px;
  --header-h: 80px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow-card: 0 1px 2px rgba(15, 16, 18, .04), 0 6px 18px rgba(15, 16, 18, .06);
  --shadow-card-hover: 0 4px 10px rgba(15, 16, 18, .06), 0 22px 44px rgba(15, 16, 18, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--f-text);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
section[id], footer[id] { scroll-margin-top: 70px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.accent { color: var(--magenta); }

/* ---------- Typo commune ---------- */
.eyebrow {
  font-family: var(--f-ui);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--magenta);
}
.h2 {
  font-family: var(--f-title);
  font-weight: 800;
  font-size: 40px;
  line-height: 1.05;
  letter-spacing: 0;
  color: var(--ink);
}
.h2--md { font-size: 34.5px; line-height: 36px; }
.h2--sm { font-size: 31.2px; line-height: 34px; }

/* ---------- Boutons ---------- */
.btn {
  --bh: 56px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: var(--bh);
  padding: 0 28px 0 26px;
  border-radius: 999px;
  background: var(--magenta);
  color: #fff;
  font-family: var(--f-title);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0;
  white-space: nowrap;
  box-shadow: 0 8px 22px -8px rgba(226, 4, 124, .55);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
  isolation: isolate;
  overflow: hidden;
}
.btn::after { /* reflet au survol */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease);
  z-index: -1;
}
.btn:hover { background: var(--magenta-dark); transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(226, 4, 124, .7); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid rgba(226, 4, 124, .35); outline-offset: 3px; }
.btn svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.btn__doc { width: 24px; height: 24px; }
.btn__arrow { width: 20px; height: 20px; margin-left: 10px; transition: transform .3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--sm { --bh: 44px; gap: 12px; padding: 0 22px 0 22px; font-size: 16px; }
.btn--sm .btn__doc { width: 21px; height: 21px; }
.btn--sm .btn__arrow { width: 18px; height: 18px; margin-left: 8px; }
.btn--lg { --bh: 55px; padding: 0 30px 0 32px; font-size: 20px; gap: 16px; }
.btn--md { --bh: 56px; padding: 0 30px 0 34px; font-size: 20px; gap: 16px; }

/* ---------- Logo ---------- */
.brand { display: block; flex: none; }
.brand__logo { width: 100%; height: auto; overflow: visible; }
.brand__e { stroke: var(--ink); }
.brand__word {
  font-family: "Barlow", system-ui, sans-serif;
  font-weight: 700;
  font-size: 27.5px;
  fill: var(--ink);
}
.brand--footer .brand__e { stroke: #fff; }
.brand--footer .brand__word { fill: #fff; }

/* ---------- En-tete ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 1px 0 rgba(15, 16, 18, .05), 0 10px 24px -18px rgba(15, 16, 18, .25);
  transition: height .35s var(--ease), background-color .35s var(--ease), box-shadow .35s var(--ease);
}
@supports (backdrop-filter: blur(10px)) {
  .site-header { background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
}
.site-header__inner { position: relative; height: 100%; display: flex; align-items: center; }
.site-header .brand {
  position: absolute;
  left: calc(var(--gutter) - 4px);
  top: 4px;
  width: 282px;
  transform-origin: 0 0;
  transition: transform .4s var(--ease);
  z-index: 2;
}
.nav { margin-left: 340px; }
.nav__list { display: flex; justify-content: space-between; width: 584px; }
.nav__link {
  position: relative;
  display: block;
  padding: 8px 0;
  font-family: var(--f-text);
  font-size: 12.6px;
  color: #26282C;
  transition: color .25s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--magenta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav__link:hover { color: var(--magenta); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { font-weight: 700; color: var(--ink); }
.site-header__cta { margin-left: auto; margin-right: -2px; }

.site-header.is-scrolled { height: 68px; box-shadow: 0 1px 0 rgba(15, 16, 18, .06), 0 14px 30px -18px rgba(15, 16, 18, .3); }
.site-header.is-scrolled .brand { transform: translateY(-2px) scale(.62); }

.burger { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 459px;
  background: linear-gradient(180deg, #fff 0%, #fff 62%, #F5F7F8 100%);
  overflow: hidden;
}
.hero__visual {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: auto;
  max-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.6) 5%, #000 11%);
          mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.6) 5%, #000 11%);
}
.hero__inner { position: relative; height: 100%; }
.hero__copy { padding-top: 53px; max-width: 600px; }
.hero__title {
  font-family: var(--f-title);
  font-weight: 800;
  font-size: 56px;
  line-height: 54px;
  letter-spacing: -.004em;
  color: var(--ink);
}
.hero__lead {
  margin-top: 16px;
  font-size: 18.4px;
  line-height: 22.5px;
  color: #222428;
}
.hero__lead strong { font-weight: 700; color: var(--ink); }
.hero__copy .btn { margin-top: 20px; }
.assurances { display: flex; gap: 0; margin-top: 23px; }
.assurances li { display: flex; align-items: center; gap: 13px; }
.assurances li:nth-child(1) { width: 222px; }
.assurances li:nth-child(2) { width: 195px; }
.assurances__ico { width: 34px; height: 34px; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.assurances__ico.is-cyan { stroke: var(--cyan); }
.assurances__ico.is-magenta { stroke: var(--magenta); }
.assurances span { font-size: 14.1px; line-height: 19.5px; color: #3A3C41; }
.assurances b { display: block; font-family: var(--f-text); font-weight: 700; font-size: 14.5px; color: var(--ink); }

/* ---------- Atouts ---------- */
.atouts { background: var(--soft); }
.atouts__grid { display: grid; grid-template-columns: 340px 343px 324px 1fr; padding-block: 26px 21px; padding-left: calc(var(--gutter) + 4px); }
.atout { position: relative; display: flex; gap: 18px; }
.atout + .atout::before {
  content: "";
  position: absolute;
  left: -26px; top: 12px; bottom: 6px;
  width: 1px;
  background: #DCDEE1;
}
.atout__ico {
  width: 84px; height: 84px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: transform .5s var(--ease);
}
.atout:hover .atout__ico { transform: rotate(-8deg) scale(1.05); }
.atout__ico svg { width: 40px; height: 40px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.atout__ico svg.is-filled { fill: #fff; stroke: none; width: 44px; height: 44px; }
.atout__ico.is-magenta { background: var(--magenta); box-shadow: 0 10px 22px -12px var(--magenta); }
.atout__ico.is-cyan { background: var(--cyan); box-shadow: 0 10px 22px -12px var(--cyan); }
.atout__ico.is-lime { background: var(--lime); box-shadow: 0 10px 22px -12px var(--lime); }
.atout__ico.is-yellow { background: var(--yellow); box-shadow: 0 10px 22px -12px #d4b000; }
.atout__title { margin-top: 9px; font-family: var(--f-title); font-weight: 600; font-size: 17.4px; line-height: 1.2; color: var(--ink); }
.atout p { margin-top: 6px; font-size: 13.4px; line-height: 18.7px; color: #5E6168; }

/* ---------- Produits ---------- */
.produits { padding-top: 34px; background: #fff; }
.produits__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.produits__head .h2 { margin-top: 1px; }
.produits__intro { margin-right: 26px; padding-bottom: 6px; font-size: 15.2px; line-height: 19.8px; color: #55585E; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; margin-top: 18px; }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 6px;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-card);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.card__media {
  position: relative;
  aspect-ratio: 304 / 162;
  border-radius: 7px;
  overflow: hidden;
  isolation: isolate;
  transform: translateZ(0);
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { position: relative; padding: 13px 10px 16px 12px; flex: 1; }
.card__title { font-family: var(--f-title); font-weight: 600; font-size: 17.2px; line-height: 1.2; color: var(--ink); }
.card__body p { margin-top: 7px; padding-right: 50px; font-size: 14.2px; line-height: 19px; color: #5E6168; }
.card__go {
  position: absolute;
  right: 12px; bottom: 16px;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1.6px solid var(--c);
  color: var(--c);
  transition: background-color .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.card__go svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.card:hover .card__go { background: var(--c); color: #fff; }
.card:hover .card__go svg { transform: translateX(2px); }
.card__go::before { content: ""; position: absolute; inset: -12px; } /* zone de clic confortable */

/* ---------- Secteurs ---------- */
.secteurs { position: relative; z-index: 2; padding-top: 27px; }
.secteurs__inner { display: grid; grid-template-columns: 441px 1fr; align-items: start; }
.secteurs__head { padding-top: 19px; }
.secteurs__head .h2 { margin-top: 9px; }
.sectors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.sector {
  position: relative;
  aspect-ratio: 205 / 204;
  border-radius: 9px;
  overflow: hidden;
  isolation: isolate;
  background: #F6F5F4;
  box-shadow: 0 1px 2px rgba(15,16,18,.04), 0 8px 20px -10px rgba(15,16,18,.12);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.sector:hover { transform: translateY(-5px); box-shadow: 0 4px 10px rgba(15,16,18,.06), 0 22px 40px -14px rgba(15,16,18,.22); }
.sector__media { position: absolute; inset: 0 0 auto 0; height: 51%; overflow: hidden; }
.sector__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.sector:hover .sector__media img { transform: scale(1.07); }
.sector__body {
  position: absolute;
  inset: 46.5% 0 0 0;
  padding: 27px 6px 0;
  text-align: center;
  background: linear-gradient(180deg, rgba(246, 245, 244, .78) 0%, rgba(244, 243, 242, .94) 22%, #F3F2F2 100%);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}
.sector__body h3 { font-family: var(--f-ui); font-weight: 700; font-size: 14.4px; line-height: 1.2; color: var(--ink); }
.sector__body p { margin-top: 3px; font-size: 13.4px; line-height: 17.6px; color: #4F5258; }
.sector__ico {
  position: absolute;
  left: 50%; top: 46.5%;
  width: 54px; height: 54px;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 6px 16px -8px rgba(15,16,18,.3);
  transition: background-color .35s var(--ease);
}
.sector__ico svg { width: 25px; height: 25px; fill: none; stroke: #1B1D20; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke .35s var(--ease); }
.sector:hover .sector__ico { background: var(--magenta); }
.sector:hover .sector__ico svg { stroke: #fff; }

/* ---------- Engagement ---------- */
.engagement {
  position: relative;
  margin-top: -14px;
  padding: 60px 0 18px;
  background: linear-gradient(180deg, #F2F3F5 0%, #F4F5F6 100%);
}
.engagement__wave { position: absolute; top: 0; left: 0; width: 100%; height: 72px; fill: #fff; z-index: 1; }
.engagement__fan {
  position: absolute;
  left: 0; bottom: 0;
  width: 413px;
  height: auto;
  max-width: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(90deg, #000 70%, transparent 100%);
          mask-image: linear-gradient(90deg, #000 70%, transparent 100%);
}
.engagement__inner { position: relative; z-index: 2; display: flex; align-items: flex-start; }
.engagement__copy { margin-left: 343px; width: 430px; flex: none; }
.engagement__copy .h2 { margin-top: 12px; }
.engagement__text { margin-top: 10px; font-size: 15px; line-height: 20.6px; color: #43464C; }
.pledges { display: grid; grid-template-columns: 132px 143px 142px 140px; margin-left: auto; margin-right: -41px; width: 557px; padding-top: 28px; }
.pledge { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.pledge + .pledge::before { content: ""; position: absolute; left: 0; top: 23px; height: 96px; width: 1px; background: #D6D9DD; }
.pledge__ico {
  width: 68px; height: 68px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 22px -14px rgba(15,16,18,.35);
  transition: background-color .35s var(--ease), transform .45s var(--ease);
}
.pledge__ico svg { width: 33px; height: 33px; fill: none; stroke: var(--lime); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .35s var(--ease); }
.pledge:hover .pledge__ico { background: var(--lime); transform: translateY(-4px); }
.pledge:hover .pledge__ico svg { stroke: #fff; }
.pledge b { margin-top: 12px; font-family: var(--f-ui); font-weight: 700; font-size: 14.4px; line-height: 19.5px; color: var(--ink); }

/* ---------- Generateur de devis ---------- */
.dg { position: relative; padding: 92px 0 104px; background: linear-gradient(180deg, #fff 0%, #FBFBFC 100%); }
.dg__head { max-width: 720px; margin: 0 auto 46px; text-align: center; }
.dg__head .h2 { margin-top: 8px; }
.dg__intro { margin-top: 14px; font-size: 17px; line-height: 1.5; color: #55585E; }
.dg__grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; align-items: start; }
.dg__form { display: grid; gap: 18px; }
.dg__step {
  min-width: 0;
  margin: 0;
  padding: 26px 28px 28px;
  border: 1px solid #ECEEF1;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 16, 18, .03), 0 10px 26px -18px rgba(15, 16, 18, .18);
}
.dg__step legend {
  float: left;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding: 0;
  font-family: var(--f-title);
  font-weight: 700;
  font-size: 19px;
  color: var(--ink);
}
.dg__step legend + * { clear: both; }
.dg__num { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--magenta); color: #fff; font-size: 14px; font-weight: 700; }

/* tuiles de choix */
.dg__tiles { display: grid; gap: 12px; }
.dg__tiles--5 { grid-template-columns: repeat(5, 1fr); }
.dg__tiles--support { grid-template-columns: repeat(3, 1fr); }
.tile { position: relative; display: block; cursor: pointer; }
.tile input, .chip input, .dg__check input { position: absolute; opacity: 0; pointer-events: none; }
.tile__box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 100%;
  min-height: 108px;
  padding: 16px 10px;
  border: 1.5px solid #E3E5E8;
  border-radius: 12px;
  background: #fff;
  text-align: center;
  transition: border-color .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.tile__box b { font-family: var(--f-ui); font-weight: 600; font-size: 14.5px; line-height: 1.2; color: var(--ink); }
.tile__box small { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.35; color: #6C6F76; }
.tile:hover .tile__box { border-color: #C9CCD1; transform: translateY(-2px); }
.tile input:checked + .tile__box { border-color: var(--magenta); background: rgba(226, 4, 124, .035); box-shadow: 0 0 0 3px rgba(226, 4, 124, .12); }
.tile input:focus-visible + .tile__box, .chip input:focus-visible + span, .dg__check input:focus-visible + .dg__box { outline: 3px solid rgba(226, 4, 124, .35); outline-offset: 2px; }
.tile__ico { width: 28px; height: 28px; fill: none; stroke: #2B2D31; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke .25s var(--ease); }
.tile input:checked + .tile__box .tile__ico { stroke: var(--magenta); }
.tile--row .tile__box { flex-direction: row; justify-content: flex-start; gap: 14px; min-height: 78px; padding: 14px 16px; text-align: left; }
.tile__tag { position: absolute; top: -9px; right: 10px; display: none; padding: 3px 8px; border-radius: 999px; background: var(--lime); color: #fff; font-family: var(--f-ui); font-style: normal; font-weight: 700; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; }
.tile.is-reco .tile__tag { display: block; }

.shape { display: block; width: calc(var(--w) * .5px); height: calc(var(--h) * .5px); border: 2px solid #A2A6AC; border-radius: 4px; background: #F5F6F7; transition: border-color .25s var(--ease), background-color .25s var(--ease); }
.shape--round { border-radius: 50%; }
.shape--custom { border-style: dashed; border-radius: 10px 4px 10px 4px; }
.tile input:checked + .tile__box .shape { border-color: var(--magenta); background: rgba(226, 4, 124, .08); }

.swatch { flex: none; width: 36px; height: 36px; border-radius: 9px; box-shadow: inset 0 0 0 1px rgba(15, 16, 18, .1); }
.swatch--couche { background: linear-gradient(135deg, #fff 0%, #F1F3F6 100%); }
.swatch--kraft { background: radial-gradient(circle at 30% 30%, #D5B489, #B88D5A 70%); }
.swatch--vinyle { background: linear-gradient(135deg, #fff 0%, #E3F0FA 100%); }
.swatch--transparent { background: conic-gradient(#E6E8EB 25%, #fff 0 50%, #E6E8EB 0 75%, #fff 0) 0 0 / 12px 12px; }
.swatch--polyester { background: linear-gradient(135deg, #F4F5F7 0%, #B9BEC6 45%, #EEF0F3 60%, #9CA2AB 100%); }

.dg__custom { display: flex; align-items: flex-end; gap: 12px; margin-top: 16px; }
.dg__custom[hidden] { display: none; }
.dg__custom label { display: grid; gap: 6px; font-family: var(--f-ui); font-weight: 600; font-size: 13px; color: #55585E; }
.dg__x { padding-bottom: 13px; color: #9A9DA3; }

.dg__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border: 1.5px solid #E3E5E8; border-radius: 999px; background: #fff; font-family: var(--f-ui); font-weight: 600; font-size: 14.5px; color: #2B2D31; transition: border-color .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease); }
.chip:hover span { border-color: #C9CCD1; }
.chip input:checked + span { border-color: var(--magenta); background: rgba(226, 4, 124, .06); color: var(--magenta); }
.dg__check { position: relative; display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 14.5px; color: #2B2D31; cursor: pointer; }
.dg__check small { color: #8A8D93; }
.dg__box { position: relative; width: 20px; height: 20px; flex: none; border: 1.5px solid #C9CCD1; border-radius: 6px; transition: background-color .2s var(--ease), border-color .2s var(--ease); }
.dg__check input:checked + .dg__box { border-color: var(--magenta); background: var(--magenta); }
.dg__check input:checked + .dg__box::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

.dg__qty { display: flex; align-items: baseline; gap: 8px; }
.dg__qty-val { font-family: var(--f-title); font-weight: 800; font-size: 34px; line-height: 1; color: var(--ink); }
.dg__qty-unit { font-size: 15px; color: #6C6F76; }
.dg__range { --p: 33.3%; width: 100%; height: 28px; margin: 14px 0 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.dg__range::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--magenta) var(--p), #E6E8EB var(--p)); }
.dg__range::-moz-range-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--magenta) var(--p), #E6E8EB var(--p)); }
.dg__range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border: 3px solid var(--magenta); border-radius: 50%; background: #fff; box-shadow: 0 4px 12px rgba(226, 4, 124, .35); }
.dg__range::-moz-range-thumb { width: 18px; height: 18px; border: 3px solid var(--magenta); border-radius: 50%; background: #fff; box-shadow: 0 4px 12px rgba(226, 4, 124, .35); }
.dg__range:focus-visible { outline: none; }
.dg__range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 6px rgba(226, 4, 124, .2); }
.dg__ticks { display: flex; justify-content: space-between; margin-top: 6px; font-size: 12px; color: #8A8D93; }
.dg__duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.dg__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field > span { font-family: var(--f-ui); font-weight: 600; font-size: 13.5px; color: #2B2D31; }
.field input, .dg__custom input {
  height: 50px;
  padding: 0 16px;
  border: 1.5px solid #E0E3E7;
  border-radius: 10px;
  background: #FAFAFB;
  font-family: var(--f-text);
  font-size: 15.5px;
  color: var(--ink);
  outline: none;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.dg__custom input { width: 130px; }
.field input:focus, .dg__custom input:focus { border-color: var(--magenta); background: #fff; box-shadow: 0 0 0 4px rgba(226, 4, 124, .12); }
.field.is-error input { border-color: #E5484D; box-shadow: 0 0 0 4px rgba(229, 72, 77, .12); }

/* carte d'estimation */
.estimate { position: sticky; top: 96px; }
.estimate__card {
  position: relative;
  overflow: hidden;
  padding: 32px 30px 26px;
  border-radius: 20px;
  background: radial-gradient(120% 80% at 100% 0%, rgba(226, 4, 124, .22), transparent 55%), #121316;
  color: #fff;
  box-shadow: 0 30px 60px -28px rgba(15, 16, 18, .65);
}
.estimate__card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--magenta), var(--cyan) 40%, var(--lime) 72%, var(--yellow)); }
.estimate__label { font-family: var(--f-ui); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .65); }
.estimate__price { display: flex; align-items: baseline; gap: 10px; margin-top: 8px; font-family: var(--f-title); font-weight: 800; font-size: 54px; line-height: 1; letter-spacing: -.01em; }
.estimate__price small { font-size: 20px; font-weight: 600; color: rgba(255, 255, 255, .75); }
.estimate__price.is-bump span { animation: bump .45s var(--ease); }
@keyframes bump { 0% { opacity: .35; transform: translateY(6px); } 100% { opacity: 1; transform: none; } }
.estimate__price span { display: inline-block; }
.estimate__unit { margin-top: 10px; font-size: 14px; color: rgba(255, 255, 255, .72); }
.estimate__unit b { color: #fff; }
.estimate__lines { margin-top: 22px; }
.estimate__lines li { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; color: rgba(255, 255, 255, .8); }
.estimate__lines li b { flex: none; font-weight: 500; color: #fff; }
.estimate__lines li .is-free { color: var(--lime); }
.estimate__delay { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .06); font-size: 14px; color: rgba(255, 255, 255, .8); }
.estimate__delay svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--lime); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.estimate__delay b { color: #fff; font-weight: 600; }
.btn--block { width: 100%; justify-content: center; margin-top: 20px; }
.btn--block .btn__arrow { margin-left: 4px; }
.estimate__error { margin-top: 12px; font-size: 13.5px; color: #FF9CCB; }
.estimate__error[hidden] { display: none; }
.estimate__note { margin-top: 14px; font-size: 12px; line-height: 1.45; color: rgba(255, 255, 255, .5); }

/* devis genere */
.quote { position: fixed; inset: 0; z-index: 210; overflow: auto; padding: 26px 20px 60px; background: rgba(12, 13, 16, .62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.quote[hidden] { display: none; }
.quote-open body { overflow: hidden; }
.quote-open .fab { opacity: 0 !important; pointer-events: none !important; }
.quote__wrap { max-width: 860px; margin: 0 auto; }
.quote__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.quote__bar-right { display: flex; flex-wrap: wrap; gap: 10px; }
.quote__btn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 20px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .96); color: var(--ink); font-family: var(--f-title); font-weight: 600; font-size: 15.5px; cursor: pointer; transition: transform .25s var(--ease), background-color .25s var(--ease); }
.quote__btn:hover { transform: translateY(-1px); background: #fff; }
.quote__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#quote-edit svg { transform: rotate(180deg); }
.quote__btn--main { background: var(--magenta); color: #fff; box-shadow: 0 10px 24px -10px rgba(226, 4, 124, .8); }
.quote__btn--main:hover { background: var(--magenta-dark); }
.quote__btn--main svg { fill: #fff; stroke: none; }
.quote__paper { padding: 54px 58px 46px; border-radius: 6px; background: #fff; color: #26282C; font-size: 14px; line-height: 1.5; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .6); animation: gate-in .6s var(--ease) backwards; }
.quote__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding-bottom: 24px; border-bottom: 3px solid transparent; border-image: linear-gradient(90deg, var(--magenta), var(--cyan), var(--lime), var(--yellow)) 1; }
.quote__logo { width: 210px; height: auto; overflow: visible; }
.quote__id { text-align: right; }
.quote__id h3 { font-family: var(--f-title); font-weight: 800; font-size: 34px; line-height: 1; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.quote__id p { margin-top: 6px; font-size: 13.5px; color: #55585E; }
.quote__id b { color: var(--ink); }
.quote__parties { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 28px; }
.quote__h { margin-bottom: 6px; font-family: var(--f-ui); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--magenta); }
.quote__spec { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 20px; margin-top: 26px; padding: 18px 20px; border-radius: 10px; background: #F6F7F8; }
.quote__spec span { display: block; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: #8A8D93; }
.quote__spec b { font-weight: 600; color: var(--ink); }
.quote__table { width: 100%; margin-top: 26px; border-collapse: collapse; }
.quote__table th { padding: 10px 8px; border-bottom: 2px solid var(--ink); font-family: var(--f-ui); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-align: left; text-transform: uppercase; color: #55585E; }
.quote__table td { padding: 13px 8px; border-bottom: 1px solid #ECEEF1; vertical-align: top; }
.quote__table th:not(:first-child), .quote__table td:not(:first-child) { text-align: right; white-space: nowrap; }
.quote__table td small { display: block; margin-top: 2px; font-size: 12.5px; color: #8A8D93; }
.quote__table .is-free { color: #6E8F12; font-weight: 600; }
.quote__totals { width: 310px; margin: 18px 0 0 auto; }
.quote__totals p { display: flex; justify-content: space-between; padding: 7px 8px; }
.quote__totals .quote__ttc { margin-top: 6px; padding-top: 12px; border-top: 2px solid var(--ink); font-family: var(--f-title); font-weight: 800; font-size: 21px; color: var(--ink); }
.quote__ttc b { color: var(--magenta); }
.quote__foot { margin-top: 34px; font-size: 12.5px; line-height: 1.6; color: #6C6F76; }
.quote__foot b { color: var(--ink); }
.quote__sign { margin-top: 18px; height: 86px; padding: 10px 14px; border: 1px dashed #CFD2D7; border-radius: 8px; }

@media print {
  @page { size: A4; margin: 12mm; }
  .print-quote body { background: #fff !important; overflow: visible !important; }
  .print-quote .site-header, .print-quote .footer, .print-quote .gate, .print-quote .fab, .print-quote main > *:not(.quote) { display: none !important; }
  .print-quote .quote { position: static; padding: 0; overflow: visible; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .print-quote .quote__bar { display: none; }
  .print-quote .quote__wrap { max-width: none; }
  .print-quote .quote__paper { padding: 0; box-shadow: none; border-radius: 0; animation: none; }
  .print-quote * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ---------- Bandeau devis ---------- */
.devis {
  position: relative;
  background: #2A2B2F url("../img/bandeau-devis.webp") center / cover no-repeat;
  color: #fff;
}
.devis::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,21,24,.2), rgba(20,21,24,.05) 55%, rgba(20,21,24,.25)); }
.devis__inner { position: relative; display: flex; align-items: center; height: 94px; }
.devis__title { position: relative; margin-left: 26px; margin-bottom: 10px; padding-left: 30px; }
.devis__title::before { content: ""; position: absolute; left: 0; top: -3px; bottom: -4px; width: 3px; border-radius: 2px; background: var(--magenta); }
.devis__title .eyebrow { font-size: 14px; letter-spacing: .1em; }
.devis__title h2 { margin-top: 2px; font-family: var(--f-title); font-weight: 800; font-size: 28.3px; line-height: 1.1; }
.devis__text { margin-left: auto; margin-right: 88px; font-size: 13.5px; line-height: 18px; color: rgba(255,255,255,.9); }
.devis .btn { --bh: 54px; margin-right: 28px; padding: 0 28px 0 32px; font-size: 18.5px; }

/* ---------- Pied de page ---------- */
.footer { background: var(--footer); color: #C9CBCF; }
.footer__grid { position: relative; display: grid; grid-template-columns: 285px 389px 306px 126px 1fr; padding-top: 10px; padding-bottom: 2px; }
.footer .brand { width: 214px; margin-left: -8px; margin-top: 0; }
.footer__h { font-family: var(--f-ui); font-weight: 600; font-size: 13.5px; line-height: 18px; color: #fff; margin-top: 9px; margin-bottom: 4px; }
.footer__nav ul { display: grid; grid-template-columns: 185px 1fr; grid-auto-flow: column; grid-template-rows: repeat(3, auto); font-size: 12.4px; line-height: 20.8px; }
.footer__nav a, .footer__contact a, .footer__contact span { font-size: 12.4px; line-height: 20.8px; color: #C9CBCF; transition: color .25s var(--ease); }
.footer a:hover { color: #fff; }
.footer__contact ul { display: grid; gap: 2px; font-size: 12.4px; line-height: 20.8px; }
.footer__contact li { display: flex; gap: 14px; align-items: flex-start; }
.footer__contact span { line-height: 19px !important; }
.footer__contact svg { width: 16px; height: 16px; margin-top: 2px; fill: #fff; flex: none; }
.footer__social .footer__h { margin-top: 12px; }
.footer__icons { display: flex; gap: 16px; margin-top: 12px; }
.footer__icons a { display: grid; place-items: center; width: 26px; height: 26px; color: #fff; transition: transform .3s var(--ease), color .3s var(--ease); }
.footer__icons svg { width: 21px; height: 21px; fill: currentColor; }
.footer__icons a:hover { color: var(--magenta); transform: translateY(-2px); }
.footer__sign { position: relative; padding-left: 50px; padding-top: 0; }
.footer__sign::before { content: ""; position: absolute; left: 14px; top: 30px; height: 84px; width: 1px; background: #34373B; }
.footer__sign p {
  font-family: var(--f-hand);
  font-size: 18.6px;
  line-height: 23px;
  color: #fff;
  -webkit-text-stroke: .55px #fff;
  transform: rotate(-9deg);
  transform-origin: 0 0;
  position: absolute;
  left: 56px;
  top: 24px;
  margin: 0;
  white-space: nowrap;
}
.footer__sign p span { margin-left: 2px; }
.footer__sign p .l4 { margin-left: 52px; }
.footer__sign svg { position: absolute; left: 76px; top: 100px; width: 140px; height: 20px; fill: var(--lime); transform: rotate(-6deg); }
.footer__bottom { display: flex; align-items: center; gap: 0; height: 26px; border-top: 1px solid var(--footer-line); font-size: 10.8px; color: #A9ACB1; }
.footer__bottom > * + * { margin-left: 12px; padding-left: 12px; border-left: 1px solid #4A4D52; line-height: 11px; }
.footer__bottom { width: calc(100% - var(--gutter) * 2); max-width: 1106px; margin-left: max(var(--gutter), calc((100% - var(--container)) / 2 - 28px)); padding-inline: 0; }

/* ---------- Fenetre d'avertissement (droit d'auteur) ---------- */
.gate {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(12, 13, 16, .52);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
          backdrop-filter: blur(14px) saturate(1.1);
  transition: opacity .45s var(--ease);
}
.js:not(.gate-ok) .gate { display: flex; }
.js:not(.gate-ok) body { overflow: hidden; }
.gate.is-leaving { opacity: 0; }
.gate.is-leaving .gate__card { transform: translateY(10px) scale(.98); }
@keyframes gate-in { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
.gate__card {
  position: relative;
  width: min(540px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 38px 38px 26px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 34px 90px -24px rgba(0, 0, 0, .5), 0 2px 6px rgba(0, 0, 0, .06);
  animation: gate-in .7s var(--ease) .15s backwards;
  transition: transform .45s var(--ease);
}
.gate__card::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--magenta), var(--cyan) 40%, var(--lime) 72%, var(--yellow));
}
.gate__badge {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(226, 4, 124, .09);
}
.gate__badge svg { width: 26px; height: 26px; fill: none; stroke: var(--magenta); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gate__eyebrow { margin-top: 20px; font-size: 13px; }
.gate__title { margin-top: 6px; font-family: var(--f-title); font-weight: 800; font-size: 27px; line-height: 1.12; color: var(--ink); }
.gate__text p { margin-top: 12px; font-size: 15px; line-height: 1.55; color: #43464C; }
.gate__text strong { color: var(--ink); font-weight: 700; }
.gate__form label { display: block; margin-top: 24px; font-family: var(--f-ui); font-weight: 600; font-size: 15px; color: var(--ink); }
.gate__row { display: flex; gap: 10px; margin-top: 10px; }
.gate__row input {
  flex: 1;
  min-width: 0;
  height: 54px;
  padding: 0 18px;
  border: 1.5px solid #D9DCE0;
  border-radius: 12px;
  background: #FAFAFB;
  font-family: var(--f-text);
  font-size: 16px;
  color: var(--ink);
  outline: none;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.gate__row input::placeholder { color: #A7AAB0; }
.gate__row input:focus { border-color: var(--magenta); background: #fff; box-shadow: 0 0 0 4px rgba(226, 4, 124, .12); }
.gate__row input.is-valid { border-color: var(--lime); box-shadow: 0 0 0 4px rgba(166, 194, 45, .18); }
.gate__ok {
  min-width: 92px;
  height: 54px;
  border: 0;
  border-radius: 12px;
  background: #E7E9EC;
  color: #9A9DA3;
  font-family: var(--f-title);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .02em;
  cursor: not-allowed;
  transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.gate__ok:not(:disabled) { background: var(--magenta); color: #fff; cursor: pointer; box-shadow: 0 10px 24px -10px rgba(226, 4, 124, .7); }
.gate__ok:not(:disabled):hover { background: var(--magenta-dark); transform: translateY(-1px); }
.gate__ok:focus-visible { outline: 3px solid rgba(226, 4, 124, .35); outline-offset: 2px; }
.gate__legal { margin-top: 20px; padding-top: 14px; border-top: 1px solid #EEF0F2; font-size: 12px; color: #8A8D93; }

/* ---------- Bouton flottant : autres realisations ---------- */
.fab {
  position: fixed;
  right: 28px;
  bottom: clamp(110px, 26vh, 260px);
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 64px;
  padding: 0 28px 0 22px;
  border-radius: 999px;
  background: linear-gradient(120deg, #F2338F 0%, var(--magenta) 45%, #C2006A 100%);
  color: #fff;
  font-family: var(--f-title);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .005em;
  box-shadow: 0 22px 44px -14px rgba(226, 4, 124, .75), inset 0 0 0 1px rgba(255, 255, 255, .22);
  opacity: 0;
  transform: translateX(40px) scale(.94);
  pointer-events: none;
  transition: opacity .7s var(--ease), transform .7s cubic-bezier(.34, 1.56, .64, 1), background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.fab.is-visible { opacity: 1; transform: none; pointer-events: auto; animation: fab-float 3.2s ease-in-out .8s infinite; }
.fab.is-visible.is-tucked { opacity: 0; transform: translateX(40px) scale(.94); pointer-events: none; }
.fab::before { /* halo qui respire autour du bouton */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  animation: fab-ring 2.6s var(--ease) infinite;
  pointer-events: none;
}
@keyframes fab-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
@keyframes fab-ring { 0% { box-shadow: 0 0 0 0 rgba(226, 4, 124, .55); } 70%, 100% { box-shadow: 0 0 0 18px rgba(226, 4, 124, 0); } }
.fab:hover { animation-play-state: paused; box-shadow: 0 26px 50px -14px rgba(226, 4, 124, .9), inset 0 0 0 1px rgba(255, 255, 255, .3); filter: brightness(1.06); }
.fab:focus-visible { outline: 3px solid rgba(226, 4, 124, .45); outline-offset: 4px; }
.fab svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.fab:hover svg { transform: translateX(4px); }
.fab__dot {
  position: relative;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: conic-gradient(var(--yellow), var(--lime), var(--cyan), #fff, var(--yellow));
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .9);
}
.fab__dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .8);
  animation: fab-pulse 2.4s var(--ease) infinite;
}
@keyframes fab-pulse { 0% { transform: scale(.6); opacity: .9; } 70%, 100% { transform: scale(1.7); opacity: 0; } }
.nav-open .fab { opacity: 0; pointer-events: none; }

/* ---------- Apparition du haut de page (CSS seul, sans attendre le script) ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes hero-in { from { opacity: 0; transform: scale(1.035); } to { opacity: 1; transform: none; } }
.rise { animation: rise .9s var(--ease) backwards; animation-delay: var(--d, 0s); }
.hero__visual { animation: hero-in 1.4s var(--ease) backwards; transform-origin: 70% 50%; }

/* ---------- Apparitions au defilement ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .card[data-reveal].is-in, .js .sector[data-reveal].is-in { transition: opacity .9s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease); transition-delay: var(--d, 0s), 0s, 0s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .rise, .hero__visual, .gate__card, .fab__dot::after, .fab::before, .fab.is-visible, .quote__paper, .estimate__price.is-bump span { animation: none; }
}

/* =========================================================
   Adaptation aux largeurs
   ========================================================= */
@media (min-width: 1500px) {
  .hero { height: clamp(459px, 31.9vw, 560px); }
  .hero__copy { padding-top: clamp(56px, 4.6vw, 86px); }
}

@media (max-width: 1439px) {
  .hero__visual { right: auto; left: calc(max(var(--gutter), (100vw - 1340px) / 2 + var(--gutter)) + 456px); }
  .pledges { flex: 1 1 auto; width: auto; min-width: 0; margin-left: 24px; margin-right: 0; grid-template-columns: repeat(4, 1fr); }
  .footer__grid { grid-template-columns: 236px 1.25fr 1fr 110px 200px; column-gap: 16px; }
  .footer__nav ul { grid-template-columns: 1fr 1fr; }
  .footer__sign { padding-left: 0; }
  .footer__sign::before { left: -8px; }
  .footer__sign p { left: 18px; }
  .footer__sign svg { left: 38px; }
}

@media (max-width: 1339px) {
  .card__body p br { display: none; }
  .card__body p { padding-right: 46px; }
}

@media (max-width: 1340px) {
  .nav { margin-left: 300px; }
  .atouts__grid { grid-template-columns: repeat(4, 1fr); column-gap: 28px; padding-left: var(--gutter); }
  .atout::before { left: -14px !important; }
  .atout p br { display: none; }
  .footer__grid { grid-template-columns: 236px 1.25fr 1fr 110px 200px; column-gap: 16px; }
  .footer__nav ul { grid-template-columns: 1fr 1fr; }
  .footer__sign { padding-left: 0; }
  .footer__sign::before { left: -8px; }
  .footer__sign p { left: 18px; }
  .footer__sign svg { left: 38px; }
  .nav__list { gap: 22px; }
  .engagement__copy { margin-left: 300px; }
  .devis__text { margin-right: 36px; }
  .devis .btn { margin-right: 0; }
}

@media (max-width: 1240px) {
  :root { --header-h: 76px; }
  .dg__grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; }
  .dg__tiles--5 { grid-template-columns: repeat(3, 1fr); }
  .dg__tiles--support { grid-template-columns: repeat(2, 1fr); }
  .site-header .brand { width: 240px; }
  .nav { margin-left: 256px; }
  .nav__list { gap: 18px; width: auto; justify-content: flex-start; }
  .nav__link { font-size: 13px; }
  .hero__visual { right: -6%; }
  .sector__body p br { display: none; }
  .atout__ico { width: 70px; height: 70px; }
  .atout__ico svg { width: 34px; height: 34px; }
  .secteurs__inner { grid-template-columns: 360px 1fr; }
  .h2--md { font-size: 36px; }
  .engagement__copy { margin-left: 250px; width: 420px; }
  .engagement__fan { width: 330px; }
}

/* Tablette : menu en tiroir, hero empile */
@media (max-width: 1100px) {
  :root { --gutter: 32px; --header-h: 72px; }
  .dg { padding: 70px 0 80px; }
  .dg__grid { grid-template-columns: 1fr; }
  .estimate { position: relative; top: auto; }
  .dg__tiles--5 { grid-template-columns: repeat(5, 1fr); }
  .site-header .brand { width: 210px; top: 2px; }
  .site-header.is-scrolled .brand { transform: translateY(-1px) scale(.78); }
  .site-header__cta { margin-right: 64px; }
  .burger {
    display: grid; place-content: center; gap: 5px;
    position: absolute; right: calc(var(--gutter) - 8px); top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
    background: transparent; cursor: pointer;
  }
  .burger span { display: block; width: 24px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .35s var(--ease), opacity .25s var(--ease); }
  .nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .burger span:nth-child(2) { opacity: 0; }
  .nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    margin: 0; padding: 18px var(--gutter) 28px;
    background: #fff;
    box-shadow: 0 24px 40px -24px rgba(15,16,18,.3);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .35s var(--ease), opacity .35s var(--ease), visibility 0s .35s;
  }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; transition: transform .35s var(--ease), opacity .35s var(--ease); }
  .nav__list { flex-direction: column; gap: 0; width: auto; }
  .nav__link { padding: 14px 0; font-size: 17px; border-bottom: 1px solid #EEF0F2; }
  .nav__link::after { display: none; }
  .nav__link.is-active { color: var(--magenta); }

  .hero { height: auto; background: #fff; }
  .hero__visual { position: relative; right: auto; left: auto; width: 100%; height: auto; margin-top: 6px; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%); mask-image: linear-gradient(180deg, transparent 0, #000 16%); }
  .hero__inner { height: auto; }
  .hero__copy { padding-top: 76px; max-width: none; }
  .hero__inner { order: -1; }
  .hero { display: flex; flex-direction: column; }
  .hero__title { font-size: 56px; line-height: 54px; }
  .assurances { flex-wrap: wrap; row-gap: 14px; }

  .atouts__grid { grid-template-columns: repeat(2, 1fr); row-gap: 30px; padding-block: 34px; }
  .atout:nth-child(odd)::before { display: none; }
  .atout p { max-width: 280px; }

  .produits { padding-top: 56px; }
  .produits__head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .produits__intro { margin-right: 0; }
  .cards { grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 28px; }

  .secteurs { padding-top: 56px; }
  .secteurs__inner { grid-template-columns: 1fr; gap: 26px; }
  .secteurs__head { padding-top: 0; }
  .secteurs__head .h2 { margin-top: 12px; }

  .engagement { margin-top: 40px; padding-top: 96px; padding-bottom: 40px; }
  .engagement__fan { width: 300px; bottom: auto; top: 0; opacity: .9; }
  .engagement__inner { flex-direction: column; gap: 34px; }
  .engagement__copy { margin-left: 320px; width: auto; min-height: 210px; }
  .pledges { width: 100%; margin: 0; padding-top: 0; }

  .devis__inner { height: auto; flex-wrap: wrap; gap: 18px 30px; padding-block: 30px; }
  .devis__title { margin-left: 0; }
  .devis__text { margin: 0; }
  .devis .btn { margin-left: auto; }

  .footer__grid { grid-template-columns: 1fr 1fr 1fr; row-gap: 26px; padding-top: 30px; padding-bottom: 24px; }
  .footer .brand { grid-column: 1; grid-row: 1; width: 200px; }
  .footer__sign { grid-column: 2 / -1; grid-row: 1; padding-left: 0; padding-top: 0; height: 130px; }
  .footer__sign p { left: auto; right: 10px; top: 6px; }
  .footer__sign svg { left: auto; right: 22px; top: 84px; }
  .footer__sign::before { display: none; }
  .footer__bottom { margin-inline: auto; max-width: none; width: calc(100% - var(--gutter) * 2); flex-wrap: wrap; height: auto; padding-block: 12px; }
}

@media (max-width: 900px) {
  .sectors { grid-template-columns: 1fr 1fr; gap: 14px; }
  .sector { aspect-ratio: auto; height: 250px; }
  .sector__media { height: 52%; }
  .sector__body { inset: 48% 0 0 0; }
  .sector__ico { top: 48%; }
}

@media (max-width: 860px) {
  .dg__tiles--5 { grid-template-columns: repeat(3, 1fr); }
  .quote__paper { padding: 34px 28px 30px; }
  .quote__spec { grid-template-columns: 1fr 1fr; }
  .engagement__wave { display: none; }
  .site-header__cta span { display: none; }
  .site-header__cta { width: 44px; padding: 0; justify-content: center; gap: 0; }
  .site-header__cta .btn__arrow { display: none; }
  .engagement__fan { position: relative; width: 100%; height: 190px; object-fit: cover; object-position: 30% 40%; margin-top: -70px; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
  .engagement { padding-top: 70px; }
  .engagement__copy { margin-left: 0; min-height: 0; margin-top: 10px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__nav { grid-column: 1 / -1; }
  .footer__sign { grid-column: 2; }
  .footer__sign p { right: 10px; }
  .footer__sign svg { right: 20px; }
}

/* Mobile */
@media (max-width: 600px) {
  :root { --gutter: 16px; --header-h: 64px; }
  .gate { padding: 14px; }
  .dg { padding: 54px 0 60px; }
  .dg__head { margin-bottom: 30px; text-align: left; }
  .dg__intro { font-size: 15.5px; }
  .dg__step { padding: 20px 16px 22px; border-radius: 14px; }
  .dg__step legend { font-size: 17px; margin-bottom: 14px; }
  .dg__tiles--5 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .dg__tiles--5 .tile:last-child { grid-column: span 2; }
  .dg__tiles--support { grid-template-columns: 1fr; }
  .tile__box { min-height: 92px; }
  .dg__duo, .dg__fields { grid-template-columns: 1fr; }
  .chip span { height: 42px; padding: 0 15px; font-size: 14px; }
  .dg__ticks span:nth-child(even) { visibility: hidden; }
  .estimate__card { padding: 26px 20px 22px; }
  .estimate__price { font-size: 46px; }
  .quote { padding: 14px 10px 40px; }
  .quote__btn { height: 42px; padding: 0 14px; font-size: 14px; gap: 6px; }
  .quote__bar-right { width: 100%; }
  .quote__bar-right .quote__btn { flex: 1; justify-content: center; }
  .quote__paper { padding: 26px 18px 24px; font-size: 13px; }
  .quote__top { flex-direction: column; }
  .quote__id { text-align: left; }
  .quote__logo { width: 170px; }
  .quote__id h3 { font-size: 28px; }
  .quote__parties { grid-template-columns: 1fr; gap: 18px; }
  .quote__table th:nth-child(3), .quote__table td:nth-child(3) { display: none; }
  .quote__totals { width: 100%; }
  .gate__card { padding: 28px 22px 18px; border-radius: 18px; }
  .gate__title { font-size: 23px; }
  .gate__text p { font-size: 14.5px; }
  .gate__row input, .gate__ok { height: 50px; }
  .gate__ok { min-width: 74px; }
  .fab { right: 14px; bottom: 96px; height: 54px; padding: 0 20px 0 16px; font-size: 16px; gap: 11px; }
  body { font-size: 15px; }
  .site-header .brand { width: 168px; top: 3px; }
  .site-header.is-scrolled { height: 60px; }
  .site-header.is-scrolled .brand { transform: translateY(-1px) scale(.82); }
  .site-header__cta { margin-right: 52px; }
  .burger { right: 6px; }
  .nav { inset: var(--header-h) 0 auto 0; }

  .hero__copy { padding-top: 60px; }
  .hero__title { font-size: clamp(30px, 9.6vw, 40px); line-height: 1.04; }
  .hero__lead { font-size: 16px; line-height: 23px; margin-top: 14px; }
  .hero__lead br { display: none; }
  .hero__copy .btn { width: 100%; justify-content: center; margin-top: 22px; }
  .btn--lg { font-size: 18px; }
  .assurances { flex-direction: column; gap: 12px; margin-top: 22px; }
  .assurances li:nth-child(n) { width: auto; }
  .hero__visual { margin-top: 0; width: 135%; max-width: none; margin-left: -10%; }

  .atouts__grid { grid-template-columns: 1fr; row-gap: 22px; padding-block: 28px; }
  .atout::before { display: none; }
  .atout__ico { width: 60px; height: 60px; }
  .atout__ico svg { width: 28px; height: 28px; }
  .atout__ico svg.is-filled { width: 30px; height: 30px; }
  .atout__title { margin-top: 4px; font-size: 18px; }

  .produits { padding-top: 44px; }
  .h2 { font-size: 33px; line-height: 1.08; }
  .h2--md, .h2--sm { font-size: 30px; }
  .h2 br, .produits__intro br, .engagement__text br { display: none; }
  .cards { grid-template-columns: 1fr; gap: 16px; }
  .card__title { font-size: 20px; }

  .secteurs { padding-top: 48px; }
  .sectors { grid-template-columns: 1fr 1fr; gap: 10px; }
  .sector { aspect-ratio: auto; height: 240px; }
  .sector__media { height: 46%; }
  .sector__body { inset: 42% 0 0 0; padding: 33px 8px 0; }
  .sector__ico { top: 42%; width: 48px; height: 48px; }
  .sector__ico svg { width: 22px; height: 22px; }
  .sector__body h3 { font-size: 15px; }
  .sector__body p { font-size: 13px; line-height: 16.5px; }

  .engagement { margin-top: 36px; padding-bottom: 36px; }
  .engagement__fan { height: 150px; margin-top: -80px; }
  .pledges { grid-template-columns: 1fr 1fr; row-gap: 26px; }
  .pledge:nth-child(3)::before { display: none; }
  .pledge + .pledge::before { top: 10px; height: 110px; }

  .devis__inner { flex-direction: column; align-items: flex-start; }
  .devis__title h2 { font-size: 28px; }
  .devis .btn { margin-left: 0; width: 100%; justify-content: center; }

  .footer__grid { grid-template-columns: 1fr; }
  .footer__sign { grid-column: 1; grid-row: auto; height: 130px; }
  .footer__sign p { right: auto; left: 18px; }
  .footer__sign svg { right: auto; left: 38px; }
  .footer__bottom > * + * { margin-left: 0; padding-left: 0; border-left: 0; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
}
