/* =========================================================
   AGHARBILUM ALUMINUM — « l'angle de l'aluminium »
   Mobile-first · thèmes clair (défaut) / sombre
   Règle : aucun opacity:0 dans le CSS de base. Les états
   initiaux des animations sont posés par le JS (GSAP).
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --orange: #EB611E;
  --orange-text: #B8480F;   /* petit texte orange sur fond clair */
  --gray: #A5A5A6;          /* décoratif uniquement */
  --black: #141414;

  --font-title: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --gutter: clamp(20px, 4.5vw, 56px);
  --max: 1320px;
  --header-h: 84px;
  --radius: 6px;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Thème clair — par défaut, même si le système est en sombre */
:root,
[data-theme="light"] {
  color-scheme: light;
  --bg: #F7F6F3;
  --surface: #FFFFFF;
  --surface-2: #ECECEA;
  --text: #141414;
  --text-muted: #6B6B6D;
  --line: rgba(20, 20, 20, .12);
  --line-strong: rgba(20, 20, 20, .28);
  --accent-text: var(--orange-text);
  --error: #B42318;

  --alu-1: #FAFAF8;
  --alu-2: #EEEEEC;
  --alu-3: #E2E3E2;
  --alu-line-a: rgba(255, 255, 255, .7);
  --alu-line-b: rgba(0, 0, 0, .035);
  --grain-op: .35;

  --shine-a: #2E2F32;
  --shine-b: #6E6F73;
  --shine-hi: #FFD9C2;
  --shadow: 0 24px 60px -28px rgba(20, 20, 20, .35);
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0F1012;
  --surface: #1A1B1E;
  --surface-2: #232428;
  --text: #F2F2F2;
  --text-muted: #A9AAAD;
  --line: rgba(255, 255, 255, .1);
  --line-strong: rgba(255, 255, 255, .26);
  --accent-text: var(--orange);
  --error: #FF8A7A;

  --alu-1: #2B2C30;
  --alu-2: #222327;
  --alu-3: #1B1C1F;
  --alu-line-a: rgba(255, 255, 255, .035);
  --alu-line-b: rgba(0, 0, 0, .28);
  --grain-op: .22;

  --shine-a: #D4D5D8;
  --shine-b: #8E8F93;
  --shine-hi: #FFFFFF;
  --shadow: 0 24px 60px -28px rgba(0, 0, 0, .8);
}

/* Sections toujours sombres (services, footer) */
.section--dark,
.footer {
  color-scheme: dark;
  --bg: #141414;
  --surface: #1D1E21;
  --surface-2: #26272B;
  --text: #F2F2F2;
  --text-muted: #A9AAAD;
  --line: rgba(255, 255, 255, .1);
  --line-strong: rgba(255, 255, 255, .26);
  --accent-text: var(--orange);
  --alu-1: #2A2B2F;
  --alu-2: #212226;
  --alu-3: #1A1B1E;
  --alu-line-a: rgba(255, 255, 255, .035);
  --alu-line-b: rgba(0, 0, 0, .3);
  --grain-op: .22;
}
[data-theme="dark"] .section--dark { --bg: #17181B; }

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg);
}
@media (prefers-reduced-motion: no-preference) {
  html:not(.lenis) { scroll-behavior: smooth; }
}
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
:where(ul[class], ol[class], nav ul, .footer ul) { list-style: none; padding: 0; margin: 0; }
address { font-style: normal; }
::selection { background: var(--orange); color: var(--black); }
section[id], main [id] { scroll-margin-top: calc(var(--header-h) - 8px); }

[tabindex="-1"]:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 2px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.nowrap { white-space: nowrap; }

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 2000;
  padding: .8rem 1.2rem;
  background: var(--black);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius);
  transform: translateY(-160%);
  transition: transform .3s var(--ease-out);
}
.skip-link:focus { transform: none; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- 3. Utilitaires ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { position: relative; padding-block: clamp(4.5rem, 10vw, 9rem); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: 1.1rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.kicker::before {
  content: "";
  width: 12px; height: 12px;
  flex: none;
  background:
    linear-gradient(var(--orange), var(--orange)) 0 0 / 5px 5px no-repeat,
    linear-gradient(var(--orange), var(--orange)) 100% 0 / 5px 5px no-repeat,
    linear-gradient(var(--orange), var(--orange)) 0 100% / 5px 5px no-repeat,
    linear-gradient(var(--orange), var(--orange)) 100% 100% / 5px 5px no-repeat;
}

.h2 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(2rem, 1rem + 4vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.section-head { max-width: 54rem; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section-head--split {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 3rem;
}
.section-head--split > div:first-child { max-width: 46rem; }

/* La petite fenêtre de 4 carrés */
.win-mini {
  display: inline-block;
  width: 12px; height: 12px;
  flex: none;
  background:
    linear-gradient(currentColor, currentColor) 0 0 / 5px 5px no-repeat,
    linear-gradient(currentColor, currentColor) 100% 0 / 5px 5px no-repeat,
    linear-gradient(currentColor, currentColor) 0 100% / 5px 5px no-repeat,
    linear-gradient(currentColor, currentColor) 100% 100% / 5px 5px no-repeat;
  color: var(--orange);
}

/* Aluminium brossé */
.brushed {
  position: relative;
  isolation: isolate;
  background-color: var(--alu-2);
  background-image:
    repeating-linear-gradient(90deg, var(--alu-line-a) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, var(--alu-line-b) 0 1px, transparent 1px 7px),
    linear-gradient(160deg, var(--alu-1) 0%, var(--alu-2) 52%, var(--alu-3) 100%);
}
[data-theme="light"] .brushed:not(.section--dark .brushed) { --text-muted: #555557; }
/* Fond #ECECEA : texte secondaire et petit texte orange légèrement foncés pour rester au-dessus de 4.5:1 */
[data-theme="light"] .products,
[data-theme="light"] .testimonials,
[data-theme="light"] .nav-mobile { --text-muted: #606062; --accent-text: #A8420D; }
.brushed::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background-image: var(--grain);
  background-size: 160px 160px;
  opacity: var(--grain-op);
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* Reflet lumineux au survol */
.sheen { overflow: hidden; }
.sheen::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: 2;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .5) 48%, rgba(255, 255, 255, .12) 54%, transparent 68%);
  transform: translateX(-115%);
  pointer-events: none;
}
[data-theme="dark"] .sheen::before,
.section--dark .sheen::before {
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .14) 48%, rgba(255, 255, 255, .04) 54%, transparent 68%);
}
@media (hover: hover) {
  .sheen::before { transition: transform 1s var(--ease-out); }
  .sheen:hover::before { transform: translateX(115%); }
}

/* Formes flottantes (la rotation vit sur ::before pour laisser x/y au JS) */
.shape { position: absolute; display: block; pointer-events: none; }
.shape::before { content: ""; position: absolute; inset: 0; }
.shape--diamond::before { border: 1.5px solid var(--gray); transform: rotate(45deg); opacity: .7; }
.shape--chevron::before {
  border-left: 10px solid var(--orange);
  border-bottom: 10px solid var(--orange);
  transform: rotate(45deg);
}
.shape--win { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.shape--win::before { display: none; }
.shape--win i { display: block; background: var(--orange); }
.shape--win i:nth-child(2), .shape--win i:nth-child(3) { background: transparent; border: 1.5px solid var(--gray); }

/* Séparateur en chevron */
.sep { display: flex; align-items: center; gap: 1.2rem; width: min(100% - 2 * var(--gutter), var(--max)); margin: 0 auto; }
.sep::before, .sep::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.sep svg { width: 120px; height: 30px; flex: none; overflow: visible; }
.sep path { fill: none; stroke: var(--gray); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sep path:first-child { stroke: var(--orange); stroke-width: 2.5; }

/* ---------- 4. Boutons ---------- */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: .95rem 1.5rem;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .35s var(--ease-out), color .35s var(--ease-out), border-color .35s var(--ease-out);
  will-change: transform;
}
.btn svg { flex: none; transition: transform .45s var(--ease-out); }
.btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%);
  pointer-events: none;
}
@media (hover: hover) {
  .btn::before { transition: transform .9s var(--ease-out); }
  .btn:hover::before { transform: translateX(120%); }
  .btn:hover svg { transform: translateX(3px); }
}
.btn--sm { padding: .7rem 1.1rem; font-size: .92rem; }
.btn--lg { padding: 1.1rem 1.75rem; font-size: 1.04rem; }

/* Orange : texte #141414 (5.5:1) */
.btn--primary { background: var(--orange); color: var(--black); }
.btn--primary:hover { background: #F27A3F; }

.btn--ghost { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--text); background: var(--text); color: var(--bg); }

.btn--dark { background: var(--black); color: #F2F2F2; }
.btn--dark:hover { background: #000; }
.btn--dark::before { background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .18) 50%, transparent 70%); }

.round-btn {
  display: inline-grid;
  place-items: center;
  width: 52px; height: 52px;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease-out);
}
.round-btn:hover { background: var(--orange); border-color: var(--orange); color: var(--black); }
.round-btn:disabled { opacity: .35; pointer-events: none; }

/* ---------- 5. Loader ---------- */
.loader { display: none; }
.is-loading body { overflow: hidden; }
.is-loading .loader {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: grid;
  place-items: center;
  background: #0F1012;
  transition: opacity .25s ease, transform .25s ease;
}
.loader-out .loader { opacity: 0; transform: translateY(-1.5%); }
.loader__inner { display: grid; justify-items: center; gap: 1.6rem; }
.loader__win { display: grid; grid-template-columns: repeat(2, 20px); gap: 5px; }
.loader__win i { width: 20px; height: 20px; border: 1.5px solid #A5A5A6; animation: winFill .22s ease forwards; }
.loader__win i:nth-child(1) { animation-delay: .05s; }
.loader__win i:nth-child(2) { animation-delay: .16s; }
.loader__win i:nth-child(4) { animation-delay: .27s; }
.loader__win i:nth-child(3) { animation-delay: .38s; }
.loader__logo { width: min(240px, 58vw); clip-path: inset(0 100% 0 0); animation: logoReveal .42s var(--ease-out) .5s forwards; }
@keyframes winFill { to { background: var(--orange); border-color: var(--orange); } }
@keyframes logoReveal { to { clip-path: inset(0 0 0 0); } }

/* ---------- 6. Curseur ---------- */
.cursor { display: none; }
.has-cursor .cursor { display: block; position: fixed; top: 0; left: 0; z-index: 1400; pointer-events: none; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor label, .has-cursor select { cursor: none; }
.has-cursor input, .has-cursor textarea { cursor: text; }
.has-cursor .lightbox, .has-cursor .lightbox button { cursor: auto; }
.cursor__dot, .cursor__ring { position: absolute; top: 0; left: 0; border-radius: 50%; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--orange); }
.cursor__ring {
  width: 40px; height: 40px;
  margin: -20px 0 0 -20px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--orange);
}
.cursor__ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--orange);
  transform: scale(0);
  transition: transform .4s var(--ease-out), opacity .4s;
  opacity: .14;
}
.cursor__label { position: relative; font-size: .6rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--black); transform: scale(0); transition: transform .3s var(--ease-out); }
.cursor.is-hover .cursor__ring::before { transform: scale(1.5); }
.cursor.has-label .cursor__ring::before { transform: scale(1.9); opacity: 1; }
.cursor.has-label .cursor__label { transform: scale(1); }
.cursor.is-hidden { visibility: hidden; }

/* ---------- 7. Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background-color .45s var(--ease-out), box-shadow .45s var(--ease-out), backdrop-filter .45s;
}
.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  transition: height .45s var(--ease-out);
}
.header.is-scrolled {
  --header-h: 66px;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  backdrop-filter: blur(16px) saturate(1.5);
  box-shadow: 0 1px 0 var(--line);
}
.header__brand { display: block; flex: none; }
.logo { height: 48px; width: auto; transition: height .45s var(--ease-out); }
.header.is-scrolled .logo { height: 42px; }
@media (min-width: 1024px) {
  .logo { height: 58px; }
  .header.is-scrolled .logo { height: 46px; }
}
[data-theme="light"] .logo--dark,
[data-theme="dark"] .logo--light { display: none; }

.nav-desktop { display: none; }
.nav-desktop ul { display: flex; gap: clamp(1rem, 2vw, 2.2rem); }
.nav-desktop a {
  position: relative;
  display: inline-block;
  padding-block: .4rem;
  font-weight: 500;
  font-size: .95rem;
  text-decoration: none;
  color: var(--text);
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease-out);
}
.nav-desktop a:hover::after,
.nav-desktop a.is-active::after { transform: scaleX(1); transform-origin: left; }

.header__actions { display: flex; align-items: center; gap: .6rem; }
.header__cta { display: none; }

.theme-toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  transition: border-color .3s, background-color .3s;
}
.theme-toggle:hover { border-color: var(--orange); }
.theme-toggle svg { position: absolute; transition: transform .6s var(--ease-out), opacity .4s; }
.theme-toggle__sun { transform: rotate(-90deg) scale(.4); opacity: 0; }
[data-theme="dark"] .theme-toggle__sun { transform: none; opacity: 1; }
[data-theme="dark"] .theme-toggle__moon { transform: rotate(90deg) scale(.4); opacity: 0; }

.burger {
  display: grid;
  align-content: center;
  gap: 7px;
  width: 44px; height: 44px;
  padding: 0 11px;
  border: 0;
  border-radius: 50%;
  background: var(--text);
}
.burger__line { display: block; height: 2px; background: var(--bg); border-radius: 2px; transition: transform .5s var(--ease-out); }
.burger[aria-expanded="true"] .burger__line:first-child { transform: translateY(4.5px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__line:last-child { transform: translateY(-4.5px) rotate(-45deg); }

.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100dvh;
  padding: calc(var(--header-h) + 2rem) var(--gutter) 2rem;
  background: var(--surface-2);
  clip-path: polygon(100% 0, 100% 0, 100% 0);
  visibility: hidden;
  transition: clip-path .8s var(--ease-io), visibility 0s linear .8s;
  overflow-y: auto;
}
.menu-open .nav-mobile {
  clip-path: polygon(100% 0, -100% 0, 100% 200%);
  visibility: visible;
  transition: clip-path .8s var(--ease-io), visibility 0s;
}
.nav-mobile__list { display: flex; flex-direction: column; gap: .3rem; }
.nav-mobile__list a {
  display: flex;
  color: var(--text);
  align-items: baseline;
  gap: 1rem;
  padding-block: .35rem;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(2rem, 9vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -.03em;
  text-decoration: none;
  transition: transform .6s var(--ease-out), opacity .6s, color .3s;
}
.js .nav-mobile__list a { transform: translateY(30px); opacity: .001; }
.nav-mobile__list a:hover { color: var(--orange); }
.js.menu-open .nav-mobile__list a { transform: none; opacity: 1; }
.menu-open .nav-mobile__list li:nth-child(1) a { transition-delay: .25s; }
.menu-open .nav-mobile__list li:nth-child(2) a { transition-delay: .3s; }
.menu-open .nav-mobile__list li:nth-child(3) a { transition-delay: .35s; }
.menu-open .nav-mobile__list li:nth-child(4) a { transition-delay: .4s; }
.menu-open .nav-mobile__list li:nth-child(5) a { transition-delay: .45s; }
.menu-open .nav-mobile__list li:nth-child(6) a { transition-delay: .5s; }
.nav-mobile__num { font-family: var(--font-body); font-size: .8rem; font-weight: 600; color: var(--accent-text); letter-spacing: .08em; }
.nav-mobile__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; padding-top: 2rem; }
.nav-mobile__tel { font-weight: 600; text-decoration: none; }
.menu-open body { overflow: hidden; }
.menu-open .header { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav-mobile { color: var(--text); }

@media (min-width: 640px) {
  .header__cta { display: inline-flex; }
}
@media (min-width: 1180px) {
  .nav-desktop { display: block; }
  .burger, .nav-mobile { display: none; }
}

/* ---------- 8. Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + clamp(1.5rem, 5vw, 3rem));
  padding-bottom: clamp(4rem, 8vw, 6rem);
  display: flex;
  align-items: center;
  overflow: clip;
}
.hero::before {
  content: "";
  position: absolute;
  top: -20%; right: -18%;
  width: min(80vw, 980px);
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(235, 97, 30, .16), transparent 70%);
  pointer-events: none;
}
.hero__inner { position: relative; display: grid; gap: clamp(2.5rem, 6vw, 4rem); align-items: center; }
.hero__content { position: relative; z-index: 2; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: 1.5rem;
  padding: .5rem .9rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--text-muted);
}
.hero__title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(2.15rem, 1rem + 5.6vw, 6.1rem);
  line-height: .98;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.hero__title .line { padding-bottom: .06em; }

/* Le mot « aluminium » traversé d'un reflet métallique */
.shine,
.shine * {
  background-image: linear-gradient(100deg,
    var(--shine-a) 0%, var(--shine-b) 22%, var(--shine-a) 36%,
    var(--orange) 45%, var(--shine-hi) 50%, var(--orange) 55%,
    var(--shine-a) 64%, var(--shine-b) 78%, var(--shine-a) 100%);
  background-size: 260% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
@media (prefers-reduced-motion: no-preference) {
  .shine, .shine * { animation: shine 5.5s var(--ease-io) 1.4s infinite; }
}
@media (prefers-reduced-motion: reduce) {
  .shine, .shine * { background-position: 50% 0; }
}
@keyframes shine {
  0% { background-position: 100% 0; }
  55%, 100% { background-position: 0% 0; }
}

.hero__lead { max-width: 36rem; margin-top: 1.6rem; font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem); color: var(--text-muted); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.hero__badges { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin-top: 2.4rem; font-size: .9rem; color: var(--text-muted); }
.hero__badges li { display: flex; align-items: baseline; gap: .4rem; }
.hero__badges strong { font-family: var(--font-title); font-weight: 800; font-size: 1.05rem; color: var(--text); }

.hero__visual {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 1;
  margin-inline: auto;
}
.diamond {
  position: absolute;
  aspect-ratio: 1;
  overflow: hidden;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  background: var(--surface-2);
}
.diamond img { width: 100%; height: 100%; object-fit: cover; }
.diamond--lg { width: 64%; top: 2%; right: 0; }
.diamond--md { width: 46%; left: 0; bottom: 4%; }
.diamond--sm { width: 30%; left: 9%; top: 5%; }
.hero__outline { position: absolute; width: 64%; top: 12%; right: 8%; color: var(--orange); overflow: visible; }
.hero__tag {
  position: absolute;
  right: 2%; bottom: 10%;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .6rem .95rem;
  background: var(--text);
  color: var(--bg);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero__shapes { position: absolute; inset: 0; pointer-events: none; }
.shape--a { width: 110px; height: 110px; left: 4%; top: 22%; }
.shape--b { width: 40px; height: 40px; left: 46%; bottom: 12%; }
.shape--c { width: 34px; height: 34px; right: 6%; top: 18%; }

.scroll-indicator {
  position: absolute;
  left: var(--gutter);
  bottom: 1.6rem;
  display: none;
  align-items: center;
  gap: .9rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-muted);
}
.scroll-indicator__track { position: relative; width: 56px; height: 1.5px; background: var(--line-strong); overflow: hidden; }
.scroll-indicator__thumb { position: absolute; inset: 0; background: var(--orange); transform: translateX(-100%); }
@media (prefers-reduced-motion: no-preference) {
  .scroll-indicator__thumb { animation: scrollThumb 2.2s var(--ease-io) infinite; }
}
@keyframes scrollThumb { 0% { transform: translateX(-100%); } 50% { transform: translateX(0); } 100% { transform: translateX(100%); } }

/* Masquage court du hero avant l'animation (filet de sécurité de 3,5 s dans <head>) */
.hero-pending .hero__title,
.hero-pending [data-hero-fade],
.hero-pending [data-hero-img],
.hero-pending .hero__outline,
.hero-pending .hero__tag { visibility: hidden; }

@media (max-width: 1023.98px) {
  .shape--b, .shape--c { display: none; }
}
@media (min-width: 768px) {
  .scroll-indicator { display: inline-flex; }
}
@media (min-width: 1024px) {
  .hero__inner { grid-template-columns: 1.2fr 1fr; }
  .hero__visual { width: 100%; max-width: 600px; margin-right: -2%; }
  .shape--a { width: 150px; height: 150px; left: 40%; top: 14%; }
}

/* ---------- 9. Bandeau défilant ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: clamp(1.1rem, 2.4vw, 1.8rem);
  background: #141414;
  color: #F2F2F2;
  border-block: 1px solid rgba(255, 255, 255, .08);
}
.marquee__track { display: flex; width: max-content; }
@media (prefers-reduced-motion: no-preference) {
  .marquee__track { animation: marquee 38s linear infinite; }
}
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__group li {
  display: flex;
  align-items: center;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(1.9rem, 1rem + 4vw, 4.6rem);
  line-height: 1;
  letter-spacing: -.02em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee__group li::after {
  content: "";
  width: .32em; height: .32em;
  margin-inline: .65em;
  background: var(--orange);
  transform: rotate(45deg);
  flex: none;
}
.marquee__group li.is-outline { color: transparent; -webkit-text-stroke: 1.5px #A5A5A6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 10. Chiffres clés ---------- */
.stats__inner { display: grid; gap: clamp(2rem, 5vw, 4rem); }
.stats__grid { display: grid; gap: clamp(.7rem, 1.6vw, 1.2rem); }
.stat {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.6rem;
  min-height: clamp(150px, 20vw, 220px);
  padding: clamp(1.1rem, 2.4vw, 1.8rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.stat__value {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(2.3rem, 1rem + 4.5vw, 4.6rem);
  line-height: 1;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}
.stat__suffix { color: var(--orange); }
.stat__label { font-size: .95rem; font-weight: 500; color: var(--text-muted); }
.stat--big .stat__value { font-size: clamp(3.6rem, 2rem + 7vw, 7.5rem); }
.stat--big .stat__label { font-size: 1.05rem; max-width: 16rem; }
.stat--text .stat__value { font-size: clamp(1.6rem, 1rem + 1.8vw, 2.4rem); line-height: 1.1; letter-spacing: -.025em; font-variant-numeric: normal; max-width: 12ch; }
.stat--text .stat__label { line-height: 1.55; }
@media (min-width: 640px) {
  .stats__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .stats__inner { grid-template-columns: 5fr 7fr; align-items: center; }
  .stats__grid .stat:nth-child(even) { margin-top: 2.5rem; margin-bottom: -2.5rem; }
}

/* ---------- 11. Produits ---------- */
.products { background: var(--surface-2); }
.products__head { display: grid; gap: 1.2rem 3rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.products__intro { max-width: 34rem; color: var(--text-muted); }
.products__track {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
  display: grid;
  gap: 1rem;
}
.product { perspective: 1000px; }
.product__link {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: border-color .4s, box-shadow .5s var(--ease-out);
}
.product__link:hover { border-color: var(--orange); box-shadow: var(--shadow); }
.product__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.product__link:hover .product__media img { transform: scale(1.07); }
.product__media--ph { display: grid; place-items: center; }
.product__media--ph::before {
  content: "";
  position: absolute;
  width: 58%;
  aspect-ratio: 1;
  border: 1.5px solid var(--orange);
  transform: rotate(45deg) scale(.82);
  opacity: .55;
}
.ph-icon {
  position: relative;
  width: 34%;
  fill: none;
  stroke: var(--text);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .8s var(--ease-out);
}
.product__link:hover .ph-icon { transform: scale(1.08) rotate(-4deg); }
.product__body {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "num arrow" "name arrow" "meta arrow";
  align-items: center;
  gap: .15rem 1rem;
  padding: 1.2rem 1.3rem 1.35rem;
}
.product__num { grid-area: num; font-size: .78rem; font-weight: 600; letter-spacing: .12em; color: var(--accent-text); }
.product__name { grid-area: name; font-family: var(--font-title); font-weight: 700; font-size: 1.28rem; line-height: 1.2; letter-spacing: -.015em; }
.product__meta { grid-area: meta; font-size: .9rem; color: var(--text-muted); }
.product__arrow {
  grid-area: arrow;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  transition: background-color .4s, border-color .4s, color .4s, transform .6s var(--ease-out);
}
.product__link:hover .product__arrow { background: var(--orange); border-color: var(--orange); color: var(--black); transform: rotate(-45deg); }
.product__glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .35), transparent 45%);
  mix-blend-mode: soft-light;
  opacity: 0;
  transition: opacity .4s;
}
.product__link:hover .product__glare { opacity: 1; }

.products__progress { display: none; }

@media (min-width: 640px) {
  .products__track { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .products__head { grid-template-columns: 1fr auto; align-items: end; }
  .products__track { grid-template-columns: repeat(4, 1fr); }
}

/* Mode horizontal épinglé (desktop, activé par le JS).
   Les cartes prennent leur hauteur dans l'espace restant sous le titre :
   la rangée tient toujours dans l'écran, quelle que soit sa hauteur. */
.products.is-horizontal { padding-block: 0; }
.products.is-horizontal .products__pin {
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: calc(66px + clamp(1rem, 4vh, 2.5rem));
  padding-bottom: clamp(1rem, 4vh, 2.5rem);
  overflow: hidden;
}
.products.is-horizontal .products__head { flex: none; margin-bottom: clamp(1rem, 3vh, 2.4rem); }
.products.is-horizontal .products__head .h2 { font-size: clamp(1.9rem, 1rem + min(3.2vw, 4.5vh), 4rem); }
.products.is-horizontal .products__viewport {
  flex: 1 1 0;
  min-height: 0;
  width: 100%;
  display: flex;
  align-items: center;
}
.products.is-horizontal .products__track {
  display: flex;
  width: max-content;
  height: 100%;
  max-height: 560px;
  margin: 0;
  padding-inline: max(var(--gutter), (100vw - var(--max)) / 2);
  gap: clamp(1rem, 1.6vw, 1.6rem);
}
.products.is-horizontal .product { flex: none; height: 100%; aspect-ratio: 3 / 4; }
.products.is-horizontal .product__media { flex: 1 1 0; min-height: 0; aspect-ratio: auto; }
.products.is-horizontal .product__body { flex: none; padding: .9rem 1.1rem 1rem; }
.products.is-horizontal .product__name { font-size: clamp(1.02rem, .7rem + .6vw, 1.28rem); }
.products.is-horizontal .products__progress { flex: none; display: block; position: relative; height: 2px; margin-top: clamp(1rem, 3vh, 2.2rem); background: var(--line); }
@media (max-height: 780px) {
  .products.is-horizontal .products__intro { display: none; }
}
.products__bar { position: absolute; inset: 0; background: var(--orange); transform-origin: left; transform: scaleX(0); }

/* ---------- 12. Services (section sombre) ---------- */
.services { background: var(--bg); color: var(--text); overflow: clip; }
.services__bg { position: absolute; inset: 0; pointer-events: none; }
.shape--diamond-line { width: min(60vw, 720px); aspect-ratio: 1; right: -14%; top: 6%; }
.shape--diamond-line::before { border: 1.5px solid var(--orange); transform: rotate(45deg) scale(.7); opacity: .22; }
.shape--chevron-big { width: 220px; height: 220px; left: -60px; bottom: 10%; }
.shape--chevron-big::before { border-left: 28px solid rgba(165, 165, 166, .12); border-bottom: 28px solid rgba(165, 165, 166, .12); transform: rotate(45deg); }
.services .container { position: relative; }
.services__grid { display: grid; gap: 1rem; counter-reset: s; }
.service {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .4s;
}
.service:hover { border-color: rgba(235, 97, 30, .6); }
.service__num {
  position: absolute;
  top: 1rem; right: 1.3rem;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 3.4rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(165, 165, 166, .45);
}
.service__icon {
  width: 64px; height: 64px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: .6rem;
}
.service__title { font-family: var(--font-title); font-weight: 700; font-size: 1.35rem; line-height: 1.2; letter-spacing: -.015em; max-width: 15ch; }
.service__text { color: var(--text-muted); font-size: .98rem; }
@media (min-width: 720px) {
  .services__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1240px) {
  .services__grid { grid-template-columns: repeat(4, 1fr); }
  .services__grid .service:nth-child(even) { margin-top: 3.5rem; margin-bottom: -3.5rem; }
  .services { padding-bottom: calc(clamp(4.5rem, 10vw, 9rem) + 3.5rem); }
}

/* ---------- 13. À propos ---------- */
.about__grid { display: grid; gap: clamp(3rem, 7vw, 6rem); align-items: center; }
.about__media { position: relative; padding-bottom: 14%; }
.about__img { position: relative; overflow: hidden; border-radius: var(--radius); }
.about__img img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; }
.diamond--about { width: 44%; right: -4%; bottom: -2%; border: 0; }
.about__badge {
  position: absolute;
  left: -2%; bottom: 4%;
  display: grid;
  padding: 1rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about__badge-num { font-family: var(--font-title); font-weight: 800; font-size: clamp(1.5rem, 1rem + 2vw, 2.2rem); line-height: 1.05; letter-spacing: -.03em; }
.about__badge-txt { font-size: .85rem; color: var(--text-muted); }
.about__lead { margin-top: 1.5rem; font-size: 1.1rem; color: var(--text-muted); max-width: 38rem; }
.features { display: grid; gap: 1.6rem 2rem; margin-top: 2.5rem; }
.feature { position: relative; padding-left: 1.9rem; }
.feature::before {
  content: "";
  position: absolute;
  left: 0; top: .35em;
  width: 13px; height: 13px;
  background:
    linear-gradient(var(--orange), var(--orange)) 0 0 / 5.5px 5.5px no-repeat,
    linear-gradient(var(--orange), var(--orange)) 100% 0 / 5.5px 5.5px no-repeat,
    linear-gradient(var(--orange), var(--orange)) 0 100% / 5.5px 5.5px no-repeat,
    linear-gradient(var(--orange), var(--orange)) 100% 100% / 5.5px 5.5px no-repeat;
}
.feature__title { font-family: var(--font-title); font-weight: 700; font-size: 1.12rem; margin-bottom: .3rem; }
.feature p { color: var(--text-muted); font-size: .96rem; }

.timeline__kicker { margin-top: clamp(4rem, 8vw, 6rem); }
.timeline { position: relative; display: grid; gap: 1.4rem; margin-top: 1.2rem; padding-left: 1.8rem; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 1.5px; background: var(--line-strong); }
.timeline__item { position: relative; display: grid; gap: .2rem; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: calc(-1.8rem + 1px);
  top: .45em;
  width: 10px; height: 10px;
  background: var(--bg);
  border: 2px solid var(--orange);
  transform: rotate(45deg);
}
.timeline__item:last-child::before { background: var(--orange); }
.timeline__year { font-family: var(--font-title); font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; }
.timeline__text { color: var(--text-muted); font-size: .95rem; }

@media (min-width: 640px) {
  .features { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding-left: 0; padding-top: 2.2rem; }
  .timeline::before { left: 0; right: 0; top: 5px; bottom: auto; width: auto; height: 1.5px; }
  .timeline__item::before { left: 0; top: -2.2rem; }
}
@media (min-width: 1024px) {
  .about__grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- 14. Réalisations ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filters[hidden] { display: none; }
.filter {
  padding: .65rem 1.15rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  font-weight: 500;
  font-size: .92rem;
  transition: background-color .3s, border-color .3s, color .3s;
}
.filter:hover { border-color: var(--text); }
.filter.is-active { background: var(--orange); border-color: var(--orange); color: var(--black); }

.gallery {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: 240px;
  grid-auto-flow: dense;
  gap: clamp(.7rem, 1.4vw, 1.1rem);
}
.gallery__item { position: relative; min-height: 0; }
.gallery__item.is-tall { grid-row: span 2; }
.gallery__item.is-hidden { display: none; }
.gallery__link { position: relative; display: block; height: 100%; overflow: hidden; border-radius: var(--radius); background: var(--surface-2); text-decoration: none; }
.gallery__link img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.gallery__link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(10, 10, 12, .78));
  pointer-events: none;
}
.gallery__cap {
  position: absolute;
  left: 1rem; right: 1rem; bottom: .95rem;
  z-index: 1;
  display: grid;
  gap: .1rem;
  color: #F2F2F2;
  transition: transform .6s var(--ease-out);
}
.gallery__cat { font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #FFB38D; }
.gallery__title { font-family: var(--font-title); font-weight: 700; font-size: 1.1rem; line-height: 1.25; }
@media (hover: hover) {
  .gallery__link:hover img { transform: scale(1.06); }
  .gallery__cap { transform: translateY(6px); }
  .gallery__link:hover .gallery__cap { transform: none; }
}
@media (min-width: 560px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
}
@media (min-width: 1024px) {
  .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 250px; }
}

/* ---------- 15. Témoignages ---------- */
.testimonials { background: var(--surface-2); overflow: clip; }
.carousel__nav { display: flex; gap: .6rem; }
.carousel__nav[hidden] { display: none; }
.carousel__track {
  position: relative;
  display: flex;
  gap: clamp(.8rem, 1.6vw, 1.3rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(var(--gutter), (100vw - var(--max)) / 2);
  padding: .5rem max(var(--gutter), (100vw - var(--max)) / 2) 1.5rem;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.carousel__track::-webkit-scrollbar { display: none; }
.testi {
  flex: none;
  width: min(86vw, 460px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.testi__stars { display: flex; gap: 3px; color: var(--orange); }
.testi__stars svg { width: 18px; height: 18px; }
.testi__quote { flex: 1; font-size: clamp(1.02rem, .95rem + .3vw, 1.15rem); line-height: 1.55; }
.testi__author { display: flex; align-items: center; gap: .9rem; font-size: .9rem; }
.testi__author > span:last-child { display: grid; color: var(--text-muted); }
.testi__author strong { color: var(--text); font-weight: 600; }
.testi__avatar {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  flex: none;
  background: var(--text);
  color: var(--bg);
  font-family: var(--font-title);
  font-weight: 800;
  font-size: .85rem;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.carousel__dots { display: flex; gap: .5rem; margin-top: .5rem; }
.carousel__dots[hidden] { display: none; }
.carousel__dot {
  width: 28px; height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
}
.carousel__dot::before {
  content: "";
  width: 9px; height: 9px;
  border: 1.5px solid var(--text-muted);
  transform: rotate(45deg);
  transition: background-color .3s, border-color .3s, transform .4s var(--ease-out);
}
.carousel__dot[aria-current="true"]::before { background: var(--orange); border-color: var(--orange); transform: rotate(45deg) scale(1.25); }

/* ---------- 16. Bande CTA orange ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 9vw, 7.5rem);
  background: var(--orange);
  color: var(--black);
}
.cta-band__pattern {
  position: absolute;
  inset: -40% 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='48' viewBox='0 0 96 48'%3E%3Cpath d='M0 6l48 24 48-24M0 22l48 24 48-24' fill='none' stroke='%23141414' stroke-opacity='.11' stroke-width='5'/%3E%3C/svg%3E");
  background-size: 96px 48px;
  pointer-events: none;
}
.cta-band__inner { position: relative; display: grid; gap: 2rem; align-items: center; }
.cta-band__title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(1.9rem, 1rem + 3.8vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -.03em;
  max-width: 20ch;
  text-wrap: balance;
}
.cta-band :focus-visible { outline-color: var(--black); }
@media (min-width: 1024px) {
  .cta-band__inner { grid-template-columns: 1fr auto; }
}

/* ---------- 17. Contact ---------- */
.contact__grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.form {
  display: grid;
  gap: 1.1rem;
  padding: clamp(1.3rem, 3.5vw, 2.6rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.form__intro { color: var(--text-muted); font-size: .95rem; margin-bottom: .4rem; }
.form__row { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .45rem; }
.field label { font-weight: 600; font-size: .92rem; }
.field__opt { font-weight: 400; color: var(--text-muted); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .9rem 1rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-size: 1rem;
  transition: border-color .3s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.6rem;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-muted); opacity: .8; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--text-muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(235, 97, 30, .28); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field__error { min-height: 0; font-size: .85rem; font-weight: 500; color: var(--error); }
.field__error:empty { display: none; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: .4rem; }
.form__status { font-size: .92rem; font-weight: 500; }

.contact__side { display: grid; gap: 1rem; }
.info-cards { display: grid; gap: .8rem; }
.info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: .95rem;
  transition: border-color .3s;
}
.info-card:hover { border-color: var(--orange); }
.info-card > span:last-child { display: grid; gap: .1rem; }
.info-card a { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.info-card a:hover { color: var(--accent-text); text-decoration: underline; }
.info-card__icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; background: var(--orange); color: var(--black); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.info-card__label { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.map { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--surface-2); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); }
[data-theme="dark"] .map iframe { filter: invert(.9) hue-rotate(180deg) grayscale(.4) contrast(.95); }

@media (min-width: 640px) {
  .form__row { grid-template-columns: 1fr 1fr; }
  .info-cards { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .contact__grid { grid-template-columns: 7fr 5fr; }
  .info-cards { grid-template-columns: 1fr; }
}

/* ---------- 18. Footer (toujours sombre) ---------- */
.footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(4rem, 8vw, 6rem);
  background: #0F1012;
  color: var(--text);
}
.footer__chevrons {
  position: absolute;
  right: -80px; top: -80px;
  width: 360px; height: 360px;
  border-left: 34px solid rgba(235, 97, 30, .12);
  border-bottom: 34px solid rgba(235, 97, 30, .12);
  transform: rotate(45deg);
  pointer-events: none;
}
.footer__top { position: relative; display: grid; gap: 2.5rem; padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.footer__brand img { width: 190px; height: auto; }
.footer__brand p { margin-top: 1.2rem; max-width: 30rem; color: var(--text-muted); font-size: .95rem; }
.footer__title { margin-bottom: 1rem; font-family: var(--font-body); font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); }
.footer__col ul { display: grid; gap: .55rem; font-size: .95rem; color: var(--text-muted); }
.footer__col a { text-decoration: none; transition: color .3s; }
.footer__col a:hover { color: var(--text); text-decoration: underline; }
.socials { display: flex; gap: .6rem; margin-top: 1.6rem; }
.socials a {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  color: var(--text);
  transition: background-color .3s, border-color .3s, color .3s;
}
.socials a:hover { background: var(--orange); border-color: var(--orange); color: var(--black); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .8rem 2rem;
  padding-block: 1.6rem calc(1.6rem + 70px);
  padding-right: 84px;
  border-top: 1px solid var(--line);
  font-size: .88rem;
  color: var(--text-muted);
}
.footer__top-link { text-decoration: none; }
.footer__top-link:hover { color: var(--text); }
@media (max-width: 639.98px) {
  .footer__chevrons { width: 200px; height: 200px; right: -90px; top: -90px; border-width: 0 0 22px 22px; }
}
@media (min-width: 640px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .footer__top { grid-template-columns: 2fr 1fr 1fr 1.3fr; }
  .footer__bottom { padding-bottom: 1.8rem; }
}

/* ---------- 19. WhatsApp flottant ---------- */
.wa-float {
  position: fixed;
  right: clamp(14px, 2.5vw, 28px);
  bottom: clamp(14px, 2.5vw, 28px);
  z-index: 90;
  display: grid;
  place-items: center;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--black);
  box-shadow: 0 14px 30px -10px rgba(235, 97, 30, .65);
  transition: transform .4s var(--ease-out);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--orange);
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .wa-float::before { animation: pulse 2.6s var(--ease-out) infinite; }
}
@keyframes pulse {
  0% { transform: scale(1); opacity: .7; }
  70%, 100% { transform: scale(1.55); opacity: 0; }
}

/* ---------- 20. Lightbox ---------- */
.lightbox {
  width: 100vw; height: 100dvh;
  max-width: none; max-height: none;
  margin: 0;
  padding: clamp(1rem, 4vw, 3rem);
  border: 0;
  background: rgba(10, 10, 12, .94);
  color: #F2F2F2;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(10, 10, 12, .6); }
.lightbox__fig { display: grid; justify-items: center; gap: 1rem; max-width: 100%; }
.lightbox__img { width: auto; height: auto; max-width: min(92vw, 1400px); max-height: 78dvh; object-fit: contain; border-radius: var(--radius); }
.lightbox__cap { text-align: center; font-size: .95rem; color: #C9C9CC; }
.lightbox__cap strong { display: block; font-family: var(--font-title); font-size: 1.15rem; color: #F2F2F2; }
.lightbox__btn { position: absolute; color: #F2F2F2; border-color: rgba(255, 255, 255, .3); background: rgba(20, 20, 20, .5); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox :focus-visible { outline-color: var(--orange); }

/* ---------- 21. Transition de thème ---------- */
::view-transition-old(root),
::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
.theme-fade, .theme-fade * , .theme-fade *::before, .theme-fade *::after {
  transition: background-color .45s ease, color .45s ease, border-color .45s ease, fill .45s ease, stroke .45s ease !important;
}

/* ---------- 22. Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .marquee__track { animation: none; }
}

/* ---------- 23. Impression ---------- */
@media print {
  .header, .wa-float, .loader, .cursor, .scroll-indicator, .marquee { display: none !important; }
}
