/* ============================================================
   IMAGINOVE : « Planche d'autocollants »
   Monde : feuille de vinyle découpé sur papier support translucide.
   Chaque service est un autocollant à bord blanc ; on le décolle,
   on le pose. Le rouge #D72D2A ne marque que l'élément actif.
   Tout est scopé sous .planche (les autres pages ne bougent pas).
   ============================================================ */

.planche {
  --paper: #E3E7E9;
  --paper-2: #D3D9DC;
  --white: #FFFFFF;
  --ink: #121212;
  --muted: #3A4145;
  --red: #D72D2A;
  --red-d: #A52220;
  --f: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-display: var(--f);
  --f-body: var(--f);
  --ring: 0 0 0 6px var(--white);
  --lift: 0 14px 22px -10px rgba(18, 18, 18, .38);

  font-family: var(--f);
  background: var(--paper);
  color: var(--ink);
}

/* Reflet du papier support : une seule bande, décalée au scroll (compositeur seul) */
.planche::before {
  content: '';
  position: fixed;
  inset: 0 -60vw;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(104deg, transparent 38%, rgba(255, 255, 255, .5) 50%, transparent 62%);
  transform: translateX(calc(var(--sheen, 0) * 1px - 25vw));
}
.planche main, .planche .footer { position: relative; z-index: 1; }

/* ---------- Typo ---------- */
.planche h1, .planche h2, .planche h3 {
  font-family: var(--f);
  color: var(--ink);
  margin: 0;
}
.planche h2 {
  font-weight: 900;
  font-stretch: 118%;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  line-height: 1;
  letter-spacing: -.025em;
  text-transform: uppercase;
}
.planche h3 { font-weight: 800; font-stretch: 108%; line-height: 1.12; letter-spacing: -.01em; }
.planche .lead { font-size: clamp(1rem, 1.3vw, 1.16rem); line-height: 1.55; color: #2A3034; max-width: 56ch; }
.planche .u-red { color: var(--red); }
.planche .center { text-align: center; margin: 48px 0 0; }


/* ---------- Boutons : autocollants ---------- */
.planche .btn {
  border-radius: 14px;
  padding: 16px 22px;
  font: 800 .82rem/1 var(--f);
  letter-spacing: .07em;
  text-transform: uppercase;
  border: 0;
  transition: translate .25s cubic-bezier(.2, .9, .3, 1), box-shadow .25s;
}
.planche .btn:hover { translate: 0 -3px; transform: none; }
.planche .btn:active { transform: scale(.97); transition: none; }
.planche .btn-primary { background: var(--red); color: var(--white); box-shadow: 0 0 0 5px var(--white), var(--lift); }
.planche .btn-primary:hover { background: var(--red); box-shadow: 0 0 0 5px var(--white), 0 20px 26px -12px rgba(18, 18, 18, .45); }
.planche .btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.planche .btn-ghost:hover { background: var(--white); box-shadow: inset 0 0 0 2px var(--ink); }
.planche .btn-dark { background: var(--ink); color: var(--white); box-shadow: 0 0 0 5px var(--white), var(--lift); }
.planche .btn-dark:hover { background: var(--ink); }
.planche .btn-paper { background: var(--white); color: var(--ink); box-shadow: none; }
.planche :focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; }
.planche .final :focus-visible { outline-color: var(--white); }

/* ---------- Header : verre dépoli sur le papier ---------- */
.planche .header {
  background: rgba(227, 231, 233, .66);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
}
/* Le logo a un fond blanc : on l'assume en autocollant (bord blanc, léger angle) */
.planche .logo-img { height: 54px; border-radius: 10px; box-shadow: 0 0 0 4px var(--white), 0 8px 14px -8px rgba(18, 18, 18, .45); rotate: -2deg; transition: rotate .35s cubic-bezier(.2, .9, .3, 1); }
.planche .logo:hover .logo-img { rotate: 0deg; }
.planche .header.scrolled { box-shadow: none; border-bottom-color: rgba(18, 18, 18, .12); }
.planche .nav a { font: 700 .76rem/1 var(--f); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.planche .nav a:hover, .planche .nav a.active { color: var(--red); }
.planche .nav a.active::after { background: var(--red); }
.planche .nav a.nav-cta { color: var(--white); border-radius: 12px; padding: 13px 16px; box-shadow: 0 0 0 4px var(--white); }
.planche .nav a.nav-cta:hover { color: var(--white); }
.planche .nav-toggle { color: var(--ink); }
@media (max-width: 900px) {
  .planche .nav a { font-family: var(--f); font-weight: 800; font-size: 1.1rem; }
  .planche .nav a.nav-cta { font-size: 1rem; box-shadow: none; }
}

/* ---------- Autocollant : base ---------- */
.planche .stk {
  --r: 18px;
  position: relative;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--r);
  box-shadow: var(--ring), var(--lift);
  rotate: var(--rot, 0deg);
  translate: 0 var(--ty, 0px);
  transition: translate .35s cubic-bezier(.2, .9, .3, 1), rotate .35s cubic-bezier(.2, .9, .3, 1), box-shadow .3s;
}
.planche .stk:hover { translate: 0 calc(var(--ty, 0px) - 6px); rotate: 0deg; }
.planche .stk-red { background: var(--red); color: var(--white); }
.planche .stk-tag {
  display: inline-block;
  padding: .45em .8em;
  border-radius: 12px;
  font: 900 .78rem/1.1 var(--f);
  font-stretch: 118%;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.planche .stk-rect { --r: 18px; }

/* Coin qui se décolle (au survol / focus) */
.planche .stk-rect::after,
.planche .stk-svc::after {
  content: '';
  position: absolute;
  right: -6px;
  bottom: -6px;
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #F7F8F8 0 50%, var(--paper) 50% 100%);
  border-bottom-right-radius: 4px;
  filter: drop-shadow(-3px -3px 3px rgba(18, 18, 18, .28));
  transform: scale(0);
  transform-origin: bottom right;
  transition: transform .3s cubic-bezier(.2, .9, .3, 1);
  pointer-events: none;
}
.planche .stk-svc::after { transform: scale(.4); }   /* le coin décollé se voit déjà au repos */
.planche .stk-rect:hover::after,
.planche .stk-svc:hover::after,
.planche .stk-svc:focus-visible::after,
.planche .stk-svc.is-lifted::after { transform: scale(1); }
.planche .stk-red::after { background: linear-gradient(135deg, #F7F8F8 0 50%, var(--paper) 50% 100%); }

/* ============================================================
   HERO : la planche
   ============================================================ */
.planche .sheet { position: relative; }
.planche .pl-hero { padding: 112px 0 56px; }

/* Repères de registre aux quatre coins */
.planche .reg {
  position: absolute;
  width: 26px; height: 26px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  opacity: .5;
}
.planche .reg::before, .planche .reg::after { content: ''; position: absolute; background: var(--ink); }
.planche .reg::before { left: 50%; top: -9px; bottom: -9px; width: 1.5px; translate: -50% 0; }
.planche .reg::after { top: 50%; left: -9px; right: -9px; height: 1.5px; translate: 0 -50%; }
.planche .reg-tl { top: 96px; left: 20px; }
.planche .reg-tr { top: 96px; right: 20px; }
.planche .reg-bl { bottom: 18px; left: 20px; }
.planche .reg-br { bottom: 18px; right: 20px; }

.planche .pl-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.planche .pl-hero h1 {
  font-weight: 900;
  font-stretch: 125%;
  font-size: clamp(2.3rem, 4.7vw, 5rem);
  line-height: .94;
  letter-spacing: -.035em;
  text-transform: uppercase;
  margin: 0 0 28px;
}
.planche .h1-main { display: block; }
.planche .h1-tag {
  margin-top: .38em;
  font-size: .46em;
  line-height: 1.1;
  letter-spacing: -.01em;
  padding: .4em .72em;
  rotate: -3deg;
  --r: 14px;
}
.planche .h1-tag:hover { rotate: -3deg; translate: 0 0; }
.planche .pl-hero .lead { margin: 0 0 30px; }
.planche .pl-ctas { display: flex; flex-wrap: wrap; gap: 18px 16px; align-items: center; }

/* Le support : la vraie photo du camion */
.planche .support {
  position: relative;
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--ring), 0 26px 40px -20px rgba(18, 18, 18, .5);
  transition: outline-color .2s, box-shadow .2s;
  outline: 3px dashed transparent;
  outline-offset: 10px;
}
.planche .support img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.planche .support.is-target { outline-color: rgba(215, 45, 42, .55); overflow: visible; }
.planche .support.is-target img { border-radius: 22px; }
.planche .support.is-over { outline-color: var(--red); }
.planche .support-layer { position: absolute; inset: 0; pointer-events: none; }
.planche .support figcaption {
  position: absolute;
  left: 12px; bottom: 12px;
  padding: 7px 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .88);
  font: 700 .62rem/1 var(--f);
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Carte « pose » : matière translucide */
.planche .pose-card {
  margin-top: 26px;
  min-height: 134px;
  display: flex;
  flex-direction: column;
  justify-content: center;   /* même hauteur au repos et une fois un service posé : la page ne saute pas */
  padding: 16px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .55);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 10px 24px -16px rgba(18, 18, 18, .4);
}
.planche .pose-hint { margin: 0; font-size: .95rem; line-height: 1.45; }
.planche .pose-hint strong { font-weight: 900; text-transform: uppercase; letter-spacing: .04em; margin-right: 4px; }
.planche .pose-title { margin: 0 0 6px; font: 900 1.05rem/1.1 var(--f); font-stretch: 112%; text-transform: uppercase; color: var(--red); }
.planche .pose-items { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0 0 10px; padding: 0; font-size: .86rem; }
.planche .pose-items li::before { content: '+ '; color: var(--ink); font-weight: 800; }
.planche .pose-actions { display: flex; align-items: center; gap: 18px; margin: 0; }
.planche .pose-link { font: 800 .76rem/1 var(--f); letter-spacing: .1em; text-transform: uppercase; border-bottom: 2px solid var(--ink); padding-bottom: 3px; }
.planche .pose-link:hover { color: var(--red); border-color: var(--red); }
.planche .pose-undo { background: none; border: 0; padding: 0; font: 700 .76rem/1 var(--f); letter-spacing: .1em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px; color: var(--muted); }
.planche .pose-undo:hover { color: var(--red); }

/* ---------- Le plateau : 8 emplacements découpés ---------- */
.planche .tray {
  list-style: none;
  margin: 44px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 16px;
}
.planche .slot {
  position: relative;
  aspect-ratio: 1 / 1.14;
  border: 2px dashed rgba(18, 18, 18, .3);   /* trait de découpe fantôme */
  border-radius: 22px;
  padding: 8px;
  box-sizing: border-box;
}

.planche .stk-svc {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 7px 7px 6px;
  border: 0;
  font: inherit;
  text-align: center;
  cursor: grab;
  rotate: none;
  translate: none;
  transform: rotate(var(--rot, 0deg));
  transition: translate .25s cubic-bezier(.2, .9, .3, 1), box-shadow .25s;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}
.planche .stk-svc:hover { translate: 0 -4px; rotate: none; }
.planche .stk-rect.stk-svc { --r: 18px; }
.planche .stk-blob { border-radius: 34px 16px 38px 20px; }
.planche .stk-circle { border-radius: 46px; }
.planche .stk-img { display: block; flex: 1; min-height: 0; border-radius: 12px; overflow: hidden; }
.planche .stk-blob .stk-img { border-radius: 27px 9px 31px 13px; }
.planche .stk-circle .stk-img { border-radius: 39px; }
.planche .stk-img img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.planche .stk-name {
  display: block;
  padding: 7px 2px 1px;
  font: 800 .72rem/1.1 var(--f);
  letter-spacing: .05em;
  text-transform: uppercase;
}
.planche .stk-svc.is-lifted {
  cursor: grabbing;
  z-index: 40;
  box-shadow: var(--ring), 0 30px 36px -14px rgba(18, 18, 18, .5);
  transition: box-shadow .15s;
}

/* Autocollant posé : à plat sur la carrosserie */
.planche .stk-svc.is-applied,
.planche .stk-svc.is-applied:hover {
  position: absolute;
  left: var(--ax);
  top: var(--ay);
  width: clamp(62px, 15%, 118px);
  height: auto;
  aspect-ratio: 1 / 1.14;
  padding: 4px;
  translate: -50% -50%;
  transform: rotate(var(--ar, 0deg));
  box-shadow: 0 0 0 3px var(--white), 0 1px 3px rgba(18, 18, 18, .35);
  cursor: pointer;
  pointer-events: auto;
  z-index: 3;
}
.planche .stk-svc.is-applied .stk-name { display: none; }
.planche .stk-svc.is-applied::after { display: none; }

/* ============================================================
   SECTIONS
   ============================================================ */
.planche .section { padding: 112px 0; position: relative; }
.planche .sec-head { max-width: 780px; margin: 0 0 56px; }
.planche .sec-head .lead { margin: 22px 0 0; }
.planche .sec-head-sub { margin-top: 120px; }

/* Étapes : trois autocollants décalés */
.planche .steps-row {
  list-style: none;
  margin: 0;
  padding: 0 0 70px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.planche .step { padding: 34px 30px 40px; min-height: 320px; }
.planche .step:nth-child(1) { --rot: -1deg; }
.planche .step:nth-child(2) { --rot: .8deg; --ty: 30px; }
.planche .step:nth-child(3) { --rot: -1.4deg; --ty: 60px; }
.planche .pl-num {
  display: block;
  margin-bottom: 26px;
  font: 900 4.6rem/.9 var(--f);
  font-stretch: 125%;
  letter-spacing: -.04em;
  color: var(--ink);
}
.planche .stk-red .pl-num { color: var(--white); }
.planche .step h3 { font-size: 1.5rem; margin: 0 0 14px; }
.planche .step p { margin: 0; line-height: 1.55; font-size: .98rem; }
.planche .step strong { font-weight: 800; }

/* Services : planche de 8 cartes */
.planche .services { background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, .5) 110px, rgba(255, 255, 255, .5) calc(100% - 110px), rgba(255, 255, 255, 0) 100%); }
.planche .svc-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px 26px;
}
.planche .svc { display: block; height: 100%; padding: 9px 9px 20px; }
.planche .svc-img { display: block; aspect-ratio: 4 / 3; border-radius: 11px; overflow: hidden; margin-bottom: 14px; }
.planche .svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .9, .3, 1); }
.planche .svc:hover .svc-img img { transform: scale(1.05); }
.planche .svc h3 { margin: 0 8px 10px; font-size: 1rem; text-transform: uppercase; letter-spacing: .01em; }
.planche .svc ul { list-style: none; margin: 0 8px; padding: 0; font-size: .82rem; line-height: 1.5; color: var(--muted); }
.planche .svc li::before { content: '– '; color: var(--ink); font-weight: 800; }

/* Réalisations : collage de photos réelles */
.planche .works-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px 28px; align-items: start; }
.planche .work { position: relative; margin: 0; }
.planche .work img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--ring), 0 24px 34px -18px rgba(18, 18, 18, .5);
}
.planche .work figcaption { position: absolute; left: -8px; bottom: 24px; rotate: -3deg; }
.planche .work-1 { grid-column: 1 / 8; }
.planche .work-2 { grid-column: 8 / 13; margin-top: 70px; }
.planche .work-3 { grid-column: 4 / 11; margin-top: -10px; }

/* Pour qui : pastilles rondes */
.planche .who { background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, .5) 110px, rgba(255, 255, 255, .5) calc(100% - 110px), rgba(255, 255, 255, 0) 100%); }
.planche .who-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}
.planche .who-card { display: block; padding: 9px 9px 22px; }
.planche .who-img { display: block; aspect-ratio: 4 / 3; border-radius: 11px; overflow: hidden; margin-bottom: 18px; }
.planche .who-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .9, .3, 1); }
.planche .who-card:hover .who-img img { transform: scale(1.05); }
.planche .who-card strong { display: block; margin: 0 10px 8px; font: 900 1.35rem/1 var(--f); font-stretch: 125%; text-transform: uppercase; letter-spacing: -.02em; }
.planche .who-text { display: block; margin: 0 10px; font-size: .88rem; line-height: 1.45; color: var(--muted); }

/* Confiance : étiquettes */
.planche .trust-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 30px;
}
.planche .trust-row .stk { padding: 26px 26px 30px; }
.planche .trust-row .tag { display: block; margin: 0 0 12px; font: 700 .72rem/1.2 var(--f); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.planche .trust-row h3 { font-size: 1.25rem; margin: 0 0 10px; }
.planche .trust-row p { margin: 0; font-size: .92rem; line-height: 1.55; }
.planche .trust-link { display: inline-block; margin-top: 16px; font: 800 .76rem/1 var(--f); letter-spacing: .1em; text-transform: uppercase; border-bottom: 2px solid currentColor; padding-bottom: 3px; }
.planche .note { margin: 34px 0 0; font-size: .82rem; color: var(--muted); }
.planche .note a { text-decoration: underline; text-underline-offset: 3px; }

/* CTA final : plaque noire, très grand */
.planche .final { background: var(--ink); color: var(--white); padding: 130px 0 140px; position: relative; z-index: 1; }
.planche .final h2 {
  color: var(--white);
  font-size: clamp(2.2rem, 7vw, 6rem);
  font-stretch: 125%;
  line-height: .86;
  letter-spacing: -.04em;
  white-space: nowrap;      /* « Parlons-en. » ne se coupe jamais sur le tiret */
  margin: 0 0 30px;
}
.planche .final .lead { color: rgba(255, 255, 255, .8); margin: 0 0 40px; }
.planche .final .btn-primary { box-shadow: 0 0 0 5px var(--white); }

/* Pied de page */
.planche .footer { background: var(--ink); }
.planche .footer img[alt="Imaginove"] { filter: none !important; height: 52px !important; padding: 6px 10px; background: var(--white); border-radius: 10px; rotate: -2deg; }
.planche .footer h4 { font-family: var(--f); font-weight: 800; letter-spacing: .12em; }
.planche .footer a:hover { color: var(--white); }

/* ---------- Apparition au scroll : visible par défaut, jamais caché sans JS ---------- */
.planche .will-rise { opacity: 0; translate: 0 26px; }
.planche [data-rise] { transition: opacity .7s cubic-bezier(.2, .9, .3, 1), translate .7s cubic-bezier(.2, .9, .3, 1); }
.planche .stk[data-rise] { transition: opacity .7s cubic-bezier(.2, .9, .3, 1), translate .35s cubic-bezier(.2, .9, .3, 1), rotate .35s cubic-bezier(.2, .9, .3, 1), box-shadow .3s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .planche .pl-grid { grid-template-columns: 1fr; }
  .planche .pl-hero { padding-top: 100px; }
  .planche .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .planche .reg-tl, .planche .reg-tr { top: 88px; }
}
@media (max-width: 900px) {
  .planche .section { padding: 80px 0; }
  .planche .steps-row { grid-template-columns: 1fr; padding-bottom: 20px; }
  .planche .step:nth-child(n) { --ty: 0px; min-height: 0; }
  .planche .works-grid { grid-template-columns: 1fr; gap: 34px; }
  .planche .work-1, .planche .work-2, .planche .work-3 { grid-column: 1; margin-top: 0; }
  .planche .who-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .planche .trust-row { grid-template-columns: 1fr; }
  .planche .sec-head-sub { margin-top: 84px; }
  /* plateau : défilement horizontal, on touche pour poser */
  .planche .tray { display: flex; overflow-x: auto; gap: 14px; padding: 12px 6px 26px; margin: 34px -6px 0; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
  .planche .slot { flex: 0 0 118px; scroll-snap-align: start; }
  .planche .tray { scrollbar-width: none; }
  .planche .tray::-webkit-scrollbar { display: none; }
}
@media (max-width: 560px) {
  .planche .who-list { grid-template-columns: 1fr; }
  .planche .svc-grid { grid-template-columns: 1fr; }
  .planche .pl-hero h1 { font-size: clamp(2rem, 9.4vw, 2.8rem); }
  .planche .reg { display: none; }
  .planche .btn { padding: 15px 18px; }
  .planche .final { padding: 90px 0 100px; }
  .planche .stk-svc.is-applied, .planche .stk-svc.is-applied:hover { width: clamp(66px, 23%, 104px); }
}

/* ---------- Mouvement réduit : pas de glissement, pas de reflet ---------- */
@media (prefers-reduced-motion: reduce) {
  .planche::before { display: none; }
  .planche .will-rise { opacity: 1; translate: none; }
  .planche *, .planche *::before, .planche *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .planche .header, .planche .pose-card { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--white); }
}
