/* ==========================================================================
   SOGE-ALU CI — Design system
   Direction : « précision architecturale » — aluminium brossé, verre, lignes fines.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Couleurs */
  --ink: #0a1a22;
  --ink-2: #102731;
  --ink-3: #18343f;
  --steel: #55666e;
  --steel-2: #7d8c93;
  --alu-50: #f6f8f9;
  --alu-100: #eef2f4;
  --alu-200: #dfe5e8;
  --line: #e3e8eb;
  --line-dark: rgba(255, 255, 255, .12);
  --white: #ffffff;

  --brand: #049ebb;
  --brand-strong: #037a91;
  --brand-deep: #035e70;
  --brand-soft: #e5f5f8;
  --brass: #c99a45;

  --success: #12805c;
  --success-soft: #e7f6ef;
  --danger: #c2362b;
  --danger-soft: #fdecea;

  /* Typographie */
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --fs-xs: .78rem;
  --fs-sm: .9rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: clamp(1.15rem, 1rem + .5vw, 1.35rem);
  --fs-h4: clamp(1.15rem, 1.05rem + .4vw, 1.3rem);
  --fs-h3: clamp(1.35rem, 1.15rem + .8vw, 1.75rem);
  --fs-h2: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  --fs-h1: clamp(2.5rem, 1.6rem + 4vw, 5rem);

  /* Espacements & rayons */
  --gutter: clamp(16px, 4vw, 32px);
  --container: 1240px;
  --section: clamp(72px, 9vw, 128px);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  /* Ombres */
  --sh-sm: 0 1px 2px rgba(10, 26, 34, .06), 0 1px 1px rgba(10, 26, 34, .04);
  --sh-md: 0 10px 30px -12px rgba(10, 26, 34, .18);
  --sh-lg: 0 30px 60px -24px rgba(10, 26, 34, .28);

  /* Mouvement */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t-fast: .2s;
  --t: .35s;
  --t-slow: .7s;

  --header-h: 84px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, video, svg, iframe { display: block; max-width: 100%; }
picture { display: contents; }
img { height: auto; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .5em;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.025em;
  color: var(--ink);
}

p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

::selection { background: var(--brand); color: var(--white); }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--r-sm);
  transform: translateY(-150%);
  transition: transform var(--t-fast) var(--ease);
}
.skip-link:focus { transform: none; }

/* ---------- 3. Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(860px + var(--gutter) * 2); }

.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--alu { background: var(--alu-50); }
.section--dark { background: var(--ink); color: rgba(255, 255, 255, .78); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }

.grid { display: grid; gap: clamp(20px, 2.5vw, 32px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.split--top { align-items: start; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* Pattern de lignes (montants/traverses) */
.bg-lines {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 96px 96px;
}

/* ---------- 4. Typographie de section ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand-strong);
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
}
.eyebrow .num { color: var(--steel-2); font-variant-numeric: tabular-nums; }
.section--dark .eyebrow, .on-dark .eyebrow { color: #5fd0e6; }
.section--dark .eyebrow .num, .on-dark .eyebrow .num { color: rgba(255, 255, 255, .45); }

.h1 { font-size: var(--fs-h1); line-height: 1.02; letter-spacing: -.035em; font-weight: 700; }
.h2 { font-size: var(--fs-h2); line-height: 1.06; letter-spacing: -.03em; }
.h3 { font-size: var(--fs-h3); }
.h4 { font-size: var(--fs-h4); letter-spacing: -.015em; }

.lead { font-size: var(--fs-lg); line-height: 1.6; color: var(--steel); }
.muted { color: var(--steel); }
.section--dark .lead, .section--dark .muted { color: rgba(255, 255, 255, .68); }

.s-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.s-head__text { max-width: 720px; }
.s-head__text .h2 { margin-bottom: .35em; }
.s-head__text .lead { margin: 0; }
.s-head--center { justify-content: center; text-align: center; }
.s-head--center .s-head__text { margin-inline: auto; }
.s-head--center .eyebrow::after {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
}
@media (max-width: 760px) {
  .s-head { flex-direction: column; align-items: flex-start; }
  .s-head--center { align-items: center; }
}

/* ---------- 5. Boutons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--white);
  --btn-bd: var(--btn-bg);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: -.005em;
  line-height: 1.2;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid var(--btn-bd);
  border-radius: 999px;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color var(--t) var(--ease), background-color var(--t) var(--ease), border-color var(--t) var(--ease), transform var(--t-fast) var(--ease), box-shadow var(--t) var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn i { font-size: 1.05em; transition: transform var(--t) var(--ease-out); }
.btn:hover i.bi-arrow-right, .btn:hover i.bi-arrow-up-right { transform: translateX(4px); }
.btn:active { transform: scale(.98); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; }

.btn--primary { --btn-bg: var(--brand); --btn-fg: var(--white); }
.btn--primary:hover { --btn-bg: var(--brand-strong); box-shadow: 0 12px 28px -10px rgba(4, 158, 187, .6); }

.btn--dark { --btn-bg: var(--ink); }
.btn--dark:hover { --btn-bg: var(--ink-3); }

.btn--light { --btn-bg: var(--white); --btn-fg: var(--ink); }
.btn--light:hover { --btn-bg: var(--brand-soft); }

.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--alu-200); }
.btn--outline:hover { --btn-bd: var(--ink); }

.btn--ghost { --btn-bg: rgba(255, 255, 255, .06); --btn-fg: var(--white); --btn-bd: rgba(255, 255, 255, .28); backdrop-filter: blur(6px); }
.btn--ghost:hover { --btn-bg: rgba(255, 255, 255, .14); --btn-bd: rgba(255, 255, 255, .6); }

.btn--whatsapp { --btn-bg: #25d366; --btn-fg: #0a1a22; }
.btn--whatsapp:hover { --btn-bg: #1ebe5b; box-shadow: 0 12px 28px -10px rgba(37, 211, 102, .6); }
.btn[hidden] { display: none; }
.btn--sm { min-height: 42px; padding: 10px 18px; font-size: .88rem; }
.btn--block { width: 100%; }

.btn.is-loading { color: transparent !important; pointer-events: none; }
.btn.is-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 20px; height: 20px;
  border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--ink);
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 2px;
  transition: background-size var(--t) var(--ease), color var(--t) var(--ease);
}
.link-arrow i { transition: transform var(--t) var(--ease-out); }
.link-arrow:hover { background-size: 100% 1px; color: var(--brand-strong); }
.link-arrow:hover i { transform: translate(3px, -3px); }
.section--dark .link-arrow { color: var(--white); }

.btn-group { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 6. Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  color: var(--ink);
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line);
  transition: background-color var(--t) var(--ease), border-color var(--t) var(--ease), color var(--t) var(--ease), transform var(--t) var(--ease), height var(--t) var(--ease);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

/* Mode superposé (au-dessus d'un visuel sombre) */
.has-overlay-header .site-header:not(.is-scrolled) {
  background: transparent;
  border-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: var(--white);
}
.has-overlay-header .site-header:not(.is-scrolled) .brand__logo { background: rgba(255, 255, 255, .94); }
.site-header.is-scrolled { --header-h: 72px; box-shadow: 0 8px 30px -20px rgba(10, 26, 34, .35); }
.site-header.is-hidden { transform: translateY(-100%); }

.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__logo {
  display: grid;
  place-items: center;
  padding: 6px 10px;
  border-radius: 10px;
  background: transparent;
  transition: background-color var(--t) var(--ease);
}
.brand__logo img { height: 40px; width: auto; }
.brand__name { display: none; }

.nav { display: flex; align-items: center; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav__link {
  position: relative;
  display: inline-flex;
  padding: 10px 14px;
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: -.005em;
  color: inherit;
  opacity: .78;
  transition: opacity var(--t-fast) var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t) var(--ease-out);
}
.nav__link:hover { opacity: 1; }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__link.is-active { opacity: 1; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  font-weight: 700;
  white-space: nowrap;
}
.header-phone__icon {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: .9;
  transition: background-color var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t) var(--ease);
}
.header-phone:hover .header-phone__icon { background: var(--brand); border-color: var(--brand); color: var(--white); }
.header-phone small { display: block; font-size: .7rem; font-weight: 600; opacity: .6; letter-spacing: .04em; text-transform: uppercase; }

.nav-toggle {
  display: none;
  position: relative;
  width: 46px; height: 46px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
}
.nav-toggle span {
  position: absolute;
  left: 13px; right: 13px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--t) var(--ease-out), opacity var(--t-fast) var(--ease), top var(--t) var(--ease-out);
}
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 27px; }

@media (max-width: 1280px) {
  .header-phone__text { display: none; }
}
@media (max-width: 1140px) {
  .nav, .header-phone, .header-actions .btn { display: none; }
  .nav-toggle { display: inline-block; }
  :root { --header-h: 72px; }
}

/* Menu mobile */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  background: var(--ink);
  color: var(--white);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .6s var(--ease-out), opacity .3s var(--ease), visibility 0s linear .6s;
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  clip-path: inset(0 0 0 0);
  transition: clip-path .6s var(--ease-out), opacity .2s var(--ease), visibility 0s;
}
body.menu-open .site-header { color: var(--white); background: transparent; border-color: transparent; backdrop-filter: none; box-shadow: none; }
body.menu-open .site-header .brand__logo { background: rgba(255, 255, 255, .94); }
body.menu-open .nav-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

.mobile-menu__list { list-style: none; border-top: 1px solid var(--line-dark); }
.mobile-menu__list li {
  border-bottom: 1px solid var(--line-dark);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.mobile-menu.is-open .mobile-menu__list li { opacity: 1; transform: none; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(1) { transition-delay: .12s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(2) { transition-delay: .16s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(3) { transition-delay: .2s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(4) { transition-delay: .24s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(5) { transition-delay: .28s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(6) { transition-delay: .32s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(7) { transition-delay: .36s; }
.mobile-menu__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-size: clamp(1.5rem, 6vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -.03em;
}
.mobile-menu__list a .idx { font-size: .8rem; font-weight: 600; letter-spacing: .1em; color: rgba(255, 255, 255, .4); }
.mobile-menu__list a.is-active { color: #5fd0e6; }
.mobile-menu__footer {
  margin-top: auto;
  padding-top: 32px;
  display: grid;
  gap: 16px;
}
.mobile-menu__contact { display: grid; gap: 6px; color: rgba(255, 255, 255, .7); font-size: .95rem; }
.mobile-menu__contact a { color: var(--white); font-weight: 700; }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(640px, 100svh, 980px);
  display: flex;
  flex-direction: column;
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media video { background: var(--ink); }
.hero__media video, .hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(10, 26, 34, .92) 0%, rgba(10, 26, 34, .72) 42%, rgba(10, 26, 34, .25) 100%),
    linear-gradient(0deg, rgba(10, 26, 34, .9) 0%, rgba(10, 26, 34, 0) 45%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(to right, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
  mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
  pointer-events: none;
}
.hero__body {
  flex: 1;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + clamp(40px, 6vw, 80px));
  padding-bottom: clamp(40px, 5vw, 64px);
}
.hero__content { max-width: 800px; }
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 10px;
  margin-bottom: 28px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(8px);
}
.hero__tag .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(4, 158, 187, .25);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(4, 158, 187, 0); } }
.hero__title { color: var(--white); margin-bottom: 24px; text-wrap: balance; }
.hero__title .serif { color: #8fe0ef; }
.hero__text { max-width: 600px; font-size: var(--fs-lg); line-height: 1.6; color: rgba(255, 255, 255, .78); margin-bottom: 36px; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin-top: 40px;
  font-size: .9rem;
  color: rgba(255, 255, 255, .7);
}
.hero__meta a, .hero__meta span { display: inline-flex; align-items: center; gap: 10px; }
.hero__meta strong { color: var(--white); font-weight: 700; }
.hero__meta i { color: #5fd0e6; font-size: 1.1rem; }

.hero__features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-dark);
}
.hero__feature {
  display: flex;
  gap: 16px;
  padding: clamp(20px, 2.4vw, 32px) clamp(16px, 2vw, 28px);
  border-right: 1px solid var(--line-dark);
}
.hero__feature:first-child { padding-left: 0; }
.hero__feature:last-child { border-right: 0; }
.hero__feature i {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  font-size: 1.15rem;
  color: #8fe0ef;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
}
.hero__feature h3 { margin: 0 0 4px; font-size: 1rem; color: var(--white); letter-spacing: -.01em; }
.hero__feature p { margin: 0; font-size: .87rem; line-height: 1.5; color: rgba(255, 255, 255, .6); }

.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: 140px;
  display: none;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-xs);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  writing-mode: vertical-rl;
}
.scroll-cue::after {
  content: "";
  width: 1px; height: 64px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, .7), transparent);
  animation: cue 2.2s var(--ease) infinite;
  transform-origin: top;
}
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (min-width: 1200px) { .scroll-cue { display: inline-flex; } }

@media (max-width: 900px) {
  .hero__features { grid-template-columns: 1fr; }
  .hero__feature { padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .hero__feature:last-child { border-bottom: 0; }
  .hero__feature p { display: none; }
  .hero__feature { align-items: center; }
  .hero__feature i { width: 38px; height: 38px; }
}

/* ---------- 8. En-tête de page (pages internes) ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(56px, 8vw, 112px)) 0 clamp(56px, 7vw, 96px);
  color: rgba(255, 255, 255, .72);
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 80% at 85% 0%, rgba(4, 158, 187, .28), transparent 60%),
    radial-gradient(40% 60% at 0% 100%, rgba(4, 158, 187, .12), transparent 60%);
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
}
.page-hero__title { color: var(--white); font-size: clamp(2.1rem, 1.4rem + 3vw, 4rem); line-height: 1.05; letter-spacing: -.035em; max-width: 960px; margin-bottom: 20px; text-wrap: balance; }
.page-hero__text { max-width: 720px; font-size: var(--fs-md); line-height: 1.7; margin: 0; }
.page-hero__text.is-clamped { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  list-style: none;
  font-size: .85rem;
  font-weight: 600;
}
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .5); }
.breadcrumb li + li::before { content: ""; width: 14px; height: 1px; background: rgba(255, 255, 255, .3); }
.breadcrumb a { color: rgba(255, 255, 255, .78); transition: color var(--t-fast); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb [aria-current] { color: #8fe0ef; max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- 9. Bandeau partenaires (marquee) ---------- */
.partners {
  padding-block: clamp(36px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.partners__inner { display: flex; align-items: center; gap: clamp(24px, 4vw, 56px); }
.partners__label {
  flex-shrink: 0;
  max-width: 200px;
  font-size: .85rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--steel);
}
.marquee {
  position: relative;
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  --gap: clamp(40px, 5vw, 72px);
  gap: var(--gap);
  animation: marquee var(--marquee-duration, 40s) linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { flex-shrink: 0; display: grid; place-items: center; height: 56px; }
.marquee__item img {
  max-height: 56px;
  max-width: 150px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) contrast(1.15);
  opacity: .85;
  mix-blend-mode: multiply;
  transition: filter var(--t) var(--ease), opacity var(--t) var(--ease);
}
.marquee__item:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(calc(-50% - var(--gap) / 2)); } }
@media (max-width: 760px) {
  .partners__inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .partners__label { max-width: none; }
  .marquee { width: 100%; }
}

/* ---------- 10. À propos / chiffres ---------- */
.about-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  aspect-ratio: 1 / 1.02;
}
.about-visual figure { margin: 0; overflow: hidden; border-radius: var(--r-lg); background: var(--alu-100); }
.about-visual figure:first-child { grid-row: span 2; }
.about-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.about-visual figure:hover img { transform: scale(1.05); }
.about-visual__badge {
  position: absolute;
  left: clamp(-24px, -2vw, -8px);
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 300px;
  padding: 18px 22px;
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
}
.about-visual__badge strong { font-size: 2.6rem; line-height: 1; letter-spacing: -.04em; color: var(--brand); }
.about-visual__icon { font-size: 2rem; color: var(--brand); }
.about-visual__badge span { font-size: .85rem; line-height: 1.35; font-weight: 600; color: var(--steel); }
@media (max-width: 860px) { .about-visual { aspect-ratio: 4 / 3.4; } .about-visual__badge { left: 12px; bottom: 12px; } }

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  margin-top: 40px;
}
.stat { padding: 24px 20px 0 0; }
.stat + .stat { padding-left: 20px; border-left: 1px solid var(--line); }
.stat__value {
  display: block;
  font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat__label { display: block; margin-top: 10px; font-size: .85rem; line-height: 1.4; color: var(--steel); }
.stats--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stats--2 .stat:nth-child(3) { padding-left: 0; border-left: 0; }
.stats--2 .stat:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 24px; }
@media (max-width: 640px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 24px; }
}
.section--dark .stats, .section--dark .stat + .stat, .section--dark .stat { border-color: var(--line-dark); }
.section--dark .stat__value { color: var(--white); }
.section--dark .stat__label { color: rgba(255, 255, 255, .6); }

.check-list { display: grid; gap: 14px; list-style: none; margin: 28px 0 36px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list i {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 24px; height: 24px;
  margin-top: 1px;
  font-size: .85rem;
  color: var(--white);
  background: var(--brand);
  border-radius: 50%;
}

/* ---------- 11. Cartes services ---------- */
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t) var(--ease-out), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: transparent; }
.service-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--alu-100); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.service-card:hover .service-card__media img { transform: scale(1.06); }
.service-card__num {
  position: absolute;
  top: 16px; left: 16px;
  padding: 6px 12px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--ink);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(6px);
  border-radius: 999px;
}
.service-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }
.service-card__title { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; font-size: 1.2rem; letter-spacing: -.02em; }
.service-card__title .ico { color: var(--brand); font-size: 1.1rem; }
.service-card__text { flex: 1; margin-bottom: 20px; font-size: .94rem; color: var(--steel); }
.service-card__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: .9rem;
  font-weight: 700;
}
.service-card__cta .arrow {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--alu-200);
  transition: background-color var(--t) var(--ease), border-color var(--t) var(--ease), color var(--t) var(--ease), transform var(--t) var(--ease-out);
}
.service-card:hover .service-card__cta .arrow { background: var(--brand); border-color: var(--brand); color: var(--white); transform: rotate(-45deg); }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }

/* ---------- 12. Pourquoi nous choisir (onglets animés) ---------- */
.why-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(20px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.why-head .h2 { margin: 0; text-wrap: balance; }
.why-head__text { font-size: var(--fs-md); line-height: 1.7; color: var(--steel); }
.section--dark .why-head__text { color: rgba(255, 255, 255, .66); }
@media (max-width: 860px) { .why-head { grid-template-columns: 1fr; align-items: start; } }

.why-tabs {
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(60% 70% at 100% 0%, rgba(4, 158, 187, .22), transparent 60%),
    radial-gradient(50% 60% at 0% 100%, rgba(4, 158, 187, .10), transparent 60%),
    var(--ink);
}
.why-tabs::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(to right, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: calc(100% / 8) 100%;
  pointer-events: none;
}
.why-tabs__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: stretch;
}

/* Onglets */
.why-tabs__list { display: flex; flex-direction: column; border-top: 1px solid var(--line-dark); }
.why-tab { position: relative; border-bottom: 1px solid var(--line-dark); }
.why-tab__trigger {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 24px 0;
  text-align: left;
  color: rgba(255, 255, 255, .55);
  background: none;
  border: 0;
  cursor: pointer;
  transition: color var(--t) var(--ease);
}
.why-tab__trigger:hover, .why-tab.is-active .why-tab__trigger { color: var(--white); }
.why-tab__trigger:focus-visible { outline-offset: -2px; }
.why-tab__num { font-size: .8rem; font-weight: 700; letter-spacing: .12em; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .4); transition: color var(--t); }
.why-tab.is-active .why-tab__num { color: #5fd0e6; }
.why-tab__title { font-size: clamp(1.1rem, 1rem + .6vw, 1.45rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.25; }
.why-tab__icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, .5);
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  transition: all var(--t) var(--ease-out);
}
.why-tab.is-active .why-tab__icon { color: var(--white); background: var(--brand); border-color: var(--brand); transform: rotate(-8deg); }

/* Ouverture fluide du texte (grid 0fr → 1fr) */
.why-tab__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-out); }
.why-tab.is-active .why-tab__panel { grid-template-rows: 1fr; }
.why-tab__inner { min-height: 0; overflow: hidden; padding-left: 60px; }
.why-tab__inner .rich { padding: 0 0 26px; font-size: .98rem; line-height: 1.7; color: rgba(255, 255, 255, .66); opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .5s var(--ease-out); }
.why-tab.is-active .why-tab__inner .rich { opacity: 1; transform: none; transition-delay: .12s; }
.why-tab__mobile-media { display: none; }

/* Barre de progression (lecture automatique) */
.why-tab__progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; overflow: hidden; }
.why-tab__progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--brand), #8fe0ef); transform: scaleX(0); transform-origin: left; }
.why-tab.is-active .why-tab__progress span { animation: whyProgress var(--why-interval, 6.5s) linear forwards; }
.why-tabs.is-paused .why-tab.is-active .why-tab__progress span { animation-play-state: paused; }
.why-tabs.no-autoplay .why-tab.is-active .why-tab__progress span { animation: none; transform: scaleX(1); }
@keyframes whyProgress { to { transform: scaleX(1); } }

.why-tabs__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 36px; }

/* Visuels */
.why-tabs__media {
  position: relative;
  min-height: 560px;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--ink-2);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6);
  isolation: isolate;
}
.why-tabs__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.06); transition: opacity .9s var(--ease), transform 1.6s var(--ease-out); }
.why-tabs__slide.is-active { opacity: 1; transform: none; }
.why-tabs__slide img { width: 100%; height: 100%; object-fit: cover; }
.why-tabs__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(10, 26, 34, .75) 0%, rgba(10, 26, 34, 0) 45%);
  pointer-events: none;
}
.why-tabs__overlay {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(20px, 2.6vw, 32px);
}
.why-tabs__years {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 10px 10px;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--white);
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.why-tabs__years strong { display: grid; place-items: center; min-width: 52px; height: 52px; padding: 0 8px; font-size: 1.3rem; letter-spacing: -.03em; color: var(--ink); background: var(--white); border-radius: 999px; }
.why-tabs__counter { font-size: .85rem; font-weight: 600; letter-spacing: .1em; color: rgba(255, 255, 255, .6); font-variant-numeric: tabular-nums; }
.why-tabs__counter b { font-size: 1.6rem; letter-spacing: -.02em; color: var(--white); }

/* Tablette & mobile : accordéon avec visuel intégré */
@media (max-width: 860px) {
  .why-tabs__grid { grid-template-columns: 1fr; }
  .why-tabs__media { display: none; }
  .why-tab__inner { padding-left: 0; }
  .why-tab__mobile-media { display: block; margin: 0 0 24px; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 10; background: var(--ink-2); }
  .why-tab__mobile-media img { width: 100%; height: 100%; object-fit: cover; }
  .why-tab__trigger { grid-template-columns: 34px minmax(0, 1fr) 40px; gap: 12px; padding: 20px 0; }
  .why-tab__icon { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .why-tab__progress { display: none; }
}

/* Onglets animés — éléments complémentaires (pastilles, mini-chiffres) */
.why-tab__extra { padding: 0 0 26px; margin-top: -8px; }
.why-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.why-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .85);
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  transition: all var(--t-fast) var(--ease);
}
a.why-pill:hover { color: var(--white); background: var(--brand); border-color: var(--brand); }
.why-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding-top: 16px; border-top: 1px solid var(--line-dark); }
.why-stats > div { display: flex; flex-direction: column-reverse; gap: 2px; }
.why-stats dt { font-size: .78rem; color: rgba(255, 255, 255, .55); }
.why-stats dd { margin: 0; font-size: 1.6rem; font-weight: 700; line-height: 1.1; letter-spacing: -.03em; color: var(--white); font-variant-numeric: tabular-nums; }

/* Onglets animés — variante claire (section « L'entreprise ») */
.why-tabs--light { background: var(--white); color: var(--ink); }
.why-tabs--light::before { background-image: linear-gradient(to right, rgba(10, 26, 34, .035) 1px, transparent 1px); }
.why-tabs--light .why-tabs__list { border-top-color: var(--line); }
.why-tabs--light .why-tab { border-bottom-color: var(--line); }
.why-tabs--light .why-tab__trigger { color: var(--steel-2); }
.why-tabs--light .why-tab__trigger:hover,
.why-tabs--light .why-tab.is-active .why-tab__trigger { color: var(--ink); }
.why-tabs--light .why-tab__num { color: var(--steel-2); }
.why-tabs--light .why-tab.is-active .why-tab__num { color: var(--brand-strong); }
.why-tabs--light .why-tab__icon { color: var(--steel); border-color: var(--line); }
.why-tabs--light .why-tab.is-active .why-tab__icon { color: var(--white); background: var(--brand); border-color: var(--brand); }
.why-tabs--light .why-tab__inner .rich { color: var(--steel); }
.why-tabs--light .why-tabs__media { background: var(--alu-100); box-shadow: var(--sh-lg); }
.why-tabs--light .why-tab__mobile-media { background: var(--alu-100); }
.why-tabs--light .why-pill { color: var(--ink); border-color: var(--line); background: var(--white); }
.why-tabs--light a.why-pill:hover { color: var(--white); background: var(--brand); border-color: var(--brand); }
.why-tabs--light .why-stats { border-top-color: var(--line); }
.why-tabs--light .why-stats dt { color: var(--steel); }
.why-tabs--light .why-stats dd { color: var(--ink); }

/* ---------- 13. Processus ---------- */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; list-style: none; counter-reset: step; }
.process__step {
  position: relative;
  padding: 0 28px 0 0;
  counter-increment: step;
}
.process__step + .process__step { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.process__icon {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  margin-bottom: 28px;
  font-size: 1.35rem;
  color: var(--white);
  border-radius: 16px;
  background: linear-gradient(145deg, var(--brand), var(--brand-deep));
  box-shadow: 0 16px 32px -14px rgba(4, 158, 187, .7);
}
.process__step::before {
  content: "Étape " counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 10px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
  order: 2;
}
.process__step { display: flex; flex-direction: column; }
.process__icon { order: 1; }
.process__step h3 { order: 3; margin-bottom: 10px; font-size: 1.2rem; }
.process__step p { order: 4; margin: 0; font-size: .94rem; color: rgba(255, 255, 255, .62); }
@media (max-width: 1024px) {
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .process__step:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 560px) {
  .process { grid-template-columns: 1fr; row-gap: 0; }
  .process__step, .process__step + .process__step { padding: 28px 0; border-left: 0; border-top: 1px solid var(--line-dark); }
  .process__step:first-child { border-top: 0; padding-top: 0; }
  .process__step { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 20px; }
  .process__icon { grid-row: span 3; margin: 0; }
}

/* ---------- 14. Réalisations ---------- */
.projects { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.projects > * { grid-column: span 4; }
.projects--featured > :nth-child(1) { grid-column: span 7; }
.projects--featured > :nth-child(2) { grid-column: span 5; }
@media (max-width: 1024px) {
  .projects > *, .projects--featured > :nth-child(1), .projects--featured > :nth-child(2) { grid-column: span 6; }
}
@media (max-width: 640px) {
  .projects > *, .projects--featured > :nth-child(1), .projects--featured > :nth-child(2) { grid-column: span 12; }
}

.project-card {
  position: relative;
  display: block;
  height: 100%;
  min-height: 360px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ink-2);
  color: var(--white);
  isolation: isolate;
}
.project-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(10, 26, 34, .92) 0%, rgba(10, 26, 34, .35) 45%, rgba(10, 26, 34, 0) 70%);
  transition: opacity var(--t) var(--ease);
}
.project-card:hover img { transform: scale(1.06); }
.project-card__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(20px, 2.4vw, 28px);
}
.project-card__tag {
  position: absolute;
  top: 18px; left: 18px;
  padding: 6px 12px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(8px);
  border-radius: 999px;
}
.project-card h3 { margin: 0 0 6px; color: var(--white); font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); letter-spacing: -.02em; text-wrap: balance; }
.project-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: .85rem; color: rgba(255, 255, 255, .72); }
.project-card__meta i { color: #8fe0ef; margin-right: 4px; }
.project-card__go {
  position: absolute;
  top: 18px; right: 18px;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  transform: scale(.6) rotate(-45deg);
  opacity: 0;
  transition: transform var(--t) var(--ease-out), opacity var(--t) var(--ease);
}
.project-card:hover .project-card__go, .project-card:focus-visible .project-card__go { opacity: 1; transform: scale(1) rotate(0); }
@media (hover: none) { .project-card__go { opacity: 1; transform: none; } }
.project-card--tall { min-height: 460px; }
.project-card.no-image { background: linear-gradient(135deg, var(--ink-2), var(--brand-deep)); }

/* Filtres */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter-btn {
  min-height: 42px;
  padding: 9px 18px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--steel);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: all var(--t-fast) var(--ease);
}
.filter-btn:hover { color: var(--ink); border-color: var(--ink); }
.filter-btn.is-active { color: var(--white); background: var(--ink); border-color: var(--ink); }
.filter-btn .count { margin-left: 6px; font-size: .75rem; opacity: .6; }
.is-filtered-out { display: none !important; }
.filter-fade { animation: fadeUp .5s var(--ease-out) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Fiche réalisation */
.project-facts { display: flex; flex-wrap: wrap; gap: 20px clamp(32px, 5vw, 72px); margin: 0; }
.project-facts dt { margin-bottom: 4px; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-2); }
.project-facts dd { margin: 0; font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.project-facts dd i { color: var(--brand); }
.border-b { border-bottom: 1px solid var(--line); }
.detail-media { margin: 0; }
.detail-media--wide img { aspect-ratio: 4 / 3; }
.s-head--compact { margin-bottom: 28px; }
.justify-between { justify-content: space-between; }

/* Galerie */
.gallery { columns: 3 280px; column-gap: 16px; }
.gallery__item {
  position: relative;
  display: block;
  margin: 0 0 16px;
  break-inside: avoid;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--alu-100);
  cursor: zoom-in;
}
.gallery__item img, .gallery__item video { width: 100%; transition: transform 1s var(--ease-out); }
.gallery__item video { aspect-ratio: 4 / 3; object-fit: cover; background: var(--ink-2); }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item::after {
  content: "\F52A";
  font-family: "bootstrap-icons";
  position: absolute;
  top: 14px; right: 14px;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  font-size: 1rem;
  color: var(--ink);
  background: rgba(255, 255, 255, .92);
  border-radius: 50%;
  opacity: 0;
  transform: scale(.8);
  transition: all var(--t) var(--ease-out);
}
.gallery__item:hover::after { opacity: 1; transform: none; }
.gallery__item--video::after { content: "\F4F4"; opacity: 1; transform: none; width: 56px; height: 56px; top: 50%; left: 50%; right: auto; margin: -28px 0 0 -28px; font-size: 1.4rem; }
.gallery__item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 32px 16px 14px;
  font-size: .85rem;
  color: var(--white);
  background: linear-gradient(to top, rgba(10, 26, 34, .8), transparent);
}

/* ---------- 15. Témoignages ---------- */
.testimonials { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.rating-card {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  padding: clamp(28px, 3vw, 40px);
  border-radius: var(--r-xl);
  background: var(--ink);
  color: rgba(255, 255, 255, .7);
}
.rating-card__score { display: flex; align-items: baseline; gap: 10px; color: var(--white); }
.rating-card__score strong { font-size: clamp(3.5rem, 3rem + 2vw, 5rem); line-height: 1; letter-spacing: -.05em; }
.rating-card__score span { font-size: 1.1rem; color: rgba(255, 255, 255, .5); }
.stars { display: inline-flex; gap: 3px; color: var(--brass); font-size: 1rem; }
.rating-card .stars { margin: 16px 0 10px; font-size: 1.15rem; }
.rating-card p { margin-bottom: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: .8rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--steel);
  background: var(--white);
}
.rating-card .chip { color: rgba(255, 255, 255, .8); border-color: var(--line-dark); background: rgba(255, 255, 255, .04); }

.carousel { position: relative; min-width: 0; }
.carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 24px) / 2);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
.carousel__nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; }
.carousel__progress { flex: 1; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.carousel__progress span { display: block; height: 100%; width: 30%; background: var(--ink); border-radius: 2px; transition: transform var(--t) var(--ease), width var(--t) var(--ease); }
.carousel__btns { display: flex; gap: 8px; }
.icon-btn {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--alu-200);
  border-radius: 50%;
  transition: all var(--t-fast) var(--ease);
}
.icon-btn:hover:not(:disabled) { background: var(--ink); border-color: var(--ink); color: var(--white); }
.icon-btn:disabled { opacity: .35; cursor: default; }
@media (max-width: 900px) {
  .testimonials { grid-template-columns: 1fr; }
  .rating-card { position: relative; top: 0; }
}
@media (max-width: 640px) { .carousel__track { grid-auto-columns: 86%; gap: 16px; } }

.quote-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(24px, 3vw, 36px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.quote-card__mark { font-family: var(--font-serif); font-size: 4rem; line-height: .6; color: var(--brand); height: 28px; }
.quote-card blockquote { flex: 1; margin: 18px 0 28px; font-size: 1.05rem; line-height: 1.65; color: var(--ink); }
.quote-card footer { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 46px; height: 46px;
  font-weight: 700;
  font-size: .95rem;
  color: var(--brand-deep);
  background: var(--brand-soft);
  border-radius: 50%;
}
.quote-card cite { display: block; font-style: normal; font-weight: 700; }
.quote-card footer small { color: var(--steel); font-size: .85rem; }
.quote-card .stars { margin-left: auto; font-size: .85rem; }

/* ---------- 16. CTA ---------- */
.cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding: clamp(36px, 6vw, 80px);
  border-radius: var(--r-xl);
  background: var(--ink);
  color: rgba(255, 255, 255, .72);
  overflow: hidden;
  isolation: isolate;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(50% 80% at 100% 0%, rgba(4, 158, 187, .45), transparent 65%),
    radial-gradient(40% 60% at 0% 100%, rgba(4, 158, 187, .18), transparent 60%);
}
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(to right, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 72px 100%;
  mask-image: linear-gradient(to left, #000, transparent 70%);
  -webkit-mask-image: linear-gradient(to left, #000, transparent 70%);
}
.cta h2 { color: var(--white); margin-bottom: 16px; text-wrap: balance; }
.cta p { margin: 0; font-size: var(--fs-md); }
.cta__actions { display: grid; gap: 14px; justify-items: start; }
.cta__contact { display: grid; gap: 12px; padding: 24px; width: 100%; border: 1px solid var(--line-dark); border-radius: var(--r-md); background: rgba(255, 255, 255, .03); }
.cta__contact a { display: flex; align-items: center; gap: 12px; color: var(--white); font-weight: 600; }
.cta__contact a i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #8fe0ef; }
.cta__contact a:hover i { background: var(--brand); color: var(--white); }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } }

/* ---------- 17. Produits / offres ---------- */
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease-out), border-color var(--t) var(--ease);
}
.product-card:hover { box-shadow: var(--sh-lg); transform: translateY(-4px); border-color: transparent; }
.product-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--alu-100); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card__cat {
  position: absolute;
  top: 14px; left: 14px;
  padding: 5px 12px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(255, 255, 255, .92);
  border-radius: 999px;
}
.product-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.product-card h3 { font-size: 1.12rem; margin-bottom: 8px; letter-spacing: -.02em; }
.product-card p { flex: 1; font-size: .92rem; color: var(--steel); margin-bottom: 20px; }
.product-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.price { display: grid; line-height: 1.2; }
.price small { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--steel-2); }
.price strong { font-size: 1.1rem; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.price strong span { font-size: .8rem; font-weight: 600; color: var(--steel); }

.category-block + .category-block { margin-top: clamp(56px, 7vw, 96px); }
.category-block__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: 20px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.category-block__head h2 { margin: 0; font-size: var(--fs-h3); }
.category-block__head .count { font-size: .85rem; font-weight: 600; color: var(--steel); }

.pill-nav { position: sticky; top: var(--header-h); z-index: 20; padding: 14px 0; background: rgba(255, 255, 255, .9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.pill-nav__list { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; list-style: none; }
.pill-nav__list::-webkit-scrollbar { display: none; }
.pill-nav__list a { display: inline-flex; white-space: nowrap; padding: 8px 16px; font-size: .88rem; font-weight: 600; color: var(--steel); border: 1px solid var(--line); border-radius: 999px; transition: all var(--t-fast); }
.pill-nav__list a .count { margin-left: 4px; opacity: .55; }
.category-block__head .eyebrow { margin-bottom: 10px; }
.pill-nav__list a:hover, .pill-nav__list a.is-active { color: var(--white); background: var(--ink); border-color: var(--ink); }

/* ---------- 18. Détail service ---------- */
.detail-media { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--alu-100); }
.detail-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1 / 1; }
.rich { color: var(--steel); }
.rich p:last-child { margin-bottom: 0; }

.aside-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); }
.aside-card + .aside-card { margin-top: 20px; }
.aside-card h3 { font-size: 1rem; letter-spacing: -.01em; margin-bottom: 16px; }
.aside-card--dark { background: var(--ink); color: rgba(255, 255, 255, .7); border-color: var(--ink); }
.aside-card--dark h3 { color: var(--white); }

.link-list { list-style: none; }
.link-list li + li { border-top: 1px solid var(--line); }
.link-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; font-size: .94rem; font-weight: 600; color: var(--ink); transition: color var(--t-fast), padding var(--t) var(--ease-out); }
.link-list a i { color: var(--steel-2); transition: transform var(--t) var(--ease-out), color var(--t-fast); }
.link-list a:hover { color: var(--brand-strong); padding-left: 6px; }
.link-list a:hover i { color: var(--brand-strong); transform: translateX(3px); }
.link-list a.is-active { color: var(--brand-strong); }

.empty {
  padding: clamp(40px, 6vw, 72px) 24px;
  text-align: center;
  border: 1px dashed var(--alu-200);
  border-radius: var(--r-lg);
  color: var(--steel);
  background: var(--alu-50);
}
.empty i { display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 16px; font-size: 1.4rem; color: var(--brand-strong); background: var(--brand-soft); border-radius: 50%; }
.empty h3 { font-size: 1.15rem; margin-bottom: 6px; }
.empty p { margin: 0 auto 20px; max-width: 46ch; }

/* Cartes valeurs (fond sombre) & engagements */
.value-card { padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line-dark); border-radius: var(--r-lg); background: rgba(255, 255, 255, .03); transition: background-color var(--t) var(--ease), border-color var(--t) var(--ease); }
.value-card:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .22); }
.value-card h3 { margin-bottom: 10px; }
.value-card p { margin: 0; color: rgba(255, 255, 255, .65); }
.engage-card { display: flex; flex-direction: column; gap: 14px; height: 100%; padding: 26px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease-out), border-color var(--t) var(--ease); }
.engage-card:hover { box-shadow: var(--sh-md); transform: translateY(-4px); border-color: transparent; }
.engage-card h3 { margin: 6px 0 0; font-size: 1.08rem; letter-spacing: -.015em; }
.engage-card p { margin: 0; font-size: .93rem; color: var(--steel); }

/* ---------- 19. Blog ---------- */
.post-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.post-feature__media { position: relative; display: block; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16 / 11; background: var(--alu-100); }
.post-feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.post-feature:hover .post-feature__media img { transform: scale(1.04); }
.post-feature h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem); letter-spacing: -.03em; margin-bottom: 16px; }
.post-feature h2 a { background-image: linear-gradient(currentColor, currentColor); background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .5s var(--ease); }
.post-feature h2 a:hover { background-size: 100% 2px; }
@media (max-width: 860px) { .post-feature { grid-template-columns: 1fr; } }

.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: 14px; font-size: .82rem; font-weight: 600; color: var(--steel); }
.post-meta .cat { padding: 4px 10px; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-deep); background: var(--brand-soft); border-radius: 999px; }

.post-card { position: relative; display: flex; flex-direction: column; height: 100%; }
.post-card__media { display: block; aspect-ratio: 4 / 3; margin-bottom: 20px; border-radius: var(--r-lg); overflow: hidden; background: var(--alu-100); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card h3 { font-size: 1.2rem; letter-spacing: -.02em; line-height: 1.3; margin-bottom: 12px; text-wrap: balance; }
.post-card h3 a { transition: color var(--t-fast); }
.post-card:hover h3 a { color: var(--brand-strong); }

.article { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.article__cover { margin: 0 0 40px; border-radius: var(--r-xl); overflow: hidden; background: var(--alu-100); }
.article__cover img { width: 100%; max-height: 560px; object-fit: cover; }
.article__aside { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 1024px) { .article { grid-template-columns: 1fr; } .article__aside { position: relative; top: 0; } }

.prose { font-size: 1.07rem; line-height: 1.8; color: #2a3b43; max-width: 72ch; }
.prose h2, .prose h3 { margin: 1.8em 0 .6em; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); letter-spacing: -.02em; }
.prose p { margin-bottom: 1.3em; }
.prose figure { margin: 2em 0; }
.prose img { border-radius: var(--r-md); }
.prose a { color: var(--brand-strong); text-decoration: underline; text-underline-offset: 3px; }

.share { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); font-size: .9rem; font-weight: 600; color: var(--steel); }
.share a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); transition: all var(--t-fast); }
.share a:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

.mini-post { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px 0; }
.mini-post + .mini-post { border-top: 1px solid var(--line); }
.mini-post img { width: 76px; height: 64px; object-fit: cover; border-radius: 10px; background: var(--alu-100); }
.mini-post h4 { margin: 0 0 4px; font-size: .92rem; line-height: 1.35; letter-spacing: -.01em; }
.mini-post h4 a:hover { color: var(--brand-strong); }
.mini-post time { font-size: .78rem; color: var(--steel); }

/* ---------- 20. Formulaires ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 760px) { .form-grid, .form-grid--3 { grid-template-columns: 1fr; } }

.field { display: grid; gap: 8px; }
.field label, .field .label { font-size: .86rem; font-weight: 700; color: var(--ink); }
.field label .req { color: var(--brand-strong); }
.field__hint { font-size: .8rem; color: var(--steel); }
.field__error { display: none; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; color: var(--danger); }
.field__error:not(:empty) { display: flex; }
.field__error:not(:empty)::before { content: "\F33A"; font-family: "bootstrap-icons"; }

.input, .select, .textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--alu-200);
  border-radius: 12px;
  outline: none;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background-color var(--t-fast);
  -webkit-appearance: none;
  appearance: none;
}
.input::placeholder, .textarea::placeholder { color: #9aa7ad; }
.input:hover, .select:hover, .textarea:hover { border-color: #c3ccd1; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(4, 158, 187, .14); }
.textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.select {
  padding-right: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%230a1a22' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  cursor: pointer;
}
.is-invalid .input, .is-invalid .select, .is-invalid .textarea, .input.is-invalid { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(194, 54, 43, .1); }
.is-valid .input { border-color: var(--success); }

.input-group { position: relative; display: flex; }
.input-group .input { padding-right: 64px; }
.input-group__addon { position: absolute; right: 6px; top: 6px; bottom: 6px; display: grid; place-items: center; padding: 0 12px; font-size: .82rem; font-weight: 700; color: var(--steel); background: var(--alu-50); border-radius: 8px; pointer-events: none; }

.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .92rem;
  color: var(--steel);
  cursor: pointer;
}
.check input {
  flex-shrink: 0;
  width: 22px; height: 22px;
  margin: 1px 0 0;
  border: 1.5px solid #b8c3c8;
  border-radius: 6px;
  background: var(--white);
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
  display: grid;
  place-items: center;
}
.check input::after { content: ""; width: 10px; height: 6px; border: 2px solid var(--white); border-top: 0; border-right: 0; transform: rotate(-45deg) scale(0); margin-top: -2px; transition: transform var(--t-fast) var(--ease-out); }
.check input:checked { background: var(--brand); border-color: var(--brand); }
.check input:checked::after { transform: rotate(-45deg) scale(1); }
.check input:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* Options en « chips » */
.option-group + .option-group { margin-top: 24px; }
.option-group__label { display: block; margin-bottom: 12px; font-size: .86rem; font-weight: 700; }
.option-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.option-chip { position: relative; }
.option-chip input { position: absolute; opacity: 0; pointer-events: none; }
.option-chip label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--alu-200);
  border-radius: 12px;
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
}
.option-chip label::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #b8c3c8; transition: all var(--t-fast) var(--ease); }
.option-chip label:hover { border-color: var(--ink); }
.option-chip input:checked + label { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-deep); box-shadow: 0 0 0 1px var(--brand) inset; }
.option-chip input:checked + label::before { border: 5px solid var(--brand); }
.option-chip input:focus-visible + label { outline: 2px solid var(--brand); outline-offset: 2px; }

/* Alertes */
.alert {
  display: none;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  font-size: .92rem;
  font-weight: 600;
  border-radius: 12px;
  animation: fadeUp .4s var(--ease-out);
}
.alert.is-visible { display: flex; }
.alert i { font-size: 1.15rem; line-height: 1.3; }
.alert--success { color: var(--success); background: var(--success-soft); }
.alert--error { color: var(--danger); background: var(--danger-soft); }

/* ---------- 21. Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.contact-cards { display: grid; gap: 12px; }
.contact-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.contact-card:hover { border-color: transparent; box-shadow: var(--sh-md); }
.contact-card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; font-size: 1.2rem; color: var(--brand-deep); background: var(--brand-soft); }
.contact-card h3 { margin: 0 0 4px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }
.contact-card p, .contact-card a { margin: 0; display: block; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.contact-card a:hover { color: var(--brand-strong); }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink); transition: all var(--t-fast) var(--ease); }
.socials a:hover { background: var(--brand); border-color: var(--brand); color: var(--white); transform: translateY(-2px); }
.form-panel { padding: clamp(24px, 4vw, 48px); border-radius: var(--r-xl); background: var(--white); border: 1px solid var(--line); box-shadow: var(--sh-md); }
.form-panel h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -.03em; margin-bottom: 8px; }
.map { margin-top: clamp(40px, 5vw, 64px); border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 21 / 8; min-height: 320px; background: var(--alu-100); filter: grayscale(.4) contrast(1.05); transition: filter var(--t-slow) var(--ease); }
.map:hover { filter: none; }
.map iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }

/* ---------- 22. Devis (stepper) ---------- */
.service-lock { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; padding: 14px 16px; border: 1px solid var(--brand); border-radius: 12px; background: var(--brand-soft); }
.service-lock__icon { display: grid; place-items: center; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: var(--white); font-size: 1.1rem; }
.service-lock small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-deep); }
.service-lock strong { display: block; font-size: 1rem; color: var(--ink); }
.service-lock__change { margin-left: auto; font-size: .85rem; font-weight: 700; color: var(--brand-deep); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.service-lock__change:hover { color: var(--ink); }
@media (max-width: 520px) { .service-lock { flex-wrap: wrap; } .service-lock__change { margin-left: 48px; } }
.quote { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 1024px) { .quote { grid-template-columns: 1fr; } }

.stepper { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; list-style: none; margin-bottom: 32px; }
.stepper__item { position: relative; padding-top: 14px; font-size: .82rem; font-weight: 600; color: var(--steel-2); }
.stepper__item::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 4px; background: var(--alu-200); }
.stepper__item::after { content: ""; position: absolute; top: 0; left: 0; height: 4px; width: 0; border-radius: 4px; background: var(--brand); transition: width .6s var(--ease-out); }
.stepper__item .n { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.stepper__item.is-active, .stepper__item.is-done { color: var(--ink); }
.stepper__item.is-active::after, .stepper__item.is-done::after { width: 100%; }
@media (max-width: 520px) { .stepper__item .t { display: none; } }

.step { display: none; }
.step.is-active { display: block; animation: fadeUp .5s var(--ease-out); }
.step__head { margin-bottom: 28px; }
.step__head h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); letter-spacing: -.03em; margin-bottom: 6px; }
.step__head p { margin: 0; color: var(--steel); }
.step__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }

.options-box { padding: 24px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--alu-50); }
.skeleton--short { width: 70%; }
fieldset.option-group { border: 0; margin: 0; padding: 0; min-width: 0; }
legend.option-group__label { padding: 0; }
.options-box__empty.is-error { color: var(--danger); }
.mini-title { margin-bottom: 14px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); }
.options-box__empty { display: flex; align-items: center; gap: 12px; margin: 0; font-size: .92rem; color: var(--steel); }
.skeleton { height: 44px; border-radius: 12px; background: linear-gradient(90deg, var(--alu-100) 0%, var(--white) 50%, var(--alu-100) 100%); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
.skeleton + .skeleton { margin-top: 12px; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

.summary { position: sticky; top: calc(var(--header-h) + 24px); padding: 28px; border-radius: var(--r-xl); background: var(--ink); color: rgba(255, 255, 255, .7); overflow: hidden; isolation: isolate; }
.summary::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 60% at 100% 0%, rgba(4, 158, 187, .35), transparent 60%); }
.summary h3 { color: var(--white); font-size: 1rem; margin-bottom: 20px; letter-spacing: -.01em; }
.summary__rows { display: grid; gap: 12px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line-dark); font-size: .9rem; }
.summary__row { display: flex; justify-content: space-between; gap: 16px; }
.summary__row span:last-child { color: var(--white); font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.summary__total small { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.summary__total strong { display: block; margin: 6px 0 4px; font-size: clamp(1.8rem, 1.5rem + 1vw, 2.3rem); line-height: 1.1; letter-spacing: -.035em; color: var(--white); font-variant-numeric: tabular-nums; transition: opacity var(--t-fast); }
.summary__total.is-updating strong { opacity: .4; }
.summary__note { margin: 20px 0 0; font-size: .8rem; line-height: 1.5; color: rgba(255, 255, 255, .5); }
.summary__perks { display: grid; gap: 10px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line-dark); list-style: none; font-size: .85rem; }
.summary__perks li { display: flex; gap: 10px; }
.summary__perks i { color: #5fd0e6; }

.success-state { text-align: center; padding: clamp(24px, 4vw, 48px) 0; }
.success-state__icon { display: inline-grid; place-items: center; width: 84px; height: 84px; margin-bottom: 24px; font-size: 2.2rem; color: var(--white); background: var(--success); border-radius: 50%; box-shadow: 0 0 0 12px var(--success-soft); animation: pop .6s var(--ease-out); }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.08); } 100% { transform: none; opacity: 1; } }
.success-state h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); letter-spacing: -.03em; }
.success-state p { max-width: 52ch; margin: 0 auto 28px; color: var(--steel); }
.success-state .btn-group { justify-content: center; }

.card { padding: clamp(24px, 4vw, 44px); border-radius: var(--r-xl); background: var(--white); border: 1px solid var(--line); box-shadow: var(--sh-md); }

/* ---------- 23. Footer ---------- */
.site-footer { position: relative; padding-top: clamp(64px, 8vw, 112px); background: var(--ink); color: rgba(255, 255, 255, .62); overflow: hidden; isolation: isolate; }
.site-footer::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 50% at 100% 0%, rgba(4, 158, 187, .16), transparent 70%); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px); padding-bottom: clamp(48px, 6vw, 72px); }
.footer-brand .brand__logo { background: rgba(255, 255, 255, .94); margin-bottom: 24px; }
.footer-brand p { max-width: 36ch; font-size: .94rem; }
.footer-title { margin-bottom: 20px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--white); }
.footer-links { display: grid; gap: 10px; list-style: none; font-size: .94rem; }
.footer-links a { position: relative; transition: color var(--t-fast); }
.footer-links a:hover { color: var(--white); }
.footer-contact { display: grid; gap: 14px; list-style: none; font-size: .94rem; }
.footer-contact li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; }
.footer-contact i { color: #5fd0e6; margin-top: 2px; }
.footer-contact a { color: var(--white); font-weight: 600; }
.footer-contact a:hover { color: #8fe0ef; }
.site-footer .socials { margin-top: 24px; }
.site-footer .socials a { color: var(--white); border-color: var(--line-dark); }
.footer-word {
  font-size: clamp(3.2rem, 13vw, 12rem);
  font-weight: 800;
  line-height: .8;
  letter-spacing: -.06em;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .1);
  user-select: none;
  white-space: nowrap;
  margin-bottom: -.06em;
}
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 24px; border-top: 1px solid var(--line-dark); font-size: .85rem; }
.footer-bottom a:hover { color: var(--white); }
@media (max-width: 1024px) { .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- 24. Flottants ---------- */
.floating { position: fixed; right: clamp(16px, 2vw, 28px); bottom: clamp(16px, 2vw, 28px); z-index: 90; display: grid; gap: 12px; justify-items: end; }
.fab {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 0;
  font-size: 1.3rem;
  box-shadow: var(--sh-lg);
  transition: transform var(--t) var(--ease-out), opacity var(--t) var(--ease), visibility var(--t);
}
.fab:hover { transform: translateY(-3px); }
.fab--wa { width: 58px; height: 58px; font-size: 1.6rem; color: var(--white); background: #25d366; }
.fab--top { color: var(--ink); background: var(--white); border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(12px); }
.fab--top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* ---------- 25. Animations d'apparition ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
[data-reveal="fade"] { transform: none; }
[data-reveal="left"] { transform: translateX(-32px); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal="zoom"] { transform: scale(.96); }
[data-reveal].is-visible { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

.hero [data-intro] { opacity: 0; transform: translateY(24px); animation: intro 1s var(--ease-out) forwards; animation-delay: var(--d, 0s); }
@keyframes intro { to { opacity: 1; transform: none; } }

/* ---------- 26. Utilitaires ---------- */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-s { margin-top: 16px; }
.mt-m { margin-top: 32px; }
.mt-l { margin-top: clamp(40px, 5vw, 64px); }
.mb-m { margin-bottom: 32px; }
.text-center { text-align: center; }
.is-hidden { display: none !important; }
.nowrap { white-space: nowrap; }

/* ---------- 27. Accessibilité mouvement ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal], .hero [data-intro] { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}

/* ---------- 28. Impression ---------- */
@media print {
  .site-header, .site-footer, .floating, .mobile-menu { display: none !important; }
  .page-hero { padding: 24px 0; background: none; color: #000; }
  .page-hero__title { color: #000; }
}
