/* ==========================================================================
   CPJ Bardage · feuille de style
   Mise en page : « plans de façade ». Des bandes pleine largeur alternent
   anthracite, galvanisé et jaune ; tout s’aligne sur un cadre de 1320 px et
   se sépare par des joints au trait fin, comme les lames d’un bardage.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/plex-mono-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/plex-mono-500-latin.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Couleurs, d’après le nuancier RAL */
  --anthracite: #293133;  /* RAL 7016 · encre et bandes sombres */
  --nuit: #1b2124;        /* anthracite profond · vidéo, pied de page */
  --acier: #556064;       /* texte secondaire sur fond clair */
  --alu: #a9b2b5;         /* texte secondaire sur fond sombre */
  --joint: #d2d8d7;       /* filets sur fond clair */
  --galva: #eef0ef;       /* RAL 9003 · fond général */
  --blanc: #f8f9f7;       /* surfaces claires */
  --jaune: #fad201;       /* RAL 1023 · signal */
  --jaune-vif: #ffdf33;   /* survol du jaune */

  /* Typographie */
  --f-titre: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --f-texte: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* Échelle typographique */
  --t-mini: .75rem;
  --t-base: 1.0625rem;
  --t-chapo: clamp(1.08rem, .98rem + .45vw, 1.3rem);
  --t-h3: clamp(1.9rem, 1.35rem + 2vw, 3rem);
  --t-h2: clamp(2.1rem, 1.3rem + 3vw, 4rem);
  --t-h1: clamp(2.6rem, 1.2rem + 5vw, 5.5rem);

  /* Gabarit */
  --cadre: 1320px;
  --gouttiere: clamp(20px, 4vw, 48px);
  --section: clamp(76px, 10vw, 152px);
  --entete: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  color-scheme: light;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--entete) + env(safe-area-inset-top, 0px));
}

body {
  margin: 0;
  background: var(--galva);
  color: var(--anthracite);
  font: 400 var(--t-base)/1.62 var(--f-texte);
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, video, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--jaune); color: var(--anthracite); }

h1, h2, h3 {
  margin: 0;
  font-family: var(--f-titre);
  font-stretch: 125%;
  font-weight: 800;
  letter-spacing: -.022em;
  line-height: 1.02;
  text-wrap: balance;
}

:focus-visible { outline: 2px solid var(--focus, var(--anthracite)); outline-offset: 3px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 1.15em; height: 1.15em; flex: none; }

.cadre {
  width: 100%;
  max-width: calc(var(--cadre) + 2 * var(--gouttiere));
  margin-inline: auto;
  padding-left: max(var(--gouttiere), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gouttiere), env(safe-area-inset-right, 0px));
}

.evitement {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  background: var(--jaune);
  color: var(--anthracite);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform .2s;
}
.evitement:focus { transform: none; }

/* Étiquette : petite pastille jaune + texte technique */
.etiquette {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 500 var(--t-mini)/1.2 var(--f-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--acier);
}
.etiquette::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  background: var(--jaune);
  box-shadow: inset 0 0 0 1px rgba(41, 49, 51, .18);
}
.etiquette-claire { color: rgba(255, 255, 255, .78); }

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 20px;
  border: 1.5px solid transparent;
  border-radius: 0;
  font: 700 .95rem/1.1 var(--f-texte);
  font-stretch: 112%;
  letter-spacing: .005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn .i { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .i { transform: translateX(4px); }
.btn-grand { min-height: 56px; padding: 0 26px; font-size: 1rem; }
.btn-jaune { background: var(--jaune); color: var(--anthracite); }
.btn-jaune:hover { background: var(--jaune-vif); }
.btn-ligne { border-color: currentColor; background: transparent; }
.btn-ligne:hover { background: color-mix(in srgb, currentColor 12%, transparent); }
.btn-sombre { background: var(--anthracite); color: #fff; }
.btn-sombre:hover { background: #12171a; }
.btn:disabled { opacity: .6; cursor: progress; }

/* --------------------------------------------------------------------------
   Marque (logo)
   -------------------------------------------------------------------------- */
.marque {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}
.marque-logo { width: 40px; height: 40px; flex: none; }
.marque-mot { display: flex; flex-direction: column; gap: 5px; }
.marque-cpj {
  font: 900 1.875rem/.8 var(--f-titre);
  font-stretch: 125%;
  letter-spacing: -.035em;
}
.marque-sous {
  font: 650 .6rem/1 var(--f-titre);
  font-stretch: 125%;
  letter-spacing: .3em;
  margin-right: -.3em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   En-tête
   -------------------------------------------------------------------------- */
.entete {
  --focus: var(--jaune);
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  color: #fff;
  transition: background-color .35s, color .35s, box-shadow .35s;
}
.entete::before {
  content: "";
  position: absolute;
  inset: 0 0 -24px;
  z-index: -1;
  background: linear-gradient(180deg, rgba(20, 25, 27, .55), rgba(20, 25, 27, 0));
  pointer-events: none;
  transition: opacity .35s;
}
.entete.est-plein {
  --focus: var(--anthracite);
  background: rgba(238, 240, 239, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  color: var(--anthracite);
  box-shadow: 0 1px 0 var(--joint);
}
.entete.est-plein::before { opacity: 0; }

.entete-in {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  height: var(--entete);
}
.entete .marque { margin-right: auto; }

.nav ul { display: flex; gap: clamp(18px, 2.4vw, 34px); }
.nav a {
  position: relative;
  display: block;
  padding-block: 10px;
  font: 500 .95rem/1 var(--f-texte);
  text-decoration: none;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--jaune);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.entete.est-plein .nav a::after { background: var(--anthracite); }
.nav a:hover::after,
.nav a[aria-current="true"]::after { transform: scaleX(1); }
.entete-cta { min-height: 44px; }

.menu-btn {
  display: none;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 4px 0 12px;
  border: 0;
  background: none;
  font: 600 .95rem/1 var(--f-texte);
  cursor: pointer;
}
.menu-btn-ico { position: relative; display: inline-block; width: 26px; height: 12px; }
.menu-btn-ico i {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.menu-btn-ico i:first-child { top: 0; }
.menu-btn-ico i:last-child { top: 10px; }
.menu-ouvert .menu-btn-ico i:first-child { top: 5px; transform: rotate(45deg); }
.menu-ouvert .menu-btn-ico i:last-child { top: 5px; transform: rotate(-45deg); }

.menu-mobile {
  --focus: var(--jaune);
  position: fixed;
  inset: 0;
  z-index: 45;
  overflow-y: auto;
  padding-top: calc(var(--entete) + env(safe-area-inset-top, 0px));
  background: var(--nuit);
  color: #fff;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
}
.menu-mobile-in {
  display: flex;
  flex-direction: column;
  gap: 40px;
  min-height: 100%;
  padding-block: 16px calc(32px + env(safe-area-inset-bottom, 0px));
}
.menu-liens a {
  display: block;
  padding-block: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  font: 800 clamp(1.8rem, 1.2rem + 3vw, 2.6rem)/1.1 var(--f-titre);
  font-stretch: 125%;
  letter-spacing: -.02em;
  text-decoration: none;
}
.menu-contact { display: grid; gap: 16px; margin-top: auto; }
.menu-contact a:not(.btn) {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #dfe4e3;
  font-size: 1.05rem;
  text-decoration: none;
}
.menu-contact .btn { justify-self: start; }

html.menu-ouvert, html.menu-ouvert body { overflow: hidden; }
.menu-ouvert .menu-mobile {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s;
}
.menu-ouvert .entete {
  --focus: var(--jaune);
  background: transparent;
  color: #fff;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.menu-ouvert .entete::before { opacity: 0; }

@media (max-width: 959px) {
  :root { --entete: 64px; }
  .nav, .entete-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .entete .marque-logo { width: 36px; height: 36px; }
  .entete .marque-cpj { font-size: 1.65rem; }
  .entete .marque-sous { font-size: .54rem; }
}

/* --------------------------------------------------------------------------
   Accueil : vidéo vue à travers des lames qui pivotent
   -------------------------------------------------------------------------- */
.hero {
  --focus: var(--jaune);
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(640px, 100svh, 1000px);
  overflow: hidden;
  background: var(--nuit);
  color: #fff;
}
.hero-media, .hero-lames, .hero-voile { position: absolute; inset: 0; }
.hero-media { z-index: -3; background: var(--nuit); }
.hero-media picture,
.hero-affiche,
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-affiche,
.hero-video { object-fit: cover; object-position: 50% 42%; }
.hero-video { opacity: 0; transition: opacity 1.2s ease; }
.hero-video.en-lecture { opacity: 1; }

.hero-lames { z-index: -2; display: flex; pointer-events: none; }
.hero-lames span { position: relative; flex: 1 1 0; }
.hero-lames span::before {
  content: "";
  position: absolute;
  inset: 0 -1px 0 0;
  background: linear-gradient(90deg, #20272a 0%, #2d3538 46%, #1e2528 100%);
  transform-origin: 0 50%;
  animation: lame 1.25s cubic-bezier(.75, 0, .25, 1) both;
  animation-delay: calc(.3s + var(--i) * .05s);
}
.hero-lames span::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 1px;
  background: rgba(13, 17, 19, .2);
}
@keyframes lame {
  from { transform: perspective(700px) rotateY(0deg); filter: brightness(1); }
  to { transform: perspective(700px) rotateY(90deg); filter: brightness(.5); }
}
@media (max-width: 1199px) { .hero-lames span:nth-child(n+17) { display: none; } }
@media (max-width: 759px) { .hero-lames span:nth-child(n+9) { display: none; } }

.hero-voile {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 25, 27, .45) 0%, rgba(20, 25, 27, 0) 22%),
    linear-gradient(0deg, rgba(20, 25, 27, .96) 0%, rgba(20, 25, 27, .8) 24%, rgba(20, 25, 27, .25) 58%, rgba(20, 25, 27, 0) 76%),
    linear-gradient(90deg, rgba(20, 25, 27, .72) 0%, rgba(20, 25, 27, .12) 55%, rgba(20, 25, 27, 0) 72%);
}

.hero-in {
  display: grid;
  justify-items: start;
  gap: clamp(18px, 2.2vw, 28px);
  padding-top: calc(var(--entete) + 120px);
  padding-bottom: clamp(36px, 5vw, 64px);
}
.hero h1 { display: grid; justify-items: start; gap: clamp(18px, 2.2vw, 28px); }
.hero-accroche {
  display: block;
  font-size: var(--t-h1);
  line-height: .96;
  letter-spacing: -.032em;
}
.hero-accroche em { font-style: normal; color: var(--jaune); }
.hero-chapo {
  max-width: 38rem;
  color: rgba(255, 255, 255, .86);
  font-size: var(--t-chapo);
  line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-actions .btn-ligne { color: #fff; }

.plaque {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, .22);
}
.plaque > div { min-width: 0; padding: 16px 20px 24px 0; }
.plaque > div + div { padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, .14); }
.plaque dt {
  font: 500 .7rem/1.3 var(--f-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .62);
}
.plaque dd { margin: 6px 0 0; font: 600 .98rem/1.35 var(--f-texte); }

@media (max-width: 479px) {
  .hero .etiquette { gap: 8px; font-size: .64rem; letter-spacing: .06em; }
}
@media (max-width: 759px) {
  .hero { min-height: clamp(600px, 100svh, 860px); }
  .hero-in { padding-top: calc(var(--entete) + 96px); }
  .hero-actions .btn { flex: 1 1 100%; }
  .plaque { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plaque > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .plaque > div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .14); }
}

/* --------------------------------------------------------------------------
   En bref
   -------------------------------------------------------------------------- */
.bref { padding-block: var(--section) calc(var(--section) * .8); }
.manifeste {
  max-width: 21em;
  margin-top: 22px;
  font: 650 clamp(1.75rem, 1.05rem + 2.75vw, 3.6rem)/1.1 var(--f-titre);
  font-stretch: 112%;
  letter-spacing: -.025em;
}
.surligne {
  padding-inline: .06em;
  background: linear-gradient(transparent 60%, var(--jaune) 60%, var(--jaune) 92%, transparent 92%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.chiffres {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: clamp(48px, 7vw, 100px) 0 0;
  border-top: 2px solid var(--anthracite);
}
.chiffres > div { min-width: 0; padding: 20px 20px 0 0; }
.chiffres > div + div { padding-left: clamp(16px, 2vw, 28px); border-left: 1px solid var(--joint); }
.chiffres dt {
  font: 500 var(--t-mini)/1.2 var(--f-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--acier);
}
.chiffres dd {
  display: grid;
  justify-items: start;
  gap: 10px;
  margin: 14px 0 0;
  font: 800 clamp(2.3rem, 1.6rem + 2.5vw, 4.1rem)/.95 var(--f-titre);
  font-stretch: 125%;
  letter-spacing: -.035em;
  font-variant-numeric: tabular-nums lining-nums;
}
.chiffres small {
  font: 600 clamp(.85rem, .8rem + .25vw, 1rem)/1.2 var(--f-texte);
  letter-spacing: 0;
  color: var(--acier);
}
@media (max-width: 759px) {
  .chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chiffres > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .chiffres > div:nth-child(n+3) { margin-top: 24px; border-top: 1px solid var(--joint); }
}

/* --------------------------------------------------------------------------
   En-têtes de section
   -------------------------------------------------------------------------- */
.tete {
  display: grid;
  gap: 18px;
  max-width: 58rem;
  margin-bottom: clamp(44px, 6vw, 84px);
}
.tete h2 { font-size: var(--t-h2); }
.tete-intro { max-width: 36rem; color: var(--acier); font-size: 1.125rem; }

/* --------------------------------------------------------------------------
   Activités
   -------------------------------------------------------------------------- */
.activites {
  padding-block: var(--section);
  background: var(--blanc);
  border-top: 1px solid var(--joint);
}
.act {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 104px);
  align-items: start;
}
.act-visuel {
  position: sticky;
  top: calc(var(--entete) + 28px);
  aspect-ratio: 1 / 1;
  max-height: calc(100svh - var(--entete) - 56px);
  overflow: hidden;
  background: var(--anthracite);
}
.act-fig {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity .7s var(--ease), transform 1.4s var(--ease);
}
.act-fig.is-active { opacity: 1; transform: scale(1); }
.act-fig picture, .act-fig img { width: 100%; height: 100%; }
.act-fig img { object-fit: cover; }
.act-fig figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 10px 14px;
  background: var(--nuit);
  color: #fff;
  font: 500 .72rem/1.2 var(--f-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.act-liste { border-bottom: 1px solid var(--joint); }
.act-item {
  position: relative;
  display: grid;
  gap: 14px;
  padding-block: clamp(30px, 4vw, 46px);
  border-top: 1px solid var(--joint);
}
.act-item::before {
  content: "";
  position: absolute;
  top: -1px;
  left: calc(-1 * clamp(18px, 3vw, 52px));
  width: 4px;
  height: 0;
  background: var(--jaune);
  transition: height .5s var(--ease);
}
.act-item.is-active::before { height: calc(100% + 2px); }
.coupe { width: min(220px, 72%); height: auto; color: var(--anthracite); }
.coupe-legende {
  margin-top: -4px;
  font: 500 .7rem/1.35 var(--f-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--acier);
}
.act-item h3 { margin-top: 8px; font-size: var(--t-h3); }
.act-item > p:not(.coupe-legende) { max-width: 34rem; color: var(--acier); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tags li {
  padding: 6px 10px;
  border: 1px solid var(--joint);
  background: var(--galva);
  font: 500 .72rem/1.2 var(--f-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.act-vignette {
  display: none;
  margin: 0 0 10px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--anthracite);
}
.act-vignette picture, .act-vignette img { width: 100%; height: 100%; }
.act-vignette img { object-fit: cover; }

@media (max-width: 899px) {
  .act { grid-template-columns: minmax(0, 1fr); }
  .act-visuel { display: none; }
  .act-vignette { display: block; }
  .act-item::before { display: none; }
}

/* --------------------------------------------------------------------------
   Réalisations
   -------------------------------------------------------------------------- */
.realisations {
  --focus: var(--jaune);
  padding-block: var(--section);
  background: var(--anthracite);
  color: #eef1f0;
}
.tete-large {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(24px, 4vw, 64px);
  max-width: none;
}
.tete-large > div:first-child { display: grid; gap: 18px; }
.tete-cote { display: grid; gap: 22px; }
.realisations .tete-intro { color: var(--alu); }

.nuancier { display: flex; flex-wrap: wrap; gap: 10px 16px; }
.nuancier li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 .7rem/1 var(--f-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #c3cbcd;
}
.nuancier i {
  width: 16px;
  height: 16px;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
}

.galerie {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: clamp(8px, 1vw, 14px);
}
.g-item { position: relative; min-width: 0; aspect-ratio: 4 / 3; }
.g-grand { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.g-grand-droite { grid-column: 2 / span 2; }
.g-ouvrir {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #1f2629;
  color: #fff;
  text-align: left;
  cursor: zoom-in;
}
.g-ouvrir picture, .g-ouvrir img { width: 100%; height: 100%; }
.g-ouvrir img { object-fit: cover; transition: transform 1s var(--ease); }
.g-ouvrir:hover img, .g-ouvrir:focus-visible img { transform: scale(1.045); }
.g-leg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 6px;
  padding: 56px clamp(14px, 1.6vw, 22px) clamp(14px, 1.6vw, 20px);
  background: linear-gradient(180deg, rgba(16, 20, 22, 0), rgba(16, 20, 22, .86));
}
.g-cat {
  font: 500 .68rem/1 var(--f-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--jaune);
}
.g-titre { font: 650 clamp(.95rem, .9rem + .2vw, 1.05rem)/1.3 var(--f-texte); font-stretch: 105%; }
.g-grand .g-titre { font-size: clamp(1.1rem, 1rem + .5vw, 1.45rem); }
.g-teintes { position: absolute; top: 12px; right: 12px; display: flex; gap: 3px; }
.g-teintes i {
  width: 14px;
  height: 14px;
  background: var(--c);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .6);
}
.galerie-plus { display: flex; justify-content: center; margin-top: clamp(28px, 4vw, 48px); }
.realisations .btn-ligne { color: #fff; }

@media (max-width: 899px) {
  .tete-large { grid-template-columns: minmax(0, 1fr); }
  .galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-grand, .g-grand-droite { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 10; }
}
@media (max-width: 559px) {
  .galerie { grid-template-columns: minmax(0, 1fr); }
  .g-grand, .g-grand-droite { aspect-ratio: 4 / 3; }
}

/* Visionneuse */
.visionneuse {
  --focus: var(--jaune);
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  color: #fff;
}
.visionneuse[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.visionneuse::backdrop { background: rgba(14, 18, 20, .95); }
html.vis-ouverte, html.vis-ouverte body { overflow: hidden; }
.vis-haut {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(12px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) 12px max(16px, env(safe-area-inset-left, 0px));
}
.vis-compteur { font: 500 .75rem/1 var(--f-mono); letter-spacing: .14em; color: var(--alu); }
.vis-scene {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  padding-inline: clamp(12px, 6vw, 88px);
}
.vis-img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
  touch-action: pan-y;
}
.vis-btn {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(20, 25, 27, .6);
  color: #fff;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.vis-btn:hover { background: var(--jaune); border-color: var(--jaune); color: var(--anthracite); }
.vis-btn .i { width: 22px; height: 22px; }
.vis-prec, .vis-suiv { position: absolute; top: 50%; z-index: 1; transform: translateY(-50%); }
.vis-prec { left: max(12px, env(safe-area-inset-left, 0px)); }
.vis-suiv { right: max(12px, env(safe-area-inset-right, 0px)); }
.vis-legende {
  padding: 16px 20px calc(24px + env(safe-area-inset-bottom, 0px));
  text-align: center;
  font: 600 1rem/1.4 var(--f-texte);
}

/* --------------------------------------------------------------------------
   L’entreprise
   -------------------------------------------------------------------------- */
.entreprise { padding-block: var(--section); }
.ent {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 104px);
  align-items: center;
}
.ent-photo { margin: 0; }
.ent-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ent-photo figcaption {
  margin-top: 12px;
  font: 500 .72rem/1.3 var(--f-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--acier);
}
.ent-texte { display: grid; gap: 20px; }
.ent-texte h2 { font-size: var(--t-h2); }
.ent-chapo { font: 600 var(--t-chapo)/1.45 var(--f-texte); }
.ent-texte > p:last-child { color: var(--acier); }

.piliers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin-top: clamp(56px, 7vw, 104px);
}
.piliers li {
  display: grid;
  align-content: start;
  gap: 12px;
  padding-top: 22px;
  border-top: 2px solid var(--anthracite);
}
.pilier-ico { width: 32px; height: 32px; }
.piliers h3 { margin-top: 6px; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); font-stretch: 115%; }
.piliers p { color: var(--acier); }

@media (max-width: 899px) {
  .ent { grid-template-columns: minmax(0, 1fr); }
  .piliers { grid-template-columns: minmax(0, 1fr); }
}

/* --------------------------------------------------------------------------
   Zone d’intervention
   -------------------------------------------------------------------------- */
.zone {
  padding-block: var(--section) calc(var(--section) * .7);
  background: var(--blanc);
  border-top: 1px solid var(--joint);
}
.zone-grille {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 104px);
  align-items: center;
}
.zone-carte {
  margin: 0;
  padding: clamp(28px, 4vw, 56px);
  background: var(--galva);
  border: 1px solid var(--joint);
}
.carte { width: min(100%, 380px); height: auto; margin-inline: auto; color: var(--anthracite); }
.carte-txt {
  font: 500 9.5px var(--f-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  fill: currentColor;
  paint-order: stroke;
  stroke: var(--galva);
  stroke-width: 5px;
  stroke-linejoin: round;
}
.zone-texte { display: grid; gap: 18px; }
.zone-texte h2 { font-size: var(--t-h2); }
.zone-texte > p:not(.etiquette):not(.coordonnees) { max-width: 34rem; color: var(--acier); font-size: 1.125rem; }
.coordonnees { font: 500 .8rem/1.4 var(--f-mono); letter-spacing: .1em; }

.recrutement {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  margin-top: clamp(48px, 6vw, 88px);
  padding-top: 28px;
  border-top: 1px solid var(--joint);
}
.recrutement-txt { max-width: 46rem; font-size: 1.1rem; }
.recrutement-txt strong { font-family: var(--f-titre); font-stretch: 115%; font-weight: 800; }

@media (max-width: 899px) {
  .zone-grille { grid-template-columns: minmax(0, 1fr); }
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact {
  --focus: var(--anthracite);
  padding-block: var(--section);
  background: var(--jaune);
  color: var(--anthracite);
}
.contact .etiquette { color: var(--anthracite); }
.contact .etiquette::before { background: var(--anthracite); box-shadow: none; }
.contact-grille {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}
.contact-infos { position: sticky; top: calc(var(--entete) + 32px); display: grid; gap: 20px; }
.contact h2 { font-size: clamp(2.6rem, 1.4rem + 4.4vw, 5.2rem); line-height: .95; letter-spacing: -.035em; }
.contact-chapo { max-width: 28rem; font-size: var(--t-chapo); }
.coord { margin-top: 16px; border-top: 1.5px solid var(--anthracite); }
.coord li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 14px;
  padding-block: 18px;
  border-bottom: 1px solid rgba(41, 49, 51, .28);
}
.coord > li > .i { width: 22px; height: 22px; margin-top: 2px; }
.coord-k {
  display: block;
  font: 500 .7rem/1.2 var(--f-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .78;
}
.coord-v {
  display: block;
  margin-top: 6px;
  font: 750 clamp(1.1rem, 1rem + .55vw, 1.45rem)/1.3 var(--f-titre);
  font-stretch: 110%;
  letter-spacing: -.01em;
  text-decoration: none;
  overflow-wrap: anywhere;
}
a.coord-v:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.coord-lien {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding-bottom: 2px;
  border-bottom: 1.5px solid currentColor;
  font: 600 .9rem/1.2 var(--f-texte);
  text-decoration: none;
}
.coord-lien .i { width: 16px; height: 16px; }

.formulaire {
  position: relative;
  display: grid;
  gap: 22px;
  padding: clamp(22px, 3.4vw, 44px);
  background: var(--blanc);
  box-shadow: 0 40px 90px -50px rgba(41, 49, 51, .7);
}
.form-tete { display: grid; gap: 6px; padding-bottom: 18px; border-bottom: 1px solid var(--joint); }
.form-tete h3 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2.1rem); }
.form-tete p { color: var(--acier); font-size: .9rem; }
.piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.champ { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.champ > label, .champ > legend { padding: 0; font: 650 .9rem/1.3 var(--f-texte); }
.champ > legend { margin-bottom: 10px; }
.facultatif { font-weight: 400; color: var(--acier); }
.champ input,
.champ textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #c4cbca;
  border-radius: 0;
  background: #fff;
  color: var(--anthracite);
  font: 400 1rem/1.4 var(--f-texte);
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
  appearance: none;
}
.champ textarea { min-height: 140px; resize: vertical; }
.champ input:hover, .champ textarea:hover { border-color: #8f999b; }
.champ input:focus,
.champ textarea:focus {
  outline: none;
  border-color: var(--anthracite);
  box-shadow: 0 0 0 1px var(--anthracite), 0 0 0 5px rgba(250, 210, 1, .6);
}
.champ input::placeholder, .champ textarea::placeholder { color: #899395; }
.champ [aria-invalid="true"] { border-color: #b3261e; box-shadow: 0 0 0 1px #b3261e; }
.champs-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.champ-large { grid-column: 1 / -1; }

.puces { display: flex; flex-wrap: wrap; gap: 8px; }
.puce { position: relative; display: inline-flex; cursor: pointer; }
.puce input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.puce span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid #c4cbca;
  background: #fff;
  font: 500 .92rem/1 var(--f-texte);
  transition: background-color .2s, color .2s, border-color .2s;
}
.puce:hover span { border-color: var(--anthracite); }
.puce input:checked + span { background: var(--anthracite); border-color: var(--anthracite); color: #fff; }
.puce input:checked + span::before { content: ""; width: 8px; height: 8px; background: var(--jaune); }
.puce input:focus-visible + span { outline: 2px solid var(--anthracite); outline-offset: 2px; }

.form-pied { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; padding-top: 4px; }
.form-rgpd { max-width: 22rem; color: var(--acier); font-size: .85rem; }
.form-statut { font-weight: 600; }
.form-statut:empty { display: none; }
.form-statut[data-etat="envoi"] { color: var(--acier); }
.form-statut[data-etat="ok"] { padding: 14px 16px; border-left: 4px solid #2e7d3c; background: #e5f1e6; color: #1d5b2a; }
.form-statut[data-etat="erreur"] { padding: 14px 16px; border-left: 4px solid #b3261e; background: #fbe9e7; color: #8c1d18; }

@media (max-width: 899px) {
  .contact-grille { grid-template-columns: minmax(0, 1fr); }
  .contact-infos { position: static; }
}
@media (max-width: 599px) {
  .champs-2 { grid-template-columns: minmax(0, 1fr); }
  .form-pied .btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */
.pied {
  --focus: var(--jaune);
  padding-block: clamp(64px, 8vw, 112px) calc(28px + env(safe-area-inset-bottom, 0px));
  background: var(--nuit);
  color: var(--alu);
}
.pied-haut {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
}
.pied-marque { display: grid; align-content: start; gap: 20px; }
.marque-grande { color: #fff; justify-self: start; gap: 16px; }
.marque-grande .marque-logo { width: 58px; height: 58px; }
.marque-grande .marque-mot { gap: 7px; }
.marque-grande .marque-cpj { font-size: 2.75rem; }
.marque-grande .marque-sous { font-size: .86rem; }
.pied-marque p { max-width: 22rem; }
.pied-titre {
  margin-bottom: 16px;
  font: 500 .7rem/1.2 var(--f-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #828e91;
}
.pied-col ul { display: grid; gap: 10px; }
.pied-col li { color: #dfe4e3; }
.pied-col a { color: #eef1f0; text-decoration: none; }
.pied-col a:hover { color: var(--jaune); }
.pied-bas {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: clamp(48px, 6vw, 88px);
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font: 500 .72rem/1.4 var(--f-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #828e91;
}
.pied-bas a { color: #c9d0d2; text-decoration: none; }
.pied-bas a:hover { color: var(--jaune); }

@media (max-width: 899px) {
  .pied-haut { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pied-marque { grid-column: 1 / -1; }
}
@media (max-width: 499px) {
  .pied-haut { grid-template-columns: minmax(0, 1fr); }
}

/* --------------------------------------------------------------------------
   Page des mentions légales
   -------------------------------------------------------------------------- */
.retour { min-height: 42px; }
.page-legale { padding-block: calc(var(--entete) + clamp(48px, 7vw, 96px)) var(--section); }
.legal { display: grid; gap: 22px; max-width: 46rem; }
.legal h1 { margin-bottom: 8px; font-size: var(--t-h2); }
.legal section { display: grid; gap: 12px; padding-top: 28px; border-top: 1px solid var(--joint); }
.legal h2 { font-size: clamp(1.3rem, 1.15rem + .6vw, 1.7rem); font-stretch: 115%; }
.legal section > p { color: var(--acier); }
.legal strong { color: var(--anthracite); }
.legal a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.fiche { display: grid; margin: 4px 0 0; border-top: 1px solid var(--joint); }
.fiche > div {
  display: grid;
  grid-template-columns: minmax(0, 13rem) minmax(0, 1fr);
  gap: 4px 20px;
  padding-block: 12px;
  border-bottom: 1px solid var(--joint);
}
.fiche dt {
  padding-top: 2px;
  font: 500 .72rem/1.5 var(--f-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--acier);
}
.fiche dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.maj {
  padding-top: 12px;
  font: 500 .72rem/1.4 var(--f-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--acier);
}
.pied-court { padding-block: 8px calc(28px + env(safe-area-inset-bottom, 0px)); }
.pied-court .pied-bas { margin-top: 0; }
.form-rgpd a { color: inherit; text-underline-offset: 3px; }
@media (max-width: 599px) {
  .fiche > div { grid-template-columns: minmax(0, 1fr); }
}

/* --------------------------------------------------------------------------
   Mouvement réduit
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    transition-duration: .01ms !important;
  }
}
