/* ================================================================
   JDR STUDIO — Pages détail des prestations
   S'appuie sur css/style.css (keyframes jdr-rise, jdr-wipe, etc.)
   ================================================================ */
.ps { font-family: 'Archivo', sans-serif; color: #111111; background: #ffffff; min-width: 0; }
.ps-wrap { max-width: 1360px; margin: 0 auto; padding-left: 24px; padding-right: 24px; box-sizing: border-box; }
.ps svg text { font-family: 'Space Mono', monospace; font-weight: 700; }

/* ── Boutons ── */
.ps-btn {
  display: inline-block;
  font-family: 'Space Mono', monospace; font-size: 14px; font-weight: 700; letter-spacing: 0.05em;
  padding: 18px 28px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.ps-btn-dark { background: #111111; color: #ffffff; }
.ps-btn-dark:hover { transform: translate(-3px, -3px); box-shadow: 4px 4px 0 #FFD600; color: #ffffff; }
.ps-btn-line { border: 2px solid #111111; padding: 16px 28px; color: #111111; }
.ps-btn-line:hover { transform: translate(-4px, -4px); box-shadow: 6px 6px 0 #111111; color: #111111; }
.ps-btn-yellow { background: #FFD600; color: #111111; }
.ps-btn-yellow:hover { transform: translate(-3px, -3px); box-shadow: 4px 4px 0 #111111; color: #111111; }
.ps-dark .ps-btn-yellow:hover { box-shadow: 4px 4px 0 #ffffff; }
.ps-link {
  font-family: 'Space Mono', monospace; font-size: 14px; font-weight: 700; letter-spacing: 0.06em;
  border-bottom: 2px solid #111111; padding-bottom: 4px;
}

/* ── Hero ── */
.ps-hero {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center;
  padding-top: 72px; padding-bottom: 80px;
}
.ps-kicker {
  font-family: 'Space Mono', monospace; font-size: 13px; font-weight: 700; letter-spacing: 0.1em;
  color: #666666; margin-bottom: 28px;
}
.ps-kicker a { color: #666666; border-bottom: 1px solid #666666; }
.ps-kicker a:hover { color: #111111; border-color: #111111; }
.ps-hero h1 {
  margin: 0; font-size: var(--ps-h1, clamp(44px, 6.4vw, 100px)); line-height: 0.97; font-weight: 900;
  letter-spacing: -0.02em; text-transform: uppercase;
  animation: jdr-rise .8s cubic-bezier(.2,.7,.2,1) both;
}
.ps-h1-long { --ps-h1: clamp(33px, 5vw, 78px); }
.ps-hl {
  display: inline-block; white-space: nowrap; background: #FFD600; padding: 0 10px;
  animation: jdr-wipe .9s .35s cubic-bezier(.7,0,.2,1) both;
}
.ps-lead {
  margin: 36px 0 0; max-width: 560px; font-size: 19px; line-height: 1.55; color: #333333;
  animation: jdr-rise .8s .2s cubic-bezier(.2,.7,.2,1) both;
}
.ps-actions {
  display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px;
  animation: jdr-rise .8s .3s cubic-bezier(.2,.7,.2,1) both;
}
.ps-art {
  border: 2px solid #111111; background: #f7f6f3; box-shadow: 12px 12px 0 #FFD600;
  animation: jdr-rise .9s .25s cubic-bezier(.2,.7,.2,1) both;
}
.ps-art svg, .ps-pic svg { display: block; width: 100%; height: auto; }

/* ── Sections ── */
.ps-sec { padding-top: 88px; padding-bottom: 96px; }
.ps-sec-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 16px 24px; margin-bottom: 40px; }
.ps-h2 {
  margin: 0; font-size: clamp(34px, 4.2vw, 64px); font-weight: 900; text-transform: uppercase;
  letter-spacing: -0.02em; line-height: 1;
}
.ps-meta { font-family: 'Space Mono', monospace; font-size: 14px; color: #666666; }

/* ── Cartes « ce qu'il est possible de faire » ── */
.ps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ps-card {
  height: 100%; display: flex; flex-direction: column; box-sizing: border-box;
  border: 2px solid #111111; background: #ffffff;
}
.ps-pic { border-bottom: 2px solid #111111; background: #f7f6f3; transition: background-color .25s ease; }
.ps-card:hover .ps-pic { background-color: #FFD600; }
.ps-card:hover .ps-pic [fill="#FFD600"] { fill: #ffffff; }
.ps-pic [fill="#FFD600"] { transition: fill .25s ease; }
.ps-card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.ps-num { font-family: 'Space Mono', monospace; font-size: 12px; font-weight: 700; color: #666666; }
.ps-card h3 { margin: 0; font-size: clamp(19px, 1.7vw, 24px); font-weight: 800; text-transform: uppercase; line-height: 1.1; overflow-wrap: anywhere; }
.ps-card p { margin: 0; font-size: 15px; line-height: 1.5; color: #333333; }

/* ── Étapes ── */
.ps-split { display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: flex-start; }
.ps-split > :first-child { flex: 1 1 340px; min-width: 0; }
.ps-split > :last-child { flex: 1 1 440px; min-width: 0; max-width: 640px; }
.ps-steps { list-style: none; margin: 0 0 32px; padding: 0; font-family: 'Space Mono', monospace; font-size: 14px; line-height: 1.5; }
.ps-steps li {
  display: flex; gap: 16px; border-top: 1px solid #111111; padding: 16px 0;
  transition: padding-left .25s ease, background-color .25s ease;
}
.ps-steps li:last-child { border-bottom: 1px solid #111111; }
.ps-steps li:hover { padding-left: 14px; background-color: rgba(255, 214, 0, .3); }
.ps-steps b { font-weight: 700; }
.ps-note { margin: 0 0 28px; font-size: 15px; line-height: 1.55; color: #333333; border-left: 4px solid #FFD600; padding-left: 14px; }

/* ── Exemple de réalisation ── */
.ps-band { background: #f7f6f3; border-top: 2px solid #111111; border-bottom: 2px solid #111111; }
.ps-ex { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 64px; align-items: center; padding-top: 80px; padding-bottom: 88px; }
.ps-shot { border: 2px solid #111111; box-shadow: 10px 10px 0 #111111; max-height: 430px; overflow: hidden; background: #ffffff; }
.ps-shot img { display: block; width: 100%; height: auto; }
.ps-ex h2 { margin: 12px 0 0; }
.ps-ex p { margin: 24px 0 28px; max-width: 560px; font-size: 17px; line-height: 1.6; color: #333333; }

/* ── CTA ── */
.ps-dark { background: #111111; color: #ffffff; }
.ps-cta { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; padding-top: 72px; padding-bottom: 72px; }
.ps-cta h2 { flex: 1 1 360px; min-width: 0; }

/* ── Apparition au défilement ── */
.js .ps-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.js .ps-reveal.in { opacity: 1; transform: none; }
.ps-grid .ps-reveal:nth-child(3n+2) { transition-delay: .08s; }
.ps-grid .ps-reveal:nth-child(3n) { transition-delay: .16s; }

/* ── Illustrations animées ── */
.ps-cursor { animation: ps-cursor 7s cubic-bezier(.6,0,.2,1) infinite; }
@keyframes ps-cursor {
  0%, 8%    { transform: translate(var(--x0), var(--y0)); }
  30%, 62%  { transform: translate(var(--x1), var(--y1)); }
  88%, 100% { transform: translate(var(--x0), var(--y0)); }
}
.ps-press { animation: ps-press 7s ease infinite; }
@keyframes ps-press { 0%, 32%, 40%, 100% { transform: none; } 36% { transform: translate(3px, 3px); } }
.ps-toast { animation: ps-toast 7s cubic-bezier(.2,.7,.2,1) infinite; }
@keyframes ps-toast {
  0%, 40%   { opacity: 0; transform: translateY(14px); }
  47%, 86%  { opacity: 1; transform: none; }
  93%, 100% { opacity: 0; transform: translateY(14px); }
}
.ps-a { animation: ps-a 7s steps(1) infinite; }
.ps-b { animation: ps-b 7s steps(1) infinite; }
@keyframes ps-a { 0%, 92% { opacity: 1; } 46% { opacity: 0; } }
@keyframes ps-b { 0%, 92% { opacity: 0; } 46% { opacity: 1; } }
.ps-fly { animation: ps-fly 7s cubic-bezier(.6,0,.2,1) infinite; }
@keyframes ps-fly {
  0%, 34%   { opacity: 0; transform: none; }
  35%       { opacity: 1; transform: none; }
  46%       { opacity: 1; transform: translate(118px, 68px); }
  47%, 100% { opacity: 0; transform: translate(118px, 68px); }
}
.ps-up { animation: ps-up 8s cubic-bezier(.7,0,.2,1) infinite; }
.ps-down { animation: ps-down 8s cubic-bezier(.7,0,.2,1) infinite; }
@keyframes ps-up { 0%, 18% { transform: none; } 38%, 88% { transform: translateY(-216px); } 100% { transform: none; } }
@keyframes ps-down { 0%, 18% { transform: none; } 38%, 88% { transform: translateY(72px); } 100% { transform: none; } }
.ps-pin { animation: ps-pin 8s cubic-bezier(.2,.7,.2,1) infinite; }
@keyframes ps-pin { 0%, 40% { opacity: 0; transform: translateY(-24px); } 48%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
.ps-tick { animation: ps-tick 8s steps(1) infinite; opacity: 0; }
.ps-t1 { animation-delay: 0s; } .ps-t2 { animation-delay: .9s; } .ps-t3 { animation-delay: 1.8s; } .ps-t4 { animation-delay: 2.7s; }
@keyframes ps-tick { 0% { opacity: 0; } 10%, 100% { opacity: 1; } }
.ps-row { animation: ps-row 8s cubic-bezier(.2,.7,.2,1) infinite; opacity: 0; }
.ps-r1 { animation-delay: 3.4s; } .ps-r2 { animation-delay: 3.7s; } .ps-r3 { animation-delay: 4s; }
@keyframes ps-row { 0% { opacity: 0; transform: translateY(12px); } 8%, 100% { opacity: 1; transform: none; } }

/* ── Responsive ── */
@media (max-width: 1000px) {
  .ps-hero { grid-template-columns: 1fr; gap: 48px; padding-top: 56px; padding-bottom: 64px; }
  .ps-art { max-width: 560px; }
  .ps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ps-grid .ps-reveal { transition-delay: 0s !important; }
  .ps-ex { grid-template-columns: 1fr; gap: 40px; }
  .ps-shot { max-width: 340px; }
}
@media (max-width: 620px) {
  .ps-grid { grid-template-columns: 1fr; }
  .ps-sec { padding-top: 64px; padding-bottom: 72px; }
  .ps-art { box-shadow: 8px 8px 0 #FFD600; }
  .ps-btn { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .js .ps-reveal { opacity: 1; transform: none; }
  .ps-tick, .ps-row { opacity: 1; }
  .ps-a { opacity: 0; }
  .ps-fly { opacity: 0; }
}

/* ── « Et bien plus encore » + bandes jaunes ── */
.ps-more-wrap { grid-column: 1 / -1; }
.ps-card-more { flex-direction: row; border-style: dashed; }
.ps-card-more .ps-pic { flex: 0 0 30%; border-bottom: 0; border-right: 2px dashed #111111; display: flex; align-items: center; }
.ps-card-more .ps-card-body { justify-content: center; padding: 28px 32px; }
.ps-card-more p { font-size: 17px; max-width: 620px; }
.ps-yellow { background: #FFD600; border-top: 2px solid #111111; border-bottom: 2px solid #111111; }
.ps-yellow + .ps-band { border-top: 0; }
.ps-plus { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; padding-top: 80px; padding-bottom: 88px; }
.ps-plus p { margin: 24px 0 0; max-width: 520px; font-size: 18px; line-height: 1.55; color: #111111; }
.ps-plus-art { background: #ffffff; border: 2px solid #111111; box-shadow: 10px 10px 0 #111111; padding: 12px; }
.ps-plus-art svg { display: block; width: 100%; height: auto; }
.ps-flow { stroke-dasharray: 8 8; animation: ps-flow 1.1s linear infinite; }
@keyframes ps-flow { to { stroke-dashoffset: -16; } }
.ps-pop { animation: ps-pop 6s cubic-bezier(.2,.7,.2,1) infinite; }
.ps-p2 { animation-delay: .25s; } .ps-p3 { animation-delay: .5s; } .ps-p4 { animation-delay: .75s; }
@keyframes ps-pop { 0% { opacity: 0; transform: translateY(14px); } 10%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
@media (max-width: 1000px) { .ps-plus { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 620px) {
  .ps-card-more { flex-direction: column; }
  .ps-card-more .ps-pic { flex: none; border-right: 0; border-bottom: 2px dashed #111111; }
  .ps-plus { padding-top: 64px; padding-bottom: 72px; }
}
