/* Lixéo, version 4 : Archivo variable, outremer et ambre, un univers de couleur par produit. */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #0B1B2E;
  --ink-soft: #4A5B70;
  --paper: #FFFFFF;
  --mist: #EEF2F7;
  --line: #D6DEE8;
  --outremer: #2340F0;
  --outremer-soft: #D4DBFF;
  --ambre: #FFB547;

  --gutter: clamp(20px, 4vw, 56px);
  --max: 1320px;
  --rhythm: clamp(88px, 11vw, 152px);
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.5, .64, 1);
  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* Un univers par produit : fond, encre, accent, surface. */
[data-world="dog"]     { --w-bg: #57508B; --w-ink: #FFFFFF; --w-accent: #C2B5FF; --w-soft: #211E32; }
[data-world="plants"]  { --w-bg: #DEE8CC; --w-ink: #20331A; --w-accent: #5F8530; --w-soft: #CBDAB1; }
[data-world="colis"]   { --w-bg: #E2E9F2; --w-ink: #132942; --w-accent: #C77B0C; --w-soft: #CFDAE7; }
[data-world="qr"]      { --w-bg: #1B2026; --w-ink: #E6EEF6; --w-accent: #8DB3D8; --w-soft: #262D35; }
[data-world="docs"]    { --w-bg: #E3E9FB; --w-ink: #0B1B2E; --w-accent: #2340F0; --w-soft: #D0DAF7; }

*, *::before, *::after { box-sizing: border-box; }

html {
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-stretch: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.6;
  background: var(--paper);
  overflow-x: clip;
}

h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }

:focus-visible { outline: 3px solid var(--outremer); outline-offset: 4px; border-radius: 6px; }
.industry :focus-visible,
.contact :focus-visible,
.site-footer :focus-visible,
.worlds[data-world="dog"] :focus-visible,
.worlds[data-world="qr"] :focus-visible,
.index [data-world="dog"] a:focus-visible,
.index [data-world="qr"] a:focus-visible { outline-color: var(--ambre); }

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

.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;
}

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 60;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px;
}
.skip:focus { top: 12px; }

/* ---------- En-tête ---------- */

.site-header {
  position: relative;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 38px; height: 38px; flex: none; overflow: visible; }
.brand-name {
  font-size: 1.75rem;
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: -.035em;
  line-height: 1;
}

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  font-size: .9375rem;
  font-weight: 500;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.site-nav a:hover { background: var(--mist); }
.site-nav .nav-cta { margin-left: 10px; background: var(--ink); color: #fff; }
.site-nav .nav-cta:hover { background: var(--outremer); }

.menu-button { display: none; }

/* ---------- Ouverture ---------- */

.hero {
  min-height: calc(100svh - 88px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(36px, 6vh, 80px);
  padding-top: clamp(12px, 3vh, 40px);
  padding-bottom: clamp(28px, 5vh, 56px);
}

.hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
}

.hero h1 {
  font-size: clamp(2.6rem, 5.6vw, 5.25rem);
  font-weight: 800;
  font-stretch: 125%;
  line-height: .96;
  letter-spacing: -.04em;
}
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero h1 .line > span { display: inline-block; }

.hero-copy { max-width: 31rem; justify-self: end; }
.hero-copy p { font-size: 1.1875rem; line-height: 1.5; }
.hero-copy .hero-origin { margin-top: 16px; font-size: .9375rem; color: var(--ink-soft); }

/* L’index des produits : le cœur de la page. */
.index { position: relative; }
.index::before,
.index li::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
  transform-origin: left;
}
.index::before { top: 0; }
.index li { position: relative; }
.index li::after { bottom: 0; }

.index a {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: clamp(12px, 2vw, 32px);
  padding: clamp(4px, 1vh, 12px) clamp(4px, 1vw, 16px);
  overflow: hidden;
  transition: color .45s var(--ease);
}
.index a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--w-bg);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .55s var(--ease-out);
}

.index-name {
  display: inline-flex;
  align-items: center;
  gap: .2em;
  min-width: 0;
  font-size: clamp(2rem, min(6.6vh, 5.4vw), 4.75rem);
  font-weight: 700;
  font-stretch: 100%;
  letter-spacing: -.035em;
  line-height: 1.08;
  transition: font-stretch .6s var(--ease-out), font-weight .6s var(--ease-out), transform .9s var(--ease-out);
}
.index-text { white-space: nowrap; }

.peek {
  flex: none;
  width: 0;
  height: .78em;
  border-radius: 999px;
  overflow: hidden;
  background: var(--w-soft);
  transition: width .6s var(--ease-out);
}
.peek img { width: 100%; height: 100%; object-fit: cover; }
.peek.is-logo img { object-fit: contain; padding: .05em; }
.peek.peek-top img { object-position: left top; }

.index-trade {
  font-size: .9375rem;
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: color .45s var(--ease), opacity .6s var(--ease), transform .8s var(--ease-out);
}
.index-arrow {
  width: 22px;
  height: 22px;
  opacity: .3;
  transform: translateY(-4px);
  transition: opacity .35s var(--ease), transform .45s var(--ease-out);
}

.index a.is-peek .peek { width: 1.9em; }

@media (hover: hover) {
  .index a:hover { color: var(--w-ink); }
  .index a:hover::before { transform: scaleY(1); }
  .index a:hover .index-name { font-stretch: 125%; font-weight: 800; }
  .index a:hover .peek { width: 1.9em; }
  .index a:hover .index-trade { color: inherit; }
  .index a:hover .index-arrow { opacity: 1; transform: none; }
}
.index a:focus-visible { color: var(--w-ink); outline-offset: -3px; border-radius: 0; }
.index a:focus-visible::before { transform: scaleY(1); }
.index a:focus-visible .peek { width: 1.9em; }
.index a:focus-visible .index-name { font-stretch: 125%; font-weight: 800; }
.index a:focus-visible .index-trade { color: inherit; }

/* Séquence d’ouverture : ne s’applique que si le script tourne. */
.js .brand-accent { transform: translateY(-16px); opacity: 0; }
.js .hero h1 .line > span { transform: translateY(108%); }
.js .hero-copy { opacity: 0; transform: translateY(16px); }
.js .index::before,
.js .index li::after { transform: scaleX(0); }
.js .index-name { transform: translateY(105%); }
.js .index-trade { opacity: 0; transform: translateX(-12px); }

.is-ready .brand-accent { transform: none; opacity: 1; transition: transform .8s var(--ease-spring) .55s, opacity .3s var(--ease) .55s; }
.is-ready .hero h1 .line > span { transform: none; transition: transform 1.1s var(--ease-out) calc(.05s + var(--l) * .09s); }
.is-ready .hero-copy { opacity: 1; transform: none; transition: opacity .9s var(--ease) .35s, transform 1.1s var(--ease-out) .35s; }
.is-ready .index::before { transform: none; transition: transform 1.2s var(--ease-out) .3s; }
.is-ready .index li::after { transform: none; transition: transform 1.2s var(--ease-out) calc(.38s + var(--i) * .07s); }
.is-ready .index-name { transform: none; transition: font-stretch .6s var(--ease-out), font-weight .6s var(--ease-out), transform 1s var(--ease-out) calc(.42s + var(--i) * .07s); }
.is-ready .index-trade { opacity: 1; transform: none; transition: color .45s var(--ease), opacity .8s var(--ease) calc(.8s + var(--i) * .07s), transform 1s var(--ease-out) calc(.8s + var(--i) * .07s); }

/* ---------- Les univers des produits ---------- */

:where(.worlds) { --w-bg: var(--paper); --w-ink: var(--ink); }
.worlds {
  background: var(--w-bg);
  color: var(--w-ink);
  transition: background-color .9s var(--ease), color .9s var(--ease);
}

.worlds-inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 104px);
}

.worlds-sticky {
  position: sticky;
  top: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 56px;
}
.worlds h2 {
  font-size: clamp(2.3rem, 4.2vw, 4rem);
  font-weight: 800;
  font-stretch: 125%;
  line-height: .98;
  letter-spacing: -.04em;
  max-width: 9.5em;
}
.worlds-sticky > p { margin-top: 20px; max-width: 24rem; opacity: .78; }

.worlds-nav { display: grid; margin-top: 44px; }
.worlds-nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 7px 0;
  font-size: 1.0625rem;
  font-weight: 500;
  opacity: .5;
  transition: opacity .35s var(--ease), transform .5s var(--ease-out), font-stretch .5s var(--ease-out);
}
.worlds-nav a::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
  transform: scale(0);
  transition: transform .45s var(--ease-spring);
}
.worlds-nav a:hover { opacity: .85; }
.worlds-nav a[aria-current="true"] { opacity: 1; font-weight: 700; font-stretch: 112%; }
.worlds-nav a[aria-current="true"]::before { transform: scale(1); }

.chapter {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(24px, 3.4vh, 40px);
  padding-block: clamp(48px, 8vh, 96px);
}

html:not(.js) .chapter {
  min-height: 0;
  margin-block: 20px;
  padding-inline: clamp(20px, 3vw, 40px);
  border-radius: 28px;
  background: var(--w-bg);
  color: var(--w-ink);
}

.chapter-visual {
  position: relative;
  height: clamp(300px, 46vh, 470px);
  border-radius: 28px;
  overflow: hidden;
  background: var(--w-soft);
  display: grid;
  place-items: center;
}
.chapter-visual > * { grid-area: 1 / 1; }

.tag {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--w-bg);
  color: var(--w-ink);
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.3;
}

.visual-logo {
  width: min(42%, 260px);
  filter: drop-shadow(0 22px 34px rgb(0 0 0 / .14));
}

.chip {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 2;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--w-ink);
  font-size: .9375rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 10px 24px -12px rgb(0 0 0 / .25);
}
.visual-qr .chip { background: var(--w-bg); color: var(--w-ink); border: 1px solid #3A4450; box-shadow: none; }
.visual-qr .visual-logo { filter: drop-shadow(0 0 40px rgb(141 179 216 / .35)); }

/* DogPlanner : le logo « Arrondi compact » et les petites cartes de l’application, comme sur dogplanner.fr. */
.visual-dog .visual-logo { width: min(58%, 380px); filter: drop-shadow(0 0 48px rgb(194 181 255 / .3)); }
.app-card {
  position: absolute;
  left: var(--x, auto);
  right: var(--r, auto);
  top: var(--y);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 10px 10px;
  border-radius: 16px;
  background: var(--paper);
  color: #635D73;
  white-space: nowrap;
  box-shadow: 0 22px 44px -20px rgb(0 0 0 / .6);
}
.app-card-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #EEEAF8;
  color: #57508B;
}
.app-card svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.app-card-icon svg { width: 20px; height: 20px; }
.app-card-text { display: grid; font-size: .75rem; font-weight: 600; line-height: 1.3; }
.app-card-detail { color: #262333; font-size: .9375rem; font-weight: 700; letter-spacing: -.01em; }
.app-card-check {
  display: grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  margin-left: 2px;
  border-radius: 50%;
  background: #57508B;
  color: #fff;
}
.app-card-check svg { width: 14px; height: 14px; stroke-width: 2.4; }

.cover,
.contain { position: absolute; inset: 0; width: 100%; height: 100%; }
.cover { object-fit: cover; }
.contain { object-fit: contain; }

.visual-badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  width: 76px;
  height: 76px;
  padding: 10px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 12px 26px -12px rgb(0 0 0 / .3);
}

.visual-colis { place-items: end center; }
.visual-colis .screen {
  width: 80%;
  margin-bottom: -6%;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 30px 60px -28px rgb(19 41 66 / .45);
}
.chapter-visual figcaption {
  position: absolute;
  right: 18px;
  top: 22px;
  z-index: 3;
  font-size: .8125rem;
  opacity: .8;
}

.visual-docs { place-items: end center; }
.folders {
  position: relative;
  width: 80%;
  height: 74%;
}
.folders li {
  --tint: #A9BCF2;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(100% - var(--i) * 17%);
  background: var(--tint);
  border-radius: 0 18px 0 0;
  color: var(--ink);
}
.folders li:nth-child(1) { --tint: #BCCBF5; }
.folders li:nth-child(2) { --tint: #96AEF0; }
.folders li:nth-child(3) { --tint: #5F7CEB; color: #fff; }
.folders li:nth-child(4) { --tint: #2340F0; color: #fff; }
.folders span {
  position: absolute;
  bottom: 100%;
  left: calc(var(--i) * 16%);
  padding: 8px 16px 6px;
  border-radius: 14px 14px 0 0;
  background: var(--tint);
  font-size: .875rem;
  font-weight: 600;
  white-space: nowrap;
}

.chapter-name {
  font-size: clamp(2.4rem, 4.1vw, 4rem);
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: -.04em;
  line-height: .98;
}
.chapter-promise {
  margin-top: 18px;
  max-width: 26ch;
  font-size: clamp(1.25rem, 1.9vw, 1.625rem);
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.25;
}
.chapter-body > p:not([class]) { margin-top: 14px; max-width: 34rem; opacity: .82; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  min-height: 50px;
  padding: 13px 24px;
  border-radius: 999px;
  background: var(--w-ink, var(--ink));
  color: var(--w-bg, #fff);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  transition: transform .35s var(--ease-out), background-color .3s var(--ease);
}
.pill svg { width: 18px; height: 18px; flex: none; transition: transform .4s var(--ease-out); }
.pill:hover { transform: translateY(-2px); }
.pill:hover svg { transform: translate(3px, -3px); }
.pill-light { background: #fff; color: var(--ink); }

/* Révélation des visuels quand un produit arrive à l’écran. */
.js .chapter-visual { clip-path: inset(7% 5% round 28px); transition: clip-path 1.1s var(--ease-out); }
.js .chapter-visual.is-in { clip-path: inset(0 0 round 28px); }
.js .chapter-visual .cover,
.js .chapter-visual .contain,
.js .chapter-visual .visual-logo { transform: scale(1.12); transition: transform 1.5s var(--ease-out); }
.js .chapter-visual.is-in .cover,
.js .chapter-visual.is-in .contain,
.js .chapter-visual.is-in .visual-logo { transform: none; }
.js .chip,
.js .app-card,
.js .visual-badge { opacity: 0; transform: translateY(14px) scale(.85); }
.js .is-in .chip,
.js .is-in .app-card,
.js .is-in .visual-badge { opacity: 1; transform: none; transition: opacity .4s var(--ease) calc(.45s + var(--i, 0) * .14s), transform .7s var(--ease-spring) calc(.45s + var(--i, 0) * .14s); }
/* Puis les cartes flottent sans fin, chacune à son rythme : `translate` ne gêne pas la transition de `transform`. */
.js .is-in .app-card { animation: flotte var(--f, 6s) ease-in-out calc(1.2s + var(--i, 0) * .5s) infinite alternate; }
@keyframes flotte { to { translate: 0 -10px; } }
.js .visual-colis .screen { transform: perspective(1400px) rotateX(14deg) translateY(12%); transform-origin: bottom; transition: transform 1.3s var(--ease-out) .1s; }
.js .visual-colis.is-in .screen { transform: none; }
.js .folders li { transform: translateY(calc(40% + var(--i) * 12%)); opacity: 0; }
.js .is-in .folders li { transform: none; opacity: 1; transition: transform 1s var(--ease-out) calc(.2s + var(--i) * .12s), opacity .5s var(--ease) calc(.2s + var(--i) * .12s); }

/* ---------- Industrie ---------- */

.industry { background: var(--ink); color: #fff; padding-block: var(--rhythm); }
.industry-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(44px, 7vw, 112px);
  align-items: center;
}
.industry h2 {
  font-size: clamp(2.3rem, 4.4vw, 4.25rem);
  font-weight: 800;
  font-stretch: 125%;
  line-height: .98;
  letter-spacing: -.04em;
}
.industry-copy > p { margin-top: 26px; max-width: 30rem; color: #B9C6D6; }

.doc {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3vw, 38px);
  border-radius: 24px;
  background: #fff;
  color: var(--ink);
}
.doc-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-size: .875rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.doc-lines li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
  line-height: 1.35;
}
.doc-lines strong {
  flex: none;
  padding: 5px 12px;
  border-radius: 999px;
  background: #E7EBFE;
  color: #1B33C7;
  font-size: .875rem;
  font-weight: 600;
}
.doc-lines strong.is-wait { background: #FFF1D9; color: #8A5200; }
.doc-note { margin-top: 22px; font-size: .9375rem; color: var(--ink-soft); }

.doc::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -30%;
  height: 30%;
  pointer-events: none;
  background: linear-gradient(to bottom, rgb(35 64 240 / 0), rgb(35 64 240 / .12) 80%, rgb(35 64 240 / .5) 100%);
  border-bottom: 2px solid var(--outremer);
  opacity: 0;
}
.js .doc-lines strong { opacity: 0; transform: translateX(12px) scale(.9); }
.js .doc.is-in::after { animation: scan 2.6s var(--ease) .2s 1 both; }
.js .doc.is-in .doc-lines strong { opacity: 1; transform: none; transition: opacity .35s var(--ease) calc(.75s + var(--i) * .42s), transform .6s var(--ease-spring) calc(.75s + var(--i) * .42s); }

@keyframes scan {
  0% { top: -30%; opacity: 0; }
  10% { opacity: 1; }
  85% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* ---------- Équipe ---------- */

.team {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 104px);
  padding-block: var(--rhythm);
}
.team h2 {
  font-size: clamp(2.3rem, 4.2vw, 4rem);
  font-weight: 800;
  font-stretch: 125%;
  line-height: .98;
  letter-spacing: -.04em;
  max-width: 8em;
}
.people { border-top: 1px solid var(--line); }
.people li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 20px;
  flex-wrap: wrap;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.person-name {
  font-size: clamp(1.75rem, 3.3vw, 2.875rem);
  font-weight: 700;
  font-stretch: 110%;
  letter-spacing: -.035em;
  line-height: 1.1;
}
.person-role { font-size: .9375rem; color: var(--ink-soft); }
.team-copy { margin-top: 36px; max-width: 34rem; color: var(--ink-soft); }
.team-copy p + p { margin-top: 16px; }

/* ---------- Contact et pied de page ---------- */

.contact {
  background: var(--outremer);
  color: #fff;
  padding-top: var(--rhythm);
  padding-bottom: clamp(64px, 9vw, 112px);
}
.contact-kicker { font-size: 1.125rem; color: var(--outremer-soft); }
.contact h2 {
  margin-top: 18px;
  max-width: 10em;
  font-size: clamp(2.9rem, 7.4vw, 7rem);
  font-weight: 800;
  font-stretch: 125%;
  line-height: .94;
  letter-spacing: -.045em;
}
.contact-mail {
  position: relative;
  display: inline-block;
  max-width: 100%;
  margin-top: clamp(36px, 5vw, 60px);
  padding-bottom: .14em;
  font-size: clamp(1.6rem, 8vw, 4.75rem);
  font-weight: 600;
  font-stretch: 100%;
  letter-spacing: -.035em;
  line-height: 1.1;
  overflow-wrap: anywhere;
  transition: font-stretch .7s var(--ease-out), font-weight .7s var(--ease-out);
}
.contact-mail::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: .07em;
  border-radius: 99px;
  background: var(--ambre);
  transform: scaleX(.16);
  transform-origin: left;
  transition: transform .8s var(--ease-out);
}
@media (hover: hover) and (min-width: 821px) {
  .contact-mail:hover { font-stretch: 118%; font-weight: 700; }
}
.contact-mail:hover::after,
.contact-mail:focus-visible::after { transform: none; }
.contact-note { margin-top: 30px; max-width: 34rem; color: var(--outremer-soft); }

.site-footer { background: var(--outremer); color: #fff; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-block: 28px;
  border-top: 1px solid rgb(255 255 255 / .24);
  font-size: .9375rem;
}
.footer-inner p { margin-right: auto; color: var(--outremer-soft); }
.footer-inner nav { display: flex; gap: 24px; }
.footer-inner nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.brand-small .brand-name { font-size: 1.375rem; }

/* ---------- Page Dossiers ---------- */

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
  padding-top: clamp(24px, 5vh, 64px);
  padding-bottom: var(--rhythm);
}
.page-hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.75rem);
  font-weight: 800;
  font-stretch: 125%;
  line-height: .95;
  letter-spacing: -.045em;
}
.page-hero h1 .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.page-hero h1 .line > span { display: inline-block; }
.page-lead { margin-top: 28px; max-width: 30rem; font-size: 1.1875rem; line-height: 1.5; color: var(--ink-soft); }
.page-hero .pill { background: var(--ink); color: #fff; }
.page-hero .pill:hover { background: var(--outremer); }
.page-hero .doc { background: var(--mist); }
.page-hero .doc-lines li,
.page-hero .doc-head { border-color: #CCD6E3; }

.js .page-hero h1 .line > span { transform: translateY(108%); }
.js .page-hero .page-lead,
.js .page-hero .pill { opacity: 0; transform: translateY(16px); }
.is-ready .page-hero h1 .line > span { transform: none; transition: transform 1.1s var(--ease-out) calc(.05s + var(--l) * .09s); }
.is-ready .page-hero .page-lead,
.is-ready .page-hero .pill { opacity: 1; transform: none; transition: opacity .9s var(--ease) .45s, transform 1.1s var(--ease-out) .45s, background-color .3s var(--ease); }

.method { background: var(--mist); padding-block: var(--rhythm); }
.method h2,
.faq-section h2 {
  font-size: clamp(2.2rem, 4.2vw, 4rem);
  font-weight: 800;
  font-stretch: 125%;
  line-height: .98;
  letter-spacing: -.04em;
  max-width: 12em;
}
.method-lead { margin-top: 22px; max-width: 32rem; color: var(--ink-soft); }

.steps {
  --steps-gap: clamp(20px, 3vw, 40px);
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--steps-gap);
  margin-top: clamp(48px, 7vw, 88px);
  counter-reset: step;
}
.steps::before {
  content: "";
  position: absolute;
  left: 32px;
  right: calc((100% - 2 * var(--steps-gap)) / 3 - 32px);
  top: 31px;
  height: 2px;
  background: var(--outremer);
  transform-origin: left;
}
.steps li { position: relative; }
.step-number {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--outremer);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  font-stretch: 125%;
  box-shadow: 0 0 0 8px var(--mist);
}
.steps h3 {
  margin-top: 28px;
  font-size: clamp(1.6rem, 2.4vw, 2.125rem);
  font-weight: 800;
  font-stretch: 118%;
  letter-spacing: -.03em;
  line-height: 1.1;
}
.steps p { margin-top: 14px; color: var(--ink-soft); max-width: 24rem; }

.js .steps::before { transform: scaleX(0); }
.js .steps.is-in::before { transform: none; transition: transform 1.6s var(--ease-out) .2s; }
.js .steps li { opacity: 0; transform: translateY(24px); }
.js .steps.is-in li { opacity: 1; transform: none; transition: opacity .6s var(--ease) calc(.25s + var(--i) * .3s), transform 1s var(--ease-out) calc(.25s + var(--i) * .3s); }

.faq-section {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 104px);
  padding-block: var(--rhythm);
}
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  list-style: none;
  cursor: pointer;
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 12px no-repeat,
    var(--mist);
  transition: transform .45s var(--ease-out), background-color .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover::after { background-color: var(--outremer-soft); }
.faq details p { padding-bottom: 26px; max-width: 40rem; color: var(--ink-soft); }
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq details::details-content { height: 0; overflow: clip; transition: height .5s var(--ease-out), content-visibility .5s allow-discrete; }
  .faq details[open]::details-content { height: auto; }
}

/* ---------- Pages légales ---------- */

.legal-header { border-bottom: 1px solid var(--line); }
.back-link { font-weight: 500; padding: 10px 16px; border-radius: 999px; transition: background-color .25s var(--ease); }
.back-link:hover { background: var(--mist); }
.article { max-width: 48rem; padding-top: clamp(48px, 8vw, 96px); padding-bottom: var(--rhythm); }
.article h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.5rem);
  font-weight: 800;
  font-stretch: 125%;
  line-height: .98;
  letter-spacing: -.04em;
}
.article .updated { margin-top: 18px; color: var(--ink-soft); }
.article h2 {
  margin: 48px 0 14px;
  font-size: 1.625rem;
  font-weight: 700;
  font-stretch: 112%;
  letter-spacing: -.025em;
  line-height: 1.2;
}
.article p + p { margin-top: 14px; }
.article a { color: var(--outremer); text-decoration: underline; text-underline-offset: 3px; }
.article a:hover { text-decoration-thickness: 2px; }

/* ---------- Tablette ---------- */

@media (max-width: 1100px) {
  .index-trade { font-size: .875rem; }
  .worlds-inner { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); }
}

/* ---------- Téléphone ---------- */

@media (max-width: 820px) {
  .site-header { min-height: 72px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-name { font-size: 1.5rem; }

  .js .menu-button {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 20px;
    border: 0;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-weight: 600;
  }
  .site-nav { flex-wrap: wrap; justify-content: flex-end; }
  .js .site-nav {
    position: absolute;
    top: calc(100% - 4px);
    left: var(--gutter);
    right: var(--gutter);
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--paper);
    box-shadow: 0 30px 60px -30px rgb(11 27 46 / .45);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(.98);
    transform-origin: top right;
    transition: opacity .25s var(--ease), transform .4s var(--ease-out), visibility 0s linear .4s;
  }
  .js .site-nav.open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .4s var(--ease-out); }
  .js .site-nav a { padding: 14px 16px; font-size: 1.0625rem; }
  .js .site-nav .nav-cta { margin: 6px 0 0; text-align: center; }

  .hero { min-height: 0; gap: 40px; padding-top: 24px; padding-bottom: 56px; }
  .hero-top { grid-template-columns: 1fr; gap: 22px; }
  .hero h1 { font-size: clamp(2.4rem, 11.4vw, 3.6rem); }
  .hero-copy { justify-self: start; }
  .hero-copy p { font-size: 1.0625rem; }

  .index a {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 2px;
    padding: 14px 2px;
  }
  .index a { padding-right: 76px; }
  .index-name { grid-column: 1; font-size: clamp(1.5rem, 6.6vw, 2.5rem); }
  .index-trade { grid-column: 1; grid-row: 2; font-size: .875rem; }
  .index-arrow { display: none; }
  .peek,
  .index a.is-peek .peek,
  .index a:hover .peek,
  .index a:focus-visible .peek {
    position: absolute;
    right: 4px;
    top: 50%;
    width: 58px;
    height: 58px;
    margin-top: -29px;
    font-size: 1rem;
  }
  .peek.is-logo img { padding: 4px; }

  .worlds-inner { grid-template-columns: 1fr; gap: 0; }
  .worlds-sticky { position: static; min-height: 0; padding-top: var(--rhythm); padding-bottom: 8px; }
  .worlds-nav { display: none; }
  .chapter { min-height: 0; padding-block: 48px; gap: 26px; }
  .chapter-visual { border-radius: 22px; height: auto; aspect-ratio: 4 / 3.4; }
  .js .chapter-visual { clip-path: inset(6% 4% round 22px); }
  .js .chapter-visual.is-in { clip-path: inset(0 0 round 22px); }
  .tag { top: 14px; left: 14px; font-size: .8125rem; }
  .chip { padding: 8px 13px; font-size: .8125rem; }
  .app-card { gap: 8px; padding: 7px 11px 7px 7px; border-radius: 12px; }
  .app-card-icon { width: 28px; height: 28px; border-radius: 8px; }
  .app-card-icon svg { width: 16px; height: 16px; }
  .app-card-text { font-size: .6875rem; }
  .app-card-detail { font-size: .8125rem; }
  .app-card-check { width: 20px; height: 20px; }
  .app-card-check svg { width: 12px; height: 12px; }
  .app-card:nth-of-type(1) { top: 20%; }
  .app-card:nth-of-type(2) { top: 64%; }
  .app-card:nth-of-type(3) { top: 82%; }
  .visual-logo { width: 46%; }
  .visual-badge { width: 60px; height: 60px; right: 14px; bottom: 14px; padding: 8px; }
  .chapter-visual figcaption { top: 54px; left: 16px; right: auto; font-size: .75rem; }
  .visual-colis .screen { width: 94%; margin-bottom: -6%; border-radius: 10px 10px 0 0; }
  .folders { width: 88%; height: 68%; }
  .folders span { left: calc(var(--i) * 9%); padding: 6px 11px 4px; font-size: .75rem; }

  .industry-inner { grid-template-columns: 1fr; }
  .doc-lines li { font-size: .9375rem; }

  .team { grid-template-columns: 1fr; }
  .people li { flex-direction: column; gap: 4px; }

  .page-hero { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .steps::before { left: 31px; right: auto; top: 32px; bottom: 64px; width: 2px; height: auto; transform-origin: top; }
  .js .steps::before { transform: scaleY(0); }
  .steps li { padding-left: 92px; }
  .step-number { position: absolute; left: 0; top: 0; }
  .steps h3 { margin-top: 12px; }
  .faq-section { grid-template-columns: 1fr; }
  .faq summary { font-size: 1.0625rem; }
}

@media (max-width: 420px) {
  .hero-copy .hero-origin { font-size: .875rem; }
  .footer-inner nav { width: 100%; }
}

/* ---------- Mouvement réduit ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .js .doc.is-in::after { animation: none; }
  .js .is-in .app-card { animation: none; }
}
