/* ===== Page : tarifs ===== */
.tf {
  max-width: 1136px;
  margin: 0 auto;
  padding: 64px 24px 24px;
  color: #063b5c;
  display: flex;
  flex-direction: column;
  gap: 88px;
}
.tf h1,
.tf h2 {
  font-family: "Bricolage Grotesque", sans-serif;
  margin: 0;
  color: #063b5c;
}
.tf p {
  margin: 0;
}
.tf ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ---------- En-tête ---------- */
.tf-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.tf-pill {
  background: #daf3f0;
  color: #063b5c;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  align-self: flex-start;
}
.tf-head .tf-pill {
  align-self: center;
}
.tf-pill-blue {
  background: #dceef5;
  color: #0a7ea3;
}
.tf-head h1 {
  font-size: 52px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 760px;
}
.tf-lead {
  font-size: 19px;
  line-height: 1.55;
  color: #3e5a6c;
  max-width: 620px;
}

/* ---------- Boutons ---------- */
.tf-btn {
  display: block;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  padding: 16px 28px;
  border-radius: 12px;
  border: 1px solid;
}
.tf-btn-light {
  background: #fff;
  color: #063b5c;
  border-color: #fff;
}
.tf-btn-line {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.tf-btn:hover {
  filter: brightness(0.95);
}

/* ---------- Prix + ce qui est inclus ---------- */
.tf-main {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 24px;
  align-items: stretch;
}
.tf-price {
  background: linear-gradient(160deg, #063b5c 0%, #087ea4 100%);
  color: #fff;
  border-radius: 28px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 30px 60px -36px rgba(6, 59, 92, 0.6);
}
.tf-label {
  color: #5adbcb;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tf-amount {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}
.tf-amount small {
  font-family: Inter, sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0;
  opacity: 0.85;
}
.tf-per {
  font-size: 16px;
  color: #dcebf3;
}
/* Badge « Premier mois offert » */
.tf-offer {
  align-self: flex-start;
  background: #5adbcb;
  color: #063b5c;
  font-size: 14px;
  font-weight: 700;
  border-radius: 999px;
  padding: 6px 14px;
}
.tf-mini {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 12px 0 18px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  flex: 1;
}
.tf-mini li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  line-height: 1.5;
  color: #e6f0f6;
}
.tf-mini li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #5adbcb;
  font-weight: 700;
}
.tf-inc {
  background: #fff;
  border: 1px solid #dae4ec;
  border-radius: 28px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.tf-inc h2 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Liste à coches (réutilisée) */
.tf-check {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.tf-inc .tf-check {
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
}
.tf-check li {
  position: relative;
  padding-left: 30px;
  font-size: 16px;
  line-height: 1.5;
  color: #3e5a6c;
}
.tf-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A7EA3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

/* ---------- 1 point de vente = 1 abonnement ---------- */
.tf-sec-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 720px;
  margin-bottom: 32px;
}
.tf-sec-head h2,
.tf-users h2 {
  font-size: 40px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.tf-sec-head p,
.tf-users-text > p {
  font-size: 18px;
  line-height: 1.6;
  color: #3e5a6c;
}
.tf-ex {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tf-ex-card {
  background: #e8f2f8;
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tf-ex-n {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  color: #084d71;
}
.tf-ex-card strong {
  font-size: 18px;
}
.tf-ex-p {
  font-size: 17px;
  font-weight: 600;
  color: #0a7ea3;
}

/* ---------- Utilisateurs et permissions ---------- */
.tf-users {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.tf-users-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.tf-users-text .tf-check {
  margin-top: 6px;
}
.tf-roles {
  background: #fff;
  border: 1px solid #dae4ec;
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 30px 60px -40px rgba(6, 59, 92, 0.38);
}
.tf-roles-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0a7ea3;
}
.tf-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tf-chip {
  background: #e1eef6;
  color: #063b5c;
  font-weight: 600;
  font-size: 16px;
  padding: 10px 20px;
  border-radius: 999px;
}
.tf-chip:nth-child(2n) {
  background: #daf3f0;
}
.tf-roles p {
  font-size: 16px;
  line-height: 1.6;
  color: #3e5a6c;
}

/* ---------- Accompagnement et conformité ---------- */
.tf-help .tf-sec-head,
.tf-law .tf-sec-head {
  margin-bottom: 32px;
}
.tf-sec-head .tf-pill {
  align-self: flex-start;
}
.tf-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tf-cards-4 {
  grid-template-columns: repeat(4, 1fr);
}
.tf-card {
  background: #fff;
  border: 1px solid #dae4ec;
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tf-ic {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #063b5c;
}
.tf-ic svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tf-card h3 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 21px;
  line-height: 1.2;
  font-weight: 700;
  margin: 0;
}
.tf-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #3e5a6c;
}
.tf-law {
  background: #e8f2f8;
  border-radius: 28px;
  padding: 48px 40px;
}
.tf-law .tf-sec-head {
  max-width: 820px;
}
.tf .tf-law-note {
  margin-top: 24px;
  font-size: 15px;
  color: #3e5a6c;
}
.tf-law-note a {
  color: #084d71;
  font-weight: 600;
}

/* ---------- Appel à l'action ---------- */
.tf-cta-box {
  background: #063b5c;
  color: #fff;
  border-radius: 28px;
  padding: 56px 44px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  position: relative;
  overflow: hidden;
}
.tf-dot {
  position: absolute;
  right: -60px;
  top: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: #5adbcb;
  opacity: 0.95;
}
.tf-cta-text {
  flex: 1 1 380px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.tf-cta-text h2 {
  color: #fff;
  font-size: 40px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.tf-cta-text p {
  font-size: 18px;
  line-height: 1.55;
  color: #dcebf3;
}
.tf-cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  position: relative;
}
.tf-cta-btns .tf-btn {
  display: inline-block;
}
.tf-cta {
  padding-bottom: 72px;
}

/* ---------- Écrans moyens et mobile ---------- */
@media (max-width: 1000px) {
  .tf-main,
  .tf-users {
    grid-template-columns: 1fr;
  }
  .tf-cards,
  .tf-cards-4 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 700px) {
  .tf {
    gap: 64px;
    padding-top: 40px;
  }
  .tf-head h1 {
    font-size: 36px;
  }
  .tf-lead {
    font-size: 17px;
  }
  .tf-amount {
    font-size: 52px;
  }
  .tf-inc,
  .tf-price {
    padding: 28px 24px;
  }
  .tf-inc .tf-check,
  .tf-ex,
  .tf-cards,
  .tf-cards-4 {
    grid-template-columns: 1fr;
  }
  .tf-law {
    padding: 32px 22px;
  }
  .tf-sec-head h2,
  .tf-users h2 {
    font-size: 30px;
  }
  .tf-cta-box {
    padding: 36px 24px;
  }
  .tf-cta-text h2 {
    font-size: 30px;
  }
}

/* ===== Téléphone : version compacte (≤ 600px) ===== */
@media (max-width: 600px) {
  .tf { gap: 44px; padding: 28px 16px 16px; }
  .tf-head h1 { font-size: 30px; }
  .tf-lead { font-size: 16px; }
  .tf-amount { font-size: 44px; }
  .tf-price, .tf-inc { padding: 22px 18px; }
  .tf-sec-head h2, .tf-users h2, .tf-inc h2 { font-size: 24px; }
  .tf-law { padding: 24px 16px; }
  .tf-cards, .tf-cards-4 { gap: 10px; }
  .tf-card {
    display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; row-gap: 4px;
    padding: 16px; border-radius: 16px; align-items: start;
  }
  .tf-card .tf-ic { grid-row: 1 / span 2; width: 40px; height: 40px; }
  .tf-card h3 { font-size: 17px; align-self: center; margin: 0; }
  .tf-card p { font-size: 14px; line-height: 1.5; grid-column: 2; }
  .tf-ex-card { padding: 16px 18px; }
}
@media (max-width: 600px) {
  .tf-ex { gap: 10px; }
  .tf-ex-card { display: flex; align-items: center; gap: 4px 14px; flex-wrap: wrap; }
  .tf-ex-n { font-size: 28px; line-height: 1; }
}

/* =====================================================================
   Finitions (refonte visuelle) : mêmes sections, rendu plus soigné
   ===================================================================== */
.tf-head {
  position: relative;
}
.tf-head::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: -40px;
  width: 720px;
  max-width: 100vw;
  height: 320px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(90, 219, 203, 0.22), transparent);
  pointer-events: none;
}
.tf-pill {
  box-shadow: inset 0 0 0 1px rgba(10, 126, 163, 0.12);
}

/* Carte de prix : liseré lumineux et halo */
.tf-price {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 0 0 1px rgba(90, 219, 203, 0.35),
    0 40px 80px -40px rgba(6, 59, 92, 0.75);
}
.tf-price::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -90px;
  top: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(90, 219, 203, 0.35), transparent 70%);
}
.tf-offer {
  box-shadow: 0 6px 18px -8px rgba(90, 219, 203, 0.9);
}

/* Boutons : relief au survol */
.tf-btn {
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    background 0.2s;
}
.tf-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -14px rgba(0, 0, 0, 0.5);
}

/* Cartes : ombre douce et relief au survol */
.tf-inc,
.tf-ex-card,
.tf-card,
.tf-roles {
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    border-color 0.25s;
}
.tf-ex-card:hover,
.tf-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.tf-ex-n {
  background: linear-gradient(120deg, #063b5c 0%, #087ea4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tf-ic {
  box-shadow: inset 0 0 0 1px rgba(6, 59, 92, 0.06);
}
.tf-chip {
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s;
}
.tf-chip:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 600px) {
  .tf-ex-card:hover,
  .tf-card:hover {
    transform: none;
  }
}
