/* ============================================================
   AND SUPPLY & CONTRACTING — version_fable
   Hand-built design system. No frameworks, no CDN runtime.
   Palette: deep navy #012649 · gold #B8893F · warm cream
   Type:    Fraunces (display) · Inter (text/UI)
   ============================================================ */

:root {
  /* Brand */
  --navy-950: #020e1b;
  --navy-900: #021a30;
  --navy-800: #012649;        /* brand primary */
  --navy-700: #0b3962;
  --navy-600: #14507f;
  --gold-600: #9a6f2c;
  --gold-500: #b8893f;        /* brand accent */
  --gold-400: #d2a85f;
  --gold-300: #e6c98d;
  --gold-200: #f2e2bd;

  /* Warm neutrals */
  --cream:     #faf6ee;
  --cream-2:   #f4ecdd;
  --sand:      #ece1c8;
  --ink:       #21303f;
  --ink-soft:  #5c6470;
  --line:      rgba(1, 38, 73, .12);
  --line-gold: rgba(184, 137, 63, .35);

  /* On dark */
  --d-text:      #eef3f8;
  --d-text-soft: #a8b8c8;
  --d-line:      rgba(238, 243, 248, .14);

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Fluid type scale */
  --fs-hero:  clamp(2.6rem, 1.2rem + 6.2vw, 6rem);
  --fs-h1:    clamp(2.3rem, 1.3rem + 4.4vw, 4.6rem);
  --fs-h2:    clamp(1.9rem, 1.2rem + 2.8vw, 3.4rem);
  --fs-h3:    clamp(1.35rem, 1.1rem + 1vw, 1.9rem);
  --fs-lead:  clamp(1.05rem, .95rem + .5vw, 1.3rem);
  --fs-body:  1.0625rem;
  --fs-small: .875rem;
  --fs-kicker: .72rem;

  /* Rhythm */
  --space-section: clamp(5rem, 3rem + 9vw, 10rem);
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --maxw: 80rem;
  --radius: 20px;
  --radius-sm: 12px;

  /* Motion */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-luxe: cubic-bezier(.65, .05, 0, 1);
  --dur: .8s;

  /* Header */
  --header-h: 76px;
}

/* ============ Reset & base ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html:focus-within { scroll-behavior: smooth; }
body {
  font-family: var(--font-text);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: var(--gold-500); color: var(--navy-950); }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; border-radius: 2px; }

/* Scrollbar (WebKit + Firefox) */
html { scrollbar-color: var(--gold-600) var(--navy-950); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--navy-950); }
::-webkit-scrollbar-thumb { background: var(--gold-600); border-radius: 5px; }

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

/* Skip link */
.skip-link {
  position: fixed; top: -100px; left: 16px; z-index: 300;
  background: var(--navy-800); color: #fff; padding: .7rem 1.2rem;
  border-radius: 8px; transition: top .25s var(--ease-out);
}
.skip-link:focus { top: 12px; }

/* ============ Typography helpers ============ */
.kicker {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: var(--fs-kicker); font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-600);
}
.kicker::before { content: ""; width: 2rem; height: 1px; background: var(--gold-500); flex: none; }
.on-dark .kicker, .section--dark .kicker { color: var(--gold-400); }

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--navy-800);
  text-wrap: balance;
}
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--d-text); }
h1 em, h2 em, .display em {
  font-style: italic; font-weight: 450;
  color: var(--gold-500);
}
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--ink-soft); max-width: 38em; }
.section--dark .lead { color: var(--d-text-soft); }

.section-head { display: grid; gap: 1.1rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); max-width: 46em; }
.section-head h2 { font-size: var(--fs-h2); }


/* ============ Buttons ============ */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .9rem 1.9rem;
  font-weight: 600; font-size: .96rem; letter-spacing: .01em;
  border-radius: 999px; overflow: hidden;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out),
              background-color .35s, color .35s, border-color .35s;
  will-change: transform;
}
.btn svg { width: 17px; height: 17px; flex: none; transition: transform .45s var(--ease-out); }
.btn:hover svg { transform: translateX(5px); }
.btn:active { transform: scale(.97); }

.btn--gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500) 55%, var(--gold-600));
  color: var(--navy-950);
  box-shadow: 0 10px 30px -12px rgba(184, 137, 63, .55);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(184, 137, 63, .7); }

.btn--ghost { border: 1px solid var(--line-gold); color: var(--navy-800); background: transparent; }
.btn--ghost:hover { border-color: var(--gold-500); background: rgba(184, 137, 63, .08); transform: translateY(-2px); }
.section--dark .btn--ghost, .on-dark .btn--ghost { color: var(--d-text); border-color: rgba(230, 201, 141, .4); }
.section--dark .btn--ghost:hover, .on-dark .btn--ghost:hover { background: rgba(230, 201, 141, .1); border-color: var(--gold-400); }

.btn--navy { background: var(--navy-800); color: #fff; box-shadow: 0 10px 30px -12px rgba(1, 38, 73, .5); }
.btn--navy:hover { transform: translateY(-2px); background: var(--navy-700); }

/* Text link with gold underline draw */
.link-gold {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; font-size: .95rem; color: var(--gold-600);
  background-image: linear-gradient(var(--gold-500), var(--gold-500));
  background-repeat: no-repeat; background-size: 0% 1px; background-position: 0 100%;
  padding-bottom: 3px;
  transition: background-size .5s var(--ease-out);
}
.link-gold:hover { background-size: 100% 1px; }
.link-gold svg { width: 15px; height: 15px; transition: transform .4s var(--ease-out); }
.link-gold:hover svg { transform: translateX(4px); }

/* ============ Header ============ */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: transform .5s var(--ease-out), background-color .4s, box-shadow .4s, backdrop-filter .4s;
}
.header__inner {
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter);
}
.header.is-hidden { transform: translateY(-100%); }
.header.is-scrolled {
  background: rgba(250, 246, 238, .82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 12px 30px -22px rgba(1, 38, 73, .35);
}

.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 40px; width: auto; }
.brand .brand--dark { display: none; }
.header.is-scrolled .brand .brand--light { display: none; }
.header.is-scrolled .brand .brand--dark { display: block; }

.nav-desktop { display: none; align-items: center; gap: 2rem; }
.nav-desktop a:not(.btn) {
  position: relative; font-size: .95rem; font-weight: 500; color: var(--d-text);
  padding: .35rem 0; transition: color .3s;
}
.header.is-scrolled .nav-desktop a:not(.btn) { color: var(--navy-800); }
.nav-desktop a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%;
  background: var(--gold-500); transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav-desktop a:not(.btn):hover::after,
.nav-desktop a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-desktop .btn { min-height: 44px; padding: .6rem 1.4rem; font-size: .88rem; }

/* Language switch */
.lang {
  display: inline-flex; align-items: center; border: 1px solid rgba(230, 201, 141, .4);
  border-radius: 999px; padding: 3px; gap: 2px;
}
.header.is-scrolled .lang { border-color: var(--line-gold); }
.lang button {
  min-width: 40px; min-height: 32px; padding: .15rem .6rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .06em;
  border-radius: 999px; color: var(--d-text-soft);
  transition: background-color .3s, color .3s;
}
.header.is-scrolled .lang button { color: var(--ink-soft); }
.lang button[aria-pressed="true"] { background: var(--gold-500); color: var(--navy-950) !important; }

/* Burger */
.burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
  width: 48px; height: 48px; padding: 12px; border-radius: 12px; z-index: 210;
}
.burger span {
  display: block; height: 2px; width: 100%; background: var(--d-text);
  transition: transform .45s var(--ease-out), opacity .3s, background-color .3s;
}
.header.is-scrolled .burger span { background: var(--navy-800); }
body.menu-open .burger span { background: var(--d-text); }
body.menu-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (min-width: 64em) {
  .nav-desktop { display: flex; }
  .burger { display: none; }
}

/* Mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 200;
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(184, 137, 63, .18), transparent 55%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 2rem) var(--gutter) 2.5rem;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .7s var(--ease-luxe), visibility 0s .7s;
}
body.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .7s var(--ease-luxe), visibility 0s; }
body.menu-open { overflow: hidden; }

.menu nav { display: grid; gap: .15rem; }
.menu nav a {
  font-family: var(--font-display); font-size: clamp(2.2rem, 9vw, 3.4rem); font-weight: 500;
  color: var(--d-text); line-height: 1.28; padding: .28rem 0;
  opacity: 0; transform: translateY(24px);
  transition: opacity .5s var(--ease-out), transform .6s var(--ease-out), color .3s;
}
.menu nav a:hover, .menu nav a[aria-current="page"] { color: var(--gold-400); }
body.menu-open .menu nav a { opacity: 1; transform: none; }
body.menu-open .menu nav a:nth-child(1) { transition-delay: .12s; }
body.menu-open .menu nav a:nth-child(2) { transition-delay: .19s; }
body.menu-open .menu nav a:nth-child(3) { transition-delay: .26s; }
body.menu-open .menu nav a:nth-child(4) { transition-delay: .33s; }
body.menu-open .menu nav a:nth-child(5) { transition-delay: .40s; }

.menu__foot { display: grid; gap: 1rem; color: var(--d-text-soft); font-size: .95rem; border-top: 1px solid var(--d-line); padding-top: 1.7rem; }
.menu__foot .lang { justify-self: start; margin-bottom: .3rem; }
.menu__foot a:not(.btn) { color: var(--d-text); width: max-content; transition: color .3s; }
.menu__foot a:not(.btn):hover { color: var(--gold-400); }
.menu__foot .btn { width: 100%; margin-top: .5rem; }

/* ============ Sections ============ */
.section { padding-block: var(--space-section); position: relative; }
.section--dark {
  background:
    radial-gradient(110% 70% at 80% 0%, rgba(20, 80, 127, .35), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
  color: var(--d-text);
}
.section--cream2 { background: var(--cream-2); }

/* Grain on dark sections */
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: 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'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ Reveal system ============ */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); transition-delay: var(--d, 0s); }
[data-reveal="left"]  { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="scale"] { transform: scale(.94); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* Image clip reveal */
.clip-reveal { overflow: hidden; border-radius: var(--radius); }
.clip-reveal img { transform: scale(1.18); transition: transform 1.4s var(--ease-luxe); }
.clip-reveal.is-in img { transform: scale(1); }

/* ============ Hero (index) ============ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  background:
    radial-gradient(130% 80% at 75% -20%, rgba(20, 80, 127, .5), transparent 55%),
    radial-gradient(80% 60% at 10% 110%, rgba(184, 137, 63, .14), transparent 60%),
    linear-gradient(165deg, var(--navy-800) 0%, var(--navy-900) 55%, var(--navy-950) 100%);
  color: var(--d-text);
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: 5.5rem;
  overflow: hidden;
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .85; }
.hero__inner { position: relative; z-index: 2; display: grid; gap: 1.8rem; }
.hero h1 { font-size: var(--fs-hero); color: var(--d-text); }
.hero .lead { color: var(--d-text-soft); }

/* Laptops peu hauts (≈ 13") : resserrer pour que les CTA restent visibles */
@media (min-width: 64em) and (max-height: 860px) {
  .hero { padding-top: calc(var(--header-h) + 1.5rem); padding-bottom: 3rem; }
  .hero h1 { font-size: clamp(3rem, 4.6vw + 1rem, 5.2rem); }
  .hero__inner { gap: 1.4rem; }
}

/* Hero line mask animation */
.line-mask { display: block; overflow: hidden; padding-block: .06em; }
.line-mask > span { display: block; transform: translateY(115%); transition: transform 1.1s var(--ease-luxe); }
.is-loaded .line-mask > span { transform: translateY(0); }
.is-loaded .line-mask:nth-child(2) > span { transition-delay: .12s; }

.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: .4rem; }
.hero__chips { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin-top: 1.8rem; }
.hero__chips li {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .88rem; color: var(--d-text-soft);
}
.hero__chips svg { width: 15px; height: 15px; color: var(--gold-400); flex: none; }

.hero__fade { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.is-loaded .hero__fade { opacity: 1; transform: none; }
.is-loaded .hero__fade--1 { transition-delay: .35s; }
.is-loaded .hero__fade--2 { transition-delay: .5s; }
.is-loaded .hero__fade--3 { transition-delay: .65s; }
.is-loaded .hero__fade--4 { transition-delay: .8s; }

.hero__scroll {
  position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); z-index: 2;
  display: inline-flex; flex-direction: column; align-items: center; gap: .5rem;
  font-size: .68rem; letter-spacing: .25em; text-transform: uppercase; color: var(--d-text-soft);
}
.hero__scroll::after {
  content: ""; width: 1px; height: 38px;
  background: linear-gradient(var(--gold-400), transparent);
  animation: scrollPulse 2.2s var(--ease-out) infinite;
}
@keyframes scrollPulse {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============ Page hero (inner pages) ============ */
.page-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 80% -30%, rgba(20, 80, 127, .45), transparent 60%),
    radial-gradient(70% 60% at 5% 120%, rgba(184, 137, 63, .12), transparent 60%),
    linear-gradient(170deg, var(--navy-800), var(--navy-950));
  color: var(--d-text);
  padding: calc(var(--header-h) + clamp(4rem, 9vw, 7.5rem)) 0 clamp(4rem, 8vw, 6.5rem);
}
.page-hero h1 { font-size: var(--fs-h1); color: var(--d-text); max-width: 14em; }
.page-hero .lead { margin-top: 1.4rem; }
.page-hero .kicker { margin-bottom: 1.2rem; }

/* ============ Manifesto ============ */
.manifesto p {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1rem + 2.6vw, 2.9rem);
  font-weight: 450; line-height: 1.35; letter-spacing: -.01em;
  color: var(--navy-800); max-width: 28em;
}
.manifesto .w { opacity: .16; transition: opacity .35s linear; }
.manifesto .w.is-on { opacity: 1; }

/* ============ Service rows (index) ============ */
.svc-rows { display: grid; gap: clamp(1rem, 2vw, 2rem); }
.svc-row {
  position: relative; display: grid; gap: .6rem;
  grid-template-columns: 1fr; grid-template-areas: "title" "desc" "link";
  align-items: start;
  padding: clamp(1.8rem, 4vw, 3rem) 0;
}
.svc-row__num {
  grid-area: num;
  font-family: var(--font-display); font-style: italic;
  font-size: 1.05rem; color: var(--gold-500); padding-top: .5em;
}
.svc-row__title {
  grid-area: title;
  font-size: clamp(1.7rem, 1.1rem + 2.6vw, 3.1rem);
  transition: transform .55s var(--ease-out), color .35s;
}
.svc-row__desc { grid-area: desc; color: var(--ink-soft); max-width: 34em; }
.svc-row__link { grid-area: link; margin-top: .4rem; justify-self: start; }
.svc-row__thumb {
  display: none; position: absolute; right: 4%; top: 50%; z-index: 3;
  width: 250px; aspect-ratio: 4/3; border-radius: 14px; overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(2, 14, 27, .45);
  opacity: 0; transform: translateY(-50%) rotate(3deg) scale(.92);
  transition: opacity .4s var(--ease-out), transform .5s var(--ease-out);
  pointer-events: none;
}
.svc-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 64em) {
  .svc-row__thumb { display: block; }
  .svc-row:hover .svc-row__thumb { opacity: 1; transform: translateY(-50%) rotate(0deg) scale(1); }
  .svc-row:hover .svc-row__title { transform: translateX(12px); color: var(--gold-600); }
}

/* ============ Icon chips ============ */
.icon-chip {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 54px; height: 54px; border-radius: 16px;
  background: linear-gradient(140deg, rgba(184, 137, 63, .16), rgba(184, 137, 63, .06));
  border: 1px solid var(--line-gold);
  color: var(--gold-600);
}
.icon-chip svg { width: 24px; height: 24px; }
.section--dark .icon-chip {
  background: linear-gradient(140deg, rgba(230, 201, 141, .14), rgba(230, 201, 141, .04));
  color: var(--gold-300); border-color: rgba(230, 201, 141, .25);
}

/* ============ Process timeline ============ */
.process { position: relative; }
.process__grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 64em) { .process__grid { grid-template-columns: 1fr 1.4fr; align-items: start; } .process__head { position: sticky; top: calc(var(--header-h) + 2rem); } }

.timeline { position: relative; display: grid; gap: clamp(2rem, 4vw, 3rem); padding-left: 2.2rem; }
.timeline::before {
  content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 1px;
  background: var(--d-line);
}
.timeline::after {
  content: ""; position: absolute; left: 8px; top: 8px; width: 1px; height: calc(100% - 16px);
  background: linear-gradient(var(--gold-400), var(--gold-600));
  transform: scaleY(var(--p, 0)); transform-origin: top;
  transition: transform .15s linear;
}
.tl-step { position: relative; }
.tl-step::before {
  content: ""; position: absolute; left: -2.2rem; top: 9px;
  width: 17px; height: 17px; border-radius: 50%;
  margin-left: .5px;
  background: var(--navy-900);
  border: 1.5px solid var(--gold-500);
  box-shadow: 0 0 0 0 rgba(184, 137, 63, .45);
  transition: background-color .4s, box-shadow .6s;
}
.tl-step.is-in::before { background: var(--gold-500); box-shadow: 0 0 0 7px rgba(184, 137, 63, .15); }
.tl-step__k {
  font-size: .72rem; font-weight: 700; letter-spacing: .2em; color: var(--gold-400);
}
.tl-step h3 { margin-top: .35rem; font-size: var(--fs-h3); }
.tl-step p { margin-top: .55rem; color: var(--d-text-soft); max-width: 32em; }

/* ============ Sector cards ============ */
.sector-grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 40em) { .sector-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .sector-grid { grid-template-columns: repeat(3, 1fr); } }

.sector-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 340px; padding: 1.6rem; border-radius: var(--radius); overflow: hidden;
  color: #fff; isolation: isolate;
}
.sector-card img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease-luxe);
}
.sector-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(190deg, rgba(2, 14, 27, .05) 30%, rgba(2, 14, 27, .82) 82%);
  transition: background-color .5s;
}
.sector-card:hover img { transform: scale(1.07); }
.sector-card h3 { color: #fff; font-size: 1.45rem; display: flex; align-items: center; gap: .7rem; }
.sector-card h3 svg { width: 21px; height: 21px; color: var(--gold-300); flex: none; }
.sector-card p { margin-top: .45rem; font-size: .93rem; color: rgba(238, 243, 248, .82); max-width: 30em; }
.sector-card .sector-card__line {
  width: 2.4rem; height: 2px; background: var(--gold-400); margin-bottom: .9rem;
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out) .1s;
}
.sector-card:hover .sector-card__line, .sector-card.is-in .sector-card__line { transform: scaleX(1); }

/* ============ Stats band ============ */
.stats { border-block: 1px solid var(--line); }
.stats__grid { display: grid; gap: 2.4rem 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 40em) { .stats__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }
.stat { display: grid; gap: .4rem; padding-left: 1.2rem; border-left: 2px solid var(--gold-400); }
.stat__n {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.6rem, 2rem + 2.4vw, 4rem); line-height: 1; color: var(--navy-800);
}
.stat__l { font-size: .92rem; color: var(--ink-soft); max-width: 16em; }

/* ============ Quote ============ */
.quote { text-align: center; }
.quote blockquote {
  font-family: var(--font-display); font-weight: 450; font-style: italic;
  font-size: clamp(1.7rem, 1rem + 3.4vw, 3.4rem); line-height: 1.3; letter-spacing: -.01em;
  color: var(--d-text); max-width: 22em; margin-inline: auto;
}
.quote blockquote::before { content: "« "; color: var(--gold-400); }
.quote blockquote::after { content: " »"; color: var(--gold-400); }
.quote figcaption { margin-top: 1.6rem; font-size: .85rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold-400); }

/* ============ Ticker ============ */
.ticker { overflow: hidden; padding-block: 1.1rem; border-block: 1px solid var(--line-gold); background: var(--navy-950); }
.ticker__track { display: flex; gap: 3rem; width: max-content; animation: ticker 30s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker span {
  display: inline-flex; align-items: center; gap: 3rem;
  font-family: var(--font-display); font-style: italic; font-size: 1.15rem;
  color: var(--gold-300); white-space: nowrap;
}
.ticker span::after { content: "◆"; font-size: .5rem; color: var(--gold-600); font-style: normal; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ============ Final CTA ============ */
.cta-final { text-align: center; }
.cta-final h2 { font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3.2rem); max-width: 18em; margin-inline: auto; }
.cta-final .lead { margin: 1.4rem auto 2.4rem; }

/* ============ Footer ============ */
.footer { background: var(--navy-950); color: var(--d-text-soft); position: relative; overflow: hidden; }
.footer__mega {
  font-family: var(--font-display); font-weight: 500; text-align: center;
  font-size: clamp(3rem, 11vw, 11rem); line-height: .95; letter-spacing: -.02em;
  padding-top: clamp(3rem, 7vw, 6rem);
  background: linear-gradient(180deg, rgba(238, 243, 248, .16), rgba(238, 243, 248, .02));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none; white-space: nowrap;
}
.footer__grid {
  display: grid; gap: 2.6rem; padding-block: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--d-line);
}
@media (min-width: 48em) { .footer__grid { grid-template-columns: repeat(4, max-content); justify-content: space-between; column-gap: 2rem; row-gap: 2rem; align-items: start; } }
.footer__brand img { height: 48px; width: auto; margin-bottom: 1.1rem; }
.footer__brand p { font-size: .93rem; max-width: 28em; }
.footer h4 { font-family: var(--font-text); font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 1.1rem; }
.footer ul { display: grid; gap: .55rem; font-size: .93rem; }
.footer a { transition: color .3s; }
.footer a:hover { color: var(--gold-300); }
.footer address { font-style: normal; font-size: .93rem; display: grid; gap: .55rem; }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: .6rem 2rem; justify-content: space-between; align-items: center;
  padding-block: 1.4rem; font-size: .8rem; color: rgba(206, 218, 230, .92);
}
.footer__bottom p { margin: 0; }

/* ============ Detail blocks (services page) ============ */
.pillar { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 64em) {
  .pillar { grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5.5rem); }
  .pillar--flip > .pillar__media { order: 2; }
}
.pillar__media { position: relative; }
.pillar__media img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
/* Mobile : texte avant l'image, et image en format paysage plus court */
@media (max-width: 47.99em) {
  .pillar__media { order: 2; }
  .pillar__media img { aspect-ratio: 16/10; }
}
.pillar__media::after {
  content: ""; position: absolute; inset: auto -14px -14px auto; width: 45%; height: 45%;
  border: 1px solid var(--line-gold); border-radius: var(--radius); z-index: -1;
}
.pillar h2 { font-size: var(--fs-h2); margin-top: .9rem; }
.pillar p.body { margin-top: 1rem; color: var(--ink-soft); max-width: 36em; }
.pillar ul { margin-top: 1.5rem; display: grid; gap: .8rem; }
.pillar ul li { display: flex; gap: .8rem; align-items: flex-start; font-size: .98rem; }
.pillar ul svg { width: 19px; height: 19px; color: var(--gold-500); flex: none; margin-top: .2em; }

/* ============ Value cards (about) ============ */
.value-grid { display: grid; gap: 1.2rem; }
@media (min-width: 48em) { .value-grid { grid-template-columns: repeat(3, 1fr); } }
.value-card {
  padding: 2rem 1.7rem; border-radius: var(--radius);
  background: rgba(238, 243, 248, .04);
  border: 1px solid var(--d-line);
  transition: transform .5s var(--ease-out), border-color .4s, background-color .4s;
}
.value-card:hover { transform: translateY(-6px); border-color: rgba(230, 201, 141, .4); background: rgba(238, 243, 248, .07); }

/* Valeurs et engagements — Vstack (page À propos) */
.values-stack { display: grid; max-width: 64rem; }
.value-item { display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; align-items: start; padding: clamp(1.8rem, 3.5vw, 2.8rem) 0; }
.value-item:first-child { padding-top: 0; }
.value-item + .value-item { border-top: 1px solid var(--line); }
.value-item h3 { font-size: var(--fs-h3); }
.value-item p { margin-top: .7rem; color: var(--ink-soft); max-width: 56em; }
@media (max-width: 34em) { .value-item { grid-template-columns: 1fr; gap: 1rem; } }
.value-card h3 { font-size: 1.35rem; margin-top: 1.3rem; }
.value-card p { margin-top: .6rem; font-size: .95rem; color: var(--d-text-soft); }

/* ============ Split feature (sectors/about) ============ */
.split { display: grid; gap: 2.2rem; align-items: center; }
@media (min-width: 64em) { .split { grid-template-columns: 1.05fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); } .split--flip > *:first-child { order: 2; } }
.split img { width: 100%; aspect-ratio: 5/4; object-fit: cover; }
.split h2 { font-size: var(--fs-h2); margin-top: .9rem; }
.split p.body { margin-top: 1.1rem; color: var(--ink-soft); max-width: 36em; }
.section--dark .split p.body { color: var(--d-text-soft); }

/* ============ Contact page ============ */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 64em) { .contact-grid { grid-template-columns: 1.35fr 1fr; gap: 4rem; align-items: start; } }

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.8rem);
  box-shadow: 0 30px 60px -35px rgba(1, 38, 73, .25);
}
.form-card h2 { font-size: 1.6rem; margin-bottom: 1.6rem; }
.field { display: grid; gap: .45rem; margin-bottom: 1.25rem; }
.field label { font-size: .88rem; font-weight: 600; color: var(--navy-800); }
.field input, .field textarea {
  font: inherit; width: 100%; min-height: 52px;
  padding: .85rem 1.1rem; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--cream);
  color: var(--ink); transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--gold-500); background: #fff;
  box-shadow: 0 0 0 3px rgba(184, 137, 63, .18);
}
.field input::placeholder, .field textarea::placeholder { color: #9aa1ab; }
.field.has-error input, .field.has-error textarea { border-color: #c4452e; }
.field__error { display: none; font-size: .82rem; color: #c4452e; }
.field.has-error .field__error { display: block; }
.form-row { display: grid; gap: 0 1.1rem; }
@media (min-width: 40em) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-card .btn { width: 100%; }
.form-status { margin-top: 1rem; font-size: .92rem; }
.form-status[data-state="error"] { color: #c4452e; }
.form-success { display: none; text-align: center; padding: 2.5rem 1rem; }
.form-success.is-visible { display: block; }
.form-success .icon-chip { margin-inline: auto; margin-bottom: 1.2rem; width: 64px; height: 64px; border-radius: 50%; }
.form-success h3 { font-size: 1.5rem; }
.form-success p { margin-top: .7rem; color: var(--ink-soft); }

.info-card {
  background: linear-gradient(170deg, var(--navy-800), var(--navy-950));
  color: var(--d-text); border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.4rem);
  position: sticky; top: calc(var(--header-h) + 1.5rem);
}
.info-card h2 { color: var(--d-text); font-size: 1.5rem; margin-bottom: 1.6rem; }
.info-card dl { display: grid; gap: 1.25rem; }
.info-card dt { font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-400); }
.info-card dd { margin-top: .25rem; font-size: .97rem; }
.info-card dd a { border-bottom: 1px solid rgba(230, 201, 141, .35); transition: border-color .3s, color .3s; }
.info-card dd a:hover { color: var(--gold-300); border-color: var(--gold-300); }
.info-card .btn { width: 100%; margin-top: 1.8rem; }
.info-card .btn--ghost { color: var(--d-text); border-color: rgba(230, 201, 141, .4); }
.info-card .btn--ghost:hover { background: rgba(230, 201, 141, .1); border-color: var(--gold-400); }

/* ============ Legal card (about) ============ */
.legal-card {
  border: 1px solid var(--line-gold); border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 2.6rem);
  background: linear-gradient(140deg, rgba(184, 137, 63, .07), transparent 60%);
}
.legal-card h3 { font-size: 1.45rem; margin-top: .8rem; }
.legal-card p { margin-top: .8rem; color: var(--ink-soft); }

/* ============ Preloader ============ */
.preloader {
  position: fixed; inset: 0; z-index: 999;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-950);
  transition: clip-path .9s var(--ease-luxe) .15s, visibility 0s 1.1s;
  clip-path: inset(0 0 0 0);
}
.is-loaded .preloader { clip-path: inset(0 0 100% 0); visibility: hidden; }
.preloader__mark {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
}
.preloader__mark img {
  width: clamp(170px, 27vw, 250px); height: auto;
  opacity: 0; transform: translateY(14px) scale(.9); filter: blur(7px);
  animation: preLogoIn 1.3s var(--ease-out) forwards;
}
/* Halo doré qui éclôt derrière le logo */
.preloader__mark::before {
  content: ""; position: absolute; left: 50%; top: 34%;
  width: 150%; aspect-ratio: 1; transform: translate(-50%, -50%) scale(.6);
  background: radial-gradient(closest-side, rgba(210, 168, 95, .22), transparent 70%);
  opacity: 0; z-index: -1;
  animation: preGlow 1.9s var(--ease-out) forwards;
}
/* Trait doré qui se trace sous le logo */
.preloader__mark::after {
  content: ""; width: clamp(170px, 27vw, 250px); height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
  transform: scaleX(0); transform-origin: center;
  animation: preLine 1s var(--ease-luxe) .45s forwards;
}
@keyframes preLogoIn {
  0%   { opacity: 0; transform: translateY(14px) scale(.9);  filter: blur(7px); }
  55%  { opacity: 1; transform: translateY(0)  scale(1.01); filter: blur(0); }
  100% { opacity: 1; transform: translateY(0)  scale(1);    filter: blur(0); }
}
@keyframes preLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes preGlow {
  from { opacity: 0; transform: translate(-50%, -50%) scale(.6); }
  to   { opacity: .9; transform: translate(-50%, -50%) scale(1); }
}

/* No-JS: everything visible */
.no-js [data-reveal], .no-js .hero__fade, .no-js .line-mask > span { opacity: 1; transform: none; }
.no-js .preloader { display: none; }
.no-js .manifesto .w { opacity: 1; }

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  [data-reveal], .hero__fade, .line-mask > span { opacity: 1 !important; transform: none !important; }
  .manifesto .w { opacity: 1 !important; }
  .ticker__track { animation: none !important; }
  .preloader { display: none !important; }
}

/* ===== Principes (accueil, fond crème) : cartes claires + texte lisible ===== */
.principles { padding-top: clamp(3rem, 2rem + 4vw, 5rem); padding-bottom: clamp(1.5rem, 1rem + 2vw, 3rem); }
.principles .section-head { margin-bottom: clamp(1.6rem, 3vw, 2.6rem); }
.principles .value-grid { gap: clamp(1.8rem, 1rem + 3vw, 3.5rem); }
.principles .value-card { background: transparent; border: 0; padding: 0; }
.principles .value-card:hover { background: transparent; transform: none; }
.principles .value-card h3 { color: var(--navy-800); }
.principles .value-card p { color: var(--ink); }

/* ===== Services (accueil) : description plus lisible ===== */
.svc-row__desc { color: var(--ink); }

/* ===== Ancrages page Services : décalage sous le header fixe + scroll doux ===== */
html { scroll-behavior: smooth; }
#fourniture, #sous-traitance, #suivi { scroll-margin-top: calc(var(--header-h) + 1.5rem); }

/* ===== Section Mission + Ancrage (accueil) : 2 colonnes, fond crème ===== */
.mission { padding-block: clamp(2.5rem, 1.5rem + 3.5vw, 4.5rem); }
.mission .pillar { align-items: start; }
.mission .pillar > div { display: grid; gap: 1rem; align-content: start; }
.mission h2 { font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.4rem); }
.principles + .section { padding-top: clamp(1.5rem, 1rem + 2vw, 3rem); }   /* principes -> mission */
.mission + .section { padding-top: clamp(2rem, 1rem + 3vw, 4rem); }        /* mission -> services */

/* ===== Pas de séparateur après la dernière ligne de services ===== */
.svc-row:last-child { border-bottom: 0; }

/* ===== Section "Ce que nous offrons" (énoncé court) : moins haute ===== */
.offer { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.offer .section-head { max-width: 42em; }

/* ===== Nos atouts (accueil) : vraies cartes, chaudes et lisibles ===== */
.atouts { padding-block: clamp(3.25rem, 2rem + 4.5vw, 5.5rem); background: var(--cream); }
.atouts .section-head { margin: 0 auto clamp(1.8rem, 3vw, 2.8rem); text-align: center; justify-items: center; max-width: 46em; }
.atouts .value-grid { gap: clamp(1.2rem, 1rem + 1.4vw, 2rem); }
.atouts .value-card {
  background: var(--cream-2);
  border: 1px solid rgba(1, 38, 73, .08);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem);
  box-shadow: 0 16px 38px -28px rgba(1, 38, 73, .28);
  transition: transform .4s var(--ease-out), border-color .4s, box-shadow .4s;
}
.atouts .value-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-gold);
  box-shadow: 0 24px 48px -26px rgba(1, 38, 73, .34);
}
.atouts .value-card h3 { color: var(--navy-800); margin-top: 1.3rem; }
.atouts .value-card p { color: var(--ink); margin-top: .6rem; font-size: .95rem; }

/* ===== Notre mission : section centrée ===== */
.mission .section-head { text-align: center; margin-inline: auto; justify-items: center; }

.mission .section-head .lead { margin-inline: auto; }
