/* Page des tarifs et pages de formule. */

.finder { max-width: 820px; margin-top: clamp(36px, 5vw, 64px); }
.finder h2 { margin-bottom: 10px; font-size: 20px; font-weight: 700; font-stretch: 100%; letter-spacing: 0; line-height: 1.3; }
.finder a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 13px 0; border-top: 2px solid var(--foret); text-decoration: none;
  transition: padding .25s var(--snap);
}
.finder a:hover { padding-left: 14px; }
.finder a span:last-child { font-weight: 800; white-space: nowrap; }

.plan { scroll-margin-top: var(--bar-height); }
.plan-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px clamp(40px, 7vw, 110px); align-items: start; }
.plan-info { position: sticky; top: calc(var(--bar-height) + 28px); }
.plan-name { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: clamp(66px, 11vw, 168px); font-weight: 900; font-stretch: 66%; line-height: .92; letter-spacing: -.006em; }
.plan-price { margin-top: 14px; font-size: clamp(34px, 4vw, 56px); font-weight: 200; font-stretch: 118%; line-height: 1.1; letter-spacing: -.02em; }
.plan-tagline { margin-top: 12px; max-width: 42ch; font-size: 20px; color: var(--muted); }
.plan-features li { position: relative; padding: 13px 0 13px 30px; border-top: 2px solid var(--line); }
.plan-features li::before {
  content: ""; position: absolute; left: 3px; top: 21px; width: 14px; height: 7px;
  border-left: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: rotate(-45deg);
}
.plan-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.plan-demo { margin-top: 18px; }

.tarifs-notes { display: grid; gap: 12px; max-width: 70ch; font-size: 17px; color: var(--muted); }

/* Page d'une formule */
.detail-head {
  display: grid; grid-template-columns: minmax(0, 8fr) minmax(280px, 4fr); gap: 40px clamp(40px, 6vw, 96px); align-items: end;
  padding: clamp(40px, 6vw, 80px) var(--pad) calc(clamp(56px, 7vw, 104px) + var(--edge));
}
.back-link { display: inline-block; margin-bottom: 28px; font-size: 16px; color: var(--muted); }
.back-link:hover { color: var(--ink); }
.detail-head .plan-name { font-size: clamp(30px, 3.4vw, 46px); font-weight: 200; font-stretch: 122%; letter-spacing: -.02em; line-height: 1.1; color: var(--rose); }
.detail-head h1 { margin-top: 10px; max-width: 14ch; }
.detail-text { margin-top: 22px; max-width: 52ch; font-size: clamp(19px, 1.7vw, 22px); color: var(--muted); }
.detail-price { --ink: var(--foret); --muted: var(--foret); --btn-bg: var(--foret); --btn-ink: var(--white); --focus: var(--foret); padding: 26px; background: var(--vif); color: var(--foret); transform: rotate(-2deg); }
.detail-price strong { display: block; font-size: clamp(36px, 3.8vw, 52px); font-weight: 900; font-stretch: 75%; line-height: 1.05; }
.detail-price p { margin-top: 8px; }
.detail-price .btn { width: 100%; margin-top: 20px; }

.detail-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px clamp(40px, 7vw, 110px); }
.detail-body h2 { margin-bottom: 22px; font-size: clamp(40px, 4.6vw, 66px); }
.detail-highlights > div { padding: 13px 0; border-top: 2px solid var(--line); }
.detail-highlights dt { font-weight: 700; }
.detail-highlights dd { color: var(--muted); }

.example { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(40px, 6vw, 80px); align-items: center; }
.example img { width: 100%; height: auto; aspect-ratio: 1366 / 820; object-fit: cover; object-position: top; transition: transform .25s var(--snap), box-shadow .25s var(--snap); }
.example a:hover img { transform: translate(-5px, -5px); box-shadow: 9px 9px 0 var(--rose); }
.example-text h2 { font-size: clamp(40px, 4.6vw, 66px); }
.example-text p { margin-top: 14px; color: var(--muted); }
.example-text .btn { margin-top: 24px; }
.example-more { font-size: 16px; }

@media (max-width: 900px) {
  .plan-grid, .detail-head, .detail-body, .example { grid-template-columns: minmax(0, 1fr); }
  .plan-info { position: static; }
  .example-text { order: -1; }
  .detail-price { max-width: 420px; }
}
