#tarifs { background: #fff; }
#tarifs, #tarifs * { box-sizing: border-box; }
.tarifs-heading { position: relative; text-align: center; padding: 0 150px; }
.tarifs-heading__kicker { margin: 0 0 16px; color: #475b76; font-size: 12px; font-weight: 650; letter-spacing: .2em; text-transform: uppercase; }
.tarifs-heading h2 { position: relative; display: inline-block; margin: 0; color: #102033; font-size: clamp(36px, 4.2vw, 58px); font-weight: 900; letter-spacing: -.05em; line-height: 1; }
.tarifs-heading h2 span { color: #ed1230; }
.tarifs-heading__intro { margin: 18px auto 0; color: #53647e; font-size: 17px; line-height: 1.5; }
.tarifs-heading__rays { position: absolute; right: -58px; bottom: 8px; width: 45px; fill: none; stroke: #ed1230; stroke-width: 3; stroke-linecap: round; }
.tarifs-heading__note { position: absolute; left: 0; top: 28px; display: flex; align-items: center; gap: 10px; width: 190px; padding: 24px 12px; border-radius: 48% 52% 40% 60%; background: #fff3f5; transform: rotate(-9deg); }
.tarifs-heading__note svg { width: 52px; flex-shrink: 0; fill: none; stroke: #ed1230; stroke-width: 1.5; }
.tarifs-heading__note span { color: #102033; font: 700 14px/1.4 "Segoe Print", "Bradley Hand", cursive; }
#tarifs .price-toggle { margin: 22px auto 26px; }
#tarifs .price-toggle button { min-height: 42px; font-family: inherit; }
#tarifs .price-toggle button:focus-visible { outline: 3px solid #ed1230; outline-offset: 3px; }
.tarif-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.tarif-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 36px 30px; border: 1px solid #faf5f6; border-radius: 22px; background: #fff; color: #102033; box-shadow: 0 6px 32px rgb(18 32 51 / 6%); }
.tarif-card--featured { background: linear-gradient(125deg, #fff4f5, #fff0f2); border-color: #ffdade; }
.tarif-card__badge { display: inline-flex; align-items: center; gap: 8px; position: relative; z-index: 1; padding: 7px 14px; margin-bottom: 26px; border-radius: 99px; background: #ffdc00; color: #102033; font-size: 12px; line-height: 1.3; font-weight: 850; text-transform: uppercase; }
.tarif-card__badge svg { width: 18px; height: 18px; }
.tarif-card__level { display: block; color: #78808e; font-size: 12px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.tarif-card__name { position: relative; z-index: 1; margin: 4px 0 0; color: #102033; font-size: 30px; font-weight: 900; letter-spacing: -.04em; line-height: 1.1; }
.tarif-card__art { position: absolute; top: 65px; right: 14px; width: 122px; height: 126px; pointer-events: none; }
.tarif-card__price { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; margin-top: 22px; white-space: nowrap; }
.tarif-card__amount { color: #102033; font-size: clamp(40px, 4vw, 56px); font-weight: 900; line-height: 1; letter-spacing: -.045em; }
.tarif-card--featured .tarif-card__amount, .tarif-card--featured .tarif-card__currency { color: #ed1230; }
.tarif-card__currency { font-size: 27px; font-weight: 800; }
.tarif-card__period { margin-left: 3px; font-size: 17px; font-weight: 450; }
.tarif-card__annuel { margin-top: 8px; color: #53647e; font-size: 15px; line-height: 1.4; }
.tarif-card__variants { display: flex; flex-wrap: wrap; gap: 7px; margin: 16px 0 20px; }
.tarif-card__variant-pill { display: inline-block; padding: 6px 11px; border-radius: 99px; background: #f2f2f2; color: #102033; font-size: 12px; font-weight: 650; line-height: 1.3; }
.tarif-card--featured .tarif-card__variant-pill { background: #fbdde1; }
.tarif-card__list { display: grid; gap: 10px; list-style: none; padding: 0; margin: 0 0 26px; }
.tarif-card__list li { display: flex; align-items: flex-start; gap: 10px; color: #26364e; font-size: 14px; line-height: 1.45; }
.tarif-card__list li svg { flex: 0 0 22px; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: #ed1230; stroke: #fff; }
.tarif-card__cta { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 50px; padding: 12px; margin-top: auto; border-radius: 12px; background: #ed1230; color: #fff; font-size: 15px; font-weight: 750; text-decoration: none; }
.tarif-card__cta:hover { background: #cf102a; }
.tarif-card__cta:focus-visible { outline: 3px solid #102033; outline-offset: 4px; }
.tarif-card__cta .ml-icon { width: 19px; height: 19px; flex-shrink: 0; }
.tarifs-assurances { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 22px; padding: 30px 20px; border-radius: 20px; background: #fff6f7; }
.tarifs-assurances > div { display: flex; align-items: center; gap: 12px; padding: 0 16px; }
.tarifs-assurances > div + div { border-left: 1px solid #f5cbd2; }
.tarifs-assurances__icon { display: grid; place-items: center; width: 50px; height: 50px; flex-shrink: 0; border-radius: 50%; background: #ffe4e9; }
.tarifs-assurances__icon svg { width: 29px; height: 29px; fill: none; stroke: #ed1230; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tarifs-assurances p { margin: 0; font-size: 12px; line-height: 1.4; }
.tarifs-assurances strong { display: block; color: #102033; font-size: 13px; }
.tarifs-assurances p > span { display: block; margin-top: 4px; color: #53647e; }
@media (max-width: 1100px) {
  .tarifs-heading { padding: 0 60px; }
  .tarifs-heading__note { display: none; }
  .tarif-card { padding: 32px 22px; }
  .tarif-card__art { width: 95px; right: 5px; }
  .tarif-card__name { font-size: 26px; }
  .tarifs-assurances { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 0; }
  .tarifs-assurances > div:nth-child(3) { border-left: 0; }
}
@media (max-width: 800px) {
  .tarifs-heading { padding: 0; }
  .tarifs-heading__rays { display: none; }
  .tarifs-heading__intro br { display: none; }
  .tarif-cards { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .tarif-card { padding: 34px 26px; }
  .tarif-card__art { width: 125px; right: 20px; }
  .tarif-card__amount { font-size: 54px; }
  .tarif-card__name { font-size: 30px; }
}
@media (max-width: 480px) {
  .tarifs-assurances { grid-template-columns: 1fr; }
  .tarifs-assurances > div + div { border-left: 0; }
  .tarif-card__art { width: 100px; right: 12px; }
  .tarif-card__amount { font-size: 48px; }
  .tarifs-heading__kicker { font-size: 10px; letter-spacing: .14em; }
}
