@charset "utf-8";
/* Page Première visite — ce qui lui est propre. Le commun est dans ../commun.css. Préfixe pv-. */

/* ---- Haut : « Votre première séance » en grand, la fin du titre en petit dessous ---- */
.haut-titre-fin { display: block; margin-top: 10px; font-size: .42em; letter-spacing: .02em; color: var(--violet-fonce); }

/* Icônes au trait, couleur de la marque (elles remplacent les émojis du document) */
.pv-icone svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---- 1. Le déroulé : trois étapes reliées, un repère au loup parcourt la ligne et allume chaque numéro ---- */
.pv-parcours { position: relative; margin-top: 48px; }
.pv-etapes { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 0; padding: 0; list-style: none; }
.pv-etape { display: flex; flex-direction: column; align-items: center; text-align: center; }
.pv-num {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; margin-bottom: 22px;
  background: var(--lilas); color: var(--violet-fonce); box-shadow: 0 0 0 8px #FFFFFF;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 26px;
  transition: background .4s, color .4s;
}
.pv-carte { flex: 1; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 14px; padding: 28px 24px; border-radius: 20px; background: var(--creme); }
.pv-carte .pv-icone { width: 34px; height: 34px; color: var(--violet); }
.pv-carte p { margin: 0; }
/* La ligne passe au milieu des numéros, d'un centre de colonne à l'autre */
.pv-ligne { position: absolute; z-index: 0; top: 30px; left: calc((100% - 56px) / 6); right: calc((100% - 56px) / 6); height: 4px; border-radius: 2px; background: var(--lilas); }
.pv-reperes { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 2px; background: var(--violet); transition: width 2.2s cubic-bezier(.45,0,.3,1) .3s; }
.pv-reperes img {
  position: absolute; right: -19px; top: 50%; width: 38px; height: 38px; margin-top: -19px; padding: 8px; border-radius: 50%;
  background: var(--violet); box-shadow: 0 6px 16px rgba(42,26,140,.3); opacity: 0; transition: opacity .3s .3s;
}
.pv-parcours.visible .pv-reperes { width: 100%; }
.pv-parcours.visible .pv-reperes img { opacity: 1; }
/* Chaque numéro s'allume quand le repère l'atteint */
.pv-parcours.visible .pv-num { background: var(--violet); color: #FFFFFF; }
.pv-parcours.visible .pv-etape:nth-child(1) .pv-num { transition-delay: .3s; }
.pv-parcours.visible .pv-etape:nth-child(2) .pv-num { transition-delay: 1.4s; }
.pv-parcours.visible .pv-etape:nth-child(3) .pv-num { transition-delay: 2.4s; }

/* ---- 2. Préparez votre séance : trois cartes à cocher (compteur retiré, Virginie 27/10) ---- */
.pv-prepas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.pv-prepa {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px;
  padding: 34px 26px 30px; border-radius: 22px; background: #FFFFFF; box-shadow: 0 10px 30px rgba(13,13,16,.06);
  cursor: pointer; transition: background .3s, color .3s, box-shadow .3s, opacity .6s ease, transform .6s ease;
}
.pv-prepa .pv-icone { width: 44px; height: 44px; color: var(--violet); }
.pv-prepa p { margin: 0; }
.pv-case {
  position: absolute; top: 18px; right: 18px; width: 34px; height: 34px; border-radius: 50%; cursor: pointer;
  border: 2px solid var(--violet); background: #FFFFFF; transition: background .25s;
}
.pv-case::after {
  content: ""; position: absolute; left: 10px; top: 5px; width: 8px; height: 15px;
  border: solid #FFFFFF; border-width: 0 3px 3px 0; transform: rotate(45deg) scale(0); transition: transform .25s cubic-bezier(.3,1.6,.5,1);
}
.pv-case:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }
/* Invitation : les cases pas encore touchées pulsent doucement */
.pv-prepas:not(.touche) .pv-case { animation: pv-halo 2.2s ease-in-out infinite; }
@keyframes pv-halo { 0%, 100% { box-shadow: 0 0 0 0 rgba(90,61,245,0); } 50% { box-shadow: 0 0 0 7px rgba(90,61,245,.18); } }
/* Étape cochée */
.pv-prepa.coche { background: var(--violet); color: #FFFFFF; box-shadow: 0 18px 40px rgba(42,26,140,.22); }
.pv-prepa.coche .pv-icone { color: #FFFFFF; }
.pv-prepa.coche .pv-case { background: var(--violet-fonce); border-color: #FFFFFF; }
.pv-prepa.coche .pv-case::after { transform: rotate(45deg) scale(1); }

/* ---- 3. Un entraînement qui s'adapte : la carte de texte et trois kettlebells, le repère passe de l'une à l'autre ---- */
.pv-adapte > *, .pv-attend > * { min-width: 0; }  /* un groupe insécable trop large ne doit pas élargir la colonne */
.pv-adapte { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; margin-top: 44px; }
.pv-adapte-carte { display: flex; flex-direction: column; justify-content: center; padding: 38px 40px; border-radius: 22px; background: var(--creme); }
.pv-adapte-carte p { margin: 0; }
.pv-charges {
  position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 34px;
  min-height: 300px; padding: 40px 30px 60px; border-radius: 22px; background: var(--lilas); overflow: clip;
}
.pv-kb svg { display: block; width: 100%; height: auto; fill: none; stroke: var(--violet-fonce); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.pv-kb .pv-kb-anse { stroke-width: 9; }
.pv-kb .pv-kb-corps { fill: #FFFFFF; transition: fill .4s; }
.pv-kb { animation: pv-charge 6s infinite; }
.pv-kb .pv-kb-corps { animation: pv-corps 6s infinite; }
.pv-kb1 { width: 108px; }
.pv-kb2 { width: 150px; animation-delay: 2s; }
.pv-kb3 { width: 198px; animation-delay: 4s; }
.pv-kb2 .pv-kb-corps { animation-delay: 2s; }
.pv-kb3 .pv-kb-corps { animation-delay: 4s; }
@keyframes pv-charge { 0%, 30% { transform: translateY(-10px); } 38%, 100% { transform: none; } }
@keyframes pv-corps { 0%, 30% { fill: var(--violet); } 38%, 100% { fill: #FFFFFF; } }
.pv-sol { position: absolute; left: 30px; right: 30px; bottom: 58px; height: 4px; border-radius: 2px; background: var(--violet-fonce); opacity: .25; }

/* ---- 4. Ce qui vous attend : texte à gauche, quatre photos légendées à droite (légende SOUS la photo) ---- */
.pv-attend { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.pv-attend-texte { color: rgba(245,244,241,.86); }
.pv-attend-texte .titre-section { color: #FFFFFF; margin-bottom: 26px; }
.pv-attend-texte strong { color: #FFFFFF; }
.pv-attend-texte .bouton { margin-top: 34px; }
/* Quatre tirages photo, bord blanc et légende dessous, inclinés en sens alternés ; la colonne de droite descend
   d'un demi-tirage (Virginie, 27/10 : le décalage doit se voir comme voulu) */
.pv-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 22px; padding-bottom: 64px; }
.pv-photos figure {
  --r: 0deg; --y: 0px; margin: 0; padding: 10px 10px 12px; border-radius: 18px; background: #FFFFFF;
  box-shadow: 0 18px 40px rgba(0,0,0,.35); transform: translateY(var(--y)) rotate(var(--r));
}
.pv-photos figure.apparait:not(.visible) { transform: translateY(calc(var(--y) + 20px)) rotate(var(--r)); }
.pv-photos figure.apparait.visible { transform: translateY(var(--y)) rotate(var(--r)); }
.pv-photos figure:nth-child(1) { --r: -3deg; }
.pv-photos figure:nth-child(2) { --r: 2.5deg; --y: 64px; }
.pv-photos figure:nth-child(3) { --r: 2deg; }
.pv-photos figure:nth-child(4) { --r: -2.5deg; --y: 64px; }
.pv-photos img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.pv-photos figcaption {
  margin-top: 10px; text-align: center; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 17px;
  letter-spacing: .04em; text-transform: uppercase; color: var(--violet-fonce);
}

/* ---- 5. Les questions : une seule ouverte à la fois ---- */
.pv-faq-intro { max-width: 760px; margin: 22px 0 0; font-size: 19px; }
.pv-faq { display: grid; gap: 12px; margin-top: 36px; }
.pv-faq details { border-radius: 18px; background: #FFFFFF; box-shadow: 0 6px 20px rgba(13,13,16,.05); }
.pv-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; cursor: pointer; list-style: none; }
.pv-faq summary::-webkit-details-marker { display: none; }
.pv-faq summary:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; border-radius: 18px; }
.pv-question { margin: 0; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 22px; line-height: 1.15; text-transform: uppercase; }
.pv-plus { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--lilas); transition: background .2s; }
.pv-plus::before, .pv-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2.5px; margin: -1.25px 0 0 -7px; border-radius: 2px; background: var(--violet-fonce); transition: transform .25s, background .2s; }
.pv-plus::after { transform: rotate(90deg); }
.pv-faq details[open] .pv-plus { background: var(--violet); }
.pv-faq details[open] .pv-plus::before { background: #FFFFFF; }
.pv-faq details[open] .pv-plus::after { transform: rotate(0); background: #FFFFFF; }
.pv-reponse { padding: 0 26px 24px; }
.pv-reponse p { margin: 0; max-width: 820px; }
.pv-reponse p + p { margin-top: 12px; }
.pv-appel a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--violet-fonce); }
.pv-appel a:hover { color: var(--violet); }
.pv-appel svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---- Tablette et téléphone ---- */
@media (max-width: 1023.98px) {
  .pv-adapte, .pv-attend { grid-template-columns: 1fr; }
  .pv-attend { gap: 44px; }
  .pv-attend-texte { text-align: left; }
  .pv-attend-texte .titre-section { margin-bottom: 26px; }
  .pv-attend-texte .bouton { display: flex; width: fit-content; margin-left: auto; margin-right: auto; }
  .pv-charges { min-height: 240px; }
  .pv-faq-intro { margin-left: auto; margin-right: auto; text-align: center; }
  .pv-faq summary { padding: 18px 18px; }
  .pv-reponse { padding: 0 18px 20px; }
}
/* Trois cartes : trois colonnes dès 700 px, une seule en dessous (règle du site) */
@media (max-width: 699.98px) {
  .pv-prepas { grid-template-columns: 1fr; }
  /* Une seule colonne : les longs paragraphes reviennent à gauche (règle 6), l'icône et le titre aussi */
  .pv-prepa { align-items: flex-start; text-align: left; padding: 28px 22px 26px; }
  .pv-prepa .titre-h3 { padding-right: 34px; }
}
/* Le déroulé passe à la verticale (note de Natacha) : numéros à gauche, la ligne descend */
@media (max-width: 767.98px) {
  .pv-etapes { grid-template-columns: 1fr; gap: 22px; }
  .pv-etape { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; align-items: start; text-align: left; }
  .pv-num { width: 52px; height: 52px; margin: 0; font-size: 22px; }
  .pv-carte { grid-column: 2; align-items: flex-start; gap: 10px; padding: 20px 20px; }
  /* Sur téléphone, la ligne va d'un numéro au suivant (elle ne dépasse jamais le dernier) et se colore étape après étape */
  .pv-ligne { display: none; }
  .pv-etape { position: relative; }
  .pv-etape:not(:last-child)::after {
    content: ""; position: absolute; left: 24px; top: 52px; bottom: -22px; width: 4px; border-radius: 2px;
    background: linear-gradient(var(--violet), var(--violet)) 0 0 / 100% 0 no-repeat, var(--lilas);
    transition: background-size 1s cubic-bezier(.45,0,.3,1);
  }
  .pv-parcours.visible .pv-etape::after { background-size: 100% 100%; }
  .pv-parcours.visible .pv-etape:nth-child(1)::after { transition-delay: .4s; }
  .pv-parcours.visible .pv-etape:nth-child(2)::after { transition-delay: 1.5s; }
  .pv-photos { gap: 18px 14px; padding-bottom: 30px; }
  .pv-photos figure { padding: 7px 7px 9px; border-radius: 14px; }
  .pv-photos figure:nth-child(2), .pv-photos figure:nth-child(4) { --y: 30px; }
  .pv-photos figcaption { font-size: 15px; }
}
@media (max-width: 599.98px) {
  .pv-adapte-carte { padding: 28px 22px; }
  .pv-charges { gap: 6%; padding: 34px 20px 56px; }
  .pv-kb1 { width: 21%; } .pv-kb2 { width: 29%; } .pv-kb3 { width: 38%; }
  .pv-question { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .pv-reperes, .pv-num, .pv-prepa, .pv-etape::after, .pv-case::after, .pv-plus::after { transition: none; }
  .pv-prepas:not(.touche) .pv-case, .pv-kb, .pv-kb .pv-kb-corps { animation: none; }
  .pv-kb2 .pv-kb-corps { fill: var(--violet); }
}

/* ---- 3. L'exemple du squat, à la place des kettlebells (Virginie, 27/10, planche-27-10 variante A) ---- */
/* Les dessins : pictogrammes au trait épais, la box et la kettlebell en violet */
.sq-trait { fill: none; stroke: var(--violet-fonce); stroke-width: 11; stroke-linecap: round; stroke-linejoin: round; }
.sq-tete { fill: var(--violet-fonce); }
.sq-box, .sq-kb { fill: var(--violet); }
.sq-anse { fill: none; stroke: var(--violet); stroke-width: 6; }
.sq-sol { stroke: #C4B9FF; stroke-width: 5; stroke-linecap: round; }
.sq-titre {
  margin: 0; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 15px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--violet-fonce);
}

/* ---- A. À la place des kettlebells : trois niveaux à choisir, le dessin change ---- */
.sq-carte {
  display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 30px 26px 26px;
  border-radius: 22px; background: var(--lilas);
}
.sq-onglets { display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: #FFFFFF; }
.sq-onglets button {
  min-height: 42px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--gris-texte); cursor: pointer;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 17px; letter-spacing: .04em; text-transform: uppercase;
  transition: background .25s, color .25s;
}
.sq-onglets button[aria-pressed="true"] { background: var(--violet); color: #FFFFFF; }
.sq-onglets button:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; }
.sq-scenes { display: grid; width: 100%; }
.sq-scene { grid-area: 1 / 1; margin: 0; display: flex; flex-direction: column; align-items: center; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s; }
.sq-scene.actif { opacity: 1; transform: none; }
.sq-scene svg { width: min(100%, 230px); height: auto; display: block; }
.sq-scene figcaption { margin-top: 4px; font-weight: 700; color: var(--violet-fonce); }

@media (max-width: 399.98px) {
  .sq-onglets button { padding: 0 12px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .sq-scene { transition: none; }
}
