/* ==========================================================================
   MC Coach Sportif — pages/coaching.css
   Page Coaching (coaching.html) uniquement.
   ========================================================================== */

.goal-section {
  background: var(--ivory);
}
.goal-card {
  min-height: 220px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 25px;
  position: relative;
  overflow: hidden;
}
.goal-card span {
  font-size: 10px;
  color: var(--gold3);
}
.goal-card h3 {
  font: 800 23px "Manrope";
  letter-spacing: -0.05em;
  margin: 40px 0 12px;
}
.goal-card p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}
.modes-section {
  background: #fff;
}
.mode-list {
  border-top: 1px solid var(--line);
}
.mode-row {
  display: grid;
  grid-template-columns: 55px 1fr 1fr;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.mode-row span {
  font-size: 10px;
  color: var(--gold3);
}
.mode-row strong {
  font: 800 22px "Manrope";
}
.mode-row p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.scene-squat {
  width: 310px;
  height: 410px;
  translate: 0 -2px;
  animation: humanFloat 4.6s ease-in-out infinite;
}
.scene-coaching:hover .scene-squat {
  rotate: 0 1 0 7deg;
  translate: 0 -8px;
}
@keyframes humanFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -8px;
  }
}
@media (max-width: 760px) {
  .scene-squat {
    transform: translate(-50%, -50%) scale(0.78);
  }
}
.scene-image-object {
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scene-image-object img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
  transform: translateZ(18px) scale(0.96);
  filter: drop-shadow(0 24px 22px rgba(96, 73, 25, 0.16));
  transition:
    filter 0.35s var(--ease),
    transform 0.35s var(--ease);
}
.scene-coaching .scene-image-object {
  width: 330px;
  height: 410px;
}
.scene-image-object::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  pointer-events: none;
  box-shadow: 0 0 58px rgba(211, 170, 53, 0.13);
  opacity: 0.8;
  z-index: -1;
}
.scene-image-object.is-dragging img {
  filter: drop-shadow(0 30px 28px rgba(72, 55, 22, 0.22)) brightness(1.02);
}
.scene-coaching:hover .scene-image-object img {
  transform: translateZ(26px) scale(1.015);
}
@media (max-width: 760px) {
  .scene-coaching .scene-image-object {
    width: 290px;
    height: 350px;
  }
  .scene-image-object img {
    transform: translateZ(12px) scale(0.93);
  }
}
.mascot-shirt-logo {
  position: absolute;
  left: 50%;
  top: 54%;
  width: 145px;
  transform: translate(-50%, -50%);
  z-index: 8;
  pointer-events: none;
  display: block;
  filter: drop-shadow(0 2px 2px rgba(72, 61, 36, 0.08));
}
.mascot-shirt-logo img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  opacity: 0.96;
}
@media (max-width: 900px) {
  .mascot-shirt-logo {
    width: 118px;
  }
}
@media (max-width: 620px) {
  .mascot-shirt-logo {
    width: 105px;
  }
}
/* Objectifs : 3 cartes puis 2 cartes centrées, uniquement sur grand écran */
@media (min-width: 1001px) {
  .goal-section .goal-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .goal-section .goal-grid > .goal-card {
    grid-column: span 2;
  }
  .goal-section .goal-grid > .goal-card:nth-child(4) {
    grid-column: 2 / span 2;
  }
  .goal-section .goal-grid > .goal-card:nth-child(5) {
    grid-column: 4 / span 2;
  }
}
@media (max-width: 1000px) {
  .goal-section .goal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .goal-section .goal-grid > .goal-card {
    grid-column: auto;
  }
  .goal-section .goal-grid > .goal-card:last-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 620px) {
  .goal-section .goal-grid {
    grid-template-columns: 1fr;
  }
}
.coaching-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
}
/* Photo verticale : on garde ses proportions pour ne pas couper les visages */
.coaching-grid .mc-move-photo {
  min-height: 0;
  aspect-ratio: 4 / 5;
}
.coaching-grid .mc-move-photo img {
  object-position: 50% 30%;
}
@media (max-width: 1000px) {
  .coaching-grid {
    grid-template-columns: 1fr;
  }
}

/* Ajustements téléphone ---------------------------------------------------- */
@media (max-width: 620px) {
  /* Formules : numéro et titre sur une ligne, description dessous */
  .mode-row {
    grid-template-columns: 34px 1fr;
    gap: 6px 12px;
    padding: 18px 0;
  }
  .mode-row strong {
    font-size: 20px;
  }
  .mode-row p {
    grid-column: 2;
    font-size: 14px;
    line-height: 1.5;
  }
  .goal-card p {
    font-size: 14px;
  }
}
