/*
  Page "Pose du patch" — reprend le langage visuel de comment-ca-marche
  (cartes claires, accent orange, silhouettes) avec le vrai patch détouré.
*/

.pose-page {
  display: grid;
  gap: 24px;
  padding: 38px 0 28px;
}

.pose-page > * {
  min-width: 0;
  max-width: 100%;
}

.pose-hero,
.pose-steps,
.pose-why,
.pose-extra,
.pose-badges,
.pose-note {
  border-radius: 34px;
  border: 1px solid rgba(17, 19, 25, 0.08);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 18px 42px rgba(24, 26, 32, 0.08);
  animation: poseRise 0.58s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.pose-steps { animation-delay: 0.05s; }
.pose-why { animation-delay: 0.08s; }
.pose-extra { animation-delay: 0.1s; }
.pose-badges { animation-delay: 0.13s; }
.pose-note { animation-delay: 0.16s; }

/* ---------- Héro ---------- */

.pose-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.98fr);
  gap: 20px;
  align-items: center;
  padding: 22px;
}

.pose-hero__copy {
  display: grid;
  gap: 14px;
}

.pose-hero__copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.9vw, 3.6rem);
  line-height: 0.94;
  text-transform: uppercase;
}

.pose-hero__title-line {
  display: block;
}

.pose-hero__title-line--accent {
  color: var(--accent-color);
}

.pose-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pose-hero__facts span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(239, 131, 0, 0.26);
  background: rgba(255, 255, 255, 0.72);
  color: rgba(17, 19, 25, 0.78);
  font-family: var(--font-accent);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Scène corps + patch */

.pose-stage {
  position: relative;
  min-height: 520px;
  border-radius: 28px;
  border: 1px solid rgba(17, 19, 25, 0.08);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 8%, rgba(239, 131, 0, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 237, 229, 0.9));
}

.pose-stage__frame {
  position: absolute;
  inset: 22px 0 14px;
  display: grid;
  place-items: center;
}

.pose-stage__body {
  position: relative;
  width: min(84%, 250px);
  aspect-ratio: 220 / 460;
  max-height: 100%;
}

.pose-stage__svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 10px 16px rgba(24, 26, 32, 0.08));
}

.pose-figure-fill {
  fill: url(#poseBodyGrad);
  stroke: rgba(17, 19, 25, 0.14);
  stroke-width: 1.5;
  stroke-linejoin: round;
}

.pose-stage__halo {
  position: absolute;
  left: 50%;
  top: var(--patch-y, 43%);
  width: 54%;
  aspect-ratio: 1;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(239, 131, 0, 0.3), transparent 62%);
  pointer-events: none;
}

.pose-stage__patch {
  position: absolute;
  left: 50%;
  top: var(--patch-y, 43%);
  width: var(--patch-w, 42%);
  height: auto;
  transform: translate(-50%, -50%) rotate(var(--patch-rot, 0deg));
  filter: drop-shadow(0 6px 12px rgba(24, 26, 32, 0.35));
  pointer-events: none;
}

.pose-stage__ring {
  position: absolute;
  left: 50%;
  top: var(--patch-y, 43%);
  width: 13px;
  height: 13px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.96);
  background: #ef8300;
  box-shadow:
    0 0 0 7px rgba(239, 131, 0, 0.18),
    0 6px 14px rgba(24, 26, 32, 0.2);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.pose-stage__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
}

.pose-marker {
  position: absolute;
  display: grid;
  gap: 3px;
  max-width: 210px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(17, 19, 25, 0.12);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 24px rgba(24, 26, 32, 0.08);
}

.pose-marker strong {
  font-family: var(--font-display);
  font-size: 0.94rem;
  color: #12151a;
}

.pose-marker span {
  color: rgba(17, 19, 25, 0.68);
  font-size: 0.84rem;
}

.pose-marker--core {
  right: 16px;
  top: 40%;
}

.pose-stage__badge {
  position: absolute;
  left: 16px;
  top: 16px;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(239, 131, 0, 0.3);
  background: rgba(239, 131, 0, 0.1);
  color: #9f4c00;
  font-family: var(--font-accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- Étapes ---------- */

.pose-steps {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.pose-steps__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.pose-step {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(17, 19, 25, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(245, 239, 231, 0.82));
  box-shadow: 0 12px 26px rgba(24, 26, 32, 0.06);
}

.pose-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(239, 131, 0, 0.26);
  background: rgba(239, 131, 0, 0.1);
  color: #ef8300;
  font-family: var(--font-accent);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.pose-step h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.1;
  color: rgba(17, 19, 25, 0.9);
}

.pose-step p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(17, 19, 25, 0.72);
}

.pose-section-head {
  display: grid;
  gap: 10px;
}

.pose-section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 0.96;
  text-transform: uppercase;
}

.pose-section-head .pose-intro {
  margin: 0;
  max-width: 72ch;
  color: rgba(17, 19, 25, 0.72);
  font-size: 0.94rem;
}

/* ---------- Pourquoi le bas du dos ---------- */

.pose-why {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: 20px;
  align-items: center;
  padding: 22px;
}

.pose-why__copy {
  display: grid;
  gap: 16px;
}

.pose-point {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.pose-point__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(239, 131, 0, 0.3);
  background: rgba(239, 131, 0, 0.08);
  color: #ef8300;
}

.pose-point__icon svg {
  width: 22px;
  height: 22px;
}

.pose-point strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.12;
  color: #12151a;
}

.pose-point p {
  margin: 4px 0 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(17, 19, 25, 0.72);
}

.pose-why__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
  border-radius: 26px;
  border: 1px solid rgba(17, 19, 25, 0.08);
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 18%, rgba(239, 131, 0, 0.14), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(243, 236, 227, 0.88));
}

.pose-why__patch {
  width: 84%;
  transform: rotate(-7deg);
  filter: drop-shadow(0 18px 26px rgba(24, 26, 32, 0.28));
  animation: poseFloat 6s ease-in-out infinite;
}

.pose-why__chip {
  position: absolute;
  left: 18px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(17, 19, 25, 0.12);
  background: rgba(255, 255, 255, 0.88);
  color: rgba(17, 19, 25, 0.74);
  font-family: var(--font-accent);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Second patch ---------- */

.pose-extra {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.pose-extra__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) repeat(2, minmax(0, 0.95fr));
  gap: 12px;
  align-items: stretch;
}

.pose-extra-card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(239, 131, 0, 0.22);
  background:
    radial-gradient(circle at 88% 10%, rgba(239, 131, 0, 0.14), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(245, 239, 231, 0.84));
  box-shadow: 0 12px 26px rgba(24, 26, 32, 0.06);
}

.pose-extra-card span {
  color: rgba(17, 19, 25, 0.66);
  font-family: var(--font-accent);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pose-extra-card strong {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.05;
  color: #12151a;
}

.pose-extra-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(17, 19, 25, 0.74);
}

.pose-extra-card em {
  font-style: normal;
  color: #9f4c00;
  font-weight: 600;
}

.pose-limb {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 0;
  overflow: hidden;
  padding: 0;
  border-radius: 22px;
  border: 1px solid rgba(17, 19, 25, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(245, 239, 231, 0.84));
  box-shadow: 0 12px 26px rgba(24, 26, 32, 0.06);
}

.pose-limb__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 250px;
  background:
    radial-gradient(circle at 50% 30%, rgba(239, 131, 0, 0.1), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(244, 238, 230, 0.85));
}

.pose-limb__visual--photo {
  position: relative;
}

.pose-limb__visual--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pose-limb__frame {
  position: relative;
  height: 88%;
  aspect-ratio: 220 / 280;
}

.pose-limb__svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 8px 12px rgba(24, 26, 32, 0.08));
}

.pose-limb__patch {
  position: absolute;
  left: var(--patch-x, 50%);
  top: var(--patch-y, 46%);
  width: var(--patch-w, 78%);
  transform: translate(-50%, -50%) rotate(var(--patch-rot, 90deg));
  filter: drop-shadow(0 5px 9px rgba(24, 26, 32, 0.32));
  pointer-events: none;
}

.pose-limb__label {
  display: grid;
  gap: 3px;
  padding: 14px 16px 16px;
  border-top: 1px solid rgba(17, 19, 25, 0.08);
  background: rgba(255, 255, 255, 0.66);
}

.pose-limb__label strong {
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: #12151a;
}

.pose-limb__label span {
  font-size: 0.86rem;
  color: rgba(17, 19, 25, 0.7);
}

/* ---------- Badges ---------- */

.pose-badges {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 18px 20px;
}

.pose-badge {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.pose-badge__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(239, 131, 0, 0.3);
  background: rgba(239, 131, 0, 0.08);
  color: #ef8300;
}

.pose-badge__icon svg {
  width: 20px;
  height: 20px;
}

.pose-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  line-height: 1.1;
  color: #12151a;
}

.pose-badge small {
  display: block;
  margin-top: 2px;
  font-size: 0.78rem;
  color: rgba(17, 19, 25, 0.66);
}

/* ---------- Note finale ---------- */

.pose-note {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.pose-note p {
  margin: 0;
  max-width: 78ch;
  color: rgba(17, 19, 25, 0.7);
  font-size: 0.9rem;
}

/* ---------- Animations ---------- */

@keyframes poseRise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes poseFloat {
  0%,
  100% {
    transform: rotate(-7deg) translateY(0);
  }

  50% {
    transform: rotate(-7deg) translateY(-7px);
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .pose-hero,
  .pose-why {
    grid-template-columns: 1fr;
  }

  .pose-steps__grid,
  .pose-badges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pose-extra__grid {
    grid-template-columns: 1fr;
  }

  .pose-limb__visual {
    min-height: 300px;
  }
}

@media (max-width: 760px) {
  .pose-page {
    gap: 18px;
    padding-top: 24px;
  }

  .pose-hero,
  .pose-steps,
  .pose-why,
  .pose-extra,
  .pose-badges,
  .pose-note {
    padding: 16px;
    border-radius: 22px;
  }

  .pose-steps__grid,
  .pose-badges {
    grid-template-columns: 1fr;
  }

  .pose-stage {
    min-height: 460px;
  }

  .pose-marker--core {
    right: 10px;
    top: 34%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pose-hero,
  .pose-steps,
  .pose-why,
  .pose-extra,
  .pose-badges,
  .pose-note,
  .pose-why__patch {
    animation: none;
  }
}
