/* ==========================================================================
   Prix du Nord — styles de base, composants et Home
   Toutes les directions utilisent des propriétés logiques (RTL prêt).
   ========================================================================== */

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
:lang(ar) body, body:lang(ar) { line-height: 1.8; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul[role="list"], .main-nav ul, .mobile-nav, .footer-col ul, .lang-menu-list { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
address { font-style: normal; }

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

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100;
  background: var(--copper-600); color: var(--on-action); padding: 10px 16px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

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

/* ---------- Typographie ---------- */
.h2, .hero-title, .h3 {
  font-family: var(--font-display);
  color: inherit;
  text-wrap: balance;
}
.hero-title {
  font-size: var(--fs-display);
  font-weight: 700;
  font-variation-settings: "wdth" var(--wdth-display);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.h2 {
  font-size: var(--fs-h2);
  font-weight: 650;
  font-variation-settings: "wdth" var(--wdth-heading);
  line-height: 1.08;
  letter-spacing: -0.015em;
}
.h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
  font-variation-settings: "wdth" var(--wdth-heading);
  line-height: 1.2;
}
:lang(ar) .hero-title, :lang(ar) .h2, :lang(ar) .h3 { letter-spacing: 0; line-height: 1.35; }
.lead { font-size: var(--fs-lead); line-height: 1.55; }

/* ---------- Géométrie : chanfreins (inspirés de la coupe du monogramme) ---------- */
.cut-lg { --c: var(--cut-lg); }
.cut-md { --c: var(--cut-md); }
.cut-lg, .cut-md, .btn {
  clip-path: polygon(var(--c) 0, 100% 0, 100% 100%, 0 100%, 0 var(--c));
}
[dir="rtl"] .cut-lg, [dir="rtl"] .cut-md, [dir="rtl"] .btn {
  clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, 0 100%);
}

/* ---------- Media : image remplaçable + placeholder ---------- */
.media {
  position: relative;
  overflow: hidden;
  background-color: var(--petrol-800);
  background-image: repeating-linear-gradient(135deg, rgba(239, 233, 220, 0.06) 0 1px, transparent 1px 14px);
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media:not(:has(img))::after {
  content: attr(data-ph);
  position: absolute; inset: auto 16px 14px 16px;
  color: var(--on-dark-muted); font-size: var(--fs-xs);
}

/* ---------- Boutons & liens d'action ---------- */
.btn {
  --c: var(--cut-sm);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: var(--fs-small);
  font-variation-settings: "wdth" 104;
  text-decoration: none;
  line-height: 1.2;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn-lg { min-height: 56px; padding-inline: 30px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--action); color: var(--on-action); }
.btn-primary:hover { background: var(--action-hover); }
.btn-light { background: var(--ecru-50); color: var(--petrol-900); }
.btn-light:hover { background: #fff; }

.btn-link {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px;
  font-weight: 600;
  font-size: var(--fs-small);
  color: var(--copper-700);
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1.5px;
  background-position: 0 calc(100% - 10px);
  background-repeat: no-repeat;
  transition: background-size 0.25s var(--ease);
}
[dir="rtl"] .btn-link { background-position: 100% calc(100% - 10px); }
.btn-link:hover { background-size: 40% 1.5px; }
.btn-link-light { color: var(--ecru-50); }

/* ---------- Marque ---------- */
/* Logo définitif : symbole et nom = images officielles recadrées (assets/brand), signature = texte traduisible */
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); direction: ltr; }
.brand-mark { flex: none; display: block; width: auto; max-width: none; height: 46px; }
.brand-text { flex: none; display: flex; flex-direction: column; gap: 5px; line-height: 1.15; }
.brand-name { display: block; align-self: flex-start; width: auto; max-width: none; height: 19px; aspect-ratio: 342 / 40; } /* proportions du fichier officiel, jamais déformées */
.brand-tag { font-size: var(--fs-xs); color: var(--ink-soft); white-space: nowrap; }
[dir="rtl"] .brand-tag { direction: rtl; text-align: start; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #ffffff;
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow 0.25s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(7, 28, 43, 0.08); }
.header-inner {
  display: flex; align-items: center; gap: 24px;
  min-height: var(--header-h);
}
.main-nav { margin-inline-start: auto; }
.main-nav ul { display: flex; gap: clamp(20px, 2.4vw, 40px); }
.main-nav a {
  position: relative;
  display: inline-block;
  padding-block: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: var(--fs-small);
  color: var(--ink-soft);
  transition: color 0.2s;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--petrol-900); }
.main-nav a[aria-current="page"]::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: var(--sky-500);
}

.header-actions { display: flex; align-items: center; gap: 16px; }

/* Sélecteur de langue segmenté */
.lang-switch {
  display: inline-flex;
  border: 1px solid var(--rule);
}
.lang-switch button {
  min-width: 38px; min-height: 34px;
  padding-inline: 8px;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.04em;
  color: var(--ink-soft);
  transition: color 0.2s, background-color 0.2s;
}
.lang-switch button + button { border-inline-start: 1px solid var(--rule); }
.lang-switch button:hover { color: var(--petrol-900); }
.lang-switch button[aria-pressed="true"] { background: var(--petrol-900); color: #ffffff; }

/* Sélecteur compact */
.lang-menu { position: relative; display: none; }
.lang-menu-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding-inline: 12px;
  border: 1px solid var(--rule);
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.04em;
}
.lang-menu-toggle .chev { width: 10px; height: 7px; transition: transform 0.2s; }
.lang-menu-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.lang-menu-list {
  position: absolute; inset-inline-end: 0; top: calc(100% + 6px);
  min-width: 160px;
  background: var(--ecru-50); color: var(--ink);
  box-shadow: 0 12px 30px rgba(8, 31, 38, 0.25);
  padding-block: 6px;
}
.lang-menu-list button {
  display: block; width: 100%;
  padding: 11px 16px;
  text-align: start;
  font-size: var(--fs-small);
}
.lang-menu-list button:hover { background: var(--ecru-100); }
.lang-menu-list button[aria-current="true"] { color: var(--copper-700); font-weight: 600; }

/* Burger */
.menu-toggle { display: none; width: 44px; height: 44px; position: relative; }
.menu-toggle-bars,
.menu-toggle-bars::before,
.menu-toggle-bars::after {
  position: absolute; inset-inline-start: 11px;
  width: 22px; height: 2px; background: currentColor;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.menu-toggle-bars { top: 21px; }
.menu-toggle-bars::before, .menu-toggle-bars::after { content: ""; inset-inline-start: 0; }
.menu-toggle-bars::before { top: -7px; }
.menu-toggle-bars::after { top: 7px; width: 14px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { width: 22px; transform: translateY(-7px) rotate(-45deg); }

/* Menu mobile */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0;
  background: var(--petrol-900);
  color: var(--on-dark);
  border-top: 1px solid var(--rule-dark);
  overflow-y: auto;
  padding-block: 24px 40px;
}
.mobile-nav { margin-bottom: 32px; }
.mobile-nav li { border-bottom: 1px solid var(--rule-dark); }
.mobile-nav a {
  display: block;
  padding-block: 18px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  font-weight: 600;
  font-variation-settings: "wdth" var(--wdth-heading);
  text-decoration: none;
}
.mobile-nav a:hover { color: var(--copper-400); }
body.menu-open { overflow: hidden; }

/* Header : tablette */
@media (max-width: 1179px) {
  .main-nav, .lang-switch:not(.lang-switch--footer) { display: none; }
  .lang-menu, .menu-toggle { display: inline-flex; }
  .header-actions { margin-inline-start: auto; gap: 12px; }
}
/* Header : mobile */
@media (max-width: 719px) {
  .header-cta { display: none; }
  .brand-tag { display: none; }
  .brand-mark { height: 38px; }
  .brand-name { height: 16px; }
  .header-actions { gap: 4px; }
  .lang-menu-toggle { border-color: transparent; padding-inline: 10px; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  background: var(--petrol-900);
  color: var(--on-dark);
  padding-block: clamp(40px, 6vw, 88px) clamp(96px, 11vw, 176px);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - clamp(36px, 6vw, 96px)), 0 100%);
}
[dir="rtl"] .hero { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - clamp(36px, 6vw, 96px))); }

.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(20px, 2.5vw, 40px);
  row-gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
.hero-copy { grid-column: 1 / span 7; }
.hero-title { max-width: 14ch; }
.hero-lead {
  max-width: 52ch;
  margin-top: clamp(20px, 2.4vw, 32px);
  font-size: var(--fs-lead);
  color: var(--on-dark-muted);
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: clamp(28px, 3.2vw, 44px); }

.hero-media {
  grid-column: 8 / span 5;
  align-self: stretch;
  min-height: clamp(420px, 44vw, 640px);
  margin-inline-end: calc(-1 * var(--gutter));
}
@media (min-width: 1432px) {
  /* laisse l'image courir jusqu'au bord de la fenêtre */
  .hero-media { margin-inline-end: calc((100vw - var(--maxw)) / -2); }
}

.hero-facts {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px clamp(20px, 2.5vw, 40px);
  border-top: 1px solid var(--rule-dark);
  padding-top: 24px;
}
.hero-facts li { display: flex; flex-direction: column; gap: 4px; padding-inline-end: 16px; }
.hero-facts strong { font-weight: 600; font-size: 1rem; }
.hero-facts strong::before {
  content: ""; display: inline-block; width: 8px; height: 8px; margin-inline-end: 10px;
  background: var(--copper-400); vertical-align: 0.1em;
}
.hero-facts span { color: var(--on-dark-muted); font-size: var(--fs-small); }

/* Animation d'entrée — un seul moment orchestré */
@media (prefers-reduced-motion: no-preference) {
  .hero-title, .hero-lead, .hero-actions { animation: rise 0.8s var(--ease) both; }
  .hero-lead { animation-delay: 0.08s; }
  .hero-actions { animation-delay: 0.16s; }
  .hero-media img { animation: reveal 1.1s var(--ease) 0.1s both; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  @keyframes reveal { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }
}

@media (max-width: 1023px) {
  .hero-copy { grid-column: 1 / -1; }
  .hero-title { max-width: 16ch; }
  .hero-media {
    grid-column: 1 / -1;
    min-height: 0;
    aspect-ratio: 16 / 9;
    margin-inline: 0 calc(-1 * var(--gutter));
  }
}
@media (max-width: 719px) {
  .hero { padding-top: 32px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-link { align-self: center; }
  .hero-media { aspect-ratio: 4 / 3; margin-inline: calc(-1 * var(--gutter)); }
  .hero-facts { grid-template-columns: 1fr; gap: 0; padding-top: 0; border-top: 0; }
  .hero-facts li { padding-block: 16px; border-top: 1px solid var(--rule-dark); }
}

/* ==========================================================================
   SECTIONS — structure commune
   ========================================================================== */
.section { padding-block: var(--section-y); }
.section-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(20px, 2.5vw, 40px);
  row-gap: 20px;
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section-head .h2 { grid-column: 1 / span 7; max-width: 18ch; }
.section-head-aside { grid-column: 9 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; color: var(--text-muted); }
.section-head--dark .section-head-aside { color: var(--on-dark-muted); }
@media (max-width: 1023px) {
  .section-head .h2, .section-head-aside { grid-column: 1 / -1; }
  .section-head-aside { max-width: 60ch; }
}

/* ==========================================================================
   CATÉGORIES
   ========================================================================== */
.categories { padding-top: clamp(56px, 7vw, 112px); }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(220px, 20vw, 290px);
  gap: clamp(12px, 1.4vw, 20px);
}
.cat { grid-column: span 3; }
.cat--feature { grid-column: span 6; grid-row: span 2; }
.cat--band { grid-column: 1 / -1; }

.cat-link {
  position: relative;
  display: block;
  height: 100%;
  text-decoration: none;
  color: var(--on-dark);
  --c: var(--cut-md);
  clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, 0 100%);
}
[dir="rtl"] .cat-link { clip-path: polygon(var(--c) 0, 100% 0, 100% 100%, 0 100%, 0 var(--c)); }
.cat-link .media { position: absolute; inset: 0; }
.cat-link .media img { transition: transform 0.6s var(--ease); }
.cat-link::after {
  /* voile de lisibilité, uniquement sous le texte */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8, 31, 38, 0.88) 0%, rgba(8, 31, 38, 0.35) 45%, rgba(8, 31, 38, 0) 70%);
}
.cat-body {
  position: absolute; inset-inline: 0; bottom: 0; z-index: 1;
  display: flex; flex-direction: column; gap: 6px;
  padding: clamp(18px, 2vw, 28px);
  padding-inline-end: 72px;
}
.cat-name {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(1.2rem, 0.95rem + 0.8vw, 1.6rem);
  font-variation-settings: "wdth" var(--wdth-heading);
  line-height: 1.15;
}
.cat--feature .cat-name { font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.5rem); }
.cat-desc { font-size: var(--fs-small); color: #c9d6d9; max-width: 44ch; line-height: 1.45; }
.cat-go {
  position: absolute; z-index: 1;
  inset-inline-end: clamp(18px, 2vw, 28px); bottom: clamp(18px, 2vw, 28px);
  display: grid; place-items: center;
  width: 40px; height: 40px;
  background: var(--copper-600); color: var(--on-action);
  transition: background-color 0.2s;
}
.cat-go svg { width: 14px; height: 14px; }
[dir="rtl"] .cat-go svg { transform: scaleX(-1); }
.cat-link:hover .media img { transform: scale(1.04); }
.cat-link:hover .cat-go { background: var(--copper-400); }

/* Bande « Pièces & accessoires » : texte sur pétrole, image à droite */
.cat--band .cat-link { background: var(--petrol-700); }
.cat--band .cat-link::after { display: none; }
.cat--band .media { inset-inline-start: 50%; }
.cat--band .cat-body {
  inset-block: 0; inset-inline-end: 50%;
  justify-content: center;
  padding: clamp(24px, 3.5vw, 56px);
  gap: 12px;
}
.cat--band .cat-name { font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.2rem); }
.cat--band .cat-desc { font-size: 1rem; color: var(--on-dark-muted); }
.cat--band .cat-go { inset-inline-end: calc(50% + clamp(24px, 3.5vw, 56px)); bottom: clamp(24px, 3vw, 40px); }
.cat--band .cat-body { padding-bottom: clamp(80px, 7vw, 104px); }

/* Tablette : 2 colonnes */
@media (max-width: 1023px) {
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .cat, .cat--feature { grid-column: span 1; grid-row: auto; aspect-ratio: 4 / 3; }
  .cat--feature { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .cat--band { grid-column: 1 / -1; aspect-ratio: auto; min-height: 280px; }
}
/* Mobile */
@media (max-width: 719px) {
  .cat-grid { gap: 10px; }
  .cat { aspect-ratio: 3 / 4; }
  .cat--feature { aspect-ratio: 4 / 5; }
  .cat .cat-desc { display: none; }
  .cat--feature .cat-desc { display: block; }
  .cat-body { padding: 14px; padding-inline-end: 14px; }
  .cat-name { font-size: 1.05rem; }
  .cat-go { width: 32px; height: 32px; inset-inline-end: auto; inset-inline-start: 14px; top: 14px; bottom: auto; }
  .cat--feature .cat-go { width: 40px; height: 40px; }
  .cat-link { --c: 18px; }

  .cat--band { min-height: 0; aspect-ratio: auto; }
  .cat--band .cat-link { display: flex; flex-direction: column; }
  .cat--band .media { position: relative; inset: auto; aspect-ratio: 16 / 9; order: -1; }
  .cat--band .cat-body { position: relative; inset: auto; padding: 22px 20px 20px; }
  .cat--band .cat-desc { display: block; font-size: var(--fs-small); }
  .cat--band .cat-go { position: relative; inset: auto; margin: 0 20px 22px; }
}

/* ==========================================================================
   ENTREPRISE
   ========================================================================== */
.company { background: var(--mist-200); }
.company-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(20px, 2.5vw, 40px);
  row-gap: 48px;
  align-items: center;
}
.company-media { grid-column: 1 / span 5; position: relative; }
.company-media .media { aspect-ratio: 4 / 5; }
.company-place {
  position: absolute; inset-inline-end: calc(-1 * clamp(20px, 3vw, 48px)); bottom: clamp(24px, 4vw, 56px);
  display: flex; align-items: center; gap: 14px;
  padding: 18px 22px;
  background: var(--petrol-900); color: var(--on-dark);
  line-height: 1.3;
}
.company-place > span:last-child { display: flex; flex-direction: column; }
.company-place strong { font-weight: 600; }
.company-place span span { font-size: var(--fs-xs); color: var(--on-dark-muted); }
.company-place-mark { flex: none; width: 44px; height: auto; padding: 5px; background: #ffffff; }

.company-copy { grid-column: 7 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.company-copy .h2 { max-width: 16ch; margin-bottom: 8px; }
.company-copy > p { max-width: 58ch; color: var(--text-muted); }
.company-copy .lead { color: var(--text); }

.commitments { width: 100%; margin-block: 16px 8px; border-top: 1px solid var(--rule); }
.commitments > div {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  gap: 8px 24px;
  padding-block: 18px;
  border-bottom: 1px solid var(--rule);
}
.commitments dt { font-weight: 600; font-variation-settings: "wdth" 104; }
.commitments dd { color: var(--text-muted); font-size: var(--fs-small); }

@media (max-width: 1023px) {
  .company-media { grid-column: 1 / span 6; }
  .company-copy { grid-column: 7 / -1; }
  .company-media .media { aspect-ratio: 3 / 4; }
  .commitments > div { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 859px) {
  .company-media, .company-copy { grid-column: 1 / -1; }
  .company-media .media { aspect-ratio: 16 / 10; }
  .company-place { inset-inline-end: 16px; bottom: -28px; }
  .company-copy { padding-top: 12px; }
}
@media (max-width: 719px) {
  .company-media { margin-inline: calc(-1 * var(--gutter)); }
  .company-media .media { aspect-ratio: 4 / 3; }
}

/* ==========================================================================
   MACHINES & PIÈCES (bande sombre)
   ========================================================================== */
.featured { background: var(--petrol-900); color: var(--on-dark); }
.feat-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(20px, 2.5vw, 40px);
  row-gap: 64px;
  align-items: start;
}
.feat--machines { grid-column: 1 / span 7; }
.feat--parts { grid-column: 9 / -1; margin-top: clamp(0px, 10vw, 160px); }
.feat .media { aspect-ratio: 16 / 10; }
.feat--parts .media { aspect-ratio: 4 / 3; }
.feat-body { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-top: 28px; }
.feat-body > p { color: var(--on-dark-muted); max-width: 52ch; }

.spec-list {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
  margin-block: 4px 4px;
  border-top: 1px solid var(--rule-dark);
}
.feat--parts .spec-list { grid-template-columns: 1fr; }
.spec-list li {
  display: flex; align-items: center; gap: 12px;
  padding-block: 12px;
  border-bottom: 1px solid var(--rule-dark);
  font-size: var(--fs-small);
}
.spec-list li::before { content: ""; width: 6px; height: 6px; flex: none; background: var(--copper-400); }

@media (max-width: 1023px) {
  .feat--machines { grid-column: 1 / span 7; }
  .feat--parts { grid-column: 8 / -1; margin-top: 96px; }
  .spec-list { grid-template-columns: 1fr; }
}
@media (max-width: 859px) {
  .feat--machines, .feat--parts { grid-column: 1 / -1; margin-top: 0; }
  .feat--parts { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 28px; align-items: start; }
  .feat--parts .feat-body { padding-top: 0; }
  .feat--machines .spec-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
  .feat--parts { display: block; }
  .feat--parts .feat-body { padding-top: 24px; }
  .feat--machines .spec-list { grid-template-columns: 1fr; }
  .feat .media { margin-inline: calc(-1 * var(--gutter)); }
}

/* ==========================================================================
   CTA FINAL
   ========================================================================== */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--copper-700);
  color: var(--ecru-50);
  padding-block: clamp(72px, 9vw, 136px);
}
.cta-mark {
  position: absolute;
  inset-inline-end: clamp(-120px, -4vw, -40px);
  top: 50%;
  width: clamp(260px, 30vw, 440px);
  aspect-ratio: 720 / 585;
  transform: translateY(-50%);
  /* symbole officiel en haute définition (fond blanc neutralisé par le mode « multiply ») */
  background: url("../assets/brand/pdn-symbole-hd.webp") center / contain no-repeat;
  mix-blend-mode: multiply;
  opacity: 0.32;
}
.cta-inner { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.cta-inner .h2 { max-width: 20ch; }
.cta-inner p { max-width: 54ch; font-size: var(--fs-lead); color: #f3dcc6; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 12px; }
@media (max-width: 719px) {
  .cta-mark { opacity: 0.2; }
  .cta-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .cta-actions .btn-link { align-self: center; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
/* pied clair : seul fond sur lequel le logo officiel transparent s'affiche sans perte (pas de version pour fond foncé) */
.site-footer { background: #ffffff; color: var(--ink); border-top: 4px solid var(--petrol-900); padding-top: clamp(56px, 7vw, 96px); }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 2fr) minmax(0, 2.4fr) minmax(0, 3fr);
  gap: 40px clamp(24px, 3vw, 48px);
  padding-bottom: clamp(48px, 6vw, 80px);
}
.footer-brand { display: flex; flex-direction: column; gap: 20px; }
.footer-brand p { color: var(--ink-soft); font-size: var(--fs-small); max-width: 38ch; }
/* logo officiel transparent posé directement sur le fond clair du pied (plus de plaque) */
.brand--footer { align-self: flex-start; }
.brand--footer .brand-mark { height: 58px; }
.brand--footer .brand-name { height: 22px; }

.footer-title {
  font-size: var(--fs-small); font-weight: 600;
  color: var(--copper-700);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 4px; }
.footer-col a, .footer-col address > * { color: var(--ink-soft); text-decoration: none; font-size: var(--fs-small); }
.footer-col ul a { display: inline-block; padding-block: 5px; }
.footer-col a:hover { color: var(--petrol-900); text-decoration: underline; }
.footer-col a.btn, .footer-col a.btn:hover { color: var(--on-action); text-decoration: none; }
.footer-col address { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
[dir="rtl"] .footer-col address a { text-align: end; }

.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 24px;
  border-top: 1px solid var(--rule);
  font-size: var(--fs-xs); color: var(--ink-soft);
}
.lang-switch--footer button { min-height: 40px; min-width: 44px; }

@media (max-width: 1023px) {
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 599px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-col:last-child { grid-column: 1 / -1; }
}
