/* KL Prépa — tarifs. Même langage que la page d'accueil (le cercle de l'écusson) : les trois offres s'emboîtent,
   les prix et les étapes tiennent dans des disques, les puces sont rondes. Les jetons viennent de landing.css. */
.tf { --sec: clamp(72px, 9vw, 128px); }
.tf ul, .tf ol { margin: 0; padding: 0; list-style: none; }
.tf .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.tf section { scroll-margin-top: 24px; }
.tf h2 { font-size: clamp(2.25rem, 1.1rem + 4.2vw, 4.5rem); letter-spacing: -0.035em; }
.tf .ul { position: relative; display: inline-block; white-space: nowrap; }
.tf .ul svg { position: absolute; left: -2%; bottom: -.17em; width: 104%; height: auto; overflow: visible; }
.tf .ul path { fill: none; stroke: var(--accent); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .tf .ul path { transition: stroke-dashoffset .8s var(--ease) .45s; }
.js .tf :is(h1, h2):not(.in) .ul path { stroke-dashoffset: 1; }
.tf .head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(28px, 4vw, 56px); }
.tf .head .more { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px #c9d2e3; font-size: var(--step-small); font-weight: 600; text-decoration: none; transition: background-color .18s, color .18s, box-shadow .18s; }
@media (hover: hover) and (pointer: fine) { .tf .head .more:hover { background: var(--ink); color: var(--paper); box-shadow: none; } }
.tf-cmp, .tf-how, .tf-faq, .tf-end { margin-top: var(--sec); }

/* ---------- hero: the three offers, one inside the other ---------- */
.tf-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: clamp(24px, 4vw, 72px); padding-top: clamp(24px, 4vw, 56px); padding-bottom: clamp(40px, 6vw, 88px); }
.tf-hero .eyebrow { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--paper); font-size: var(--step-small); font-weight: 600; }
.tf-hero .eyebrow .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.tf-hero h1 { margin-top: clamp(18px, 2.4vw, 28px); font-size: clamp(2.5rem, 1.1rem + 5vw, 5.5rem); letter-spacing: -0.04em; line-height: 1; text-wrap: balance; }
.tf-hero .lede { margin-top: clamp(20px, 2.6vw, 32px); max-width: 30em; font-size: var(--step-lead); line-height: 1.35; color: var(--muted); text-wrap: pretty; }
.tf-hero .acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(24px, 3vw, 40px); }
.tf-nest { position: relative; width: min(100%, 540px); aspect-ratio: 1; margin-inline: auto; }
.tf-nest .c { position: absolute; left: 50%; translate: -50% 0; border-radius: 50%; display: flex; flex-direction: column; align-items: center; text-align: center; line-height: 1.1; }
.tf-nest .c b { font-weight: 500; letter-spacing: -0.03em; }
.tf-nest .c small { margin-top: .3em; font-weight: 500; opacity: .8; }
.tf-nest .c3 { inset-block: 0; width: 100%; padding-top: 8%; background: var(--ink); color: var(--paper); }
.tf-nest .c3 b { font-size: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.tf-nest .c2 { bottom: 4%; width: 72%; height: 72%; padding-top: 7%; background: var(--f-sky); }
.tf-nest .c2 b { font-size: clamp(1.25rem, .9rem + 1.5vw, 2rem); }
.tf-nest .c1 { bottom: 8%; width: 40%; height: 40%; justify-content: center; background: var(--accent); color: var(--on-accent); }
.tf-nest .c1 b { font-size: clamp(1rem, .8rem + .9vw, 1.5rem); }
.tf-nest .c small { font-size: clamp(.75rem, .7rem + .3vw, .9375rem); }
.tf-nest .stk { position: absolute; display: grid; place-content: center; justify-items: center; text-align: center; border-radius: 50%; font-size: .75rem; font-weight: 600; line-height: 1.15; padding: 0 12px; box-shadow: 0 18px 36px -18px rgba(0, 26, 65, .5); animation: tf-float 7s ease-in-out infinite alternate; }
.tf-nest .stk b { font-size: 1.75rem; font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.tf-nest .s1 { right: -3%; top: 18%; width: 116px; height: 116px; background: var(--f-pink); rotate: 8deg; }
.tf-nest .s2 { left: -2%; bottom: 14%; width: 104px; height: 104px; background: var(--f-mint); rotate: -8deg; animation-delay: -3s; }
@keyframes tf-float { from { translate: 0 -5px; } to { translate: 0 6px; } }
.js .tf-nest .c { transition: scale .8s cubic-bezier(.3, 1.4, .5, 1), opacity .4s linear; }
.js .tf-nest .c2 { transition-delay: .18s; } .js .tf-nest .c1 { transition-delay: .36s; }
.js .tf-nest:not(.in) .c { scale: .7; opacity: 0; }
.js .tf-nest .stk { transition: opacity .4s linear .7s; }
.js .tf-nest:not(.in) .stk { opacity: 0; }

/* ---------- the three offers ---------- */
.tf-offers > ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: clamp(12px, 1.4vw, 20px); }
.tf .offer { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(24px, 2.6vw, 40px); border-radius: clamp(28px, 3vw, 44px); background: var(--paper); }
.tf .offer.std { background: var(--f-sky); }
.tf .offer.prem { background: var(--ink); color: var(--paper); }
.tf .offer h3 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem); letter-spacing: -0.035em; }
.tf .offer .who { margin-top: 10px; min-height: 2.8em; color: var(--muted); line-height: 1.4; text-wrap: pretty; }
.tf .offer.prem .who { color: #c3d0ea; }
.tf .offer .price { display: flex; align-items: baseline; gap: 10px; margin-top: clamp(20px, 2.4vw, 32px); min-height: clamp(3.4rem, 2.6rem + 3vw, 5.4rem); }
.tf .offer .price b { font-size: clamp(3rem, 2rem + 3.6vw, 5.25rem); font-weight: 500; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.tf .offer .price b.word { align-self: center; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem); letter-spacing: -0.035em; }
.tf .offer .price small { font-size: var(--step-small); font-weight: 600; opacity: .75; }
.tf .offer .btn-o { width: 100%; margin-top: clamp(16px, 2vw, 24px); }
.tf .offer .btn-o.paper { box-shadow: inset 0 0 0 1.5px var(--ink); }
@media (hover: hover) and (pointer: fine) { .tf .offer .btn-o.paper:hover { background: var(--ink); color: var(--paper); } }
.tf .offer .lead { margin-top: clamp(22px, 2.6vw, 32px); font-size: var(--step-small); font-weight: 600; color: var(--muted); }
.tf .offer.prem .lead { color: var(--accent); }
.tf .offer .inc { display: grid; gap: 12px; margin-top: 14px; }
.tf .offer .lead + .inc { margin-top: 12px; }
.tf .offer.free .inc { margin-top: clamp(22px, 2.6vw, 32px); }
.tf .offer .inc li { position: relative; padding-left: 36px; line-height: 1.35; }
.tf .offer .inc li::before { content: ""; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); }
.tf .offer .inc li::after { content: ""; position: absolute; left: 7px; top: 7.500px; width: 10px; height: 5px; border: solid var(--paper); border-width: 0 0 2.2px 2.2px; rotate: -45deg; }
.tf .offer.prem .inc li::before { background: var(--accent); } .tf .offer.prem .inc li::after { border-color: var(--on-accent); }
.tf .offer .tick { position: absolute; right: clamp(16px, 2vw, 28px); top: clamp(-34px, -2.4vw, -22px); display: grid; place-items: center; width: 112px; height: 112px; padding: 0 16px; border-radius: 50%; background: var(--accent); color: var(--on-accent); text-align: center; font-size: .8125rem; font-weight: 600; line-height: 1.15; rotate: 10deg; box-shadow: 0 18px 36px -18px rgba(0, 26, 65, .6); }
.tf-offers .pay { margin-top: clamp(16px, 2vw, 24px); text-align: center; font-size: var(--step-small); color: var(--muted); }

/* ---------- the comparison ---------- */
.tf-cmp .sheet { padding: clamp(8px, 1.4vw, 20px) clamp(12px, 2.4vw, 36px) clamp(12px, 1.8vw, 24px); border-radius: clamp(28px, 3vw, 44px); background: var(--paper); }
.tf-cmp table { width: 100%; border-collapse: collapse; }
.tf-cmp thead th { padding: clamp(14px, 1.8vw, 24px) 8px; font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.02em; text-align: center; }
.tf-cmp thead th.prem::after { content: ""; display: block; width: 10px; height: 10px; margin: 8px auto 0; border-radius: 50%; background: var(--accent); }
.tf-cmp thead th:not(.prem)::after { content: ""; display: block; height: 18px; }
.tf-cmp tbody th { padding: clamp(14px, 1.6vw, 20px) 12px clamp(14px, 1.6vw, 20px) 0; text-align: left; font-weight: 400; }
.tf-cmp tbody th b { display: block; font-size: var(--step-body); font-weight: 600; }
.tf-cmp tbody th small { display: block; margin-top: 2px; font-size: var(--step-small); color: var(--muted); }
.tf-cmp tbody tr { border-top: 1px solid #e2e7f0; }
.tf-cmp td { width: 20%; padding: 8px; text-align: center; vertical-align: middle; }
.tf-cmp td.prem { background: var(--ground); }
.tf-cmp thead th.prem { background: var(--ground); border-radius: 24px 24px 0 0; }
.tf-cmp tbody tr:last-child td.prem { border-radius: 0 0 24px 24px; }
.tf-cmp .val { font-weight: 600; line-height: 1.25; }
.tf-cmp .yes, .tf-cmp .no { position: relative; display: inline-block; width: 30px; height: 30px; border-radius: 50%; vertical-align: middle; }
.tf-cmp .yes { background: var(--ink); }
.tf-cmp .yes::after { content: ""; position: absolute; left: 9px; top: 9.500px; width: 12px; height: 6px; border: solid var(--paper); border-width: 0 0 2.4px 2.4px; rotate: -45deg; }
.tf-cmp .no { box-shadow: inset 0 0 0 2px #d3dbea; }

/* ---------- how to subscribe ---------- */
.tf-how ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.tf-how li { display: grid; align-content: start; gap: 10px; padding: clamp(22px, 2.4vw, 36px); border-radius: clamp(28px, 3vw, 44px); background: var(--paper); }
.tf-how li:nth-child(2) { background: var(--f-mint); } .tf-how li:nth-child(3) { background: var(--f-pink); }
.tf-how .n { display: grid; place-items: center; width: clamp(64px, 6vw, 88px); aspect-ratio: 1; margin-bottom: clamp(16px, 3vw, 44px); border-radius: 50%; background: var(--ink); color: var(--paper); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); font-weight: 500; }
.tf-how h3 { font-size: var(--step-lead); letter-spacing: -0.02em; }
.tf-how li p { color: var(--muted); line-height: 1.45; text-wrap: pretty; }
.tf-how .wa { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; margin-top: clamp(12px, 1.4vw, 20px); padding: clamp(18px, 2vw, 28px) clamp(22px, 2.4vw, 36px); border-radius: 999px; background: var(--ink); color: var(--paper); text-decoration: none; transition: background-color .2s; }
@media (hover: hover) and (pointer: fine) { .tf-how .wa:hover { background: #0d2c5e; } }
.tf-how .wa span { color: #c3d0ea; font-size: var(--step-small); }
.tf-how .wa b { font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.02em; }
.tf-how .wa i { display: inline-flex; align-items: center; gap: 12px; margin-left: auto; font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; }
.tf-how .wa em { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-style: normal; transition: translate .25s var(--ease); }
@media (hover: hover) and (pointer: fine) { .tf-how .wa:hover em { translate: 4px 0; } }

/* ---------- questions ---------- */
.tf-faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: start; gap: clamp(24px, 4vw, 64px); }
.tf-faq .head { position: sticky; top: 32px; flex-direction: column; align-items: flex-start; margin-bottom: 0; }
.tf-faq .list { display: grid; gap: 10px; }
.tf-faq details { background: var(--paper); border-radius: 30px; box-shadow: inset 0 0 0 1px #e2e7f0; transition: background-color .25s, color .25s, box-shadow .25s; }
.tf-faq details[open] { background: var(--ink); color: var(--paper); box-shadow: none; }
.tf-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: clamp(12px, 1.6vw, 20px); min-height: 76px; padding: 14px 20px 14px 16px; font-size: var(--step-lead); font-weight: 500; line-height: 1.25; }
.tf-faq summary::-webkit-details-marker { display: none; }
.tf-faq summary .n { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--f-step); color: var(--ink); font-size: var(--step-small); font-weight: 600; }
.tf-faq details[open] summary .n { background: var(--accent); }
.tf-faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 40px; height: 40px; margin-left: auto; border-radius: 50%; background: var(--f-step); color: var(--ink); font-size: 26px; font-weight: 400; line-height: 1; transition: rotate .3s var(--ease); }
.tf-faq details[open] summary::after { rotate: 45deg; background: var(--paper); }
.tf-faq .ans { padding: 0 clamp(20px, 3vw, 40px) clamp(22px, 2.6vw, 32px) calc(16px + 44px + clamp(12px, 1.6vw, 20px)); max-width: 46em; color: #d5dded; line-height: 1.5; }

/* ---------- the last word ---------- */
.tf-end .band { position: relative; overflow: hidden; display: grid; justify-items: center; gap: clamp(14px, 1.8vw, 22px); padding: clamp(48px, 7vw, 112px) clamp(20px, 4vw, 56px); border-radius: clamp(28px, 3vw, 44px); background: var(--accent); color: var(--on-accent); text-align: center; }
.tf-end .band > * { position: relative; }
.tf-end h2 { font-size: clamp(2.25rem, 1.1rem + 4.6vw, 5rem); }
.tf-end p { max-width: 32em; font-size: var(--step-lead); line-height: 1.35; }
.tf-end .btn-o { margin-top: 6px; background: var(--ink); color: var(--paper); }
@media (hover: hover) and (pointer: fine) { .tf-end .btn-o:hover { background: #0d2c5e; } }
.tf-end .rings { position: absolute; inset: 0; pointer-events: none; }
.tf-end .rings span { position: absolute; left: 50%; top: 50%; translate: -50% -50%; aspect-ratio: 1; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(0, 26, 65, .14); }
.tf-end .rings span:nth-child(1) { width: 46%; } .tf-end .rings span:nth-child(2) { width: 72%; } .tf-end .rings span:nth-child(3) { width: 100%; }
.tf-base { margin-top: clamp(72px, 9vw, 128px); }
.tf-base .foot-g { padding-top: 0; }

@media (max-width: 999px) {
  .tf-hero { grid-template-columns: minmax(0, 1fr); }
  .tf-nest { width: min(100%, 420px); }
  .tf-offers > ul, .tf-how ol { grid-template-columns: minmax(0, 1fr); }
  .tf .offer .who { min-height: 0; }
  .tf .offer .price { min-height: 0; }
  .tf-how .n { margin-bottom: 8px; }
  .tf-faq { grid-template-columns: minmax(0, 1fr); } .tf-faq .head { position: static; }
  .tf .offer.prem h3, .tf .offer.prem .who { padding-right: 100px; }
}
@media (max-width: 699px) {
  .tf-nest .s1 { width: 92px; height: 92px; right: -1%; } .tf-nest .s2 { width: 86px; height: 86px; left: 0; }
  .tf-nest .stk b { font-size: 1.375rem; } .tf-nest .stk { font-size: .6875rem; }
  .tf-hero .acts .btn-o { flex: 1 1 100%; }
  .tf .offer .tick { width: 92px; height: 92px; font-size: .75rem; }
  /* the comparison: one block per line, the three offers side by side under its name */
  .tf-cmp .sheet { padding: 6px 16px 10px; }
  .tf-cmp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .tf-cmp table, .tf-cmp tbody { display: block; }
  .tf-cmp tbody tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 16px 0; }
  .tf-cmp tbody th { grid-column: 1 / -1; padding: 0 0 6px; }
  .tf-cmp td { display: grid; justify-items: center; align-content: start; gap: 8px; width: auto; padding: 10px 4px; border-radius: 16px; background: var(--ground); font-size: var(--step-small); }
  .tf-cmp tbody tr:last-child td.prem { border-radius: 16px; }
  .tf-cmp td::before { content: attr(data-offer); font-size: .75rem; font-weight: 600; color: var(--muted); }
  .tf-how .wa { border-radius: 32px; } .tf-how .wa i { margin-left: 0; width: 100%; justify-content: space-between; }
  .tf-faq .ans { padding-left: 20px; }
}
@media (prefers-reduced-motion: reduce) { .tf-nest .stk { animation: none; } .js .tf-nest .c, .js .tf-nest .stk { transition: none; } }
