/* ------------------------------------------------------------------
   Guillaume Renaud · landing perso
   Desktop d'abord, surcharges mobile sous @media (max-width: 767px)
   ------------------------------------------------------------------ */

:root {
  --dark: #12201D;
  --dark-2: #1B2A27;
  --cream: #EFEAE0;
  --ink: #1B2A27;
  --ink-2: #3E4A46;
  --ink-3: #5F6B66;
  --muted: #8A948F;
  --accent: #C94A22;
  --accent-dark: #B03F1B;
  --accent-light: #F2A98C;
  --border: #E2DCCC;
  --border-2: #CFC7B4;
  --line: #D9D2C0;
  --bar: #DDD6C6;
  --tag: #E6E0D0;
  --word-off: #B3AC9E;
  --green: #1B4D3E;

  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --mono: 'DM Mono', ui-monospace, monospace;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --sp: .75; /* espacement « équilibré » */
  --gx: clamp(20px, 4vw, 56px);
  --pad-xl: calc(clamp(96px, 16vh, 180px) * var(--sp));
  --pad-lg: calc(clamp(80px, 14vh, 160px) * var(--sp));
  --pad-md: calc(clamp(64px, 10vh, 120px) * var(--sp));
  --pad-sm: calc(clamp(40px, 8vh, 100px) * var(--sp));
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--dark);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
img { display: block; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; }

.accent { color: var(--accent); }
.accent-light { color: var(--accent-light); }

/* ---------- Toggle Atriate ---------- */
body[data-atriate="off"] .atriate-only { display: none !important; }
body[data-atriate="on"] .no-atriate { display: none !important; }
body[data-atriate="off"] .recos { padding-top: 0; }

/* ---------- Visibilité desktop / mobile ---------- */
@media (min-width: 768px) { .mobile-only, .mobile-inline { display: none !important; } }

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translate(var(--rx, 0), var(--ry, 22px));
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
[data-reveal="fade"] { --ry: 0; }
[data-reveal="left"] { --rx: -24px; --ry: 0; }
[data-reveal="right"] { --rx: 24px; --ry: 0; }
[data-reveal="line"] { transform: scaleX(0); transform-origin: left; }
[data-reveal][data-in] { opacity: 1; transform: none; }

@keyframes heroIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes roll {
  0%, 25% { transform: translateY(0); }
  33%, 58% { transform: translateY(-1.25em); }
  66%, 91% { transform: translateY(-2.5em); }
  100% { transform: translateY(-3.75em); }
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

/* ---------- Primitives ---------- */
.eyebrow {
  margin: 0 0 calc(24px * var(--sp));
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow--light { color: var(--accent-light); }
.eyebrow--sm { margin-bottom: 14px; }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .01em;
  transition: background .35s, color .35s, border-color .35s, transform .35s;
}
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); }
.btn--cream { background: var(--cream); color: var(--ink); gap: 12px; padding: 14px 22px; font-weight: 400; }
.btn--cream:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.btn--ghost { border: 1px solid rgba(239, 234, 224, .3); color: var(--cream); gap: 12px; font-weight: 400; }
.btn--ghost:hover { border-color: var(--cream); color: var(--cream); transform: translateY(-2px); }
.btn--lg { padding: 16px 26px; font-size: 15px; }
.btn__dot { width: 7px; height: 7px; border-radius: 999px; background: #fff; flex: none; }

.section { max-width: 1200px; margin: 0 auto; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px var(--gx);
  color: #fff;
  font-size: 13px;
  letter-spacing: .02em;
  border-bottom: 1px solid transparent;
  transition: transform .45s var(--ease), background .4s, color .4s, padding .4s, border-color .4s;
  will-change: transform;
}
.nav__logo {
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 88px);
  line-height: 1;
  color: inherit;
  transform-origin: left center;
  will-change: transform;
  transition: transform .1s linear;
}
.nav__logo:hover { color: inherit; }
.nav__right { display: flex; gap: 28px; align-items: center; color: inherit; }
.nav__clock { font-family: var(--mono); font-size: 12px; opacity: .85; display: flex; gap: 8px; align-items: center; }
.nav__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: blink 2.4s infinite; }
.nav__link { color: inherit; }

/* ---------- Hero ---------- */
.hero {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: var(--dark);
  color: var(--cream);
  z-index: 1;
}
.hero__photo {
  position: absolute;
  inset: -6%;
  background: repeating-linear-gradient(135deg, #172622 0 14px, #1c2d29 14px 28px);
  will-change: transform;
}
.hero__veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 62% 40%, rgba(201, 74, 34, .22), transparent 70%),
    linear-gradient(to top, #12201D 8%, rgba(18, 32, 29, .35) 55%, rgba(18, 32, 29, .55));
}
.hero__photo img {
  position: absolute;
  right: clamp(-160px, -9vw, -40px);
  top: 6%;
  height: 94%;
  width: auto;
  max-width: 80%;
  object-fit: contain;
  object-position: bottom;
  filter: grayscale(1) contrast(1.08) brightness(.9);
  mix-blend-mode: lighten;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 96%), linear-gradient(to right, transparent 0%, #000 28%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, #000 55%, transparent 96%), linear-gradient(to right, transparent 0%, #000 28%);
  mask-composite: intersect;
  pointer-events: none;
}
.hero__content {
  position: absolute;
  left: var(--gx); right: var(--gx);
  bottom: clamp(64px, 12vh, 120px);
  will-change: transform, opacity;
}
.hero__name {
  margin: 0 0 18px;
  font-size: clamp(15px, 1.3vw, 19px);
  letter-spacing: .01em;
  color: var(--accent-light);
  animation: heroIn 1s .1s both var(--ease);
}
.hero__lastname { font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 8.6vw, 150px);
  line-height: 1.02;
  letter-spacing: -.02em;
  animation: heroIn 1.1s .25s both var(--ease);
}
.hero__l1 { display: block; }
.hero__l1 em { color: var(--accent-light); }
.hero__roll {
  display: block;
  height: 1.25em;
  margin-top: -.1em;
  margin-left: -.06em;
  padding-left: .06em;
  overflow: hidden;
  font-style: italic;
  color: var(--cream);
}
.hero__roll-track { display: block; animation: roll 7.5s cubic-bezier(.85, 0, .15, 1) infinite; will-change: transform; }
.hero__roll-track > span { display: block; height: 1.25em; line-height: 1.25em; }
.hero__bottom {
  display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: flex-end;
  gap: 24px; margin-top: 36px;
  animation: heroIn 1.1s .5s both var(--ease);
}
.hero__tagline { display: flex; flex-direction: column; gap: 6px; max-width: 40ch; }
.hero__t1 { font-size: clamp(17px, 1.5vw, 22px); font-weight: 300; color: rgba(239, 234, 224, .85); }
.hero__t2 { font-size: clamp(15px, 1.2vw, 18px); font-weight: 300; color: rgba(239, 234, 224, .6); }
.hero__scroll {
  position: absolute; left: 50%; bottom: 22px;
  transform: translateX(-50%);
  color: rgba(239, 234, 224, .5);
  font-size: 18px;
  animation: bob 2.2s ease-in-out infinite;
  display: block;
}

/* ---------- Main ---------- */
.main {
  position: relative;
  z-index: 2;
  background: var(--cream);
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -30px 80px rgba(0, 0, 0, .35);
}

/* ---------- Aujourd'hui ---------- */
.now { padding: var(--pad-xl) var(--gx); }
.now .eyebrow { margin-bottom: calc(40px * var(--sp)); }
.now__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.now__text {
  max-width: 860px;
  font-family: var(--serif);
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1.3;
  letter-spacing: -.01em;
}
.now__text p { margin: 0 0 .5em; }
.now__text .now__p3 { margin-bottom: .8em; }
.now__text [data-w] { display: inline-block; color: var(--word-off); transition: color .35s; }
.now__text [data-k] { font-style: italic; }
.now__sub {
  font-family: var(--sans);
  font-size: clamp(16px, 1.3vw, 19px);
  font-weight: 300;
  color: var(--ink-3);
  line-height: 1.6;
  max-width: 56ch;
}

/* Schéma « pont » */
.bridge {
  --rv: 118px; --rh: 124px; --rd: 78px; --od: 55px;
  position: relative;
  width: min(340px, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
  font-family: var(--sans);
}
.bridge__line {
  position: absolute; left: 50%; top: 50%;
  height: 1px; background: var(--accent);
  transform-origin: left center;
  transition: transform .6s var(--ease);
}
.bridge__line--n { width: var(--rv); transform: rotate(-90deg) scaleX(var(--sx, 0)); }
.bridge__line--w { width: var(--rh); transform: rotate(180deg) scaleX(var(--sx, 0)); }
.bridge__line--e { width: var(--rh); transform: rotate(0deg) scaleX(var(--sx, 0)); }
.bridge__line--s { width: var(--rv); transform: rotate(90deg) scaleX(var(--sx, 0)); }
.bridge__node {
  position: absolute;
  transform: translate(-50%, -50%) scale(.85);
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-2);
  background: var(--cream);
  font-size: 14px;
  color: var(--muted);
  opacity: .5;
  transition: all .5s var(--ease);
  white-space: nowrap;
  cursor: default;
}
.bridge__node--n { left: 50%; top: calc(50% - var(--rv)); }
.bridge__node--w { left: calc(50% - var(--rh)); top: 50%; }
.bridge__node--e { left: calc(50% + var(--rh)); top: 50%; }
.bridge__node--s { left: 50%; top: calc(50% + var(--rv)); }
.bridge__node[data-on] { opacity: 1; color: var(--ink); border-color: var(--accent); transform: translate(-50%, -50%) scale(1); }
.bridge__node[data-hover] { color: var(--cream); background: var(--accent); border-color: var(--accent); transform: translate(-50%, -50%) scale(1.12); opacity: 1; }
.bridge__diag {
  position: absolute; left: 50%; top: 50%;
  width: var(--rd); height: 1px;
  background: rgba(201, 74, 34, .28);
  transform-origin: left center;
}
.bridge__diag--nw { transform: rotate(-135deg); }
.bridge__diag--ne { transform: rotate(-45deg); }
.bridge__diag--se { transform: rotate(45deg); }
.bridge__diag--sw { transform: rotate(135deg); }
.bridge__pt {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  background: var(--cream);
  transform: translate(-50%, -50%);
  opacity: .7;
}
.bridge__pt--nw { left: calc(50% - var(--od)); top: calc(50% - var(--od)); }
.bridge__pt--ne { left: calc(50% + var(--od)); top: calc(50% - var(--od)); }
.bridge__pt--se { left: calc(50% + var(--od)); top: calc(50% + var(--od)); }
.bridge__pt--sw { left: calc(50% - var(--od)); top: calc(50% + var(--od)); }
.bridge__core {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--dark-2);
  color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 20px;
  box-shadow: 0 0 0 10px rgba(201, 74, 34, .12);
  transition: transform .4s var(--ease), background .4s, box-shadow .4s;
  cursor: default;
}
.bridge__core:hover { transform: translate(-50%, -50%) scale(1.12); background: var(--accent); box-shadow: 0 0 0 14px rgba(201, 74, 34, .18); }

/* ---------- 3 casquettes ---------- */
.hats { padding: var(--pad-lg) var(--gx); }
.hats__head {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  margin-bottom: calc(clamp(56px, 8vh, 96px) * var(--sp));
}
.hats__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 1.1;
  letter-spacing: -.02em;
  max-width: 18ch;
  text-wrap: pretty;
}
.hats__t1 { display: block; }
.hats__t2 { display: inline-block; position: relative; transition-delay: .4s; font-style: italic; }
.hats__underline {
  position: absolute; left: 0; right: 0; bottom: .04em;
  height: .06em; background: var(--accent);
  transition-delay: .9s;
}
.backlog { display: flex; flex-direction: column; gap: 14px; max-width: 360px; justify-self: end; width: 100%; }
.backlog__bar { height: 14px; border-radius: 999px; background: var(--bar); }
.backlog__bar--out { background: var(--accent); will-change: transform; box-shadow: 0 8px 24px -8px rgba(201, 74, 34, .5); }
.hats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.hat {
  position: relative;
  padding: 32px 28px 36px;
  transition: transform .5s var(--ease), box-shadow .5s, opacity .9s;
  will-change: transform;
}
.hat:hover { box-shadow: 0 30px 60px -30px rgba(27, 42, 39, .25); }
.hat__meta { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 56px; }
.hat__num { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.hat__tag { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hat__role { margin: 0 0 14px; font-family: var(--serif); font-weight: 400; font-size: 28px; letter-spacing: -.01em; }
.hat__tech { font-size: 14px; display: block; font-family: var(--mono); color: var(--muted); margin-bottom: 6px; }
.hat__what { margin: 0 0 22px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.hat__proof { padding-top: 18px; border-top: 1px solid var(--border); font-size: 14px; line-height: 1.55; color: var(--ink-3); }

/* ---------- Atriate ---------- */
.atriate {
  background: var(--dark-2);
  color: var(--cream);
  border-radius: 28px;
  margin: 0 clamp(8px, 1.5vw, 20px);
  padding: var(--pad-lg) var(--gx);
  overflow: hidden;
}
.atriate__grid {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.atriate .eyebrow { margin-bottom: calc(32px * var(--sp)); }
.atriate__head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.atriate__title { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5vw, 64px); letter-spacing: -.02em; }
.atriate__beta {
  padding: 5px 10px;
  border: 1px solid rgba(242, 169, 140, .5);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .08em;
  color: var(--accent-light);
}
.atriate__pitch { margin: 0 0 36px; font-size: clamp(18px, 1.6vw, 23px); font-weight: 300; line-height: 1.45; color: rgba(239, 234, 224, .85); max-width: 30ch; text-wrap: pretty; }
.atriate__hint { margin: 0 0 20px; font-family: var(--mono); font-size: 13px; letter-spacing: .04em; color: var(--accent-light); }
.atriate__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.atriate__all { display: inline-flex; align-items: center; padding: 14px 4px; font-size: 14px; color: rgba(239, 234, 224, .7); transition: color .3s; }
.atriate__all span { border-bottom: 1px solid rgba(239, 234, 224, .3); transition: border-color .3s; }
.atriate__all:hover { color: #fff; }
.atriate__all:hover span { border-color: #fff; }

.mock-holder { position: relative; width: calc(100% + 40px); margin-left: -40px; }
.mock { position: relative; width: 520px; transform-origin: top left; padding-bottom: 26px; }
.mac {
  width: 392px;
  background: #F8F5EE;
  border-radius: 16px;
  border: 1px solid rgba(239, 234, 224, .18);
  box-shadow: 0 50px 90px -35px rgba(0, 0, 0, .75);
  overflow: hidden;
  transition: transform .6s var(--ease), opacity .9s;
}
.mac:hover { transform: translateY(-8px); }
.mac__bar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #EDE7DA; border-bottom: 1px solid rgba(27, 42, 39, .08); }
.mac__bar > span:not(.mac__url) { width: 8px; height: 8px; border-radius: 50%; background: #D6CFBE; }
.mac__url { margin: 0 auto; padding: 3px 14px; border-radius: 999px; background: #F8F5EE; font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.mac__body { padding: 16px; display: flex; flex-direction: column; gap: 14px; color: var(--ink); }
.mono-label { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; }
.mono-label--green { color: var(--green); margin-bottom: 5px; }
.mono-label--muted { color: var(--muted); letter-spacing: .08em; }
.mac__goal { padding: 14px; border: 1px solid var(--border); border-radius: 12px; background: #fff; display: flex; align-items: center; gap: 14px; }
.mac__goal-text { flex: 1; min-width: 0; }
.mac__goal-title { margin: 0 0 9px; font-family: var(--serif); font-size: 19px; line-height: 1.2; }
.mac__goal-meta { display: flex; align-items: center; gap: 8px; }
.mac__goal-date { font-size: 11px; color: #6E7873; }
.pill { font-size: 11px; padding: 3px 9px; border-radius: 999px; flex: none; }
.pill--green { background: #E7EFE7; color: var(--green); }
.pill--accent { font-size: 10px; padding: 2px 8px; background: #F6E3D6; color: var(--accent); }
.pill--muted { font-size: 10px; padding: 2px 8px; background: var(--cream); color: var(--muted); }
.mac__ring {
  width: 56px; height: 56px; border-radius: 50%; flex: none;
  background: conic-gradient(var(--green) 0 34%, #E7E2D5 34% 100%);
  display: flex; align-items: center; justify-content: center;
}
.mac__ring span { width: 43px; height: 43px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; }
.mac__plan-title { margin: 0 0 10px; font-family: var(--serif); font-size: 14px; }
.mac__steps { display: flex; }
.mac__step { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0 4px; }
.mac__step-n { width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; background: #fff; color: var(--muted); border: 1px solid var(--bar); }
.mac__step--on .mac__step-n { background: var(--green); color: #F5F1E8; border-color: var(--green); }
.mac__step-l { font-size: 11px; line-height: 1.25; text-align: center; color: var(--muted); }
.mac__step--on .mac__step-l { color: var(--ink); }
.mac__step-d { font-size: 10px; color: #A9B0AC; }
.mac__next { border: 1px solid var(--border); border-radius: 12px; background: #fff; padding: 10px; }
.mac__next .mono-label { margin: 0 0 4px; padding: 0 12px; }
.mac__row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; }
.mac__row--on { background: #F1F5F0; }
.mac__check { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #CFC8B7; flex: none; }
.mac__check--on { border-color: var(--green); }
.mac__row-l { flex: 1; min-width: 0; font-size: 13px; line-height: 1.3; }

.phone {
  background: var(--dark-2);
  border: 1px solid rgba(239, 234, 224, .2);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .85);
  box-sizing: border-box;
  transition: transform .6s var(--ease), opacity .9s;
}
.phone--sm { position: absolute; right: 0; bottom: 0; width: 136px; aspect-ratio: 9 / 18.5; border-radius: 24px; padding: 4px; }
.phone--sm:hover { transform: translateY(-8px); }
.phone__screen { height: 100%; border-radius: 20px; background: #F8F5EE; overflow: hidden; display: flex; flex-direction: column; color: var(--ink); }
.phone__bar { padding: 9px; background: #F1EDE2; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 6px; }
.phone__icon { width: 11px; height: 11px; border-radius: 4px; background: var(--green); flex: none; }
.phone__title { font-family: var(--serif); font-size: 11px; line-height: 1.2; }
.phone__body { flex: 1; min-height: 0; padding: 8px; display: flex; flex-direction: column; gap: 8px; }
.phone__card { border: 1px solid var(--border); border-radius: 9px; background: #fff; padding: 8px; }
.phone__card .mono-label { font-size: 8px; margin-bottom: 7px; }
.phone__card--grow { flex: 1; display: flex; flex-direction: column; gap: 9px; }
.phone__card--grow .mono-label { font-size: 7px; margin: 0; }
.phone__progress { height: 5px; border-radius: 999px; background: var(--cream); overflow: hidden; }
.phone__progress span { display: block; height: 100%; background: var(--green); }
.phone__meta { margin: 7px 0 0; font-size: 9px; color: var(--muted); }
.phone__row { display: flex; align-items: center; gap: 6px; font-size: 9px; line-height: 1.25; }
.phone__row--off { color: #6E7873; }
.phone__check { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid #CFC8B7; flex: none; }
.phone__check--on { border-color: var(--green); }
.phone__tabs { display: flex; justify-content: space-around; align-items: center; padding: 7px 0; border-top: 1px solid var(--border); }
.phone__tabs span { width: 14px; height: 4px; border-radius: 999px; background: var(--bar); }
.phone__tabs span.on { background: var(--green); }
.grow { flex: 1; }

/* Téléphone grand format (mobile) */
.phone--lg { width: 240px; margin: 20px auto 0; aspect-ratio: 9 / 16; background: var(--dark); border-radius: 34px; padding: 6px; pointer-events: none; will-change: transform; }
.phone--lg .phone__screen { border-radius: 28px; }
.phone--lg .phone__bar { padding: 14px 16px; gap: 9px; }
.phone--lg .phone__icon { width: 18px; height: 18px; border-radius: 6px; }
.phone--lg .phone__title { font-size: 16px; }
.phone--lg .phone__body { padding: 12px; gap: 12px; }
.phone--lg .phone__card { border-radius: 14px; padding: 12px; }
.phone--lg .phone__card .mono-label { font-size: 10px; margin-bottom: 8px; }
.phone--lg .phone__card--grow { gap: 11px; }
.phone--lg .phone__card--grow .mono-label { font-size: 10px; margin: 0; }
.phone--lg .phone__progress { height: 7px; }
.phone--lg .phone__meta { margin-top: 8px; font-size: 12px; }
.phone--lg .phone__row { gap: 9px; padding: 0 4px; font-size: 13px; }
.phone--lg .phone__row--hl { padding: 8px 10px; margin: 0 -6px; border-radius: 10px; background: #F1F5F0; }
.phone--lg .phone__check { width: 14px; height: 14px; }
.phone--lg .pill--accent { padding: 2px 7px; }

/* ---------- Recommandations ---------- */
.recos { padding: var(--pad-xl) 0; overflow: hidden; }
.recos__head {
  max-width: 1200px; margin: 0 auto calc(48px * var(--sp));
  padding: 0 var(--gx);
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 24px; flex-wrap: wrap;
}
.recos__title { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4vw, 56px); letter-spacing: -.02em; }
.recos__hint { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.recos__grid {
  max-width: 1200px; margin: 0 auto;
  padding: 0 var(--gx);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 10px;
  grid-auto-flow: dense;
  column-gap: 20px; row-gap: 20px;
}
.reco {
  grid-column: span 12;
  transition: transform .45s var(--ease), box-shadow .5s, opacity .4s;
}
.reco:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(27, 42, 39, .25); }
.reco__inner { padding: 30px 28px; display: flex; flex-direction: column; gap: 18px; }
.reco__title { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; color: var(--accent); line-height: 1.5; }
.reco__text { font-family: var(--serif); font-size: 18px; line-height: 1.5; color: var(--ink); text-wrap: pretty; }
.reco__text--lg { font-size: 22px; }
.reco__by { font-size: 13px; color: var(--ink-3); }
.reco__by a { color: var(--ink); font-weight: 500; border-bottom: 1px solid rgba(27, 42, 39, .28); transition: color .25s, border-color .25s; }
.reco__by a:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- Parcours ---------- */
.parcours { padding: var(--pad-sm) var(--gx) var(--pad-xl); }
.parcours__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: calc(64px * var(--sp)); }
.parcours__intro { max-width: 720px; }
.parcours__title { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4vw, 56px); letter-spacing: -.02em; line-height: 1.1; text-wrap: pretty; }
.link-cv { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink); white-space: nowrap; transition: color .3s; }
.link-cv__label { border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.link-cv:hover { color: var(--accent); }

.tl { position: relative; display: flex; flex-direction: column; gap: calc(72px * var(--sp)); padding: 8px 0; }
.tl__line, .tl__fill { position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; }
.tl__line { background: var(--line); }
.tl__fill { background: var(--accent); transform-origin: top; transform: scaleY(0); will-change: transform; }
.tl__tip {
  position: absolute; left: 50%; top: 0;
  width: 9px; height: 9px; margin-left: -4.5px; margin-top: -4.5px;
  border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 6px rgba(201, 74, 34, .18), 0 0 24px rgba(201, 74, 34, .6);
  will-change: transform; transition: opacity .3s; opacity: 0;
}
.tl__row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(40px, 8vw, 96px) minmax(0, 1fr);
  align-items: center;
}
.tl__dot {
  position: absolute; left: 50%; top: 50%;
  width: 11px; height: 11px; margin: -6px 0 0 -6px;
  border-radius: 50%; background: var(--cream);
  border: 1px solid var(--accent); z-index: 1;
  transition: background .3s, transform .3s;
}
.tl__dot[data-on] { background: var(--accent); transform: scale(1.3); }
.tl__text { grid-column: 1; grid-row: 1; text-align: right; --rx: -24px; --ry: 0; }
.tl__logo { grid-column: 3; grid-row: 1; display: flex; justify-content: flex-start; --rx: 24px; --ry: 0; transition-delay: .15s; }
.tl__row:nth-child(odd) .tl__text { grid-column: 3; text-align: left; --rx: 24px; }
.tl__row:nth-child(odd) .tl__logo { grid-column: 1; justify-content: flex-end; --rx: -24px; }
.tl__dates { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.tl__company { font-family: var(--serif); font-size: clamp(20px, 2.2vw, 28px); letter-spacing: -.01em; }
.tl__role { font-size: 14px; color: var(--ink-3); margin-top: 4px; }
.tl__detail { margin: 12px 0 0; font-size: 14px; line-height: 1.6; color: var(--ink-2); max-width: 46ch; text-wrap: pretty; display: inline-block; }
.tl__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; justify-content: flex-end; }
.tl__row:nth-child(odd) .tl__tags { justify-content: flex-start; }
.tl__tags span { padding: 4px 10px; border-radius: 999px; background: var(--tag); font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.tl__logo-card {
  display: flex; align-items: center; justify-content: center;
  width: clamp(140px, 18vw, 240px);
  aspect-ratio: 16 / 10;
  border-radius: 24px;
  background: var(--dark-2);
  padding: 22px;
  box-sizing: border-box;
  transition: transform .5s var(--ease), background .4s;
  color: inherit;
}
.tl__logo-card:hover { transform: rotate(-3deg) scale(1.05); background: var(--accent); }
.tl__logo-card span { display: block; width: 100%; height: 100%; background-position: center; background-size: contain; background-repeat: no-repeat; }

/* ---------- Cas concrets ---------- */
.cases { padding: var(--pad-lg) var(--gx) var(--pad-md); }
.cases__tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: calc(36px * var(--sp)); }
.cases__tab {
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14px;
  cursor: pointer;
  border: 1px solid var(--border-2);
  background: transparent;
  color: var(--ink-2);
  transition: background .3s, color .3s, border-color .3s;
}
.cases__tab:hover { border-color: var(--ink); color: var(--ink); }
.cases__tab[aria-selected="true"] { border-color: var(--ink); background: var(--ink); color: var(--cream); }
.case__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: calc(36px * var(--sp)); }
.case__title { max-width: 20ch; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.6vw, 52px); letter-spacing: -.02em; line-height: 1.12; text-wrap: pretty; }
.case__meta { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.case__blocks { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.case__block { padding: 30px 28px; display: flex; flex-direction: column; gap: 14px; }
.case__label { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.case__block p:not(.case__label) { font-size: 15px; line-height: 1.65; color: var(--ink-2); text-wrap: pretty; }

/* ---------- Mon univers ---------- */
.stack { padding: 0 var(--gx) var(--pad-xl); }
.stack__inner { border-top: 1px solid var(--line); padding-top: calc(56px * var(--sp)); }
.stack__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: calc(40px * var(--sp)); }
.stack__title { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -.02em; }
.stack__hint { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.cloud { position: relative; width: 100%; max-width: 1000px; margin: 0 auto; height: 420px; }
.cloud [data-cloud] {
  position: absolute; left: 0; top: 0;
  white-space: nowrap; line-height: 1;
  font-family: var(--sans);
  opacity: 0;
  transition: opacity .6s, color .2s, transform .18s var(--ease);
  cursor: default;
  will-change: transform;
}
.cloud [data-cloud]:hover { color: var(--accent); }
.cloud .w5 { font-size: 50px; font-weight: 500; color: var(--accent); }
.cloud .w4 { font-size: 32px; font-weight: 500; color: var(--ink); }
.cloud .w3 { font-size: 24px; color: var(--ink); }
.cloud .w2 { font-size: 18px; color: var(--ink-3); }
.cloud .w1 { font-size: 14px; color: var(--muted); }
.stack__groups { display: flex; flex-direction: column; gap: 32px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { padding: 9px 14px; border: 1px solid var(--border-2); border-radius: 999px; font-size: 14px; transition: opacity .7s, transform .7s; }

/* ---------- Contact ---------- */
.contact { background: var(--dark); color: var(--cream); padding: var(--pad-xl) var(--gx) 40px; }
.contact__inner { max-width: 1200px; margin: 0 auto; }
.contact .eyebrow { margin-bottom: calc(28px * var(--sp)); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 5vw, 80px); align-items: stretch; margin-bottom: 40px; }
.contact__title { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 6vw, 96px); letter-spacing: -.02em; line-height: 1.05; }
.steps { display: flex; flex-direction: column; align-items: flex-end; width: clamp(90px, 11vw, 180px); padding: .12em 0; font-size: clamp(36px, 6vw, 96px); }
.steps__bar { flex: 1; border-radius: 8px 8px 2px 2px; margin-bottom: 6px; }
.steps__bar--1 { position: relative; width: 42%; background: var(--accent); }
.steps__bar--2 { width: 71%; background: rgba(201, 74, 34, .72); }
.steps__bar--3 { width: 100%; background: rgba(201, 74, 34, .45); margin-bottom: 0; }
.steps__dot { position: absolute; top: -.28em; right: .18em; width: .22em; height: .22em; border-radius: 50%; background: var(--cream); }
.contact__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 64px; }
.contact__cv { padding: 16px 8px; font-size: 15px; color: rgba(239, 234, 224, .7); transition: color .3s; }
.contact__cv:hover { color: #fff; }
.footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 20px; padding-top: 28px;
  border-top: 1px solid rgba(239, 234, 224, .12);
  font-size: 13px; color: rgba(239, 234, 224, .5);
}
.footer__meta { font-family: var(--mono); font-size: 12px; }

/* ---------- Scrollbars cachées ---------- */
.snap { scrollbar-width: none; }
.snap::-webkit-scrollbar { display: none; }

/* ==================================================================
   MOBILE
   ================================================================== */
@media (max-width: 767px) {
  .desktop-only, .br-desktop { display: none !important; }

  [data-reveal] { --ry: 18px; transition-duration: .8s; }
  [data-reveal="fade"] { --ry: 0; }
  [data-reveal="left"] { --rx: -18px; }
  [data-reveal="right"] { --rx: 18px; }
  @keyframes heroIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
  @keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

  /* Nav */
  .nav { padding: 16px 20px; }
  .nav__logo { font-size: 40px; }
  .nav__right { gap: 16px; }
  .nav__clock { font-size: 11px; gap: 7px; }
  .nav__link { padding: 10px 0; font-size: 12px; }

  /* Hero */
  .hero { height: 100svh; min-height: 640px; }
  .hero__veil {
    background:
      radial-gradient(ellipse 70% 55% at 60% 30%, rgba(201, 74, 34, .22), transparent 70%),
      linear-gradient(to top, #12201D 22%, rgba(18, 32, 29, .4) 60%, rgba(18, 32, 29, .55));
  }
  .hero__photo img {
    right: -24%; top: 4%; height: 64%; max-width: none;
    -webkit-mask-image: linear-gradient(to bottom, #000 50%, transparent 96%), linear-gradient(to right, transparent 0%, #000 30%);
    mask-image: linear-gradient(to bottom, #000 50%, transparent 96%), linear-gradient(to right, transparent 0%, #000 30%);
  }
  .hero__content { left: 20px; right: 20px; bottom: 64px; }
  .hero__name { margin-bottom: 14px; font-size: 15px; }
  .hero__title { font-size: clamp(44px, 13vw, 56px); line-height: 1.04; }
  .hero__product { display: block; }
  .hero__bottom { flex-direction: column; align-items: stretch; gap: 22px; margin-top: 26px; }
  .hero__tagline { max-width: none; }
  .hero__t1 { font-size: 17px; }
  .hero__t2 { font-size: 15px; }
  .hero .btn--accent { display: flex; justify-content: center; min-height: 54px; box-sizing: border-box; padding: 15px 24px; font-size: 15px; }
  .hero .btn--accent:hover { transform: none; }
  .hero__scroll { bottom: 16px; padding: 8px; }

  .main { border-radius: 24px 24px 0 0; }

  /* Aujourd'hui */
  .now { padding: 64px 20px 44px; }
  .now .eyebrow { margin-bottom: 28px; }
  .now__grid { display: block; }
  .now__text { font-size: clamp(24px, 6.6vw, 28px); line-height: 1.32; }
  .now__sub { font-size: 16px; max-width: none; }
  .bridge { --rv: 90px; --rh: 96px; --rd: 60px; --od: 42px; width: 300px; height: 250px; aspect-ratio: auto; margin: 48px auto 0; }
  .bridge__node { padding: 9px 16px; font-size: 13px; }
  .bridge__core { width: 56px; height: 56px; font-size: 18px; }

  /* 3 casquettes */
  .hats { padding: 36px 20px 52px; }
  .hats__head { display: block; margin-bottom: 0; }
  .hats__title { margin-bottom: 32px; font-size: clamp(34px, 9.5vw, 40px); max-width: none; }
  .backlog { gap: 12px; max-width: none; margin-bottom: 44px; }
  .backlog__bar { height: 12px; }
  .backlog__bar--desk { display: none; }
  .hats__grid { display: flex; flex-direction: column; gap: 14px; }
  .hat { padding: 26px 22px 28px; }
  .hat__meta { margin-bottom: 32px; }
  .hat__role { margin-bottom: 12px; font-size: 26px; }
  .hat__tech { font-size: 13px; }
  .hat__what { margin-bottom: 18px; }
  .hat__proof { padding-top: 16px; }

  /* Atriate */
  .atriate { border-radius: 24px; margin: 0 8px; padding: 52px 20px 20px; overflow: visible; }
  .atriate__grid { display: block; }
  .atriate .eyebrow { margin-bottom: 24px; }
  .atriate__head { gap: 12px; margin-bottom: 18px; }
  .atriate__title { font-size: 44px; }
  .atriate__pitch { margin-bottom: 28px; font-size: 19px; max-width: none; }
  .atriate__hint { margin-bottom: 16px; }
  .atriate__actions { flex-direction: column; gap: 12px; align-items: stretch; }
  .atriate .btn--cream { display: flex; justify-content: center; min-height: 52px; box-sizing: border-box; font-size: 15px; }
  .atriate .btn--cream:hover { transform: none; }
  .atriate__all { justify-content: center; min-height: 44px; box-sizing: border-box; padding: 10px 4px; }
  .atriate__all span { padding-bottom: 2px; }

  /* Recommandations : carrousel */
  .recos { padding: 64px 0 52px; position: relative; z-index: 0; }
  body[data-atriate="off"] .recos { padding-top: 24px; }
  .recos__head { padding: 0 20px; margin-bottom: 28px; flex-direction: column; gap: 10px; }
  .recos__title { font-size: clamp(32px, 9vw, 38px); line-height: 1.1; }
  .recos__grid {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 0 24px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y;
    scroll-snap-type: x proximity;
    scroll-padding-left: 24px;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
  }
  .recos__grid .reco { flex: 0 0 82%; scroll-snap-align: start; opacity: 1; transform: none; box-sizing: border-box; }
  .recos__grid .reco:hover { transform: none; box-shadow: none; }
  .reco__inner { padding: 26px 22px; gap: 16px; }
  .reco__title { font-size: 12px; }
  .reco__text, .reco__text--lg { font-size: 17px; }
  .recos__spacer { flex: 0 0 6px; }

  /* Parcours */
  .parcours { padding: 24px 20px 52px; }
  .parcours__head { display: block; margin-bottom: 0; }
  .parcours .eyebrow { margin-bottom: 20px; }
  .parcours__title { margin-bottom: 24px; font-size: clamp(30px, 8.5vw, 36px); line-height: 1.12; }
  .link-cv { min-height: 44px; }
  .tl { gap: 44px; margin-top: 44px; }
  .tl__line, .tl__fill, .tl__tip { left: 14px; }
  .tl__tip { margin-left: -4px; }
  .tl__row { display: flex; flex-direction: column; gap: 14px; padding-left: 40px; }
  .tl__dot { left: 14px; top: 14px; margin: 0 0 0 -5px; }
  .tl__text, .tl__row:nth-child(odd) .tl__text { text-align: left; --rx: -18px; }
  .tl__logo, .tl__row:nth-child(odd) .tl__logo { order: -1; justify-content: flex-start; --rx: -18px; transition-delay: 0s; }
  .tl__company { font-size: 22px; line-height: 1.2; }
  .tl__role { margin-top: 4px; }
  .tl__detail { display: block; max-width: none; }
  .tl__tags, .tl__row:nth-child(odd) .tl__tags { justify-content: flex-start; }
  .tl__tags span { padding: 5px 10px; }
  .tl__logo-card { width: 128px; border-radius: 18px; padding: 16px; }
  .tl__logo-card:hover { transform: none; background: var(--dark-2); }

  /* Cas concrets */
  .cases { padding: 44px 0 48px; }
  .cases .eyebrow { margin: 0 20px 20px; }
  .cases__tabs { flex-wrap: nowrap; gap: 8px; padding: 0 20px; margin-bottom: 28px; overflow-x: auto; }
  .cases__tab { flex: none; min-height: 44px; box-sizing: border-box; padding: 10px 16px; white-space: nowrap; }
  .case__head { flex-direction: column; gap: 10px; padding: 0 20px; margin-bottom: 28px; }
  .case__title { font-size: clamp(28px, 7.8vw, 34px); line-height: 1.14; max-width: none; }
  .case__blocks { display: flex; flex-direction: column; gap: 14px; padding: 0 20px; }
  .case__block { padding: 24px 22px; gap: 12px; }

  /* Mon univers */
  .stack { padding: 0 20px 52px; }
  .stack__inner { padding-top: 36px; }
  .stack__head { flex-direction: column; gap: 8px; margin-bottom: 32px; }
  .stack__title { font-size: 30px; }

  /* Contact */
  .contact { padding: 56px 20px 36px; }
  .contact .eyebrow { margin-bottom: 22px; }
  .contact__grid { grid-template-columns: minmax(0, 1fr) 64px; gap: 20px; margin-bottom: 36px; }
  .contact__title { font-size: clamp(34px, 9.5vw, 42px); line-height: 1.06; }
  .steps { width: 64px; font-size: 40px; }
  .steps__bar { border-radius: 6px 6px 2px 2px; margin-bottom: 5px; --rx: 0; }
  .steps__bar--3 { margin-bottom: 0; }
  .contact__actions { flex-direction: column; gap: 12px; align-items: stretch; margin-bottom: 36px; }
  .contact .btn--lg { display: flex; justify-content: center; min-height: 54px; box-sizing: border-box; }
  .contact .btn--lg:hover { transform: none; }
  .contact__cv { display: flex; justify-content: center; min-height: 44px; box-sizing: border-box; padding: 12px 8px; }
  .footer { flex-direction: column; align-items: flex-start; gap: 10px; padding-top: 24px; }
}

/* ---------- Accessibilité : mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .cloud [data-cloud] { opacity: 1 !important; }
}
