/* Tarifs : jauges 5 h / 40 h (les memes que dans l'appli) et les deux formules de la Beta. */

.offer {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(60px, 8vw, 120px) 20px 0;
}

.offer-gauge {
  display: grid;
  grid-template-columns: auto 1fr auto;
  column-gap: 14px;
  row-gap: 14px;
  align-items: center;
  margin-top: 34px;
  padding: 22px 22px;
  border-radius: 20px;
  background: var(--ink);
  color: #ffffff;
}

.g-lab {
  font-size: 13.5px;
  font-weight: 600;
  color: #94a3b8;
}

.g-lab.is-f {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #ffffff;
}

.g-lab svg {
  width: 13px;
  height: 13px;
  color: var(--orange);
}

.g-track {
  height: 12px;
  border-radius: var(--pill);
  background: #334155;
  overflow: hidden;
}

.g-track i {
  display: block;
  height: 100%;
  border-radius: var(--pill);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.3s 0.3s var(--ease);
}

.g-free {
  width: 12.5%;
  background: #94a3b8;
}

.g-founder {
  width: 100%;
  background: var(--orange);
  transition-delay: 0.55s !important;
}

.offer-gauge.is-in .g-track i {
  transform: scaleX(1);
}

.g-val {
  min-width: 44px;
  font-size: 15px;
  font-weight: 700;
  color: #94a3b8;
  text-align: right;
}

.g-val.is-f {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.plans {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 26px 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.plan-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.plan-pill {
  padding: 4px 11px;
  border-radius: var(--pill);
  background: var(--orange);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
}

.plan-price {
  margin-top: 14px;
}

.plan-price strong {
  font-size: 46px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.plan-price span {
  margin-left: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.plan-for {
  min-height: 3em;
  margin-top: 10px;
  font-size: 14px;
  color: var(--text);
}

.plan-lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 18px 0 24px;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.plan-lines li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  font-weight: 500;
}

.plan-lines li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 4px;
  width: 12px;
  height: 7px;
  border-left: 2.5px solid var(--orange);
  border-bottom: 2.5px solid var(--orange);
  transform: rotate(-45deg);
}

.plan-lines li.is-off {
  color: #94a3b8;
}

.plan-lines li.is-off::before {
  top: 10px;
  width: 12px;
  height: 0;
  border-left: 0;
  border-bottom-color: #cbd5e1;
  transform: none;
}

.plan-btn {
  width: 100%;
  margin-top: auto;
}

.plan-fine {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
}

.plan-founder {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
}

.plan-founder .plan-price span,
.plan-founder .plan-fine {
  color: #94a3b8;
}

.plan-founder .plan-for {
  color: #cbd5e1;
}

.plan-founder .plan-lines {
  border-top-color: #1e293b;
}

@media (min-width: 720px) {
  .plans {
    grid-template-columns: 1fr 1fr;
  }

  .offer-gauge {
    padding: 26px 30px;
  }
}

/* Ordinateur : titre et jauges a gauche (ils restent en vue), formules a droite */
@media (min-width: 1040px) {
  .offer {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 40px;
    align-items: start;
  }

  .offer-side {
    position: sticky;
    top: 110px;
  }

  .plans {
    margin-top: 0;
  }
}
