/* =========================================================
   AkorDigital — Digital Scrapbook Collage × brand palette
   Brand: Bleu #38BEFC · Noir #0A0A0A · Nuit #0B1220 · Blanc #FCFCFE
   ========================================================= */

:root {
  /* Brand */
  --color-accent: #38BEFC;        /* Bleu AkorDigital */
  --color-accent-deep: var(--color-accent-ink); /* ancien bleu roi retiré : alias du bleu texte */
  --color-accent-ink: #0E8AD4;     /* bleu de marque assombri : grands textes lisibles */
  --color-night: #0B1220;         /* Nuit */
  --color-ink: #0A0A0A;           /* Noir */
  --color-white: #FCFCFE;         /* Blanc */
  --color-success: #00B386;
  --surface: var(--color-white);   /* fond des cartes (devient sombre en mode nuit) */

  /* Neutrals (dérivés de la charte) */
  --color-canvas: #F4F6F9;
  --color-linen: #F7F8FB;
  --color-cloud: #ECEEF3;
  --color-ash: #DADCE3;
  --color-stone: #A9AEBE;
  --color-graphite: #4A4F63;

  /* Papiers collage (teintes du bleu de marque) */
  --color-azur: #C4EBFE;
  --color-mist: #E3E8F1;
  --color-periwinkle: #C9D6F7;
  --color-sky: #BFE6FB;
  --gradient-sky: linear-gradient(180deg, #BDE6FB 0%, #DDF2FD 62%, #F1F7FC 100%);

  /* Fonts */
  --font-display: 'Outfit', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-sans: 'Outfit', 'UntitledSansFont', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Radius */
  --radius-xl: 14px;
  --radius-card: 16px;
  --radius-2xl: 20px;
  --radius-3xl: 24px;
  --radius-3xl-2: 32px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-xl: rgba(0, 0, 0, 0.01) 0px 50px 40px 0px, rgba(0, 0, 0, 0.02) 0px 50px 40px 0px, rgba(0, 0, 0, 0.05) 0px 20px 40px 0px, rgba(0, 0, 0, 0.08) 0px 3px 10px 0px;
  --shadow-sm: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.1) 0px 2px 4px -2px;
  --shadow-md: rgba(0, 0, 0, 0.1) 0px 12px 12px 2px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
  --shadow-md-2: rgba(0, 0, 0, 0.08) 0px 4px 16px 0px;
  --shadow-subtle: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.1) 0px 1px 2px -1px;
  --shadow-md-3: rgba(0, 0, 0, 0.1) 0px 4px 12px 0px;

  /* Layout */
  --page-max: 1280px;
  --gutter: 32px;
  --section-gap: 64px;   /* appliqué en haut ET en bas : ~128px entre deux sections */

  --noise: none;        /* plus de texture papier */
  --noise-soft: none;
  --dots: radial-gradient(rgba(11, 18, 32, .14) 1px, transparent 1.4px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  background: var(--color-canvas);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.24px;
  font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
main, .footer { overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
address { font-style: normal; }
em { font-style: normal; }
::selection { background: var(--color-accent); color: var(--color-ink); }

/* Paper grain over everything */
body::after { display: none;
  content: "";
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
  background-image: var(--noise);
  opacity: .13;
  mix-blend-mode: multiply;
}

.container { width: 100%; max-width: calc(var(--page-max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-gap) 0; }

/* ---------- Type ---------- */
.h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.h2 em, .hero__title em, .cta__title em, .manifesto__text em, .menu__links em { font-style: normal; color: var(--color-accent-ink); }
.h2 em, .cta__title em { white-space: nowrap; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .14px;
  color: var(--color-graphite);
}
.eyebrow__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 0 0 rgba(0, 179, 134, .5);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 179, 134, .45); }
  70% { box-shadow: 0 0 0 9px rgba(0, 179, 134, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 179, 134, 0); }
}

/* split helpers */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.wi { display: inline-block; will-change: transform; }
.c { display: inline-block; will-change: transform; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 44px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.1px;
  white-space: nowrap;
  transition: box-shadow .35s var(--ease-out), background-color .3s, color .3s, border-color .3s;
  will-change: transform;
}
.btn > span, .btn > svg { position: relative; pointer-events: none; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn--lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn--pill { background: var(--color-night); color: var(--color-white); border-radius: var(--radius-pill); }
.btn--pill:hover { box-shadow: var(--shadow-md); }
.btn--ghost { border: 1px solid rgba(3, 3, 2, .14); border-radius: var(--radius-xl); background: rgba(255, 255, 255, .35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--ghost:hover { background: var(--surface); border-color: var(--color-ash); box-shadow: var(--shadow-md-2); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; font-size: 15px;
  padding-bottom: 2px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .5s var(--ease-out);
}
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }

/* chips / tags */
.chip {
  display: inline-flex; align-items: center;
  height: 24px; padding: 0 10px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 500; letter-spacing: .12px;
  white-space: nowrap;
}
.chip--azur { background: var(--color-azur); }
.chip--mist { background: var(--color-mist); }
.chip--peri { background: var(--color-periwinkle); }
.chip--ink { background: var(--color-night); color: var(--color-white); }
.chip--accent { background: var(--color-accent); color: var(--color-night); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  font-size: 14px; letter-spacing: .14px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-ash);
  background: var(--color-linen);
  color: var(--color-graphite);
  transition: background-color .3s, border-color .3s;
}
.tags li:hover { background: var(--surface); border-color: var(--color-stone); }
.tags--sm li { font-size: 12px; padding: 4px 10px; }

/* ---------- Paper / torn ---------- */
.torn { will-change: transform; }
.paper { width: 100%; height: 100%; }
.paper, .paper--azur, .paper--mist, .paper--peri, .paper--sky, .paper--dots, .paper--white, .paper--night, .paper--accent { position: relative; }
.paper--night { background: var(--color-night); }
.paper--accent { background: var(--color-accent); }
.paper--azur { background: var(--color-azur) var(--noise-soft); }
.paper--mist { background: var(--color-mist) var(--noise-soft); }
.paper--peri { background: var(--color-periwinkle) var(--noise-soft); }
.paper--sky { background: var(--noise-soft), var(--gradient-sky); }
.paper--white { background: var(--surface) var(--noise-soft); }
.paper--dots { background-color: #FBFCFE; background-image: var(--dots), var(--noise-soft); background-size: 16px 16px, auto; }

.piece { width: 100%; height: 100%; filter: drop-shadow(0 18px 24px rgba(0,0,0,.07)) drop-shadow(0 3px 6px rgba(0,0,0,.06)); }

.torn-edge { position: absolute; left: 0; right: 0; height: 26px; pointer-events: none; }

.tape {
  position: absolute; z-index: 3;
  width: 5.2em; height: 1.6em;
  background: rgba(255, 255, 255, .55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
  clip-path: polygon(3% 8%, 12% 0, 25% 6%, 40% 1%, 55% 7%, 70% 0, 85% 5%, 97% 0, 100% 92%, 88% 100%, 72% 94%, 58% 100%, 42% 94%, 28% 100%, 13% 95%, 0 100%);
}
.tape--l { top: -.8em; left: 1.4em; transform: rotate(-8deg); }
.tape--r { top: -.8em; right: 1.2em; transform: rotate(10deg); }
.tape--c { top: -.9em; left: 50%; transform: translateX(-50%) rotate(-3deg); }

.card { background: var(--surface); border-radius: var(--radius-card); box-shadow: var(--shadow-xl); }

/* =========================================================
   LOADER
   ========================================================= */
.loader {
  position: fixed; inset: 0; z-index: 400;
  background: var(--color-canvas);
  display: none;
}
.js .loader { display: block; }
.loader::before { content: ""; position: absolute; inset: 0; background-image: var(--dots); background-size: 22px 22px; opacity: .5; }
.loader__inner { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.loader__symbol { width: clamp(64px, 7vw, 96px); height: auto; margin-bottom: 32px; overflow: visible; }
.loader__dot { fill: var(--color-accent); }
.loader__stroke { fill: none; stroke: var(--color-accent); stroke-width: 94; stroke-linecap: round; }
.loader__brand {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(48px, 9vw, 140px);
  line-height: 1;
  letter-spacing: -0.025em;
  overflow: hidden;
  padding: 0 .05em .12em;
}
.loader__word { display: inline-block; }
.loader__meta {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 32px;
  display: flex; justify-content: space-between;
  font-size: 14px; font-weight: 500; color: var(--color-graphite);
  font-variant-numeric: tabular-nums;
}
.loader__edge { top: calc(100% - 1px); background: var(--color-canvas); height: 34px; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; top: 16px; left: 0; right: 0; z-index: 150;
  padding: 0 16px;
  pointer-events: none;
}
.nav__bar {
  pointer-events: auto;
  max-width: var(--page-max);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 8px 8px 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: var(--shadow-subtle);
}
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__symbol { width: 34px; height: 30px; overflow: visible; transition: transform .7s var(--ease-out); }
.logo__symbol circle { fill: var(--color-accent); }
.logo__symbol line { fill: none; stroke: var(--color-accent); stroke-width: 94; stroke-linecap: round; }
.logo:hover .logo__symbol { transform: rotate(-10deg) scale(1.06); }
.logo__text { font-family: var(--font-sans); font-weight: 400; font-size: 22px; line-height: 1; letter-spacing: -0.4px; padding-bottom: 2px; }
.nav__links { display: flex; gap: 4px; }
.nav__links a {
  position: relative;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 15px; font-weight: 500;
  transition: background-color .3s;
}
.nav__links a:hover { background: var(--color-cloud); }
.nav__links a.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 3px;
  width: 4px; height: 4px; border-radius: 50%; background: var(--color-accent);
  transform: translateX(-50%);
}
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--color-night); position: relative; }
.nav__burger span { position: absolute; left: 14px; right: 14px; height: 1.6px; background: var(--surface); transition: transform .5s var(--ease-out); }
.nav__burger span:first-child { top: 18px; }
.nav__burger span:last-child { top: 25px; }
.menu-open .nav__burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .nav__burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 140;
  visibility: hidden;
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px var(--gutter) 40px;
}
.menu__bg { position: absolute; inset: 0; background: var(--color-canvas); }
.menu__links { position: relative; display: flex; flex-direction: column; gap: 4px; }
.menu__links a { font-family: var(--font-display); font-size: clamp(40px, 11vw, 64px); line-height: 1.1; letter-spacing: -0.03em; overflow: hidden; }
.menu__links a span { display: inline-block; }
.menu__foot { position: relative; margin-top: 40px; display: flex; flex-direction: column; gap: 6px; color: var(--color-graphite); }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; }
.hero__frame {
  position: absolute; inset: 0;
  overflow: hidden;
  clip-path: inset(0% 0% 0% 0% round 0px);
}
.hero__bg { position: absolute; inset: -4%; background: var(--gradient-sky); }
.hero__bg::after { content: ""; position: absolute; inset: 0; background-image: var(--noise); opacity: .3; mix-blend-mode: multiply; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 80%);
}
.hero__glow {
  position: absolute; left: 50%; top: 48%;
  width: 70vw; height: 60vh;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255, 253, 245, .85), rgba(255, 253, 245, 0));
}

.hero__collage { position: absolute; inset: 0; font-size: clamp(9px, 1.04vw, 16px); }
.float { position: absolute; display: block; }
.float .piece, .float .hc { will-change: transform; }

.f-azur { left: 1.5%; top: 14%; width: 20em; height: 23em; }
.f-site { left: 3.6%; top: 20%; width: 18em; }
.f-mist { right: 2%; top: 11%; width: 16em; height: 19em; }
.f-sea { right: 4.6%; top: 17%; width: 16em; }
.f-peri { left: 8%; bottom: 3%; width: 18em; height: 12em; }
.f-ai { left: 10.5%; bottom: 7%; width: 17em; }
.f-dots { right: 13%; bottom: 3%; width: 14em; height: 11em; }
.f-note { right: 6.5%; bottom: 9%; width: 14em; }
.f-white { left: 26%; top: 10%; width: 7em; height: 4.6em; }
.f-star--1 { left: 25%; top: 31%; }
.f-star--2 { right: 24%; bottom: 25%; }
.star { display: inline-block; font-size: 2.2em; color: var(--color-accent); filter: none; width: auto; height: auto; line-height: 1; }
.f-star--2 .star { font-size: 1.5em; color: var(--color-night); }

.hc { position: relative; font-size: 1em; }
.hc .chip { position: absolute; bottom: -.9em; right: 1em; font-size: .78em; height: 2em; padding: 0 .9em; box-shadow: var(--shadow-sm); }

/* hero browser mockup */
.browser { background: var(--surface); border-radius: 1em; box-shadow: var(--shadow-xl); overflow: hidden; }
.browser__bar { display: flex; align-items: center; gap: .35em; padding: .7em .8em; background: var(--color-linen); border-bottom: 1px solid var(--color-cloud); }
.browser__bar i { width: .55em; height: .55em; border-radius: 50%; background: var(--color-ash); }
.browser__bar i:nth-child(1) { background: #ff8a65; }
.browser__bar i:nth-child(2) { background: #fdd663; }
.browser__bar i:nth-child(3) { background: #7fd29a; }
.browser__url { margin-left: .6em; flex: 1; font-size: .72em; color: var(--color-graphite); background: var(--surface); border-radius: var(--radius-pill); padding: .25em .9em; }
.browser__body { padding: 1em; display: flex; flex-direction: column; gap: .9em; }
.sk-nav { display: flex; align-items: center; gap: .5em; }
.sk-nav b { width: 1.4em; height: 1.4em; border-radius: .4em; background: var(--color-ink); margin-right: auto; }
.sk-nav span { width: 2.2em; height: .4em; border-radius: 1em; background: var(--color-ash); }
.sk-hero { display: grid; grid-template-columns: 1fr 1fr; gap: .8em; align-items: center; }
.sk-lines { display: flex; flex-direction: column; gap: .45em; }
.sk-lines span { height: .7em; border-radius: 1em; background: var(--color-ink); opacity: .85; }
.sk-lines .sk-btn { width: 4.4em; height: 1.5em; border-radius: var(--radius-pill); background: var(--color-accent); opacity: 1; margin-top: .3em; }
.sk-img { aspect-ratio: 1; border-radius: .7em; background: linear-gradient(135deg, var(--color-azur), #EAF7FE); position: relative; overflow: hidden; }
.sk-img::after { content: ""; position: absolute; width: 60%; height: 60%; left: 20%; top: 26%; border-radius: 50% 50% .4em .4em; background: rgba(255,255,255,.6); }
.sk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5em; }
.sk-grid span { height: 2.6em; border-radius: .5em; background: var(--color-linen); border: 1px solid var(--color-cloud); }

/* hero SEA */
.hc--sea { padding: 1.1em 1.1em 1.6em; border-radius: 1em; outline: 2px solid var(--color-accent); outline-offset: .45em; }
.hc__head { display: flex; align-items: center; gap: .5em; font-size: .8em; font-weight: 500; color: var(--color-graphite); }
.hc__ico { width: 1.7em; height: 1.7em; border-radius: .5em; display: grid; place-items: center; font-weight: 700; color: var(--color-white); }
.hc__ico--blue { background: var(--color-accent); color: var(--color-night); }
.hc__live { margin-left: auto; color: var(--color-success); font-size: .9em; }
.hc__kpi { margin: .9em 0 .8em; display: flex; flex-direction: column; }
.hc__big { font-family: var(--font-display); font-size: 2.6em; letter-spacing: -0.03em; line-height: 1; }
.hc__sub { font-size: .75em; color: var(--color-graphite); margin-top: .3em; }
.bars { display: flex; align-items: flex-end; gap: .4em; height: 4.6em; }
.bars i { flex: 1; height: var(--h); border-radius: .35em .35em .15em .15em; background: var(--color-cloud); transform-origin: bottom; }
.bars i:nth-last-child(-n+3) { background: var(--color-accent); }

/* hero AI */
.hc--ai { padding: 1.1em 1.1em 1.6em; border-radius: 1em; }
.flow { display: flex; flex-direction: column; align-items: stretch; }
.flow__node { display: flex; align-items: center; gap: .6em; font-size: .82em; font-weight: 500; padding: .65em .8em; border-radius: .8em; background: var(--color-linen); border: 1px solid var(--color-cloud); }
.flow__node--ai { background: #eef2fd; border-color: #dbe4fb; }
.flow__node--ok { background: #E6F7F2; border-color: #CDEFE4; }
.flow__dot { width: .6em; height: .6em; border-radius: 50%; background: var(--color-accent); }
.flow__spark { color: var(--color-accent-ink); }
.flow__check { width: 1.3em; height: 1.3em; border-radius: 50%; background: var(--color-success); color: #fff; display: grid; place-items: center; font-size: .75em; }
.flow__line { position: relative; height: 1.1em; margin-left: 1.15em; width: 2px; background: var(--color-ash); overflow: hidden; }
.flow__line i { position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--color-accent); animation: flowdown 1.6s infinite linear; }
.flow__line:nth-of-type(4) i { animation-delay: .8s; }
@keyframes flowdown { to { top: 110%; } }

/* hero note */
.hc--note {
  padding: 1.5em 1.3em 1.8em;
  background: var(--surface) var(--noise-soft);
  border-radius: .3em;
  box-shadow: var(--shadow-xl);
}
.note__title { font-family: var(--font-display); font-weight: 500; font-size: 1.4em; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: .6em; }
.note__list { display: flex; flex-direction: column; gap: .35em; font-size: .85em; color: var(--color-graphite); }
.note__list li::before { content: "○"; margin-right: .5em; }
.note__list li:has(s)::before { content: "●"; color: var(--color-ink); }
.note__list s { text-decoration-color: var(--color-accent); text-decoration-thickness: 1.5px; }

/* hero content */
.hero__content {
  position: relative; z-index: 5;
  height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 90px var(--gutter) 40px;
}
.hero__eyebrow {
  padding: 6px 14px 6px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .7);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-subtle);
  color: var(--color-ink);
  margin-bottom: 28px;
}
.hero__eyebrow sup { font-size: .65em; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 5.6vw, 88px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  max-width: 11em;
  text-wrap: balance;
}
.hero__accent { position: relative; display: inline-block; white-space: nowrap; }
.hero__accent .scribble {
  position: absolute; left: -2%; bottom: -.1em; width: 104%; height: .32em;
  overflow: visible; pointer-events: none;
}
.scribble path { fill: none; stroke: var(--color-accent-ink); stroke-width: 5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.hero__sub {
  max-width: 560px;
  margin-top: 28px;
  font-size: 18px; line-height: 1.5; letter-spacing: -0.2px;
  color: var(--color-graphite);
}
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 44px; z-index: 5;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: .12px; font-weight: 500; color: var(--color-graphite);
}
.hero__scroll i { width: 1px; height: 38px; background: rgba(3,3,2,.18); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%; background: var(--color-ink); animation: scrolldown 1.8s infinite var(--ease-out); }
@keyframes scrolldown { to { top: 110%; } }
.hero__edge { bottom: -1px; background: var(--color-canvas); z-index: 6; }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee { padding: 48px 0 0; overflow: hidden; }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__row { display: flex; align-items: center; flex-shrink: 0; }
.marquee__row span {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  letter-spacing: -0.03em;
  line-height: 1.1;
  padding: 0 .35em;
  white-space: nowrap;
}
.marquee__row i { font-style: normal; font-size: clamp(22px, 2.4vw, 34px); color: var(--color-accent); }
.marquee__row i:nth-of-type(2n) { color: var(--color-night); }

/* =========================================================
   MANIFESTO
   ========================================================= */
.manifesto .container { display: flex; flex-direction: column; align-items: center; text-align: center; }
.manifesto__text {
  margin-top: 32px;
  max-width: 1040px;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.7vw, 54px);
  line-height: 1.16;
  letter-spacing: -0.025em;
}
.inline-chip {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.65em; height: .95em;
  border-radius: var(--radius-pill);
  vertical-align: -.06em;
  box-shadow: var(--shadow-sm);
}
.inline-chip svg { width: .55em; height: .55em; fill: none; stroke: var(--color-ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.inline-chip--azur { background: var(--color-azur); transform: rotate(-4deg); }
.inline-chip--mist { background: var(--color-mist); transform: rotate(3deg); }
.inline-chip--accent { background: var(--color-accent); transform: rotate(3deg); }
.inline-chip--peri { background: var(--color-periwinkle); transform: rotate(-2deg); }
.manifesto__foot { margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 18px; max-width: 460px; color: var(--color-graphite); }
.avatars { display: flex; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 18px; color: var(--color-ink);
  border: 2px solid var(--color-canvas);
  margin-left: -10px;
}
.avatar:first-child { margin-left: 0; }
.avatar--azur { background: var(--color-azur); }
.avatar--mist { background: var(--color-mist); }
.avatar--night { background: var(--color-night); color: var(--color-white); }
.avatar--peri { background: var(--color-periwinkle); }
.manifesto__foot .link-arrow { color: var(--color-ink); }

/* =========================================================
   SECTION HEAD
   ========================================================= */
.section-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; max-width: 820px; margin: 0 auto; }
.section-head__sub { font-size: 18px; color: var(--color-graphite); max-width: 520px; }
.section-head--row { flex-direction: row; align-items: flex-end; justify-content: space-between; text-align: left; max-width: none; }
.section-head--row > div { display: flex; flex-direction: column; gap: 20px; max-width: 700px; }

/* =========================================================
   SERVICES — stacked cards
   ========================================================= */
.stack { margin-top: 56px; display: flex; flex-direction: column; gap: 40px; }
.scard { position: sticky; top: calc(108px + var(--i) * 18px); }
.scard__inner {
  display: grid; grid-template-columns: 1fr 1.18fr; gap: 48px;
  padding: 40px;
  min-height: min(580px, calc(100vh - 160px));
  border-radius: var(--radius-3xl);
  transform-origin: 50% 0%;
  will-change: transform;
}
.scard__text { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 16px 8px; }
.scard__num {
  font-size: 14px; font-weight: 500; letter-spacing: .14px;
  padding: 4px 12px; border-radius: var(--radius-pill);
  border: 1px solid var(--color-ash);
}
.scard__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(32px, 3.3vw, 46px); line-height: 1.08; letter-spacing: -0.025em; margin-top: auto; }
.scard__text > p { font-size: 17px; color: var(--color-graphite); max-width: 440px; }
.scard__text .link-arrow { margin-top: 8px; }

.visual {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  min-height: 420px;
  background-color: var(--color-linen);
  background-image: var(--dots);
  background-size: 18px 18px;
  font-size: clamp(10px, .9vw, 14px);
}
.visual__paper { position: absolute; inset: 9% 10%; transform: rotate(-3deg); }
.visual--azur .visual__paper { background: var(--color-azur) var(--noise-soft); }
.visual--mist .visual__paper { background: var(--color-mist) var(--noise-soft); transform: rotate(2.5deg); }
.visual--peri .visual__paper { background: var(--color-periwinkle) var(--noise-soft); transform: rotate(-2deg); }
.visual--night .visual__paper { background: var(--color-night); transform: rotate(2.5deg); }
.visual--accent .visual__paper { background: var(--color-accent); transform: rotate(3deg); }
.visual .card { position: absolute; }

/* 01 site */
.v-browser { left: 7%; top: 11%; width: 70%; overflow: hidden; border-radius: 1em; }
.v-browser__body { padding: 1.2em; display: flex; flex-direction: column; gap: 1.2em; }
.v-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2em; align-items: center; }
.v-hero__txt { display: flex; flex-direction: column; gap: .55em; }
.v-h { display: block; height: 1em; width: 90%; border-radius: 1em; background: var(--color-ink); }
.v-h--2 { width: 65%; }
.v-p { display: block; height: .5em; width: 100%; border-radius: 1em; background: var(--color-ash); }
.v-p--2 { width: 80%; }
.v-btn { display: block; width: 6em; height: 2em; border-radius: var(--radius-pill); background: var(--color-ink); margin-top: .4em; }
.v-hero__img { aspect-ratio: 4/3.4; border-radius: .8em; background-size: cover; background-position: center; background-color: var(--color-cloud); }
.v-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7em; }
.v-cards span { height: 4em; border-radius: .7em; background: var(--color-linen); border: 1px solid var(--color-cloud); }
.v-phone { right: 6%; bottom: 7%; width: 25%; padding: .7em .7em 1.2em; border-radius: 1.6em; display: flex; flex-direction: column; gap: .55em; border: 1px solid var(--color-cloud); }
.v-phone__notch { width: 34%; height: .5em; border-radius: 1em; background: var(--color-ink); margin: 0 auto .2em; }
.v-phone__img { aspect-ratio: 1/1.05; border-radius: 1em; background-size: cover; background-position: center; background-color: var(--color-cloud); }
.v-phone .v-h { height: .8em; }
.v-phone .v-btn { width: 100%; height: 1.8em; background: var(--color-accent); }
.v-score { left: 6%; bottom: 8%; display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: .7em; align-items: center; padding: .8em 1.2em .8em .8em; border-radius: 1em; }
.v-score svg { width: 3.4em; height: 3.4em; grid-row: span 2; transform: rotate(-90deg); }
.v-score circle { fill: none; stroke: #E3F5FE; stroke-width: 4; }
.v-score .v-score__arc { stroke: var(--color-accent); stroke-linecap: round; stroke-dasharray: 113.1; stroke-dashoffset: 0; }
.v-score b { font-family: var(--font-display); font-weight: 400; font-size: 1.8em; line-height: 1; letter-spacing: -0.03em; }
.v-score span { font-size: .8em; color: var(--color-graphite); }

/* 02 SEA */
.v-ad { left: 7%; top: 10%; width: 70%; padding: 1.2em; border-radius: 1em; }
.v-search { display: flex; align-items: center; gap: .6em; padding: .7em 1em; border-radius: var(--radius-pill); border: 1px solid var(--color-ash); font-size: .95em; margin-bottom: 1.1em; }
.v-search svg { width: 1.1em; height: 1.1em; fill: none; stroke: var(--color-graphite); stroke-width: 2; stroke-linecap: round; }
.v-ad__res { padding: .3em .2em .9em; }
.v-ad__spon { font-size: .78em; color: var(--color-graphite); }
.v-ad__title { font-size: 1.15em; color: var(--color-accent-ink); font-weight: 500; margin: .2em 0; letter-spacing: -0.02em; line-height: 1.3; }
.v-ad__desc { font-size: .82em; color: var(--color-graphite); line-height: 1.45; }
.v-ad__res--ghost { display: flex; flex-direction: column; gap: .5em; border-top: 1px solid var(--color-cloud); padding-top: 1em; }
.v-ad__res--ghost span { height: .6em; border-radius: 1em; background: var(--color-cloud); }
.v-ad__res--ghost span:last-child { width: 70%; }
.v-chart { right: 6%; bottom: 9%; width: 54%; padding: 1em 1.1em .6em; border-radius: 1em; }
.v-chart__head { display: flex; justify-content: space-between; align-items: baseline; font-size: .85em; color: var(--color-graphite); margin-bottom: .4em; }
.v-chart__head b { font-family: var(--font-display); font-weight: 400; font-size: 1.8em; color: var(--color-ink); letter-spacing: -0.03em; }
.v-chart svg { width: 100%; height: 6.4em; overflow: visible; }
.v-chart__line { fill: none; stroke: var(--color-accent); stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.v-pill { padding: .6em 1em; border-radius: var(--radius-pill); font-size: .9em; color: var(--color-graphite); white-space: nowrap; }
.v-pill b { color: var(--color-ink); margin-left: .2em; }
.v-pill--1 { left: 9%; bottom: 14%; }
.v-pill--2 { right: 8%; top: 9%; }

/* 03 Conseil */
.v-board { left: 7%; top: 11%; width: 78%; padding: 1.2em; border-radius: 1em; display: grid; grid-template-columns: repeat(3, 1fr); gap: .8em; }
.v-board__col { display: flex; flex-direction: column; gap: .6em; background: var(--color-linen); border-radius: .8em; padding: .8em; min-height: 13em; }
.v-board__col p { font-size: .78em; font-weight: 600; color: var(--color-graphite); margin-bottom: .2em; }
.v-sticky { display: block; font-size: .82em; font-weight: 500; padding: .9em .8em 1.6em; border-radius: .3em; box-shadow: var(--shadow-md-2); }
.v-sticky--mist { background: var(--color-mist); transform: rotate(-2deg); }
.v-sticky--azur { background: var(--color-azur); transform: rotate(1.5deg); }
.v-sticky--peri { background: var(--color-periwinkle); transform: rotate(-1deg); }
.v-sticky--white { background: var(--surface); transform: rotate(1deg); }
.v-sticky.is-done { text-decoration: line-through; text-decoration-color: var(--color-accent); color: var(--color-graphite); }
.v-target { right: 6%; bottom: 8%; display: flex; align-items: center; gap: .8em; padding: .9em 1.3em .9em .9em; border-radius: 1em; }
.v-target svg { width: 3.6em; height: 3.6em; overflow: visible; }
.v-target circle { fill: none; stroke: var(--color-ink); stroke-width: 2; }
.v-target circle:nth-child(2) { stroke: var(--color-accent); }
.v-target circle:nth-child(3) { fill: var(--color-accent); stroke: none; }
.v-target__arrow { fill: none; stroke: var(--color-ink); stroke-width: 2.4; stroke-linecap: round; }
.v-target span { font-size: .85em; color: var(--color-graphite); line-height: 1.3; }
.v-target b { color: var(--color-ink); }

/* 04 IA */
.v-chat { left: 7%; top: 9%; width: 64%; padding: 1.2em; border-radius: 1em; display: flex; flex-direction: column; gap: .8em; }
.v-chat__msg { font-size: .9em; line-height: 1.45; padding: .8em 1em; border-radius: 1.1em; max-width: 86%; }
.v-chat__msg--in { align-self: flex-end; background: var(--color-ink); color: var(--color-white); border-bottom-right-radius: .3em; }
.v-chat__msg--out { align-self: flex-start; background: var(--color-linen); border: 1px solid var(--color-cloud); border-bottom-left-radius: .3em; }
.v-chat__ai { display: block; font-size: .8em; font-weight: 600; color: var(--color-accent-ink); margin-bottom: .2em; }
.v-chat__typing { display: flex; gap: .3em; padding: .8em 1em; background: var(--color-linen); border-radius: 1.1em; align-self: flex-start; }
.v-chat__typing i { width: .45em; height: .45em; border-radius: 50%; background: var(--color-stone); animation: typing 1.2s infinite; }
.v-chat__typing i:nth-child(2) { animation-delay: .15s; }
.v-chat__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-.3em); opacity: 1; } }
.v-flow { right: 6%; bottom: 9%; width: 44%; padding: 1em; border-radius: 1em; display: flex; flex-direction: column; gap: .5em; }
.v-flow__step { display: flex; align-items: center; gap: .6em; font-size: .85em; font-weight: 500; padding: .55em .7em; border-radius: .7em; background: var(--color-linen); position: relative; }
.v-flow__ico { width: 1.7em; height: 1.7em; border-radius: .5em; display: grid; place-items: center; background: var(--surface); box-shadow: var(--shadow-subtle); font-size: .9em; }
.v-flow__ico--ai { color: var(--color-accent-ink); }
.v-flow__ico--ok { background: var(--color-success); color: #fff; }
.v-pill--3 { left: 8%; bottom: 12%; }

/* =========================================================
   PROCESS — horizontal
   ========================================================= */
.process { position: relative; padding-top: 0; }
.process__pin { height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: 56px; overflow: hidden; padding-top: 64px; }
.process__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.process__head > div { display: flex; flex-direction: column; gap: 20px; max-width: 640px; }
.process__progress { width: 220px; height: 2px; background: var(--color-ash); border-radius: 2px; overflow: hidden; margin-bottom: 14px; }
.process__bar { display: block; height: 100%; width: 100%; background: var(--color-ink); transform: scaleX(0); transform-origin: left; }
.process__viewport { width: 100%; }
.process__track {
  display: flex; align-items: center; gap: 48px;
  width: max-content;
  padding: 30px max(var(--gutter), calc((100vw - var(--page-max)) / 2)) 40px;
  will-change: transform;
}
.step { position: relative; width: 380px; height: 420px; flex-shrink: 0; }
.step__paper { position: absolute; inset: -16px -12px; transform: rotate(-3deg); }
.step:nth-child(even) .step__paper { transform: rotate(3deg); }
.step__card { position: relative; height: 100%; padding: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; border-radius: var(--radius-3xl); }
.step__num { font-family: var(--font-display); font-size: 66px; line-height: 1; letter-spacing: -0.03em; color: var(--color-stone); }
.step__title { font-family: var(--font-display); font-weight: 400; font-size: 36px; line-height: 1.2; letter-spacing: -0.02em; margin-top: auto; }
.step__card p { color: var(--color-graphite); }
.step__card .chip { margin-top: 8px; }
.step--end { width: 420px; height: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; padding-left: 24px; }
.step__end-title { font-family: var(--font-display); font-size: 46px; line-height: 1.1; letter-spacing: -0.03em; }
.step__end-title em { display: block; color: var(--color-graphite); }

/* =========================================================
   STATS
   ========================================================= */
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--color-ash); border-bottom: 1px solid var(--color-ash); }
.stat { padding: 48px 24px; display: flex; flex-direction: column; gap: 8px; border-left: 1px solid var(--color-ash); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num { font-family: var(--font-display); font-size: clamp(48px, 5vw, 76px); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: lining-nums; }
.stat p { color: var(--color-graphite); }

/* =========================================================
   WORK
   ========================================================= */
.work__grid { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; row-gap: 72px; }
.project { display: flex; flex-direction: column; gap: 16px; }
.project--offset { margin-top: 140px; }
.project__media { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-3xl); overflow: hidden; background: var(--color-cloud); box-shadow: var(--shadow-xl); }
.project__media img { position: absolute; left: 0; top: -4%; width: 100%; height: 108%; object-fit: cover; object-position: center top; transition: transform 1.2s var(--ease-out); }
.project:hover .project__media img { transform: scale(1.05); }
.project__meta { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; }
.project__meta h3 { font-family: var(--font-display); font-weight: 400; font-size: 32px; letter-spacing: -0.03em; line-height: 1.2; }
.project__year { font-size: 14px; color: var(--color-graphite); }
.project__desc { color: var(--color-graphite); font-size: 16px; max-width: 520px; margin-top: -4px; }

/* =========================================================
   QUOTES
   ========================================================= */
.quotes__wrap { position: relative; max-width: 940px; margin: 0 auto; }
.quotes__paper { position: absolute; inset: -22px -18px; background: var(--color-periwinkle) var(--noise-soft); transform: rotate(-2.2deg); }
.quotes__card { position: relative; padding: 72px 72px 56px; border-radius: var(--radius-3xl); text-align: center; overflow: hidden; }
.quotes__mark { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); font-family: var(--font-display); font-size: 180px; line-height: 1; color: var(--color-accent); pointer-events: none; }
.quotes__slides { position: relative; display: grid; }
.quote { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; gap: 32px; visibility: hidden; }
.quote.is-active { visibility: visible; }
.quote blockquote { position: relative; font-family: var(--font-display); font-weight: 300; font-size: clamp(26px, 3vw, 38px); line-height: 1.22; letter-spacing: -0.025em; text-wrap: balance; }
.quote figcaption { display: flex; align-items: center; gap: 12px; text-align: left; }
.quote figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow-sm); }
.quote figcaption span { display: flex; flex-direction: column; font-size: 14px; color: var(--color-graphite); }
.quote figcaption b { font-size: 16px; color: var(--color-ink); font-weight: 600; }
.quotes__nav { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.quotes__dot { width: 28px; height: 6px; border-radius: 6px; background: var(--color-ash); position: relative; overflow: hidden; transition: width .5s var(--ease-out); }
.quotes__dot.is-active { width: 56px; }
.quotes__dot::after { content: ""; position: absolute; inset: 0; background: var(--color-ink); transform: scaleX(0); transform-origin: left; }
.quotes__dot.is-active::after { animation: dotfill 6s linear forwards; }
@keyframes dotfill { to { transform: scaleX(1); } }

/* =========================================================
   FAQ
   ========================================================= */
.faq__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 80px; align-items: start; }
.faq__intro { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 20px; }
.faq__intro p:last-child { color: var(--color-graphite); }
.faq__intro a { color: var(--color-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--color-stone); }
.faq__list { border-top: 1px solid var(--color-ash); }
.faq__item { border-bottom: 1px solid var(--color-ash); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0;
  font-size: 20px; font-weight: 500; letter-spacing: -0.4px;
  transition: color .3s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--color-graphite); }
.faq__plus { position: relative; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-subtle); transition: transform .5s var(--ease-out), background-color .3s; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; background: var(--color-ink); transform: translate(-50%, -50%); transition: transform .5s var(--ease-out); }
.faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__plus { transform: rotate(180deg); background: var(--color-accent); }
.faq__item[open] .faq__plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__body { overflow: hidden; }
.faq__body p { padding: 0 60px 28px 0; color: var(--color-graphite); font-size: 17px; }

/* =========================================================
   CTA
   ========================================================= */
.cta { padding-bottom: 112px; }
.cta__wrap { position: relative; }
.cta__panel { position: relative; padding: 120px 48px; text-align: center; }
.cta__paper { position: absolute; inset: 0; overflow: hidden; border-radius: var(--radius-3xl); background: var(--gradient-sky); box-shadow: var(--shadow-xl); }
.cta__paper::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .4) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .4) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 45%, #000 25%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 45%, #000 25%, transparent 80%);
}
[data-theme="dark"] .cta__paper::before { background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); }
.cta__content { position: relative; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.cta__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(42px, 5.4vw, 80px); line-height: 1.04; letter-spacing: -0.03em; max-width: 12em; text-wrap: balance; }
.cta__sub { font-size: 18px; color: var(--color-graphite); max-width: 520px; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 12px; }
.cta__scrap { position: absolute; }
.cta__scrap--1 { width: 180px; height: 140px; left: -3%; top: -40px; transform: rotate(-12deg); }
.cta__scrap--2 { width: 150px; height: 190px; right: -2%; bottom: -50px; transform: rotate(9deg); }
.cta__scrap--3 { width: 200px; height: 120px; right: 8%; top: -50px; transform: rotate(6deg); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { position: relative; background: var(--color-night); color: var(--color-white); padding: 96px 0 32px; border-radius: var(--radius-3xl-2) var(--radius-3xl-2) 0 0; }
.footer__edge { top: -25px; background: var(--color-night); }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer__col a, .footer__col address { color: rgba(252, 252, 254, .72); transition: color .3s; }
.footer__col a:hover { color: var(--color-white); }
.footer__label { font-size: 12px; letter-spacing: .12px; color: rgba(252, 252, 254, .45); margin-bottom: 6px; font-weight: 500; }
.footer__lead { font-family: var(--font-display); font-size: clamp(28px, 2.6vw, 36px); line-height: 1.2; letter-spacing: -0.02em; max-width: 13em; }
.footer__lead em { color: var(--color-accent); }
.footer__col--lead .footer__mail { font-size: 18px; color: var(--color-white); margin-top: 12px; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: rgba(252, 252, 254, .3); transition: text-decoration-color .3s; }
.footer__col--lead .footer__mail:hover { text-decoration-color: var(--color-white); }
.footer__word {
  margin: 88px 0 28px;
  display: flex; align-items: center; justify-content: center; gap: .22em;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: min(208px, calc((100vw - var(--gutter) * 2) * .158));
  line-height: 1;
  letter-spacing: -0.02em;
  overflow: hidden;
  padding: .04em 0 .12em;
  white-space: nowrap;
  color: var(--color-white);
}
.footer__symbol { width: .92em; height: auto; flex-shrink: 0; overflow: visible; }
.footer__symbol circle { fill: var(--color-accent); }
.footer__symbol line { fill: none; stroke: var(--color-accent); stroke-width: 94; stroke-linecap: round; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 24px; border-top: 1px solid rgba(252, 252, 254, .14); font-size: 14px; color: rgba(252, 252, 254, .55); }
.footer__bottom a:hover, .footer__top-btn:hover { color: var(--color-white); }
.footer__top-btn { font-size: 14px; color: rgba(252, 252, 254, .55); transition: color .3s; }

/* =========================================================
   CURSOR
   ========================================================= */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 250;
  width: 104px; height: 104px; margin: -52px 0 0 -52px;
  border-radius: 50%;
  background: var(--color-night); color: var(--color-white);
  display: grid; place-items: center;
  pointer-events: none;
  transform: scale(0);
  font-size: 13px; font-weight: 500; text-align: center; line-height: 1.2;
}
.cursor__label { padding: 0 14px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__bar { gap: 12px; }
  .nav__cta { margin-left: auto; }
  .f-white, .f-star--1 { display: none; }
}

@media (max-width: 1100px) {
  .hero__collage { font-size: clamp(9px, 1.15vw, 14px); }
  .f-ai { left: 3%; }
  .f-peri { left: 1%; }
  .f-note { right: 3%; }
}

@media (max-width: 960px) {
  :root { --section-gap: 48px; --gutter: 24px; }
  .scard { position: relative; top: 0; }
  .scard__inner { grid-template-columns: 1fr; padding: 24px; gap: 24px; min-height: 0; }
  .scard__text { padding: 8px 4px; }
  .scard__title { margin-top: 0; }
  .visual { min-height: 360px; font-size: clamp(9px, 1.6vw, 13px); }

  .process__pin { height: auto; overflow: visible; padding-top: 0; }
  .process__progress { display: none; }
  .process__track { flex-direction: column; width: 100%; gap: 56px; padding: 24px var(--gutter) 0; }
  .step { width: 100%; max-width: 520px; height: auto; min-height: 320px; }
  .step--end { width: 100%; padding-left: 0; align-items: center; text-align: center; }
  .step__end-title { font-size: 36px; }

  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--color-ash); }

  .section-head--row { flex-direction: column; align-items: flex-start; }
  .work__grid { grid-template-columns: 1fr; row-gap: 56px; }
  .project--offset { margin-top: 0; }

  .faq__grid { grid-template-columns: 1fr; gap: 40px; }
  .faq__intro { position: relative; top: 0; }

  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__col--lead { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .hero { min-height: 680px; }
  .hero__collage { font-size: 8px; }
  .hero__content { justify-content: flex-start; padding-top: 128px; }
  .hero__eyebrow { margin-bottom: 20px; }
  .hero__sub { font-size: 16px; margin-top: 20px; }
  .hero__ctas { margin-top: 28px; }
  .hero__scroll { display: none; }
  .f-azur, .f-mist, .f-dots, .f-ai, .f-star--2 { display: none; }
  .f-site { left: -5%; top: auto; bottom: 2.5%; }
  .f-sea { right: -4%; top: auto; bottom: 6%; }
  .f-peri { left: -6%; bottom: -2%; }
  .f-note { display: none; }

  .quotes__card { padding: 64px 24px 40px; }
  .cta__panel { padding: 88px 20px; }
  .cta__scrap--1 { width: 110px; height: 90px; }
  .cta__scrap--2 { width: 90px; height: 110px; }
  .cta__scrap--3 { display: none; }
  .faq__item summary { font-size: 18px; }
  .faq__body p { padding-right: 0; }

  .footer__top { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 640px) {
  .nav__cta { display: none; }
  .nav__burger { margin-left: auto; }
  .stats__grid { grid-template-columns: 1fr; }
  .stat { border-left: 0 !important; padding-left: 0; border-bottom: 1px solid var(--color-ash); }
  .stat:last-child { border-bottom: 0; }
  .visual { min-height: 300px; }
  .v-phone, .v-pill--2 { display: none; }
  .v-browser, .v-ad, .v-board { width: 84%; }
}

@media (max-width: 720px) and (max-height: 760px) {
  .f-site, .f-sea, .f-peri { display: none; }
}

@media (max-height: 700px) and (min-width: 721px) {
  .hero__collage { font-size: clamp(8px, .85vw, 12px); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .loader { display: none; }
}

/* =========================================================
   PAGES INTÉRIEURES
   ========================================================= */

/* ---------- Page transition curtain ---------- */
.pt { position: fixed; inset: 0; z-index: 390; pointer-events: none; visibility: hidden; transform: translateY(110%); }
.js .pt { visibility: visible; transform: none; }
.pt__panel { position: absolute; inset: 0; background: var(--color-canvas); display: grid; place-items: center; }
.pt__panel::after { content: ""; position: absolute; inset: 0; background-image: var(--dots); background-size: 22px 22px; }
.pt__symbol { position: relative; z-index: 1; width: 76px; height: auto; overflow: visible; }
.pt__symbol circle, .ico-symbol circle { fill: var(--color-accent); }
.pt__symbol line, .ico-symbol line { fill: none; stroke: var(--color-accent); stroke-width: 94; stroke-linecap: round; }
.pt .torn-edge { background: var(--color-night); height: 28px; }
.pt__edge--top { top: -27px; }
.pt__edge--bottom { bottom: -27px; }

/* ---------- Page hero ---------- */
.hero--page { height: 88vh; height: 88svh; min-height: 640px; max-height: 940px; }
.hero--compact { height: 72vh; height: 72svh; min-height: 560px; max-height: 780px; }
.hero--page .hero__title { font-size: clamp(42px, 5.4vw, 84px); max-width: 12em; }
.hero--page .hero__sub { max-width: 600px; }
.crumbs {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-subtle);
  font-size: 14px; font-weight: 500; color: var(--color-graphite);
  margin-bottom: 28px;
}
.crumbs a { color: var(--color-ink); transition: color .3s; }
.crumbs a:hover { color: var(--color-accent-ink); }
.crumbs i { width: 4px; height: 4px; border-radius: 50%; background: var(--color-accent); }

/* collage objects for page heroes */
.polaroid { background: var(--surface); padding: .7em .7em 0; border-radius: .35em; box-shadow: var(--shadow-xl); }
.polaroid img { width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; border-radius: .2em; background: var(--color-cloud); }
.polaroid figcaption { display: flex; justify-content: space-between; padding: .75em .25em .95em; font-size: .9em; font-weight: 500; color: var(--color-graphite); }
.polaroid figcaption b { color: var(--color-ink); font-weight: 500; }
.pin-card { display: flex; align-items: center; gap: .8em; padding: 1em 1.2em 1em 1em; border-radius: 1em; }
.pin-card__ico { flex-shrink: 0; width: 2.6em; height: 2.6em; border-radius: 50%; background: var(--color-accent); display: grid; place-items: center; }
.pin-card__ico svg { width: 1.3em; height: 1.3em; fill: none; stroke: var(--color-night); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pin-card b { display: block; font-size: .95em; font-weight: 600; }
.pin-card span { font-size: .8em; color: var(--color-graphite); }
.tile { display: flex; flex-direction: column; gap: .8em; padding: 1.1em 1.2em 1.2em; border-radius: 1em; }
.tile__ico { width: 3em; height: 3em; border-radius: .9em; display: grid; place-items: center; background: var(--color-azur); }
.tile__ico--accent { background: var(--color-accent); }
.tile__ico--peri { background: var(--color-periwinkle); }
.tile__ico--night { background: var(--color-night); }
.tile__ico--night svg { stroke: var(--color-white); }
.tile__ico svg { width: 1.5em; height: 1.5em; fill: none; stroke: var(--color-night); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tile b { font-size: 1.05em; font-weight: 500; line-height: 1.2; }
.tile span { font-size: .8em; color: var(--color-graphite); }
.mini-avatars { display: flex; }
.mini-avatars i { width: 2em; height: 2em; border-radius: 50%; border: 2px solid var(--color-white); margin-left: -.5em; display: grid; place-items: center; font-style: normal; font-size: .8em; font-weight: 600; }
.mini-avatars i:first-child { margin-left: 0; background: var(--color-azur); }
.mini-avatars i:nth-child(2) { background: var(--color-periwinkle); }
.mini-avatars i:nth-child(3) { background: var(--color-night); color: var(--color-white); }
.letter { padding: 1.3em 1.4em 1.5em; border-radius: .35em; background: var(--surface) var(--noise-soft); box-shadow: var(--shadow-xl); }
.letter p { font-size: .95em; font-weight: 500; }
.letter__lines span { display: block; height: .45em; border-radius: 1em; background: var(--color-cloud); margin-top: .65em; }
.letter__lines span:nth-child(2) { width: 86%; }
.letter__lines span:nth-child(3) { width: 64%; }
.letter__sign { margin-top: 1.1em; font-size: .9em; font-weight: 500; color: var(--color-accent-ink); }
.call-card { display: flex; align-items: center; gap: .9em; padding: 1em 1.2em 1em 1em; border-radius: 1.2em; }
.call-card__btn { position: relative; flex-shrink: 0; width: 2.8em; height: 2.8em; border-radius: 50%; background: var(--color-success); display: grid; place-items: center; }
.call-card__btn::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--color-success); animation: ring 1.8s infinite var(--ease-out); }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.8); opacity: 0; } }
.call-card__btn svg { width: 1.3em; height: 1.3em; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.call-card b { display: block; font-size: .95em; font-weight: 600; }
.call-card span { font-size: .8em; color: var(--color-graphite); }
.cal-card { padding: 1em 1.1em 1.1em; border-radius: 1em; }
.cal-card__head { display: flex; justify-content: space-between; font-size: .85em; font-weight: 600; margin-bottom: .7em; }
.cal-card__head span { color: var(--color-graphite); font-weight: 500; }
.cal-card__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .3em; }
.cal-card__grid i { aspect-ratio: 1; border-radius: .35em; background: var(--color-linen); font-style: normal; font-size: .62em; display: grid; place-items: center; color: var(--color-graphite); }
.cal-card__grid i.is-on { background: var(--color-accent); color: var(--color-night); font-weight: 700; }
.cal-card__grid i.is-dim { opacity: .4; }

/* ---------- Shared bits ---------- */
.lead { font-size: clamp(21px, 1.9vw, 27px); line-height: 1.42; letter-spacing: -0.4px; color: var(--color-ink); }
.section--tight { padding-top: 40px; }
.icon-24 { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- À propos ---------- */
.about-intro__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 96px; align-items: start; }
.about-intro__media { position: sticky; top: 120px; }
.about-intro__paper { position: absolute; inset: -22px -20px; }
.about-intro__frame { position: relative; aspect-ratio: 4 / 4.8; border-radius: var(--radius-3xl); overflow: hidden; box-shadow: var(--shadow-xl); background: var(--color-cloud); }
.about-intro__frame img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; }
.about-intro__chip { position: absolute; right: -28px; bottom: 48px; display: flex; align-items: center; gap: 12px; padding: 14px 18px 14px 14px; border-radius: 18px; }
.about-intro__chip svg.ico-symbol { width: 36px; height: 32px; overflow: visible; }
.about-intro__chip b { display: block; font-size: 15px; font-weight: 600; }
.about-intro__chip span { font-size: 13px; color: var(--color-graphite); }
.about-intro__text { display: flex; flex-direction: column; gap: 28px; padding-top: 24px; }
.about-intro__text > p:not(.lead):not(.eyebrow) { font-size: 18px; line-height: 1.65; color: var(--color-graphite); }
.signature { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.signature svg { width: 42px; height: 38px; overflow: visible; }
.signature b { display: block; font-weight: 600; }
.signature span { font-size: 14px; color: var(--color-graphite); }

.values__grid { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.value { position: relative; }
.value__paper { position: absolute; inset: -10px -8px; }
.value__card { position: relative; height: 100%; min-height: 360px; padding: 32px 28px; border-radius: var(--radius-3xl); display: flex; flex-direction: column; gap: 16px; }
.value__ico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--color-night); color: var(--color-accent); }
.value__ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.value__title { font-family: var(--font-display); font-weight: 400; font-size: 30px; line-height: 1.1; letter-spacing: -0.02em; margin-top: 12px; }
.value__card p { color: var(--color-graphite); }
.value__num { margin-top: auto; font-size: 14px; font-weight: 500; color: var(--color-stone); }

.diff__list { margin-top: 48px; }
.diff__row { position: relative; display: grid; grid-template-columns: 110px 1fr 1.1fr; gap: 40px; align-items: baseline; padding: 44px 0; }
.diff__line { position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--color-ash); transform-origin: left; }
.diff__row:last-child { border-bottom: 1px solid var(--color-ash); }
.diff__num { font-size: 15px; font-weight: 500; color: var(--color-accent-ink); }
.diff__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 3vw, 44px); line-height: 1.08; letter-spacing: -0.03em; transition: transform .6s var(--ease-out), color .4s; }
.diff__row:hover .diff__title { transform: translateX(10px); color: var(--color-accent-ink); }
.diff__row p { font-size: 17px; color: var(--color-graphite); max-width: 460px; }

.office__card { display: grid; grid-template-columns: 1.15fr 1fr; border-radius: var(--radius-3xl); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-xl); }
.office__media { position: relative; min-height: 480px; border-radius: 0 !important; box-shadow: none !important; }
.office__media img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; }
.office__info { padding: 56px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.office__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(34px, 3.4vw, 48px); line-height: 1.05; letter-spacing: -0.03em; }
.office__rows { width: 100%; display: flex; flex-direction: column; }
.office__row { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-top: 1px solid var(--color-ash); font-size: 16px; }
.office__row span:first-child { color: var(--color-graphite); }
.office__row a, .office__row span:last-child { font-weight: 500; text-align: right; }
.office__row a:hover { color: var(--color-accent-ink); }
.office__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* ---------- Services ---------- */
.svc-wrap { position: relative; }
.subnav { position: sticky; top: 92px; z-index: 60; display: flex; justify-content: center; padding: 0 16px; pointer-events: none; transition: transform .6s var(--ease-out); }
.nav-hidden .subnav { transform: translateY(-76px); }
.subnav__inner {
  pointer-events: auto; position: relative;
  display: inline-flex; gap: 2px; padding: 6px;
  max-width: 100%; overflow-x: auto; scrollbar-width: none;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md-2);
}
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav a { position: relative; z-index: 1; padding: 9px 18px; border-radius: var(--radius-pill); font-size: 14px; font-weight: 500; color: var(--color-graphite); white-space: nowrap; transition: color .4s; }
.subnav a:hover { color: var(--color-ink); }
.subnav a.is-active { color: var(--color-white); }
.subnav__ind { position: absolute; z-index: 0; top: 6px; left: 0; height: calc(100% - 12px); border-radius: var(--radius-pill); background: var(--color-night); }

.svc { padding: 80px 0; }
.svc + .svc { padding-top: 40px; }
.svc__grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 80px; align-items: start; }
.svc--rev .svc__text { order: 2; }
.svc__visual-wrap { position: sticky; top: 170px; }
.svc__visual-wrap .visual { min-height: 520px; box-shadow: var(--shadow-xl); }
.svc__text { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.svc__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 4.4vw, 64px); line-height: 1.02; letter-spacing: -0.03em; }
.svc__sub { font-size: 14px; font-weight: 600; color: var(--color-ink); margin-top: 12px; }
.checks { width: 100%; display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--color-ash); font-size: 16px; line-height: 1.4; }
.checks li::before {
  content: ""; flex: 0 0 20px; height: 20px; margin-top: 1px; border-radius: 50%;
  background: var(--color-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1220' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.svc__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

.offers__grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.offer { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 36px 32px; border-radius: var(--radius-3xl); }
.offer--featured { background: var(--color-night); color: var(--color-white); transform: translateY(-16px); }
.offer > .chip { align-self: flex-start; }
.offer__title { font-family: var(--font-display); font-weight: 400; font-size: 32px; line-height: 1.1; letter-spacing: -0.02em; }
.offer > p { color: var(--color-graphite); }
.offer--featured > p { color: rgba(252, 252, 254, .7); }
.offer ul { display: flex; flex-direction: column; }
.offer li { display: flex; gap: 10px; padding: 11px 0; border-top: 1px solid var(--color-ash); font-size: 15px; }
.offer li::before { content: "✶"; color: var(--color-accent-ink); }
.offer--featured li { border-color: rgba(252, 252, 254, .12); }
.offer--featured li::before { color: var(--color-accent); }
.offer__foot { margin-top: auto; padding-top: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.offer__price { font-size: 14px; color: var(--color-graphite); }
.offer--featured .offer__price { color: rgba(252, 252, 254, .6); }
.offer--featured .btn--pill { background: var(--color-accent); color: var(--color-night); }

/* ---------- Contact ---------- */
.contact { padding-top: 32px; }
.contact__grid { display: grid; grid-template-columns: 1fr 1.55fr; gap: 48px; align-items: start; }
.contact__aside { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 16px; }
.info-card { display: flex; gap: 16px; align-items: flex-start; padding: 24px; border-radius: 20px; }
.info-card__ico { flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--color-azur); }
.info-card__ico svg { width: 22px; height: 22px; fill: none; stroke: var(--color-night); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.info-card__label { font-size: 13px; font-weight: 500; color: var(--color-graphite); }
.info-card__value { display: block; font-size: 19px; font-weight: 500; letter-spacing: -0.3px; line-height: 1.35; overflow-wrap: anywhere; transition: color .3s; }
a.info-card__value:hover { color: var(--color-accent-ink); }
.info-card__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.mini-btn { font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: var(--radius-pill); border: 1px solid var(--color-ash); background: var(--color-linen); transition: background-color .3s, border-color .3s; }
.mini-btn:hover { background: var(--surface); border-color: var(--color-stone); }
.contact__note { display: flex; gap: 14px; align-items: center; padding: 20px 24px; border-radius: 20px; background: var(--color-night); color: var(--color-white); font-size: 15px; }
.contact__note .eyebrow__dot { flex-shrink: 0; }
.contact__note span { color: rgba(252, 252, 254, .7); }

.form-wrap { position: relative; }
.form-wrap__paper { position: absolute; inset: -18px -16px; }
.form-card { position: relative; padding: 48px; border-radius: 28px; overflow: hidden; }
.form__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(32px, 3vw, 44px); line-height: 1.05; letter-spacing: -0.03em; }
.form__intro { color: var(--color-graphite); margin-top: 10px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; border: 0; }
.field--full { grid-column: 1 / -1; }
.field > label, .field > legend { font-size: 14px; font-weight: 500; }
.field > legend { margin-bottom: 8px; }
.field .opt { color: var(--color-stone); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--color-ink);
  padding: 14px 16px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-ash);
  background: var(--color-linen);
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A4F63' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
  padding-right: 44px;
}
.field input::placeholder, .field textarea::placeholder { color: var(--color-stone); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--color-stone); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--color-accent); background: var(--surface); box-shadow: 0 0 0 4px rgba(56, 190, 252, .22); }
.field__err { display: none; font-size: 13px; color: #D93036; }
.is-invalid .field__err { display: block; }
.is-invalid input, .is-invalid textarea, .is-invalid select { border-color: #E5484D; background: #FFF7F7; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-check { position: relative; }
.pill-check input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.pill-check span { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: var(--radius-pill); border: 1px solid var(--color-ash); background: var(--color-linen); font-size: 14px; font-weight: 500; cursor: pointer; transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease-out); }
.pill-check span:hover { border-color: var(--color-stone); background: var(--surface); }
.pill-check input:checked + span { background: var(--color-night); color: var(--color-white); border-color: var(--color-night); }
.pill-check input:checked + span::before { content: "✓"; color: var(--color-accent); }
.pill-check input:focus-visible + span { box-shadow: 0 0 0 4px rgba(56, 190, 252, .3); }
/* sending states */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__alert { display: flex; flex-direction: column; gap: 4px; margin-top: 24px; padding: 16px 18px; border-radius: var(--radius-xl); background: #FFF4F4; border: 1px solid #F5C2C2; font-size: 15px; color: var(--color-graphite); }
.form__alert[hidden] { display: none; }
.form__alert strong { color: #B4232A; font-weight: 600; }
.form__alert a { color: var(--color-ink); text-decoration: underline; text-underline-offset: 3px; }
.form__submit:disabled { cursor: progress; opacity: .85; }
.form__spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(252, 252, 254, .35); border-top-color: var(--color-white); animation: spin .8s linear infinite; }
.is-sending .form__spinner { display: inline-block; }
.is-sending .form__submit svg { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.form__success:focus { outline: none; }
.consent { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--color-graphite); line-height: 1.5; }
.consent input { flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--color-night); cursor: pointer; }
.consent a { color: var(--color-ink); text-decoration: underline; text-underline-offset: 3px; }
.consent .field__err { margin-top: 4px; }
.form__foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 28px; }
.form__foot small { font-size: 13px; color: var(--color-graphite); }
.form__success {
  position: absolute; inset: 0; z-index: 2;
  visibility: hidden; opacity: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  padding: 48px; text-align: center;
  background: var(--surface);
}
.form__success svg { width: 92px; height: 92px; overflow: visible; }
.success__ring { fill: var(--color-accent); }
.success__tick { fill: none; stroke: var(--color-night); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; }
.form__success h3 { font-family: var(--font-display); font-weight: 400; font-size: 36px; letter-spacing: -0.03em; }
.form__success p { color: var(--color-graphite); max-width: 420px; }

.map__wrap { position: relative; }
.map__paper { position: absolute; inset: -20px -18px; }
.map__frame {
  position: relative; height: 540px;
  display: grid; grid-template-columns: 1fr 1.3fr; align-items: center;
  border-radius: var(--radius-3xl); overflow: hidden; box-shadow: var(--shadow-xl);
  background: var(--gradient-sky);
}
.map__frame::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .4) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .4) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 70% at 65% 50%, #000 25%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 65% 50%, #000 25%, transparent 80%);
}
.map__frame::after { content: ""; position: absolute; inset: 0; background-image: var(--noise); opacity: .25; mix-blend-mode: multiply; pointer-events: none; }
.map__intro { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 56px; }
.map__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(32px, 3.4vw, 48px); line-height: 1.06; letter-spacing: -0.03em; }
.map__title em { font-style: normal; color: var(--color-accent-ink); white-space: nowrap; }
.map__text { color: var(--color-graphite); max-width: 320px; }
.map__scrap { position: absolute; z-index: 1; filter: drop-shadow(0 14px 20px rgba(0, 0, 0, .07)); }
.map__scrap--1 { width: 220px; height: 160px; right: 5%; top: 7%; transform: rotate(8deg); }
.map__scrap--2 { width: 180px; height: 130px; left: 40%; bottom: 6%; transform: rotate(-6deg); }
.map__star { position: absolute; z-index: 1; right: 9%; bottom: 13%; font-size: 30px; line-height: 1; color: var(--color-accent); }

/* ---------- Carte de localisation extensible ---------- */
.lmap { position: absolute; left: 32px; bottom: 40px; z-index: 3; --w: 260px; --h: 150px; --W: 380px; --H: 300px; perspective: 1000px; }
.map__frame .lmap { position: relative; left: auto; bottom: auto; justify-self: center; --w: 300px; --h: 170px; --W: 520px; --H: 360px; }
.lmap__card {
  position: relative; width: var(--w); height: var(--h);
  border-radius: 20px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--color-ash);
  box-shadow: var(--shadow-xl);
  transform-style: preserve-3d;
  transition: box-shadow .4s;
}
.lmap.is-hover .lmap__card { box-shadow: var(--shadow-md); }
.lmap__card::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(135deg, rgba(56, 190, 252, .09), transparent 45%, rgba(11, 18, 32, .04)); }
.lmap__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(11, 18, 32, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 18, 32, .06) 1px, transparent 1px); background-size: 20px 20px; }
.lmap__plan { position: absolute; inset: 0; opacity: 0; visibility: hidden; pointer-events: none; }
.lmap__plan-bg { position: absolute; inset: 0; background: #EDF1F6; }
.lmap__roads { position: absolute; inset: 0; width: 100%; height: 100%; }
.lmap__roads line { fill: none; stroke-linecap: round; stroke-dasharray: 420 2000; stroke-dashoffset: 420; }
.lmap__road--main { stroke: rgba(11, 18, 32, .2); stroke-width: 4; }
.lmap__road--mid { stroke: rgba(11, 18, 32, .15); stroke-width: 3; }
.lmap__road--sub { stroke: rgba(11, 18, 32, .08); stroke-width: 1.5; }
.lmap__route { stroke: var(--color-accent); stroke-width: 3; }
.lmap__bld { position: absolute; border-radius: 3px; background: rgba(201, 214, 247, .75); border: 1px solid rgba(184, 202, 245, .9); }
.lmap__bld:nth-of-type(even) { background: rgba(196, 235, 254, .8); border-color: rgba(56, 190, 252, .25); }
.lmap__pulse { position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: rgba(56, 190, 252, .4); animation: lmapPulse 2s infinite var(--ease-out); }
@keyframes lmapPulse { from { transform: scale(1); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }
.lmap__pin { position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -31px 0 0 -17px; overflow: visible; filter: drop-shadow(0 0 10px rgba(56, 190, 252, .55)); }
.lmap__pin path { fill: var(--color-accent); }
.lmap__pin circle { fill: var(--color-white); }
.lmap__fade { position: absolute; inset: 0; background: linear-gradient(to top, var(--color-white) 0%, rgba(252, 252, 254, .75) 22%, transparent 55%); }
.lmap__content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: 18px 20px; pointer-events: none; }
.lmap__top { display: flex; justify-content: space-between; align-items: flex-start; }
.lmap__icon { width: 20px; height: 20px; fill: none; stroke: var(--color-accent-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 4px rgba(56, 190, 252, .35)); transition: filter .3s; }
.lmap.is-hover .lmap__icon { filter: drop-shadow(0 0 8px rgba(56, 190, 252, .75)); }
.lmap__status {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 9px; border-radius: var(--radius-pill);
  background: rgba(11, 18, 32, .05); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--color-graphite);
  transition: transform .25s, background-color .25s;
}
.lmap__status sup { font-size: .7em; text-transform: none; }
.lmap.is-hover .lmap__status { transform: scale(1.05); background: rgba(11, 18, 32, .08); }
.lmap__status i { width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent); box-shadow: 0 0 0 3px rgba(56, 190, 252, .2); }
.lmap__title { font-size: 15px; font-weight: 500; letter-spacing: -0.2px; transition: transform .5s var(--ease-out); }
.lmap.is-hover .lmap__title { transform: translateX(4px); }
.lmap__sub { height: 0; opacity: 0; overflow: hidden; font-size: 12.5px; color: var(--color-graphite); }
.lmap__line { display: block; height: 1px; margin-top: 8px; background: linear-gradient(90deg, var(--color-accent), rgba(56, 190, 252, .3), transparent); transform-origin: left; transform: scaleX(.3); transition: transform .45s ease-out; }
.lmap.is-hover .lmap__line, .lmap.is-open .lmap__line { transform: scaleX(1); }
.lmap__toggle { position: absolute; inset: 0; z-index: 3; width: 100%; border-radius: 20px; cursor: pointer; }
.lmap__toggle:focus-visible { outline: 2px solid var(--color-accent); outline-offset: -3px; }
.lmap__link {
  position: absolute; right: 16px; bottom: 16px; z-index: 4;
  padding: 7px 13px; border-radius: var(--radius-pill);
  background: var(--color-night); color: var(--color-white);
  font-size: 12.5px; font-weight: 500;
  opacity: 0; visibility: hidden;
  transition: background-color .3s;
}
.lmap__link:hover { background: var(--color-accent); color: var(--color-night); }
.lmap__hint { position: absolute; left: 50%; bottom: -24px; transform: translate(-50%, 4px); font-size: 11px; font-weight: 500; color: var(--color-graphite); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.lmap.is-hover:not(.is-open) .lmap__hint { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Mentions légales ---------- */
.legal { padding-top: 40px; }
.legal__grid { display: grid; grid-template-columns: 240px 1fr; gap: 72px; align-items: start; }
.legal__toc { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 2px; border-left: 1px solid var(--color-ash); }
.legal__toc a { padding: 8px 0 8px 18px; margin-left: -1px; border-left: 2px solid transparent; font-size: 14px; color: var(--color-graphite); transition: color .3s, border-color .3s; }
.legal__toc a:hover { color: var(--color-ink); }
.legal__toc a.is-active { color: var(--color-ink); border-left-color: var(--color-accent); font-weight: 500; }
.legal__body { max-width: 760px; }
.legal__body section { scroll-margin-top: 120px; }
.legal__body section + section { margin-top: 64px; }
.legal__body h2 { font-family: var(--font-display); font-weight: 400; font-size: 32px; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 18px; }
.legal__body p, .legal__body li { font-size: 17px; line-height: 1.7; color: var(--color-graphite); }
.legal__body p + p { margin-top: 12px; }
.legal__body ul { list-style: disc; padding-left: 22px; margin-top: 10px; }
.legal__body strong { color: var(--color-ink); font-weight: 500; }
.legal__body a { color: var(--color-ink); text-decoration: underline; text-underline-offset: 3px; }
.todo { background: rgba(56, 190, 252, .2); color: var(--color-ink); border-radius: 6px; padding: 1px 6px; font-weight: 500; }
.legal__updated { margin-top: 64px; font-size: 14px; color: var(--color-stone); }

/* ---------- Responsive (inner pages) ---------- */
@media (max-width: 1100px) {
  .values__grid { grid-template-columns: 1fr 1fr; gap: 36px 28px; }
  .offers__grid { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .offer--featured { transform: none; }
}
@media (max-width: 960px) {
  .about-intro__grid, .svc__grid, .contact__grid, .legal__grid { grid-template-columns: 1fr; gap: 48px; }
  .about-intro__media, .svc__visual-wrap, .contact__aside { position: relative; top: 0; }
  .about-intro__chip { right: 12px; }
  .svc--rev .svc__text { order: 0; }
  .svc { padding: 56px 0; }
  .svc__visual-wrap .visual { min-height: 400px; }
  .diff__row { grid-template-columns: 1fr; gap: 12px; padding: 32px 0; }
  .office__card { grid-template-columns: 1fr; }
  .office__media { min-height: 300px; }
  .office__info { padding: 32px 24px; }
  .legal__toc { display: none; }
  .subnav { top: 84px; }
}
@media (max-width: 720px) {
  .hero--page .float:not(.float--sm), .hero--page .float--sm:has(.paper) { display: none; }
  .hero--page .hero__content { justify-content: center; padding-top: 110px; }
  .hero--page, .hero--compact { min-height: 600px; height: 80svh; }
  .values__grid { grid-template-columns: 1fr; }
  .value__card { min-height: 0; }
  .checks { grid-template-columns: 1fr; }
  .form-card { padding: 28px 20px; border-radius: 22px; }
  .form__grid { grid-template-columns: 1fr; }
  .map__frame { height: auto; grid-template-columns: 1fr; padding-bottom: 56px; }
  .map__intro { padding: 36px 24px 28px; }
  .map__frame .lmap { min-height: 320px; display: flex; align-items: center; --w: 260px; --h: 150px; --W: 340px; --H: 300px; }
  .map__scrap--1 { width: 140px; height: 100px; top: auto; bottom: 4%; right: -4%; }
  .map__scrap--2, .map__star { display: none; }
  .subnav { padding: 0 12px; }
}

/* ---------- Pages sans hero : le premier bloc dégage le menu fixe ---------- */
main > .section:first-child:not(.hero) { padding-top: 136px; }
main > .svc-wrap:first-child { padding-top: 112px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 960px) {
  main > .section:first-child:not(.hero) { padding-top: 112px; }
  main > .svc-wrap:first-child { padding-top: 100px; }
}

/* ---------- Visuels produits : aplats de couleur de marque (sans papier) ---------- */
.visual--azur { background-color: var(--color-azur); }
.visual--peri { background-color: var(--color-periwinkle); }
.visual--accent { background-color: var(--color-accent); }
.visual--night { background-color: var(--color-night); background-image: radial-gradient(rgba(252, 252, 254, .14) 1px, transparent 1.4px); }

/* =========================================================
   INTERRUPTEUR CLAIR / SOMBRE
   ========================================================= */
.nav__tools { display: flex; align-items: center; gap: 12px; }
.theme-toggle {
  position: relative; flex-shrink: 0;
  display: flex; align-items: center; justify-content: space-between;
  width: 64px; height: 32px; padding: 0 3px;
  border-radius: var(--radius-pill);
  background: var(--surface); border: 1px solid var(--color-ash);
  transition: background-color .3s, border-color .3s, box-shadow .3s;
}
.theme-toggle:hover { box-shadow: var(--shadow-md-2); }
.theme-toggle:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.theme-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tt__slot { width: 24px; height: 24px; display: grid; place-items: center; color: var(--color-stone); }
.tt__knob {
  position: absolute; top: 3px; left: 3px;
  width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--color-cloud); color: #374151;
  transform: translateX(32px);
  transition: transform .35s var(--ease-out), background-color .3s, color .3s;
}
.tt__knob .tt__moon { display: none; }
[data-theme="dark"] .tt__knob { transform: translateX(0); background: #27324A; color: #FFFFFF; }
[data-theme="dark"] .tt__knob .tt__sun { display: none; }
[data-theme="dark"] .tt__knob .tt__moon { display: block; }

/* transition circulaire entre les thèmes (View Transitions) */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

/* =========================================================
   MODE SOMBRE
   ========================================================= */
html[data-theme="dark"] {
  color-scheme: dark;
  --color-canvas: #070B14;
  --surface: #101828;
  --color-linen: #141E31;
  --color-cloud: #1B263B;
  --color-ash: #26324A;
  --color-stone: #69738C;
  --color-graphite: #A6AEC2;
  --color-ink: #EEF2F8;
  --color-night: #1A2540;
  --color-accent-ink: #5CCBFF;
  --color-azur: #12344D;
  --color-periwinkle: #262F57;
  --color-mist: #1C2538;
  --gradient-sky: linear-gradient(180deg, #0D2238 0%, #0A1628 60%, #070B14 100%);
  --dots: radial-gradient(rgba(238, 242, 248, .1) 1px, transparent 1.4px);
  --shadow-xl: 0 30px 60px rgba(0, 0, 0, .45), 0 4px 14px rgba(0, 0, 0, .35);
  --shadow-md: 0 12px 24px rgba(0, 0, 0, .45);
  --shadow-md-2: 0 4px 16px rgba(0, 0, 0, .45);
  --shadow-sm: 0 4px 8px rgba(0, 0, 0, .4);
  --shadow-subtle: 0 1px 3px rgba(0, 0, 0, .5), 0 0 0 1px rgba(238, 242, 248, .05);
}
[data-theme="dark"] .btn--pill { background: var(--color-accent); color: #06101C; }
[data-theme="dark"] .btn--ghost { border-color: rgba(238, 242, 248, .16); background: rgba(16, 24, 40, .5); }
[data-theme="dark"] .nav__bar { background: rgba(16, 24, 40, .72); }
[data-theme="dark"] .nav__burger { background: var(--color-accent); }
[data-theme="dark"] .nav__burger span { background: #06101C; }
[data-theme="dark"] .hero__eyebrow,
[data-theme="dark"] .crumbs { background: rgba(16, 24, 40, .72); }
[data-theme="dark"] .subnav__inner { background: rgba(16, 24, 40, .85); }
[data-theme="dark"] .hero__grid,
[data-theme="dark"] .map__frame::before { background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); }
[data-theme="dark"] .hero__glow { background: radial-gradient(closest-side, rgba(56, 190, 252, .14), rgba(56, 190, 252, 0)); }
[data-theme="dark"] .f-star--2 .star,
[data-theme="dark"] .marquee__row i:nth-of-type(2n) { color: var(--color-ink); }
[data-theme="dark"] .sk-img { background: linear-gradient(135deg, #12344D, #0F2236); }
[data-theme="dark"] .sk-img::after { background: rgba(255, 255, 255, .12); }
[data-theme="dark"] .flow__node--ai { background: #1B2747; border-color: #263563; }
[data-theme="dark"] .flow__node--ok { background: #0F2B26; border-color: #174438; }
[data-theme="dark"] .v-score circle { stroke: #17324A; }
[data-theme="dark"] .v-score .v-score__arc { stroke: var(--color-accent); }
[data-theme="dark"] .v-chat__msg--in { background: var(--color-accent); color: #06101C; }
[data-theme="dark"] .footer { background: #0C1424; border-top: 1px solid var(--color-ash); }
[data-theme="dark"] .contact__note { border: 1px solid var(--color-ash); }
[data-theme="dark"] .is-invalid input,
[data-theme="dark"] .is-invalid textarea,
[data-theme="dark"] .is-invalid select { background: #2A1418; }
[data-theme="dark"] .field__err { color: #FF8A8A; }
[data-theme="dark"] .form__alert { background: #2A1418; border-color: #5A2329; }
[data-theme="dark"] .form__alert strong { color: #FF8A8A; }
[data-theme="dark"] .field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A6AEC2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); }
[data-theme="dark"] .lmap__plan-bg { background: #0E1729; }
[data-theme="dark"] .lmap__grid { background-image: linear-gradient(rgba(238, 242, 248, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(238, 242, 248, .06) 1px, transparent 1px); }
[data-theme="dark"] .lmap__road--main { stroke: rgba(238, 242, 248, .22); }
[data-theme="dark"] .lmap__road--mid { stroke: rgba(238, 242, 248, .16); }
[data-theme="dark"] .lmap__road--sub { stroke: rgba(238, 242, 248, .08); }
[data-theme="dark"] .lmap__bld { background: rgba(38, 47, 87, .8); border-color: rgba(92, 120, 200, .35); }
[data-theme="dark"] .lmap__bld:nth-of-type(even) { background: rgba(18, 52, 77, .85); border-color: rgba(56, 190, 252, .25); }
[data-theme="dark"] .lmap__fade { background: linear-gradient(to top, var(--surface) 0%, rgba(16, 24, 40, .75) 22%, transparent 55%); }
[data-theme="dark"] .lmap__status { background: rgba(238, 242, 248, .06); }
[data-theme="dark"] .lmap__link { background: var(--color-accent); color: #06101C; }
[data-theme="dark"] .pill-check input:checked + span { background: var(--color-accent); color: #06101C; border-color: var(--color-accent); }
[data-theme="dark"] .pill-check input:checked + span::before { color: #06101C; }
[data-theme="dark"] .subnav a.is-active { color: var(--color-ink); }
[data-theme="dark"] ::selection { color: #06101C; }
[data-theme="dark"] .info-card__ico svg,
[data-theme="dark"] .tile__ico:not(.tile__ico--accent) svg { stroke: var(--color-accent); }

/* =========================================================
   HARMONISATION DES COULEURS
   ========================================================= */
/* Fonds des maquettes : 4 teintes du bleu de marque, même intensité */
.visual--azur   { background-color: #D3F0FE; background-image: var(--dots); }
.visual--night  { background-color: #E1E7F2; background-image: var(--dots); }
.visual--peri   { background-color: #DFE4FA; background-image: var(--dots); }
.visual--accent { background-color: #CBEAFB; background-image: var(--dots); }
[data-theme="dark"] .visual--azur   { background-color: #11304A; }
[data-theme="dark"] .visual--night  { background-color: #19233A; }
[data-theme="dark"] .visual--peri   { background-color: #222B50; }
[data-theme="dark"] .visual--accent { background-color: #0E3650; }

/* Panneau d'appel à l'action : bleu vif en clair, version profonde en sombre */

/* Formule « Recommandé » : bien mise en avant en sombre */
[data-theme="dark"] .offer--featured {
  background: linear-gradient(180deg, #14263F 0%, #101C31 100%);
  border: 1px solid rgba(56, 190, 252, .55);
  box-shadow: 0 0 0 1px rgba(56, 190, 252, .15), 0 24px 60px rgba(56, 190, 252, .16), var(--shadow-xl);
}

/* ---------- Maquette SEO (résultat Google naturel + positions) ---------- */
.visual--seo { background-color: #D8F1F4; background-image: var(--dots); }
[data-theme="dark"] .visual--seo { background-color: #0F3038; }
.v-serp { left: 7%; top: 10%; width: 70%; padding: 1.2em; border-radius: 1em; }
.v-serp__res { display: flex; gap: .8em; align-items: flex-start; padding: .3em .2em .9em; }
.v-rank { flex-shrink: 0; width: 1.9em; height: 1.9em; border-radius: .6em; display: grid; place-items: center; background: var(--color-success); color: #fff; font-weight: 700; font-size: .9em; }
.v-ranks { right: 6%; bottom: 9%; width: 54%; padding: 1em 1.1em .9em; border-radius: 1em; }
.v-ranks ul { display: flex; flex-direction: column; margin-top: .3em; }
.v-ranks li { display: flex; justify-content: space-between; align-items: center; gap: .8em; padding: .5em 0; border-top: 1px solid var(--color-cloud); font-size: .82em; color: var(--color-graphite); }
.v-ranks li b { display: inline-flex; align-items: baseline; gap: .5em; font-weight: 600; color: var(--color-ink); }
.v-ranks li i { font-style: normal; font-size: .85em; font-weight: 600; color: var(--color-success); }
.scard__inner { min-height: min(560px, calc(100vh - 200px)); }

/* ---------- Maquette CRM (pipeline + fiche contact) ---------- */
.visual--crm { background-color: #E3E1F8; background-image: var(--dots); }
[data-theme="dark"] .visual--crm { background-color: #221F44; }
.v-pipe { font-size: 1.2em; left: 6%; top: 9%; width: 80%; padding: 1em 1.1em 1.1em; border-radius: 1em; }
.v-pipe__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6em; margin-top: .5em; }
.v-pipe__col { display: flex; flex-direction: column; gap: .45em; padding: .6em; border-radius: .7em; background: var(--color-linen); min-height: 9.5em; }
.v-pipe__col p { display: flex; justify-content: space-between; font-size: .72em; font-weight: 600; color: var(--color-graphite); }
.v-pipe__col p i { font-style: normal; color: var(--color-stone); }
.v-deal { display: flex; flex-direction: column; gap: .15em; padding: .55em .6em; border-radius: .5em; background: var(--surface); box-shadow: var(--shadow-subtle); font-size: .72em; font-weight: 500; }
.v-deal b { font-weight: 600; color: var(--color-accent-ink); }
.v-deal--won { box-shadow: inset 3px 0 0 var(--color-success), var(--shadow-subtle); }
.v-deal--won b { color: var(--color-success); }
.v-contact { right: 6%; bottom: 9%; display: flex; align-items: center; gap: .7em; padding: .8em 1em; border-radius: 1em; }
.v-contact__av { width: 2.3em; height: 2.3em; border-radius: 50%; display: grid; place-items: center; background: var(--color-accent); color: var(--color-night); font-size: .8em; font-weight: 700; }
.v-contact b { display: block; font-size: .85em; font-weight: 600; }
.v-contact span:not([class]) { font-size: .75em; color: var(--color-graphite); }
.v-contact div span { font-size: .75em; color: var(--color-graphite); }
.v-contact__ok { width: 1.4em; height: 1.4em; border-radius: 50%; display: grid; place-items: center; background: var(--color-success); color: #fff; font-size: .75em; }

/* Dernière section avant le pied de page (pages sans bloc d'appel final) */
main > .section:last-child { padding-bottom: 112px; }
main > .process:last-child { padding-bottom: 96px; }

/* Photo en calque transparent derrière le bloc « Prêt à donner forme… » */
.cta__paper::after {
  content: ""; position: absolute; inset: 0;
  background: url("../assets/images/cta-equipe.jpg") center / cover no-repeat;
  opacity: .28;
  mix-blend-mode: multiply;
  pointer-events: none;
}
[data-theme="dark"] .cta__paper::after { opacity: .26; mix-blend-mode: luminosity; }
.cta__paper::before { z-index: 1; }
/* Bloc « Prêt à donner forme… » : sans quadrillage */
.cta__paper::before { display: none; }

/* =========================================================
   ASSISTANT GUIDÉ (chatbot sans IA)
   ========================================================= */
.chatbot { position: fixed; right: 24px; bottom: 24px; z-index: 160; font-family: var(--font-sans); }
.chatbot__launcher {
  position: relative; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--color-night); color: var(--color-white);
  box-shadow: var(--shadow-md);
  transition: transform .4s var(--ease-out), box-shadow .3s;
}
[data-theme="dark"] .chatbot__launcher { background: var(--color-accent); color: #06101C; }
.chatbot__launcher:hover { transform: scale(1.06); }
.chatbot__launcher:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 4px; }
.chatbot__launcher::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--color-accent); animation: chatRing 2.6s infinite var(--ease-out); pointer-events: none; }
.is-open .chatbot__launcher::after { animation: none; opacity: 0; }
@keyframes chatRing { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.45); opacity: 0; } }
.chatbot__launcher-icon, .chatbot__launcher-close { position: absolute; display: grid; place-items: center; transition: transform .45s var(--ease-out), opacity .3s; }
.chatbot__launcher-icon svg { width: 28px; height: 25px; overflow: visible; }
.chatbot__launcher-icon circle { fill: var(--color-accent); }
.chatbot__launcher-icon line { fill: none; stroke: var(--color-accent); stroke-width: 94; stroke-linecap: round; }
[data-theme="dark"] .chatbot__launcher-icon circle { fill: #06101C; }
[data-theme="dark"] .chatbot__launcher-icon line { stroke: #06101C; }
.chatbot__launcher-close { opacity: 0; transform: rotate(-90deg) scale(.6); }
.chatbot__launcher-close svg, .chatbot__close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.is-open .chatbot__launcher-icon { opacity: 0; transform: rotate(90deg) scale(.6); }
.is-open .chatbot__launcher-close { opacity: 1; transform: none; }

.chatbot__teaser {
  position: absolute; right: 72px; bottom: 8px; width: 230px;
  padding: 14px 34px 14px 16px; border-radius: 18px 18px 4px 18px;
  background: var(--surface); color: var(--color-ink); box-shadow: var(--shadow-xl); border: 1px solid var(--color-ash);
  font-size: 14px; line-height: 1.45; cursor: pointer;
  opacity: 0; transform: translateY(8px) scale(.96); transform-origin: bottom right;
  transition: opacity .35s, transform .45s var(--ease-out);
}
.chatbot__teaser.is-in { opacity: 1; transform: none; }
.chatbot__teaser b { font-weight: 600; color: var(--color-accent-ink); }
.chatbot__teaser-close { position: absolute; top: 6px; right: 8px; width: 22px; height: 22px; border-radius: 50%; color: var(--color-stone); font-size: 16px; line-height: 1; }
.chatbot__teaser-close:hover { background: var(--color-cloud); color: var(--color-ink); }

.chatbot__panel {
  position: absolute; right: 0; bottom: 76px;
  width: 380px; height: min(600px, calc(100vh - 140px));
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--color-ash); border-radius: 24px;
  box-shadow: var(--shadow-xl), 0 30px 80px rgba(11, 18, 32, .18);
  overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.94); transform-origin: bottom right;
  transition: opacity .3s, transform .5s var(--ease-out), visibility 0s .5s;
}
.is-open .chatbot__panel { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .5s var(--ease-out), visibility 0s; }
.chatbot__head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 16px 18px; background: var(--color-night); color: var(--color-white); }
[data-theme="dark"] .chatbot__head { background: #0C1424; border-bottom: 1px solid var(--color-ash); }
.chatbot__avatar { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(56, 190, 252, .14); }
.chatbot__avatar svg { width: 22px; height: 20px; overflow: visible; }
.chatbot__avatar circle { fill: var(--color-accent); }
.chatbot__avatar line { fill: none; stroke: var(--color-accent); stroke-width: 94; stroke-linecap: round; }
.chatbot__head div { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.chatbot__head b { font-size: 15px; font-weight: 600; }
.chatbot__head div span { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: rgba(252, 252, 254, .65); }
.chatbot__head div span i { width: 7px; height: 7px; border-radius: 50%; background: var(--color-success); box-shadow: 0 0 0 3px rgba(0, 179, 134, .25); }
.chatbot__close { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: rgba(252, 252, 254, .8); transition: background-color .3s; }
.chatbot__close:hover { background: rgba(252, 252, 254, .1); color: #fff; }
.chatbot__close:focus-visible, .chatbot__opt:focus-visible, .chatbot__link:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

.chatbot__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 18px 16px 12px; display: flex; flex-direction: column; gap: 8px; background: var(--color-linen); }
.chatbot__msg {
  max-width: 85%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; white-space: pre-line;
  opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .4s var(--ease-out);
}
.chatbot__msg.is-in { opacity: 1; transform: none; }
.chatbot__msg--bot { align-self: flex-start; background: var(--surface); color: var(--color-ink); border: 1px solid var(--color-cloud); border-bottom-left-radius: 4px; }
.chatbot__msg--user { align-self: flex-end; background: var(--color-night); color: var(--color-white); border-bottom-right-radius: 4px; }
[data-theme="dark"] .chatbot__msg--user { background: var(--color-accent); color: #06101C; }
.chatbot__typing { align-self: flex-start; display: flex; gap: 4px; padding: 12px 14px; border-radius: 16px; border-bottom-left-radius: 4px; background: var(--surface); border: 1px solid var(--color-cloud); }
.chatbot__typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--color-stone); animation: typing 1.1s infinite; }
.chatbot__typing i:nth-child(2) { animation-delay: .15s; }
.chatbot__typing i:nth-child(3) { animation-delay: .3s; }
.chatbot__choices { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .4s var(--ease-out); }
.chatbot__choices.is-in { opacity: 1; transform: none; }
.chatbot__opt { padding: 8px 13px; border-radius: var(--radius-pill); border: 1px solid var(--color-ash); background: var(--surface); color: var(--color-ink); font-size: 13.5px; font-weight: 500; text-align: left; transition: border-color .25s, background-color .25s, color .25s; }
.chatbot__opt:hover { border-color: var(--color-accent); color: var(--color-accent-ink); }
.chatbot__link { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; border-radius: 14px; background: var(--color-night); color: var(--color-white); font-size: 14px; font-weight: 500; transition: background-color .25s, transform .3s var(--ease-out); }
.chatbot__link svg { width: 16px; height: 16px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease-out); }
.chatbot__link:hover svg { transform: translateX(3px); }
[data-theme="dark"] .chatbot__link { background: var(--color-accent); color: #06101C; }
.chatbot__foot { padding: 10px 16px; font-size: 12px; color: var(--color-stone); text-align: center; border-top: 1px solid var(--color-cloud); background: var(--surface); }
.chatbot__foot a { color: var(--color-graphite); text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 560px) {
  .chatbot { right: 16px; bottom: 16px; }
  .chatbot__panel { position: fixed; left: 12px; right: 12px; bottom: 88px; width: auto; height: min(560px, calc(100svh - 120px)); }
  .chatbot__teaser { width: 200px; }
}
@media (prefers-reduced-motion: reduce) {
  .chatbot__panel, .chatbot__msg, .chatbot__choices, .chatbot__teaser { transition: none; }
}

/* =========================================================
   RESPONSIVE — finitions (mobile, tablette, écrans courts, 21:9)
   ========================================================= */

/* --- Zones cliquables confortables sur écrans tactiles (≥ 44px) --- */
@media (hover: none), (max-width: 1023px) {
  .logo { padding: 7px 0; }
  .link-arrow { padding: 10px 0; }
  .menu__foot a { display: inline-block; padding: 8px 0; }
  .footer__col { gap: 2px; }
  .footer__col a { display: inline-block; padding: 8px 0; }
  .footer__bottom a, .footer__top-btn { display: inline-block; padding: 10px 0; }
  a.info-card__value { padding: 6px 0; }
  .mini-btn { padding: 10px 14px; }
  .crumbs a { padding: 10px 0; }
  .legal__body a, .faq__intro a, .consent a { padding: 4px 0; }
}

/* --- Petits téléphones (≤ 360px) --- */
@media (max-width: 360px) {
  :root { --gutter: 18px; }
  .hero__title { font-size: 38px; }
  .h2 { font-size: 32px; }
  .btn--lg { height: 50px; padding: 0 22px; font-size: 15px; }
  .theme-toggle { width: 56px; }
  .theme-toggle .tt__knob { transform: translateX(24px); }
  [data-theme="dark"] .theme-toggle .tt__knob { transform: translateX(0); }
  .logo__text { font-size: 19px; }
  .scard__inner, .form-card { padding: 20px 16px; }
}

/* --- Tablettes portrait (721–960px) : grilles plus aérées --- */
@media (min-width: 721px) and (max-width: 960px) {
  .hero__collage { font-size: 11px; }
  .values__grid { gap: 32px 24px; }
  .contact__aside { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .contact__note { grid-column: 1 / -1; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

/* --- Écrans courts en paysage (laptops 768–820px de haut) --- */
@media (min-width: 961px) and (max-height: 820px) {
  .process__pin { gap: 28px; padding-top: 76px; }
  .step { height: 340px; }
  .step__num { font-size: 52px; }
  .step__title { font-size: 30px; }
  .step--end { height: auto; }
  .process__track { padding-top: 20px; padding-bottom: 24px; }
  .scard { top: calc(96px + var(--i) * 14px); }
}

/* --- Grands écrans et ultra-larges (21:9) --- */
@media (min-width: 1101px) {
  .hero__collage { font-size: clamp(9px, min(1.04vw, 1.75vh), 22px); }
  .hero__title { font-size: clamp(44px, min(5.6vw, 9vh), 120px); }
}
@media (min-width: 1680px) {
  :root { --page-max: 1520px; }
  body { font-size: 17px; }
  .hero__sub { font-size: 20px; max-width: 640px; }
  .h2 { font-size: clamp(48px, 3.4vw, 68px); }
  .section-head__sub, .lead { font-size: 22px; }
  .manifesto__text { max-width: 1180px; }
}
/* Formats très panoramiques (21:9, 32:9) : on resserre la composition du hero */
@media (min-aspect-ratio: 2/1) and (min-width: 1680px) {
  .hero__collage { inset: 0 7%; }
  .hero--page .hero__collage, .hero__collage { font-size: clamp(9px, 1.9vh, 24px); }
}
@media (min-width: 2400px) {
  :root { --page-max: 1680px; }
  .nav__bar { max-width: 1680px; }
}
/* Points du slider de témoignages : même visuel, zone de clic de 30px */
.quotes__dot { box-sizing: content-box; border-top: 12px solid transparent; border-bottom: 12px solid transparent; background-clip: padding-box; }
.quotes__nav { margin-top: 28px; }

/* =========================================================
   MOBILE — pages plus courtes
   Les listes de cartes deviennent des carrousels à faire glisser,
   et les blocs les plus hauts sont compactés.
   ========================================================= */
@media (max-width: 720px) {
  /* Carrousels horizontaux (services, méthode, valeurs, formules) */
  .stack, .values__grid, .offers__grid, .process__track {
    display: flex; flex-direction: row; align-items: stretch; gap: 14px;
    width: auto; max-width: none;
    margin: 32px calc(-1 * var(--gutter)) 0;
    padding: 10px var(--gutter) 26px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .stack::-webkit-scrollbar, .values__grid::-webkit-scrollbar, .offers__grid::-webkit-scrollbar, .process__track::-webkit-scrollbar { display: none; }
  .scard, .value, .offer, .step { flex: 0 0 84%; scroll-snap-align: start; }

  /* Services (accueil) */
  .scard { position: relative; top: 0; }
  .scard__inner { height: 100%; padding: 18px; gap: 18px; }
  .scard__text { gap: 12px; padding: 4px 2px; }
  .scard__text > p { font-size: 15px; }
  .scard .tags li:nth-child(n+4) { display: none; }
  .visual { min-height: 230px; }

  /* Méthode */
  .process__track { margin-top: 8px; }
  .step { height: auto; min-height: 280px; max-width: none; }
  .step__card { padding: 24px; }
  .step__num { font-size: 44px; }
  .step__title { font-size: 28px; }
  .step--end { justify-content: center; align-items: flex-start; text-align: left; padding: 0 8px; }
  .step__end-title { font-size: 30px; }

  /* Valeurs & formules */
  .value__card { height: 100%; min-height: 0; padding: 24px 22px; }
  .value__title { font-size: 26px; margin-top: 4px; }
  .offer { padding: 28px 24px; }
  .offer--featured { transform: none; }

  /* Chiffres en 2 × 2 */
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 12px 24px 0; border-bottom: 1px solid var(--color-ash); }
  .stat:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--color-ash) !important; }
  .stat:nth-child(n+3) { border-bottom: 0; }
  .stat__num { font-size: 44px; }
  .stat p { font-size: 14px; }

  /* Blocs compactés */
  .manifesto__text { font-size: 26px; margin-top: 20px; }
  .manifesto__foot { margin-top: 28px; }
  .about-intro__frame { aspect-ratio: 4 / 3; }
  .office__media { min-height: 220px; }
  .office__info { gap: 14px; }
  .svc { padding: 40px 0; }
  .svc__grid { gap: 28px; }
  .svc__text { gap: 16px; }
  .svc__title { font-size: 36px; }
  .svc .lead { font-size: 18px; }
  .checks li { padding: 9px 0; font-size: 15px; }
  .svc__visual-wrap .visual { min-height: 260px; }
  .faq__item summary { padding: 18px 0; font-size: 17px; }
  .cta__panel { padding: 64px 20px; }
  .cta__title { font-size: 36px; }
  .quotes__card { padding: 48px 22px 32px; }
  .quote blockquote { font-size: 22px; }
  .contact__aside { gap: 10px; }
  .info-card { padding: 16px 18px; }

  /* Pied de page compact */
  .footer { padding: 56px 0 24px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer__col--lead { grid-column: 1 / -1; }
  .footer__col:nth-child(2) { grid-column: 1 / -1; }
  .footer__lead { font-size: 24px; }
  .footer__word { margin: 40px 0 16px; }
  .footer__bottom { flex-direction: row; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; }
}
@media (max-width: 720px) {
  /* Page Services : les maquettes sont déjà sur l'accueil, on garde l'essentiel */
  .svc__visual-wrap { display: none; }
  .svc__text > .svc__sub ~ .svc__sub, .svc__text > .tags { display: none; }
  .svc { padding: 32px 0; }
  .svc + .svc { padding-top: 8px; border-top: 1px solid var(--color-ash); margin: 0 var(--gutter); }
  .svc + .svc .container { padding: 24px 0 0; }
  /* À propos : liste « Ce qui nous distingue » plus serrée */
  .diff__row { padding: 22px 0; gap: 8px; }
  .diff__list { margin-top: 28px; }
}
@media (max-width: 720px) { .scard .tags { display: none; } .scard__text .link-arrow { margin-top: 0; } }
@media (max-width: 720px) { .process__track { margin: 8px 0 0; } }

/* =========================================================
   ÉCRAN DE CHARGEMENT & TRANSITION — tailles proportionnelles à l'écran
   ========================================================= */
/* Couvre tout l'écran, y compris sous les barres du navigateur mobile */
.loader, .pt { inset: 0 0 auto 0; height: 100vh; height: 100lvh; }
/* Le contenu reste centré dans la partie réellement visible */
.loader__inner { height: 100vh; height: 100svh; }
.pt__panel { align-content: start; }
.pt__panel > .pt__symbol { margin-top: calc(50vh - clamp(56px, min(13vw, 11vh), 140px) * .44); margin-top: calc(50svh - clamp(56px, min(13vw, 11vh), 140px) * .44); }

/* Symbole et nom proportionnels à la plus petite dimension de l'écran */
.loader__symbol { width: clamp(56px, min(13vw, 11vh), 150px); margin-bottom: clamp(20px, 3.5vh, 40px); }
.loader__brand { font-size: clamp(42px, min(14vw, 13vh), 200px); }
.pt__symbol { width: clamp(56px, min(13vw, 11vh), 140px); }

/* Texte du bas : au-dessus de la barre système (iPhone, Android) */
.loader__meta {
  bottom: max(24px, calc(env(safe-area-inset-bottom) + 16px));
  left: max(var(--gutter), env(safe-area-inset-left));
  right: max(var(--gutter), env(safe-area-inset-right));
  font-size: clamp(12px, 1.6vmin, 16px);
}
/* Téléphone en paysage (écran très bas) */
@media (max-height: 460px) {
  .loader__symbol { width: 48px; margin-bottom: 14px; }
  .loader__brand { font-size: clamp(40px, 15vh, 64px); }
  .loader__meta { bottom: 12px; }
}
/* iOS Safari (barre flottante) : le rideau déborde largement sous la barre du bas
   pour ne jamais laisser voir la page ; le contenu reste centré dans la zone visible. */
.loader, .pt { height: calc(100vh + 30vh); height: calc(100lvh + 30vh); }

/* Safari iPhone : sa barre flottante laisse voir ce qui est SOUS le rideau.
   Tant que l'écran de chargement / le rideau couvrent l'écran, le contenu de la page est masqué
   (il reste en place, seule sa visibilité change). */
html { background: var(--color-canvas); }
.js.is-covered main, .js.is-covered footer, .js.is-covered .nav, .js.is-covered .menu, .js.is-covered .chatbot, .js.is-covered .cursor { visibility: hidden; }

/* Testimonial quote mark: keep it clear of the first line of text */
.quotes__card { padding-top: 88px; }
@media (max-width: 720px) {
  .quotes__card { padding-top: 66px; }
  .quotes__mark { font-size: 128px; top: -6px; }
}

/* Mobile hero: height fits its content, cards sit right under the buttons */
@media (max-width: 720px) {
  .hero:not(.hero--page) { height: auto; min-height: 0; }
  .hero:not(.hero--page) .hero__frame { position: relative; inset: auto; }
  .hero:not(.hero--page) .hero__content { height: auto; padding-bottom: 206px; }
  .f-site { bottom: 14px; }
  .f-sea { bottom: 34px; }
}
@media (max-width: 720px) and (max-height: 760px) {
  .hero:not(.hero--page) .hero__content { padding-bottom: 56px; }
}

/* No chatbot pop-up bubble on phones (it covers the text) */
@media (max-width: 720px) { .chatbot__teaser { display: none !important; } }

/* "Ce qui nous différencie" list: on one column, stack the items (Safari overlapped them with baseline alignment) */
@media (max-width: 960px) {
  .diff__row { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
  .diff__row > .diff__num, .diff__row > .diff__title, .diff__row > p { position: relative; flex: none; display: block; width: 100%; max-width: none; }
  .diff__title { transition: color .4s; }
  .diff__row:hover .diff__title { transform: none; }
}
