/* ==========================================================================
   KLÉBER CONVEYOR BELT — Composants
   ========================================================================== */

/* Boutons ------------------------------------------------------------------ */
.btn {
  --btn-bg: var(--red-ui); --btn-fg: var(--white); --btn-bd: var(--red-ui);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 50px; padding: .8rem 1.6rem;
  font-family: var(--font-body); font-weight: 650; font-size: .975rem; line-height: 1.2;
  color: var(--btn-fg); background: var(--btn-bg); border: 1.5px solid var(--btn-bd);
  border-radius: var(--radius); text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { --btn-bg: var(--red-ui-hover); --btn-bd: var(--red-ui-hover); color: var(--white); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--dark { --btn-bg: var(--ink); --btn-bd: var(--ink); }
.btn--dark:hover { --btn-bg: var(--black); --btn-bd: var(--black); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--ink); }
.btn--outline:hover { --btn-bg: var(--ink); --btn-bd: var(--ink); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255,255,255,.7); }
.btn--ghost:hover { --btn-bg: var(--white); --btn-bd: var(--white); color: var(--ink); }
.btn--sm { min-height: 42px; padding: .6rem 1.1rem; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 650; text-decoration: none;
  color: var(--red-ui);
}
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.section--dark .link-arrow, .section--black .link-arrow { color: #FF6B70; }

/* Header -------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line-light);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(0,0,0,.35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); }
.brand { display: block; flex: none; line-height: 0; }
.brand img { width: 168px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 1.75rem; }
.nav-list { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .55rem .8rem; font-size: .95rem; font-weight: 550; color: var(--ink);
  text-decoration: none; background: none; border: 0; cursor: pointer; position: relative;
}
.nav-link::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .2rem; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-link:hover, .nav-link[aria-current="page"], .nav-item.is-active > .nav-link { color: var(--ink); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after, .nav-item.is-active > .nav-link::after { transform: scaleX(1); }
.nav-caret { width: 10px; height: 10px; transition: transform .25s var(--ease); }
.has-dropdown.is-open .nav-caret { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: -1rem; min-width: 320px;
  background: var(--white); border: 1px solid var(--line-light); border-top: 3px solid var(--red);
  box-shadow: var(--shadow); padding: 1rem; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.dropdown--wide { min-width: 640px; display: grid; grid-template-columns: 1fr 1fr; gap: .25rem 1.5rem; }
.has-dropdown:hover > .dropdown, .has-dropdown.is-open > .dropdown, .has-dropdown:focus-within > .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a {
  display: block; padding: .5rem .6rem; font-size: .92rem; color: var(--gray-900); text-decoration: none;
  border-left: 2px solid transparent; transition: background .2s, border-color .2s;
}
.dropdown a:hover { background: var(--gray-100); border-left-color: var(--red); color: var(--ink); }
.dropdown .dropdown-title {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gray-500); padding: .6rem .6rem .3rem;
}
.dropdown .dropdown-all { font-weight: 650; color: var(--red-ui); }
.nav-cta { white-space: nowrap; }
.menu-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line-light); background: var(--white);
  border-radius: var(--radius); cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: transform .3s var(--ease), background .3s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero (accueil) ------------------------------------------------------------ */
.hero {
  position: relative; isolation: isolate; color: #D9DCE0; background: var(--black);
  min-height: min(88vh, 820px); display: flex; align-items: center; overflow: hidden;
}
.hero__media, .page-hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img, .page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(12,13,15,.94) 0%, rgba(12,13,15,.82) 42%, rgba(12,13,15,.35) 100%),
              linear-gradient(0deg, rgba(12,13,15,.6) 0%, rgba(12,13,15,0) 40%);
}
.hero__content { padding-block: clamp(5rem, 4rem + 5vw, 8rem); max-width: 760px; }
.hero h1 { color: var(--white); font-size: clamp(2.5rem, 1.5rem + 4.2vw, 4.75rem); }
.hero h1 .accent { color: var(--red); }
.hero p { font-size: var(--fs-lg); max-width: 620px; }
.hero__rule { width: 72px; height: 4px; background: var(--red); margin: 0 0 1.6rem; border: 0; }
.hero__stripes { position: absolute; right: -40px; bottom: -40px; z-index: -1; width: 340px; opacity: .9; pointer-events: none; }

/* Page hero (pages internes) ---------------------------------------------- */
.page-hero { position: relative; isolation: isolate; background: var(--anthracite); color: #C9CDD2; overflow: hidden; }
.page-hero--plain::before { background: radial-gradient(120% 120% at 100% 0%, #26292E 0%, var(--anthracite) 55%); }
.page-hero__inner { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6.5rem); max-width: 820px; }
.page-hero h1 { color: var(--white); }
.page-hero .lead { color: #D5D8DC; }
.breadcrumb { margin-bottom: 1.6rem; font-size: .85rem; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.breadcrumb li { color: #9AA0A7; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: #5D636A; }
.breadcrumb a { color: #C9CDD2; text-decoration: none; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }
.page-hero__stripes { position: absolute; right: clamp(-120px, -6vw, -40px); top: 50%; transform: translateY(-50%); width: clamp(180px, 22vw, 340px); opacity: .12; z-index: -1; }

/* Stripes décoratives (rappel du // du logo) */
.stripes { display: flex; gap: 14%; transform: skewX(-28deg); }
.stripes span { display: block; flex: 1; height: 100%; background: var(--red); }

/* Cartes génériques --------------------------------------------------------- */
.card {
  position: relative; background: var(--white); border: 1px solid var(--line-light);
  padding: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); height: 100%;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { font-size: 1.3rem; }
.card p:last-child { margin-bottom: 0; }
.card__num { font-family: var(--font-mono); font-size: .75rem; color: var(--red-ui); letter-spacing: .15em; margin-bottom: 1rem; display: block; }
.card--dark { background: var(--anthracite-2); border-color: var(--line-dark); color: #B9BEC4; }
.card--dark h3 { color: var(--white); }
.card--link { text-decoration: none; color: inherit; display: block; }
.card--link:hover { color: inherit; }
.card .link-arrow { margin-top: 1rem; }

/* Cartes produit ---------------------------------------------------------------- */
.product-card {
  display: flex; flex-direction: column; height: 100%; background: var(--white);
  border: 1px solid var(--line-light); text-decoration: none; color: inherit;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.product-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--anthracite); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card__media--contain { background: var(--white); border-bottom: 1px solid var(--line-light); }
.product-card__media--contain img { object-fit: contain; padding: 1.25rem; }
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card__media--mark { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #1E2125, #121417); }
.product-card__media--mark .mark { width: 34%; height: 46%; opacity: .95; }
.product-card__media--mark .mark-label {
  position: absolute; left: 1rem; bottom: .9rem; font-family: var(--font-mono); font-size: .68rem;
  letter-spacing: .18em; text-transform: uppercase; color: #9AA0A7;
}
.product-card__body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.product-card__family { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gray-500); margin-bottom: .6rem; }
.product-card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.product-card p { font-size: .94rem; color: var(--gray-700); margin-bottom: 1rem; }
.product-card .link-arrow { margin-top: auto; font-size: .92rem; }

/* Filtres catalogue ---------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.25rem; }
.filter-btn {
  padding: .6rem 1rem; border: 1px solid var(--gray-300); background: var(--white); cursor: pointer;
  font-size: .88rem; font-weight: 600; color: var(--gray-900); border-radius: var(--radius);
  transition: background .2s, color .2s, border-color .2s;
}
.filter-btn:hover { border-color: var(--ink); }
.filter-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
[data-filter-item][hidden] { display: none !important; }

/* Familles (bloc large) ------------------------------------------------------- */
.family {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0;
  background: var(--white); border: 1px solid var(--line-light); overflow: hidden;
}
.family__media { min-height: 320px; position: relative; background: var(--anthracite); }
.family__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.family__body { padding: clamp(1.75rem, 1.2rem + 2vw, 3rem); }
.family__list { list-style: none; padding: 0; margin: 1.25rem 0 1.5rem; columns: 2; column-gap: 2rem; }
.family__list li { break-inside: avoid; padding: .4rem 0; border-bottom: 1px solid var(--line-light); }
.family__list a { color: var(--gray-900); text-decoration: none; font-size: .95rem; }
.family__list a:hover { color: var(--red-ui); }

/* Chiffres clés ------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(1rem, .5rem + 1.5vw, 2rem); }
.stat { border-top: 3px solid var(--red); padding-top: 1.25rem; }
.stat__value {
  font-family: var(--font-display); font-stretch: 112%; font-weight: 800;
  font-size: clamp(2.2rem, 1.6rem + 2vw, 3.1rem); line-height: 1; color: var(--ink); letter-spacing: -.02em;
}
.stat__value .unit { color: var(--red); }
.stat__label { font-weight: 650; color: var(--ink); margin: .75rem 0 .3rem; font-size: .98rem; }
.stat__desc { font-size: .86rem; color: var(--gray-500); margin: 0; }

/* Critères techniques -------------------------------------------------------- */
.criteria { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.criterion {
  background: var(--anthracite-2); border: 1px solid var(--line-dark); padding: 1.75rem 1.5rem;
  transition: border-color .3s var(--ease), transform .3s var(--ease), background .3s;
}
.criterion:hover { border-color: var(--red); transform: translateY(-4px); background: #23262B; }
.criterion svg { width: 30px; height: 30px; color: var(--red); margin-bottom: 1.5rem; }
.criterion h3 {
  font-family: var(--font-mono); font-size: .8rem; font-weight: 500; letter-spacing: .2em;
  text-transform: uppercase; color: var(--white); margin-bottom: .9rem; font-stretch: 100%;
}
.criterion p { font-size: .94rem; margin: 0; color: #AEB3B9; }
.criteria--light .criterion { background: var(--white); border-color: var(--line-light); }
.criteria--light .criterion h3 { color: var(--ink); }
.criteria--light .criterion p { color: var(--gray-700); }

/* Tags / chips ---------------------------------------------------------------- */
.tags { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.tag {
  display: inline-block; padding: .45rem .8rem; background: var(--red-ui); color: var(--white);
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
}
.tag--outline { background: transparent; color: var(--ink); border: 1px solid var(--gray-300); }
.section--dark .tag--outline { color: var(--white); border-color: var(--line-dark); }

/* Industries -------------------------------------------------------------------- */
.industry-card {
  display: flex; flex-direction: column; background: var(--anthracite); color: #B9BEC4; height: 100%;
  text-decoration: none; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.industry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: #B9BEC4; }
.industry-card__media { aspect-ratio: 4 / 3; overflow: hidden; position: relative; background: #202327; }
.industry-card__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25) contrast(1.05); transition: transform .6s var(--ease), filter .6s; }
.industry-card:hover .industry-card__media img { transform: scale(1.06); filter: none; }
.industry-card__num { position: absolute; top: .9rem; left: .9rem; font-family: var(--font-mono); font-size: .72rem; color: var(--white); background: var(--red-ui); padding: .25rem .5rem; letter-spacing: .1em; }
.industry-card__body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; border-top: 3px solid var(--red); }
.industry-card h3 { color: var(--white); font-size: 1.15rem; margin-bottom: .6rem; }
.industry-card p { font-size: .9rem; margin: 0 0 1rem; }
.industry-card .link-arrow { margin-top: auto; color: #FF6B70; font-size: .9rem; }

.sector { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.sector + .sector { margin-top: clamp(3.5rem, 2.5rem + 4vw, 6rem); }
.sector:nth-child(even) .sector__media { order: 2; }
.sector__media { position: relative; }
.sector__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sector__media::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 6px; background: var(--red); }
.sector__num { font-family: var(--font-mono); color: var(--red-ui); font-size: .8rem; letter-spacing: .18em; }

/* Engagements -------------------------------------------------------------------- */
.commitments { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.25rem, 1rem + 1.5vw, 2.5rem); }
.commitment { border-top: 1px solid var(--line-dark); padding-top: 1.6rem; position: relative; }
.commitment::before { content: ""; position: absolute; top: -1px; left: 0; width: 48px; height: 3px; background: var(--red); }
.commitment h3 { font-size: 1.25rem; }
.commitment p { font-size: .95rem; margin: 0; }
.section--gray .commitment, .section--light .commitment, .commitments--light .commitment { border-top-color: var(--gray-300); }

.iso-block {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 2rem;
  border: 1px solid var(--line-dark); background: var(--anthracite-2); padding: clamp(2rem, 1.5rem + 3vw, 4rem);
  margin-top: clamp(3rem, 2rem + 3vw, 5rem);
}
.iso-block__mark {
  font-family: var(--font-display); font-stretch: 115%; font-weight: 800; font-size: clamp(2.8rem, 1.6rem + 4vw, 5.25rem); min-width: 0;
  line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--red); letter-spacing: .02em; white-space: nowrap;
}
.iso-block__mark span { -webkit-text-stroke: 0; color: #3A3F45; margin-inline: .1em; }
.iso-block h3 { color: var(--white); }

/* Bande CTA ---------------------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; background: var(--gray-100); }
.cta-band__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 3rem; align-items: center; }
.cta-band h2 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3.1rem); }
.cta-band__aside { border-left: 4px solid var(--red); padding-left: 2rem; }
.cta-band__aside p { margin-bottom: .5rem; }
.cta-band--dark { background: var(--black); color: #B9BEC4; }
.cta-band--dark h2 { color: var(--white); }
.cta-band--dark .lead { color: #E3E6E9; }

/* Média / figures techniques ---------------------------------------------------- */
.figure { margin: 0; background: var(--white); border: 1px solid var(--line-light); }
.figure img { width: 100%; height: auto; }
.figure--photo img { aspect-ratio: auto; }
.figure figcaption { padding: .9rem 1.1rem; font-size: .85rem; color: var(--gray-500); border-top: 1px solid var(--line-light); display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.zoomable { cursor: zoom-in; position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; }
.zoom-hint { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red-ui); white-space: nowrap; }
.tech-sheet { padding: clamp(.75rem, .5rem + 1vw, 1.5rem); }
.lightbox { border: 0; padding: 0; max-width: min(96vw, 1600px); max-height: 94vh; background: transparent; }
.lightbox::backdrop { background: rgba(10,11,13,.88); }
.lightbox img { max-width: 100%; max-height: 86vh; width: auto; margin-inline: auto; background: var(--white); }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--white); padding: .75rem 0; font-size: .9rem; }
.lightbox__close { background: var(--red-ui); color: var(--white); border: 0; width: 44px; height: 44px; font-size: 1.5rem; cursor: pointer; flex: none; }

/* Fiches produits ---------------------------------------------------------------- */
.product-layout { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); margin-top: 2.6rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.3rem; margin-top: 2rem; }
.prose ul { list-style: none; padding: 0; }
.prose ul li { position: relative; padding: .45rem 0 .45rem 1.75rem; border-bottom: 1px solid var(--line-light); }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 10px; height: 10px; background: var(--red); transform: skewX(-20deg); }
.prose .figure { margin: 1.75rem 0; }
.prose .note { font-size: .88rem; color: var(--gray-500); border-left: 3px solid var(--gray-300); padding-left: 1rem; }
.sticky-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 1.25rem; }
.aside-card { border: 1px solid var(--line-light); padding: 1.6rem; background: var(--white); }
.aside-card h2, .aside-card h3 { font-size: 1.1rem; margin-bottom: 1rem; }
.aside-card--dark { background: var(--anthracite); border-color: var(--anthracite); color: #C9CDD2; }
.aside-card--dark h2, .aside-card--dark h3 { color: var(--white); }
.aside-card--dark .btn { width: 100%; }
.aside-card ul { list-style: none; padding: 0; margin: 0; }
.aside-card li { padding: .5rem 0; border-bottom: 1px solid var(--line-light); font-size: .94rem; }
.aside-card li:last-child { border-bottom: 0; }
.aside-card--dark li { border-color: var(--line-dark); }
.domain-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .75rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.domain-grid li { border: 1px solid var(--line-light); padding: .9rem 1rem; font-weight: 600; font-size: .94rem; color: var(--ink); display: flex; gap: .7rem; align-items: center; background: var(--white); }
.domain-grid li::before { content: ""; width: 6px; height: 18px; background: var(--red); transform: skewX(-20deg); flex: none; }
.variant-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin: 1.5rem 0; }
.variant { border: 1px solid var(--line-light); background: var(--white); }
.variant img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.variant__body { padding: 1.2rem; }
.variant h3 { font-size: 1.1rem; margin-top: 0 !important; }
.variant p { font-size: .92rem; margin: 0; color: var(--gray-700); }

/* Articles ------------------------------------------------------------------- */
.post-card { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; background: var(--white); border: 1px solid var(--line-light); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.post-card__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--gray-100); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gray-500); margin-bottom: .8rem; display: flex; gap: .8rem; flex-wrap: wrap; }
.post-meta .cat { color: var(--red-ui); }
.post-card h2, .post-card h3 { font-size: 1.25rem; }
.post-card p { font-size: .94rem; color: var(--gray-700); }
.post-card .link-arrow { margin-top: auto; }
.article-cover { margin: 0 0 2.5rem; }
.article-cover img { width: 100%; max-height: 520px; object-fit: cover; }
.article-body { font-size: 1.08rem; line-height: 1.75; }
.article-body h2 { font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem); margin-top: 2.5rem; }
.article-body h3 { font-size: 1.3rem; margin-top: 2rem; }
.article-body .figure { margin: 1.8rem 0; }
.article-related { border-top: 1px solid var(--line-light); margin-top: 3rem; padding-top: 2rem; }

/* Formulaires ------------------------------------------------------------------ */
.form { display: grid; gap: 1.25rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.form-fieldset { border: 0; padding: 0; margin: 0 0 .5rem; }
.form-fieldset legend { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--red-ui); padding: 0; margin-bottom: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .92rem; color: var(--ink); }
.field .req { color: var(--red-ui); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .75rem .9rem; background: var(--white);
  border: 1px solid var(--gray-300); border-radius: var(--radius); font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(237, 28, 36, .18); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--red-ui); background: #FFF7F7; }
.field__hint { font-size: .82rem; color: var(--gray-500); }
.field__error { font-size: .84rem; color: var(--red-ui); font-weight: 600; min-height: 0; }
.field__error:empty { display: none; }
.field input[type="file"] { padding: .6rem; min-height: auto; background: var(--gray-50); }
.check { display: flex; gap: .8rem; align-items: flex-start; font-size: .92rem; }
.check input { width: 20px; height: 20px; margin-top: .15rem; flex: none; accent-color: var(--red-ui); }
.form-status { padding: 1.1rem 1.25rem; border-left: 4px solid var(--ink); background: var(--gray-100); font-size: .95rem; }
.form-status[hidden] { display: none; }
.form-status--error { border-left-color: var(--red-ui); background: #FFF4F4; }
.form-status--info { border-left-color: #B0812F; background: #FBF6EC; }
.form-status--success { border-left-color: #1F7A4D; background: #EEF7F2; }
.form-status h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.form-status p:last-child { margin-bottom: 0; }
.form-panel { background: var(--white); border: 1px solid var(--line-light); padding: clamp(1.5rem, 1rem + 2.5vw, 3rem); }

/* Contact ---------------------------------------------------------------------- */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line-dark); }
.contact-list svg { width: 22px; height: 22px; color: var(--red); flex: none; margin-top: .2rem; }
.contact-list .label { display: block; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: #8E949B; margin-bottom: .15rem; }
.contact-list a { color: var(--white); text-decoration: none; }
.contact-list a:hover { color: #FF6B70; }
.ph { border-bottom: 1px dashed currentColor; }

/* Footer ---------------------------------------------------------------------------- */
.site-footer { background: var(--black); color: #A3A9B0; border-top: 3px solid var(--red); font-size: .94rem; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; padding-block: clamp(3.5rem, 3rem + 2vw, 5rem); }
.footer-brand img { width: 170px; margin-bottom: 1.25rem; }
.footer-signature { font-family: var(--font-display); font-stretch: 112%; font-weight: 700; color: var(--white); font-size: 1.2rem; margin-bottom: .75rem; }
.footer-title { font-family: var(--font-mono); font-size: .72rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--white); margin: 0 0 1.1rem; font-stretch: 100%; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { padding: .3rem 0; }
.footer-links a { color: #A3A9B0; text-decoration: none; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-block: 1.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; }
.footer-bottom a { color: #A3A9B0; }

/* Divers ------------------------------------------------------------------------- */
.priorities { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line-light); }
.priorities li { display: flex; align-items: center; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line-light); font-weight: 600; color: var(--ink); font-size: 1.05rem; }
.priorities li::before { content: ""; width: 10px; height: 10px; background: var(--red); flex: none; transform: skewX(-20deg); }
.media-frame { position: relative; }
.media-frame img { width: 100%; object-fit: cover; }
.media-frame::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 6px; background: var(--red); }
.media-frame--tall img { aspect-ratio: 4 / 5; }
.media-frame--wide img { aspect-ratio: 16 / 10; }
.split-note { font-size: .85rem; color: var(--gray-500); }
.notice { border: 1px dashed var(--gray-300); padding: 1.25rem 1.4rem; font-size: .92rem; color: var(--gray-700); background: var(--gray-50); }
.empty-state { text-align: center; padding: 3rem 1.5rem; border: 1px dashed var(--gray-300); color: var(--gray-500); }

/* Animations ------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Grille des domaines dans une fiche : neutralise les puces .prose */
.prose .domain-grid li { padding: .9rem 1rem; border: 1px solid var(--line-light); }
.prose .domain-grid li::before { position: static; width: 6px; height: 18px; top: auto; }

/* Boutons du header (Catalogue + Devis) */
.nav-actions { display: flex; align-items: center; gap: .6rem; }
.dropdown--small { min-width: 240px; }
.footer-top--3 { grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)); }
.nav-link { white-space: nowrap; }
