/* ══════════════════════════════════════════════════════════════════════════
   LA SECTION « TARIFS » — 06/11/2026 (commun/tarifs.mjs)
   Appelée SEULEMENT si le site l'a ajoutée. Cinq mises en page, les mêmes
   lignes : nom · durée grise · prix à droite. Une ligne ne passe jamais à la
   ligne (« une information, une ligne ») : un nom long se coupe par « … ».
   Première vue courte, le reste derrière « Voir plus » (<details> : le texte
   entier reste dans la page). Aucun effet de survol sur les lignes.
   ══════════════════════════════════════════════════════════════════════════ */
.tf { width: 100%; max-width: 860px; margin-inline: auto; text-align: left; }
.tf-liste { list-style: none; margin: 0; padding: 0; }
.tf-l { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: baseline; gap: 14px;
  padding: 13px 4px; border-bottom: 1px solid var(--carte-bord, rgba(255, 255, 255, .1)); min-height: 44px; }
.tf-n { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; }
.tf-d { font-size: 13px; color: var(--texte-2, #98989D); white-space: nowrap; }
.tf-p { font-size: 16px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; min-width: 4.5em; text-align: right; }
.tf-p.tf-des { font-weight: 500; }
.tf-l:not(:has(.tf-p)) { grid-template-columns: minmax(0, 1fr) auto; }
.tf-f { display: flex; align-items: center; gap: 10px; margin: 26px 0 4px; font-size: 12px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--texte-2, #98989D); }
.tf-f::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--tf-c, var(--rouge, #FF2E4D)); flex: none; }
.tf-flux > .tf-f:first-child, .tf-c > .tf-f:first-child { margin-top: 0; }
.tf-s { margin: 16px 0 2px; font-size: 12px; font-weight: 500; color: var(--texte-2, #98989D); }
.tf-vide { margin: 0; padding: 18px 4px; color: var(--texte-2, #98989D); }
/* ── Voir plus : un <details> ── */
.tf-plus { margin-top: 6px; }
.tf-plus > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px;
  font-size: 15px; font-weight: 500; color: var(--texte-2, #98989D); -webkit-tap-highlight-color: transparent; user-select: none; }
.tf-plus > summary::-webkit-details-marker { display: none; }
.tf-plus > summary::after { content: ''; width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform .25s ease; }
.tf-plus[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
.tf-plus > summary:focus-visible { outline: 2px solid var(--rouge, #FF2E4D); outline-offset: 2px; border-radius: 8px; }
.tf-sl { display: none; }
.tf-plus[open] .tf-sm { display: none; }
.tf-plus[open] .tf-sl { display: inline; }
/* ① Lignes : posées sur le fond, seul un trait fin entre elles */
.tf-v1 .tf-l:last-child { border-bottom: 0; }
/* ② Cartes · ③ Colonnes : une carte par famille */
.tf-grille { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); margin-top: 12px; }
.tf-v2 .tf-c, .tf-v3 .tf-c { background: rgba(255, 255, 255, .05); border-radius: 18px; padding: 18px 18px 8px; min-width: 0; }
.tf-v2 .tf-l:last-child, .tf-v3 .tf-l:last-child { border-bottom: 0; }
.tf-v3 .tf-grille { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 0 28px; }
.tf-v3 .tf-c { background: transparent; border-radius: 0; padding: 0 0 8px; }
.tf-v3 .tf-l { grid-template-columns: minmax(0, 1fr) auto; }
.tf-v3 .tf-d { display: none; }
/* ④ Onglets : une famille à la fois (sans script : des boutons radio) */
.tf-onglets { position: relative; }
.tf-r { position: absolute; opacity: 0; pointer-events: none; }
.tf-barre { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-bottom: 8px; }
.tf-barre::-webkit-scrollbar { display: none; }
.tf-t { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; cursor: pointer; white-space: nowrap;
  font-size: 15px; color: var(--texte-2, #98989D); background: rgba(255, 255, 255, .05); -webkit-tap-highlight-color: transparent; }
.tf-panneau { display: none; }
/* L'onglet choisi s'allume, le panneau choisi se montre (jusqu'à 40 familles). */
.tf-r:nth-of-type(1):checked ~ .tf-barre .tf-t:nth-child(1), .tf-r:nth-of-type(2):checked ~ .tf-barre .tf-t:nth-child(2), .tf-r:nth-of-type(3):checked ~ .tf-barre .tf-t:nth-child(3),
.tf-r:nth-of-type(4):checked ~ .tf-barre .tf-t:nth-child(4), .tf-r:nth-of-type(5):checked ~ .tf-barre .tf-t:nth-child(5), .tf-r:nth-of-type(6):checked ~ .tf-barre .tf-t:nth-child(6),
.tf-r:nth-of-type(7):checked ~ .tf-barre .tf-t:nth-child(7), .tf-r:nth-of-type(8):checked ~ .tf-barre .tf-t:nth-child(8), .tf-r:nth-of-type(9):checked ~ .tf-barre .tf-t:nth-child(9),
.tf-r:nth-of-type(10):checked ~ .tf-barre .tf-t:nth-child(10), .tf-r:nth-of-type(11):checked ~ .tf-barre .tf-t:nth-child(11), .tf-r:nth-of-type(12):checked ~ .tf-barre .tf-t:nth-child(12) {
  background: var(--texte, #F5F5F7); color: var(--fond, #000); }
.tf-r:nth-of-type(1):checked ~ .tf-p0, .tf-r:nth-of-type(2):checked ~ .tf-p1, .tf-r:nth-of-type(3):checked ~ .tf-p2, .tf-r:nth-of-type(4):checked ~ .tf-p3,
.tf-r:nth-of-type(5):checked ~ .tf-p4, .tf-r:nth-of-type(6):checked ~ .tf-p5, .tf-r:nth-of-type(7):checked ~ .tf-p6, .tf-r:nth-of-type(8):checked ~ .tf-p7,
.tf-r:nth-of-type(9):checked ~ .tf-p8, .tf-r:nth-of-type(10):checked ~ .tf-p9, .tf-r:nth-of-type(11):checked ~ .tf-p10, .tf-r:nth-of-type(12):checked ~ .tf-p11 { display: block; }
/* ⑤ Carte unique : toute la liste dans une seule carte */
.tf-v5 { background: rgba(255, 255, 255, .05); border-radius: 22px; padding: 12px 22px 10px; }
.tf-v5 .tf-flux > .tf-f:first-child { margin-top: 10px; }
.tf-v5 .tf-l:last-child { border-bottom: 0; }
/* ── Les deux boutons ── */
.tf-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.tf-b { white-space: nowrap; }
@media (max-width: 600px) {
  /* Un nom long (« … cheveux mi-longs avec shampooing ») garde son sens sur deux lignes au plus ; au-delà seulement, « … ». */
  .tf-l { gap: 2px 12px; padding: 12px 2px; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "n p" "d p"; align-items: center; }
  .tf-n { grid-area: n; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.3; font-size: 15px; }
  .tf-d { grid-area: d; font-size: 12.5px; }
  .tf-p { grid-area: p; font-size: 15px; min-width: 3.4em; }
  .tf-l:not(:has(.tf-d)) { grid-template-areas: "n p"; }
  .tf-v3 .tf-l { grid-template-areas: "n p"; }
  .tf-v5 { padding: 10px 16px 8px; }
  .tf-actions { flex-direction: column; align-items: stretch; }
  .tf-b { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .tf-plus > summary::after { transition: none; } }
/* ══ ⚠️ 07/11 — L'AFFICHE DES TARIFS (une image du seau du site) ══
   Sous la liste, ou à sa place ; posée dans la colonne, jamais déformée (proportions de l'image) ; un appui l'ouvre
   en grand dans la fenêtre de la maison. Aucun effet de survol (DA des vitrines du 31/10) : le curseur seul. */
.tf-af { margin: 22px auto 0; max-width: 620px; display: flex; justify-content: center; }
.tf-seule .tf-af { margin-top: 0; }
.tf-af-b { display: block; width: fit-content; max-width: 100%; margin-inline: auto; padding: 0; border: 0; background: transparent; cursor: zoom-in; border-radius: 18px; overflow: hidden;
  -webkit-tap-highlight-color: transparent; }
.tf-af-b:focus-visible { outline: 2px solid var(--rouge, #FF2E4D); outline-offset: 3px; }
.tf-af img { display: block; width: auto; max-width: 100%; height: auto; max-height: 82dvh; border-radius: 18px; background: var(--fond-2, #141416); }
.overlay-tfa .modale { max-width: min(980px, 100%); }
.tfa-defile { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; padding: 4px 18px 20px; }
.tfa-defile::-webkit-scrollbar { display: none; }
.tfa-defile img { display: block; width: 100%; height: auto; border-radius: 14px; }
@media (max-width: 640px) { .tfa-defile { padding: 2px 10px 14px; } .tf-af { margin-top: 18px; } }
