/* Perco Solutions — feuille de style
   Direction : aluminium thermolaqué, lumière du Valais, mise en page sobre et sans animation.
   Une seule famille : Urbanist, auto-hébergée (200 titres, 300 texte, 500 interface). */

/* Urbanist variable (wght 100–900), sous-ensemble latin — licence SIL OFL 1.1 : assets/fonts/OFL.txt */
@font-face {
  font-family: "Urbanist";
  src: url("../fonts/urbanist-var.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1d2224;
  --alu: #2a3135;
  --alu-2: #353e43;
  --alu-3: #46525a;
  --mist: #eceeed;
  --paper: #f6f7f6;
  --stone: #d7dbda;
  --teal: #4b7984;
  --teal-ink: #3f5f68;
  --teal-pale: #c9d6d9;
  --muted: #5c676c;
  --line: rgba(29, 34, 36, .14);
  --line-light: rgba(255, 255, 255, .18);
  --sun: #f2d6a0;
  --r: 2px;
  --pad: clamp(20px, 4.2vw, 64px);
  --max: 1440px;
  --header: 76px;
  --font: "Urbanist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 24px); }
body {
  margin: 0; background: var(--mist); color: var(--ink);
  font: 300 1.0625rem/1.65 var(--font); font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 200; line-height: 1.02; letter-spacing: -.03em; text-wrap: balance; }
strong { font-weight: 600; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
::selection { background: var(--teal); color: #fff; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: .7em 1em; border-radius: var(--r); }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(72px, 10vw, 152px); }
.section--tight { padding-block: clamp(48px, 6vw, 96px); }
.dark { background: var(--alu); color: #e9eceb; }
.dark ::selection { background: #fff; color: var(--alu); }
.paper { background: var(--paper); }

/* Typographie --------------------------------------------------------- */
.h1 { font-size: clamp(2.7rem, 6.6vw, 6.4rem); line-height: .96; letter-spacing: -.04em; }
.h2 { font-size: clamp(2.1rem, 4.4vw, 4.2rem); }
.h3 { font-size: clamp(1.4rem, 2.1vw, 1.85rem); font-weight: 300; letter-spacing: -.015em; line-height: 1.15; }
.lead { font-size: clamp(1.15rem, 1.55vw, 1.375rem); line-height: 1.55; max-width: 38em; color: var(--muted); }
.dark .lead { color: #b9c2c4; }
.label { display: block; font-size: .875rem; font-weight: 500; letter-spacing: .01em; color: var(--muted); margin-bottom: 1.1rem; }
.dark .label { color: #9fabaf; }
.prose { max-width: 40em; }
.prose p + p { margin-top: -.2em; }
.muted { color: var(--muted); }
.tag { display: inline-block; font-size: .8125rem; font-weight: 500; padding: .3em .7em; border: 1px solid currentColor; border-radius: var(--r); line-height: 1.2; }
.tag--new { color: var(--teal-ink); }
.dark .tag--new { color: var(--teal-pale); }

/* Boutons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .65em;
  font: 500 .95rem/1 var(--font); letter-spacing: .005em; text-decoration: none;
  padding: 1.05em 1.55em; border-radius: var(--r); border: 1px solid var(--alu);
  background: var(--alu); color: #fff; transition: background .25s, border-color .25s, color .25s;
}
.btn:hover { background: var(--teal-ink); border-color: var(--teal-ink); }
.btn--teal { background: var(--teal); border-color: var(--teal); }
.btn--teal:hover { background: var(--teal-ink); border-color: var(--teal-ink); }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.dark .btn--ghost:hover, .on-image .btn--ghost:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: var(--teal-pale); border-color: var(--teal-pale); color: var(--ink); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.link { font-weight: 500; text-decoration: underline; text-decoration-color: var(--teal); text-decoration-thickness: 1px; }
.link:hover { color: var(--teal-ink); }

/* En-tête ------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--header);
  color: var(--ink); transition: background-color .2s, color .2s, box-shadow .2s;
}
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.site-header.is-solid { background: rgba(236, 238, 237, .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); box-shadow: 0 1px 0 var(--line); }
.site-header.is-over { color: #fff; }
.site-header.is-over.is-solid { color: var(--ink); }
.brand { display: block; width: 148px; flex: none; position: relative; }
.brand img { width: 100%; height: auto; transition: opacity .2s; }
.brand .brand__white { position: absolute; inset: 0; opacity: 0; }
.site-header.is-over:not(.is-solid) .brand__white { opacity: 1; }
.site-header.is-over:not(.is-solid) .brand__color { opacity: 0; }

.nav { display: none; align-items: center; gap: clamp(1rem, 2.2vw, 2.25rem); font-size: .975rem; font-weight: 400; }
.nav a, .nav button { text-decoration: none; padding: .5em 0; position: relative; }
.nav a::after, .nav button::after { content: ""; position: absolute; left: 0; right: 0; bottom: .15em; height: 1px; background: currentColor; opacity: 0; }
.nav a:hover::after, .nav button:hover::after, .nav [aria-current="page"]::after, .nav button[aria-expanded="true"]::after { opacity: 1; }
.nav button { display: inline-flex; align-items: center; gap: .4em; }
.nav button svg { width: .7em; }
.nav button[aria-expanded="true"] svg { transform: rotate(180deg); }
.header-cta { display: none; align-items: center; gap: 1.25rem; }
.header-cta .tel { font-size: .95rem; text-decoration: none; font-variant-numeric: tabular-nums; }
.site-header.is-over:not(.is-solid) .btn { background: #fff; color: var(--ink); border-color: #fff; }
.burger { width: 44px; height: 44px; display: grid; place-items: center; margin-right: -10px; }
.burger span { display: block; width: 26px; height: 1.5px; background: currentColor; }
.burger span + span { margin-top: 7px; }
.burger i { display: grid; }
@media (min-width: 1100px) {
  .nav, .header-cta { display: flex; }
  .burger { display: none; }
}

/* Méga-menu (bureau) */
.mega {
  position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); color: var(--ink);
  box-shadow: 0 1px 0 var(--line), 0 30px 60px -30px rgba(29, 34, 36, .35);
  visibility: hidden; opacity: 0; transition: opacity .2s, visibility 0s .2s;
}
.mega.is-open { visibility: visible; opacity: 1; transition: opacity .2s; }
.mega__grid { display: grid; grid-template-columns: 1.05fr 1fr 1.15fr; gap: 3rem; padding-block: 2.5rem 3rem; min-height: 440px; }
.mega__cats { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.mega__cat {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; text-align: left;
  font-size: 1.6rem; font-weight: 200; letter-spacing: -.02em; padding: .55rem 0; border-bottom: 1px solid var(--line);
  text-decoration: none; transition: color .2s;
}
.mega__cat small { font-size: .8rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.mega__cat:hover, .mega__cat.is-active { color: var(--teal-ink); }
.mega__panel { display: none; }
.mega__panel.is-active { display: block; }
.mega__panel a.mega__all { display: inline-block; margin-bottom: 1.2rem; font-weight: 500; font-size: .9rem; }
.mega__links { list-style: none; display: grid; gap: .15rem; }
.mega__links a { display: block; padding: .5rem 0; text-decoration: none; font-size: 1.05rem; font-weight: 400; border-bottom: 1px solid transparent; transition: color .2s; }
.mega__links a:hover, .mega__links a:focus-visible { color: var(--teal-ink); }
.mega__preview { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone); align-self: start; }
.mega__preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.mega__preview img.is-on { opacity: 1; }
.mega__preview figcaption { position: absolute; left: 0; bottom: 0; background: var(--paper); padding: .6rem 1rem .6rem 0; font-size: .9rem; font-weight: 500; }


/* Menu mobile plein écran -------------------------------------------- */
.mmenu { position: fixed; inset: 0; z-index: 100; background: var(--alu); color: #fff; visibility: hidden; opacity: 0; transition: opacity .2s, visibility 0s .2s; }
.mmenu.is-open { visibility: visible; opacity: 1; transition: opacity .2s; }
.mmenu__inner { position: relative; height: 100%; display: flex; flex-direction: column; overflow: hidden; }
.mmenu__top { height: var(--header); display: flex; align-items: center; justify-content: space-between; flex: none; }
.mmenu__top .brand { width: 132px; }
.mmenu__close { width: 44px; height: 44px; display: grid; place-items: center; margin-right: -10px; }
.mmenu__close svg { width: 22px; height: 22px; }
.mmenu__stage { position: relative; flex: 1; overflow: hidden; }
.mmenu__level { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; padding-bottom: 2rem; }
.mmenu__level[data-level="1"].is-away, .mmenu__level.is-sub { visibility: hidden; }
.mmenu__level.is-sub.is-current { visibility: visible; }
.mmenu__list { list-style: none; border-top: 1px solid var(--line-light); margin-top: .5rem; }
.mmenu__list > li { border-bottom: 1px solid var(--line-light); }
.mmenu__item {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; text-align: left;
  padding: .72rem 0; font-size: clamp(1.7rem, 7vw, 2.4rem); font-weight: 200; letter-spacing: -.03em; line-height: 1.1; text-decoration: none;
}
.mmenu__item:hover, .mmenu__sublist a:hover { color: var(--teal-pale); }
.mmenu__item small { font-size: .8rem; font-weight: 500; letter-spacing: 0; color: #9fabaf; display: inline-flex; align-items: center; gap: .5rem; }
.mmenu__item small svg { width: 14px; height: 14px; }
.mmenu__minor { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem 1rem; margin-top: 1.4rem; font-size: 1.05rem; font-weight: 400; }
.mmenu__minor a { text-decoration: none; padding: .35rem 0; }
.mmenu__back { display: inline-flex; align-items: center; gap: .6rem; font-size: .95rem; font-weight: 500; padding: .9rem 0 .4rem; color: #c3cccf; }
.mmenu__back svg { width: 16px; height: 16px; }
.mmenu__subhead { font-size: clamp(1.9rem, 8vw, 2.6rem); font-weight: 200; letter-spacing: -.03em; line-height: 1.08; margin: .5rem 0 1.2rem; }
.mmenu__sublist { list-style: none; display: grid; gap: .55rem; }
.mmenu__sublist a { display: grid; grid-template-columns: 84px 1fr; gap: 1rem; align-items: center; text-decoration: none; font-size: 1.15rem; font-weight: 400; padding: .25rem 0; }
.mmenu__sublist img { width: 84px; height: 58px; object-fit: cover; border-radius: var(--r); background: var(--alu-2); }
.mmenu__seeall { display: inline-block; margin-top: 1.2rem; font-weight: 500; }
.mmenu__foot { flex: none; border-top: 1px solid var(--line-light); padding-block: 1.1rem 1.4rem; display: grid; gap: 1rem; }
.mmenu__foot .btn { width: 100%; }
.mmenu__contact { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1.2rem; font-size: .95rem; color: #c3cccf; }
.mmenu__contact a { text-decoration: none; color: #fff; }
.no-scroll { overflow: hidden; }

/* Grain de fond (motif-fond.svg du kit) ------------------------------- */
.phero, .section, .site-footer { position: relative; }
.hero::before, .phero::before, .section::before, .site-footer::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("../img/motif-fond.svg") repeat; background-size: 240px 240px; opacity: .035; mix-blend-mode: multiply;
}
.hero::before { z-index: 2; }

/* Héros accueil ------------------------------------------------------- */
.hero { position: relative; min-height: max(600px, 94svh); color: #fff; overflow: hidden; display: flex; align-items: flex-end; background: var(--alu); }
.hero__media { position: absolute; inset: 0; background: var(--alu); }
.hero__media img, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__toggle {
  position: absolute; z-index: 3; right: max(var(--pad), calc((100% - var(--max)) / 2 + var(--pad))); bottom: 18px;
  width: 40px; height: 40px; display: grid; place-items: center; color: #fff;
  border: 1px solid rgba(255, 255, 255, .55); border-radius: var(--r); background: rgba(18, 22, 24, .28); transition: background-color .2s;
}
.hero__toggle[hidden] { display: none; }
.hero__toggle:hover { background: rgba(18, 22, 24, .55); }
.hero__toggle svg { width: 16px; height: 16px; }
.hero__toggle .i-play, .hero__toggle.is-paused .i-pause { display: none; }
.hero__toggle.is-paused .i-play { display: block; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(18, 22, 24, .55) 0%, rgba(18, 22, 24, .28) 24%, rgba(18, 22, 24, .34) 50%, rgba(18, 22, 24, .82) 100%); }
@media (max-width: 700px) { .hero::after { background: linear-gradient(180deg, rgba(18, 22, 24, .58) 0%, rgba(18, 22, 24, .36) 24%, rgba(18, 22, 24, .5) 50%, rgba(18, 22, 24, .9) 100%); } }
.hero__content { position: relative; z-index: 2; padding-bottom: max(80px, 8vh); width: 100%; }
.hero__grid { display: grid; gap: 2rem; align-items: end; }
.hero h1 { max-width: 13.5ch; }
.hero .lead { color: rgba(255, 255, 255, .86); margin-top: 1.5rem; max-width: 34em; }
.hero__meta { display: flex; flex-direction: column; gap: .2rem; font-size: .9rem; color: rgba(255, 255, 255, .8); }
.hero__meta strong { font-weight: 500; color: #fff; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1fr auto; } .hero__meta { text-align: right; } }

/* En-tête de page ------------------------------------------------------- */
.phero { padding-top: calc(var(--header) + clamp(28px, 5vw, 64px)); }
.phero__grid { display: grid; gap: clamp(28px, 4vw, 56px); align-items: end; }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; font-size: .875rem; font-weight: 500; color: var(--muted); margin-bottom: 1.5rem; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--stone); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.phero .lead { margin-top: 1.4rem; }
.phero__media { position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: var(--stone); margin-inline: calc(var(--pad) * -1); }
.phero__media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 960px) {
  .phero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
  .phero__media { margin-inline: 0 calc(var(--pad) * -1); aspect-ratio: 4 / 3; }
  .phero--wide .phero__grid { grid-template-columns: 1fr; }
  .phero--wide .phero__media { aspect-ratio: 21 / 9; margin-inline: 0; }
}
@media (min-width: 1440px) { .phero__media { margin-right: calc((100vw - var(--max)) / -2 - var(--pad)); } }

/* Sous-navigation produits */
.subnav { position: sticky; top: var(--header); z-index: 20; background: rgba(236, 238, 237, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-block: 1px solid var(--line); margin-top: clamp(40px, 5vw, 72px); }
.subnav ul { display: flex; gap: .4rem; list-style: none; overflow-x: auto; scrollbar-width: none; padding-block: .7rem; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; white-space: nowrap; text-decoration: none; font-size: .9rem; font-weight: 500; padding: .5em .9em; border-radius: var(--r); color: var(--muted); transition: background .2s, color .2s; }
.subnav a:hover { color: var(--ink); }
.subnav a.is-active { background: var(--alu); color: #fff; }

/* Fiches produit ------------------------------------------------------ */
.product { display: grid; gap: clamp(28px, 4vw, 72px); padding-block: clamp(56px, 8vw, 120px); border-top: 1px solid var(--line); }
.product:first-child { border-top: 0; }
@media (min-width: 960px) {
  .product { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; }
  .product--flip .product__media { order: 2; }
  .product__media { position: sticky; top: calc(var(--header) + 72px); }
}
.product__head { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-bottom: 1rem; }
.product__brand { font-size: .875rem; font-weight: 600; letter-spacing: .02em; color: var(--teal-ink); }
.product h2 { font-size: clamp(2.2rem, 4vw, 3.6rem); margin-bottom: 1.4rem; }
.product__kicker { font-size: 1.2rem; font-weight: 400; margin-bottom: 1rem; color: var(--ink); }
.ticks { list-style: none; display: grid; gap: .55rem; margin: 1.2rem 0 1.4rem; }
.ticks li { position: relative; padding-left: 1.6rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .78em; width: .85rem; height: 1px; background: var(--teal); }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; }
.chips li { font-size: .875rem; font-weight: 500; padding: .38em .8em; border: 1px solid var(--line); border-radius: var(--r); background: rgba(255, 255, 255, .5); }
.options { margin-top: 1.6rem; display: grid; gap: .7rem; }
.options > span { font-size: .875rem; font-weight: 500; color: var(--muted); }

/* Bloc technique + schéma de cotes */
.spec { margin-top: 2rem; display: grid; gap: 1.5rem; padding: 1.5rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
@media (min-width: 560px) { .spec { grid-template-columns: 220px 1fr; align-items: center; } }
.spec__svg { width: 100%; max-width: 260px; color: var(--alu); }
.spec__svg .dim { stroke: var(--teal-ink); }
.spec__svg text { font: 500 13px var(--font); fill: var(--teal-ink); }
.spec dl { margin: 0; display: grid; gap: .1rem; }
.spec dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px solid var(--line); font-size: .975rem; }
.spec dl div:last-child { border-bottom: 0; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; font-weight: 500; font-variant-numeric: tabular-nums; text-align: right; }
.spec__title { grid-column: 1 / -1; font-size: .875rem; font-weight: 600; letter-spacing: .01em; }

/* Diaporama */
.slides { position: relative; background: var(--stone); overflow: hidden; aspect-ratio: 3 / 2; }
.slides__track { display: flex; height: 100%; }
.slides__track > * { flex: 0 0 100%; height: 100%; }
.slides img { width: 100%; height: 100%; object-fit: cover; }
.slides__ui { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: .75rem; pointer-events: none; }
.slides__count { pointer-events: none; font-size: .85rem; font-weight: 500; background: rgba(29, 34, 36, .72); color: #fff; padding: .35em .7em; border-radius: var(--r); font-variant-numeric: tabular-nums; }
.slides__nav { display: flex; gap: .35rem; pointer-events: auto; }
.slides__nav button { width: 42px; height: 42px; display: grid; place-items: center; background: rgba(246, 247, 246, .92); color: var(--ink); border-radius: var(--r); transition: background .2s; }
.slides__nav button:hover { background: #fff; }
.slides__nav svg { width: 18px; height: 18px; }
.media { position: relative; overflow: hidden; background: var(--stone); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.ratio-32 { aspect-ratio: 3 / 2; }
.ratio-43 { aspect-ratio: 4 / 3; }
.ratio-45 { aspect-ratio: 4 / 5; }
.figcap { font-size: .875rem; color: var(--muted); margin-top: .7rem; }

/* Grilles d'aperçu ------------------------------------------------------ */
.tiles { display: grid; gap: clamp(14px, 1.6vw, 24px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
@media (min-width: 900px) { .tiles--feature { grid-template-columns: repeat(3, 1fr); } .tiles--feature > :first-child { grid-column: span 2; grid-row: span 2; } .tiles--feature > :first-child .tile__img { aspect-ratio: auto; height: 100%; min-height: 420px; } }
.tile { position: relative; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.tile__img { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--stone); }
.tile__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile__body { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-top: .9rem; }
.tile__title { font-size: 1.35rem; font-weight: 300; letter-spacing: -.015em; line-height: 1.2; }
.tile__meta { font-size: .85rem; font-weight: 500; color: var(--muted); white-space: nowrap; }
.tile:hover .tile__title { color: var(--teal-ink); }

/* Accueil : nouveautés ---------------------------------------------------- */
.news { display: grid; gap: clamp(20px, 3vw, 40px); }
@media (min-width: 900px) { .news { grid-template-columns: 1.4fr 1fr; align-items: end; } .news .tile:last-child .tile__img { aspect-ratio: 4 / 5; } }
.news .tile__img { aspect-ratio: 16 / 10; }
.news .tile__title { font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-weight: 200; }
.news p { margin: .4rem 0 0; color: var(--muted); max-width: 30em; }
.news__tag { position: absolute; top: 1rem; left: 1rem; z-index: 1; background: var(--paper); color: var(--teal-ink); font-size: .8125rem; font-weight: 600; padding: .35em .7em; border-radius: var(--r); }

/* Accueil : index des solutions ------------------------------------------- */
.idx { list-style: none; border-top: 1px solid var(--line); }
.idx li { border-bottom: 1px solid var(--line); }
.idx a { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 1rem; row-gap: .3rem; align-items: center; padding: clamp(16px, 2vw, 26px) 0; text-decoration: none; }
.idx__thumb { grid-row: span 2; width: 96px; aspect-ratio: 4 / 3; object-fit: cover; background: var(--stone); }
.idx__name { font-size: clamp(1.45rem, 6vw, 2rem); font-weight: 200; letter-spacing: -.035em; line-height: 1; transition: color .2s; }
.idx__meta { font-size: .85rem; color: var(--muted); max-width: 46em; }
.idx a:hover .idx__name, .idx a:focus-visible .idx__name { color: var(--teal-ink); }
@media (min-width: 900px) {
  .idx a { grid-template-columns: 176px minmax(0, 1fr) 22em; column-gap: clamp(1.5rem, 3vw, 3rem); }
  .idx__thumb { grid-row: auto; width: 176px; }
  .idx__name { font-size: clamp(2.4rem, 4.4vw, 4.2rem); }
  .idx__meta { font-size: .95rem; }
}

/* À propos ---------------------------------------------------------------------- */
.about { display: grid; gap: clamp(32px, 5vw, 88px); }
@media (min-width: 960px) { .about { grid-template-columns: 1fr 1.1fr; align-items: start; } }
.about__statement { font-size: clamp(1.7rem, 3.1vw, 2.85rem); font-weight: 200; line-height: 1.18; letter-spacing: -.025em; }
.commit { list-style: none; margin-top: 2.2rem; border-top: 1px solid var(--line); }
.commit li { padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
.mosaic { --g: clamp(10px, 1.4vw, 18px); display: grid; grid-template-columns: 1fr 1fr; gap: var(--g); align-items: start; }
.mosaic__col { display: grid; gap: var(--g); }
.mosaic__col + .mosaic__col { margin-top: clamp(28px, 5vw, 72px); }
.mosaic .media { aspect-ratio: 4 / 3; }
.mosaic .media--tall { aspect-ratio: 3 / 4; }

/* Bande réalisations ---------------------------------------------------------------- */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 420px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; scrollbar-width: thin; scrollbar-color: var(--alu) transparent; }
.strip > * { scroll-snap-align: start; }
.strip .media { aspect-ratio: 3 / 2; }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: clamp(28px, 4vw, 56px); }

/* Partenaires */
.partners { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); border-top: 1px solid var(--line); }
.partners li { padding: 1.1rem 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: .15rem; }
.partners strong { font-size: 1.35rem; font-weight: 300; letter-spacing: -.01em; }
.partners span { font-size: .875rem; color: var(--muted); }

/* Bande contact / showroom ---------------------------------------------------------------------- */
.visit { display: grid; gap: clamp(32px, 5vw, 80px); }
@media (min-width: 960px) { .visit { grid-template-columns: 1.25fr 1fr; align-items: end; } }
.visit address { font-style: normal; display: grid; gap: 1.1rem; font-size: 1.05rem; }
.visit address a { text-decoration: none; }
.visit address a:hover { text-decoration: underline; }
.kv { display: grid; gap: .2rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line-light); }
.kv span { font-size: .85rem; font-weight: 500; color: #9fabaf; }

/* Avantages, catalogues, listes ------------------------------------------------------------ */
.advantages { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); border-top: 1px solid var(--line); }
.advantages li { padding: 1.15rem 1rem 1.15rem 0; border-bottom: 1px solid var(--line); font-size: 1.15rem; font-weight: 300; display: flex; gap: .8rem; align-items: baseline; }
.advantages li::before { content: ""; width: 10px; height: 10px; flex: none; border: 1px solid var(--teal); transform: translateY(-.05em) rotate(45deg); }
.docs { list-style: none; display: grid; gap: .6rem; }
.doc { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.2rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; transition: border-color .2s, background .2s; }
.doc:hover { border-color: var(--teal); background: #fff; }
.doc span { font-weight: 400; }
.doc small { font-size: .8rem; font-weight: 600; color: var(--teal-ink); }
.two-col { display: grid; gap: clamp(32px, 5vw, 80px); }
@media (min-width: 960px) { .two-col { grid-template-columns: 1fr 1fr; } .two-col--wide { grid-template-columns: 1.3fr 1fr; } }
.quote { font-size: clamp(1.6rem, 2.8vw, 2.6rem); font-weight: 200; letter-spacing: -.02em; line-height: 1.2; border-left: 1px solid var(--teal); padding-left: clamp(16px, 2vw, 32px); margin: 0; }

/* Blocs alternés */
.blocks { display: grid; gap: clamp(56px, 8vw, 120px); }
.block { display: grid; gap: clamp(24px, 4vw, 64px); align-items: center; }
@media (min-width: 900px) { .block { grid-template-columns: 1.1fr 1fr; } .block:nth-child(even) .block__media { order: 2; } }
.block h2 { font-size: clamp(1.9rem, 3.2vw, 3rem); margin-bottom: 1.2rem; }

/* Galeries + visionneuse ---------------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 10px; }
.gallery--small { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.gallery button { display: block; width: 100%; position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: var(--stone); }
.gallery button img { width: 100%; height: 100%; object-fit: cover; }
.gallery button:hover img { opacity: .9; }
.gallery figure { margin: 0; }
.lb { position: fixed; inset: 0; z-index: 120; background: rgba(20, 24, 26, .96); display: none; align-items: center; justify-content: center; padding: 64px 12px 72px; }
.lb.is-open { display: flex; }
.lb img { max-width: min(1200px, 100%); max-height: 100%; object-fit: contain; }
.lb__close, .lb__prev, .lb__next { position: absolute; width: 48px; height: 48px; display: grid; place-items: center; color: #fff; }
.lb__close { top: 10px; right: 10px; }
.lb__prev { left: 6px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 6px; top: 50%; transform: translateY(-50%); }
.lb svg { width: 24px; height: 24px; }
.lb__cap { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: #c3cccf; font-size: .9rem; font-variant-numeric: tabular-nums; }

/* Réalisations : filtres */
.filters { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 2rem; }
.filters button { font-size: .925rem; font-weight: 500; padding: .6em 1em; border: 1px solid var(--line); border-radius: var(--r); transition: background .2s, color .2s, border-color .2s; }
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--alu); color: #fff; border-color: var(--alu); }
.filters sup { font-size: .7em; margin-left: .25em; color: inherit; opacity: .7; }
.realgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 12px; }
.realgrid [hidden] { display: none; }

/* Étapes (HUB) */
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; counter-reset: step; }
.steps li { counter-increment: step; }
.steps .media { aspect-ratio: 3 / 2; }
.steps li::after { content: "Étape " counter(step); display: block; font-size: .85rem; font-weight: 500; color: var(--muted); margin-top: .5rem; }

/* Tableau comparatif */
.compare { width: 100%; border-collapse: collapse; font-size: 1rem; font-variant-numeric: tabular-nums; }
.compare caption { text-align: left; font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.compare th, .compare td { text-align: left; padding: .9rem 1rem .9rem 0; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.compare thead th { font-size: .85rem; font-weight: 600; color: var(--muted); border-bottom-color: var(--ink); }
.compare tbody th { font-weight: 400; }
.compare td:nth-child(n+3) { text-align: right; }
.compare a { text-decoration: none; }
.compare a:hover { color: var(--teal-ink); text-decoration: underline; }
.compare .bar { display: block; height: 3px; background: var(--teal); margin-top: .35rem; border-radius: 2px; }
.scroll-x { overflow-x: auto; }

/* Formulaires ------------------------------------------------------------------- */
.form { display: grid; gap: 1.3rem; }
.form__row { display: grid; gap: 1.3rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .45rem; }
.field label, .field legend { font-size: .9rem; font-weight: 500; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1.05rem/1.4 var(--font); color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r); padding: .85rem .95rem; transition: border-color .2s, background .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; }
.field input[type="file"] { padding: .7rem; font-size: .95rem; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .6rem; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span { display: flex; flex-direction: column; gap: .5rem; padding: .5rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); font-size: .95rem; font-weight: 500; transition: border-color .2s, background .2s; }
.choice img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.choice input:checked + span { border-color: var(--teal); background: #fff; box-shadow: 0 0 0 1px var(--teal); }
.choice input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.checks { display: grid; gap: .55rem; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: 1rem; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: .2em; accent-color: var(--teal); flex: none; }
.hp { position: absolute; left: -9999px; }
.form__note { font-size: .875rem; color: var(--muted); }
.form__status { font-size: .95rem; padding: .9rem 1rem; border-radius: var(--r); display: none; }
.form__status.is-ok { display: block; background: #e3ece6; color: #24432f; }
.form__status.is-err { display: block; background: #f3e4e1; color: #6b2b22; }
.form__status.is-info { display: block; background: var(--paper); border: 1px solid var(--line); }

/* Rendez-vous */
.booking { display: grid; gap: 1.2rem; padding: clamp(20px, 3vw, 36px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
.booking iframe { width: 100%; height: 760px; border: 0; background: #fff; }

/* Bandeau d'appel */
.cta { display: grid; gap: 2rem; align-items: end; }
@media (min-width: 900px) { .cta { grid-template-columns: 1fr auto; } }
.cta h2 { max-width: 16ch; }

/* Pied de page ---------------------------------------------------------------------- */
.site-footer { background: #20262a; color: #c9d0d2; padding-top: clamp(64px, 8vw, 112px); font-size: .975rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: grid; gap: 2.6rem; padding-bottom: clamp(48px, 6vw, 80px); }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
@media (min-width: 1100px) { .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1.1fr; } }
.foot-grid h2 { font-size: .875rem; font-weight: 600; color: #fff; letter-spacing: .01em; margin-bottom: 1.1rem; }
.foot-grid ul { list-style: none; display: grid; gap: .5rem; }
.foot-brand img { width: 168px; margin-bottom: 1.4rem; }
.foot-brand p { max-width: 26em; color: #9fabaf; }
.social { display: flex; gap: .6rem; margin-top: 1.3rem; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line-light); border-radius: var(--r); }
.social a:hover { background: #fff; color: var(--ink); text-decoration: none; }
.social svg { width: 18px; height: 18px; }
.foot-bottom { border-top: 1px solid var(--line-light); padding-block: 1.4rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; font-size: .85rem; color: #9fabaf; }
.foot-word { font-size: clamp(4rem, 15.5vw, 15rem); font-weight: 200; letter-spacing: -.06em; line-height: .8; color: #2b3236; margin: 0 0 -.06em; white-space: nowrap; user-select: none; overflow: hidden; }

/* Divers */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; } .mb-2 { margin-bottom: 2rem; }
.stack > * + * { margin-top: 1rem; }
.center { text-align: center; }
.notice { font-size: .9rem; padding: 1rem 1.2rem; border-left: 2px solid var(--teal); background: var(--paper); }
.legal h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 2.6rem 0 1rem; font-weight: 300; }
.legal p, .legal li { max-width: 46em; }
.legal ul { padding-left: 1.2rem; margin-bottom: 1rem; }
.err404 { min-height: 70vh; display: grid; align-content: center; }

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