/* FIT'WORLD, pages Tarifs et horaires v2 (préfixe tv-) et Contact v2 (préfixe tc-) - AES Communication, 19/11/2026
   Complète site-v4.css, pages-v4.css et pages-v5.css (socle Coaching validé), sans les modifier.
   Tarifs : la pile de charges à côté de la vraie pile d'une machine, le détail des formules en lecture accompagnée,
   trois panneaux « pourquoi ce prix », les horaires sur une grande photo, les questions en deux colonnes.
   Contact : le formulaire à côté d'une grande photo, puis l'accès sur une grande photo qui s'approche. */

/* ---------- Ouvertures : cadrage des photos ---------- */
.tv-ouverture .fv-diapo__vue{object-position:50% 34%}
.tc-ouverture .fv-diapo__vue{object-position:40% 28%}

/* ---------- Tarifs : la pile de charges, à côté de la grande photo ---------- */
.tv-pile{display:grid;grid-template-columns:minmax(0,36fr) minmax(0,64fr);align-items:stretch;padding:0}
.tv-pile__photo{position:relative;margin:0;min-height:min(100vh,980px);overflow:hidden;background:#111}
.tv-pile__photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 38%}
.tv-pile .tv-pile__contenu{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(36px,3.6vw,72px);align-items:center;align-self:center;padding:clamp(80px,7vw,130px) var(--fv-bord) clamp(80px,7vw,130px) clamp(40px,4.4vw,96px)}
.tv-pile .fv-pile{max-width:none}
.fv .tv-pile h2.cv-titre span{color:var(--fv-encre)}
.tv-pile .fv-formule{padding:clamp(28px,2.4vw,52px)}
.tv-pile .fv-formule .fv-bouton{padding:0 22px}
.tv-pile .fv-formule__prix{font-size:clamp(84px,7vw,136px)}

/* ---------- Tarifs : le détail des formules, en lignes nettes ---------- */
.tv-detail .cv-coach__tete .fv-lien{display:inline-block;margin-top:4px}
.tv-lignes{margin:18px 0 0;max-width:620px}
.tv-lignes > div{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:4px 28px;padding:12px 0 12px 28px}
.tv-lignes > div::before{content:"";position:absolute;left:0;top:24px;width:11px;height:11px;background:var(--fv-rouge)}
.tv-lignes dt{font-family:var(--fv-titre);font-weight:760;font-stretch:84%;text-transform:uppercase;font-size:clamp(22px,1.5vw,28px);line-height:1.05}
.tv-lignes dt small{display:block;margin-top:6px;font-family:var(--fv-texte);font-weight:500;text-transform:none;font-size:16px;line-height:1.35;color:var(--fv-gris)}
.tv-lignes dd{margin:0;text-align:right;font-family:var(--fv-titre);font-weight:800;font-stretch:84%;font-size:clamp(30px,2.2vw,42px);line-height:1;white-space:nowrap}
.tv-lignes dd small{display:block;margin-top:7px;font-family:var(--fv-texte);font-weight:600;font-size:14.5px;line-height:1.2;color:var(--fv-gris)}
.tv-detail .cv-etape .tv-note{margin-top:16px;font-size:clamp(17.5px,1.1vw,20px);line-height:1.55;max-width:600px}
.tv-detail .cv-etape .tv-note .fv-lien{display:inline-block;margin-top:6px}
.tv-detail .cv-photo:nth-child(2) img{object-position:30% 50%}
.tv-detail .cv-photo:nth-child(3) img{object-position:62% 30%}

/* ---------- Tarifs : pourquoi ce prix ---------- */
.tv-raisons .cv-lieux__tete{align-items:flex-start;flex-wrap:nowrap}
.tv-raisons .cv-lieux__tete h2{max-width:820px}
.tv-raisons__texte{max-width:700px}
.tv-raisons .cv-lieux__tete .tv-raisons__texte p{max-width:none;margin:0 0 14px;font-size:clamp(17.5px,1.1vw,20px);line-height:1.6}
.tv-raisons__texte strong{color:#fff}
.tv-raisons .cv-panneau:nth-child(1) img{object-position:34% 30%}
.tv-raisons .cv-panneau:nth-child(2) img{object-position:62% 50%}
.tv-raisons .cv-panneau:nth-child(3) img{object-position:50% 30%}

/* ---------- Tarifs : horaires et appel de fin, sur grande photo ---------- */
.tv-horaires .cv-appel__photo{object-position:50% 55%}
.cv-appel__liste b{font-weight:800}
.tv-horaires .cv-appel__liste{margin-bottom:14px}
.tv-horaires .tv-horaires__rdv{font-size:17.5px;line-height:1.55;color:rgba(255,255,255,.92)}
.cv-appel a:is([href^="tel:"],[href^="https://wa.me"]){white-space:nowrap}
.cv-appel a:not(.fv-bouton):not(.fv-lien){color:#fff;font-weight:700;text-decoration-color:var(--fv-rouge);text-decoration-thickness:2px;text-underline-offset:4px}
.tv-fin .cv-appel__photo{object-position:50% 12%}

/* ---------- Tarifs : les questions, en deux colonnes ---------- */
.tv-faq{background:var(--fv-sable);padding:clamp(80px,7vw,130px) 0}
.tv-faq__tete{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px 40px;margin-bottom:clamp(30px,3vw,50px)}
.fv .tv-faq__tete h2{margin:0}
.tv-faq__tel{margin:0 0 6px;font-size:18px;color:var(--fv-gris)}
.tv-faq__tel a{margin-left:8px;font-family:var(--fv-titre);font-weight:800;font-stretch:84%;font-size:clamp(26px,2vw,38px);line-height:1;color:var(--fv-rouge);text-decoration:none;white-space:nowrap}
.tv-faq__tel a:hover{color:var(--fv-encre)}
.tv-faq__liste{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 10px;align-items:start}
.tv-faq__liste .fp-faq{max-width:none;margin-top:0}
.tv-faq .fp-faq details{background:#fff}
.tv-faq .fp-faq summary h3{display:inline;margin:0;font:inherit;letter-spacing:inherit}

/* ---------- Contact : séance découverte, le formulaire à côté de la grande photo ---------- */
.tc-seance{display:grid;grid-template-columns:minmax(0,46fr) minmax(0,54fr);align-items:stretch;background:var(--fv-sable)}
.tc-seance__photo{position:relative;margin:0;min-height:min(100vh,980px);overflow:hidden;background:#111}
.tc-seance__photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:34% 22%}
.tc-seance__photo figcaption{position:absolute;left:0;bottom:0;z-index:2;padding:14px 20px;background:var(--fv-noir);color:#fff;font-weight:600;font-size:15px}
.tc-seance__panneau{align-self:center;max-width:1100px;padding:clamp(80px,7vw,130px) var(--fv-bord) clamp(70px,6vw,110px) clamp(40px,4.4vw,96px)}
.tc-seance__sous{margin:4px 0 14px;font-family:var(--fv-titre);font-weight:760;font-stretch:86%;font-size:clamp(22px,1.6vw,28px);line-height:1.1}
.tc-suite{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px clamp(20px,2vw,36px)}
.tc-suite li{position:relative;padding-left:24px;font-size:16.5px;line-height:1.5}
.tc-suite li::before{content:"";position:absolute;left:0;top:7px;width:11px;height:11px;background:var(--fv-rouge)}
.tc-suite b{display:block;margin-bottom:3px;font-size:17.5px;font-weight:800}
.tc-suite a{font-weight:700;text-decoration-color:var(--fv-rouge);text-decoration-thickness:2px;text-underline-offset:4px}
.tc-seance .fv-formulaire{margin-top:clamp(28px,2.6vw,44px)}

/* ---------- Contact : venir au club ---------- */
.tc-acces .cv-appel__photo{object-position:50% 50%}
.cv-appel address.tc-adresse{font-style:normal}
.tc-courriel{white-space:nowrap}
.tc-acces .tc-acces__suite{font-size:17.5px;line-height:1.55;color:rgba(255,255,255,.92);margin-top:10px}

/* ---------- Mouvement : les grandes photos reculent doucement au défilement ---------- */
@supports (animation-timeline:view()){
  html:not(.fv-test) :is(.tv-pile__photo,.tc-seance__photo) img{animation:tv-recul linear both;animation-timeline:view();animation-range:entry 0% cover 55%}
  @keyframes tv-recul{from{transform:scale(1.18)}to{transform:scale(1)}}
}

/* ---------- Écran moyen ---------- */
@media (max-width:1600px){
  .tc-suite{grid-template-columns:minmax(0,1fr);gap:12px}
  .tc-suite b{margin-bottom:0}
}

/* ---------- Tablette ---------- */
@media (max-width:1180px){
  .tv-pile{grid-template-columns:minmax(0,40fr) minmax(0,60fr)}
  .tv-pile .tv-pile__contenu{grid-template-columns:minmax(0,1fr)}
  .tv-pile__photo{position:sticky;top:var(--fv-tete);align-self:start;height:calc(100vh - var(--fv-tete));min-height:0}
  .tv-raisons .cv-lieux__tete{flex-wrap:wrap}
  .tc-seance{grid-template-columns:minmax(0,42fr) minmax(0,58fr)}
  .tc-seance__photo{position:sticky;top:var(--fv-tete);align-self:start;height:calc(100vh - var(--fv-tete));min-height:0}
  .tc-suite{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:960px){
  .tv-faq__liste{grid-template-columns:minmax(0,1fr)}
}

/* ---------- Téléphone ---------- */
@media (max-width:760px){
  .tv-pile{grid-template-columns:minmax(0,1fr)}
  .tv-pile__photo{position:relative;top:auto;height:100vw;min-height:0}
  .tv-pile .tv-pile__contenu{padding:56px var(--fv-bord) 64px}
  .tv-lignes > div{gap:4px 16px;padding-left:22px}
  .tv-lignes > div::before{top:20px;width:10px;height:10px}
  .tv-lignes dt{font-size:20px}
  .tv-lignes dt small{font-size:14.5px}
  .tv-lignes dd{font-size:27px}
  .tv-lignes dd small{font-size:13.5px}
  .tv-raisons .cv-lieux__tete h2{max-width:none}
  .tv-raisons .cv-panneau{height:auto;min-height:118vw}
  .tv-raisons .cv-panneau::after{background:linear-gradient(180deg,rgba(0,0,0,0) 18%,rgba(0,0,0,.9) 100%)}
  .tv-faq__tel a{display:block;margin:6px 0 0}
  .tc-seance{grid-template-columns:minmax(0,1fr)}
  .tc-seance__photo{order:2;position:relative;top:auto;height:118vw;min-height:0}
  .tc-seance__panneau{padding:56px var(--fv-bord) 60px}
  .cv-appel__liste li{font-size:17.5px}
}

/* ---------- Mode capture (?page=1) : hauteurs fixes au lieu des vh gonflés ---------- */
.fv-page .tv-detail .cv-etape{min-height:520px}
.fv-page .cv-appel{min-height:1000px}
@media (max-width:760px){
  .fv-page .tv-detail .cv-etape{min-height:400px}
  .fv-page .tv-detail .cv-coach__photos{height:340px}
  .fv-page .cv-appel{min-height:760px}
  .fv-page .tv-pile__photo{height:390px}
  .fv-page .tc-seance__photo{height:460px}
}
