/* IPTV Plans page components (.mp-*) — reuses the .mh design system from mh-home.css. */
body .mh .mp-chip {
  display: inline-block; padding: 3px 8px; border-radius: 6px; background: var(--mode-gold); color: var(--mode-gold-ink);
  font-family: var(--mode-font-body); font-size: 12px; font-weight: 800; line-height: 1.2; letter-spacing: normal; text-transform: none; vertical-align: middle;
}

/* ---------- Hero ---------- */
body .mh.mp-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--mode-ink); color: #fff; padding: calc(var(--mh-header) + 88px) 0 104px; }
body .mh.mp-hero::before {
  content: ""; position: absolute; z-index: -1; inset: 0; opacity: 1; border-radius: 0;
  background: radial-gradient(ellipse 46% 60% at 76% 52%, rgba(0, 85, 164, .34), rgba(0, 85, 164, 0) 70%),
    radial-gradient(ellipse 30% 40% at 8% 100%, rgba(143, 178, 242, .08), rgba(143, 178, 242, 0) 70%);
}
body .mh.mp-hero::after {
  content: ""; position: absolute; z-index: -1; top: var(--mh-header); right: -60px; bottom: -40px; width: 220px;
  background: var(--mode-navy-card); opacity: .55; transform: skewX(-14deg);
}
body .mh .mp-hero__grid { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 600px); gap: 56px; align-items: center; }
body .mh .mp-hero__copy { display: flex; flex-direction: column; gap: 26px; max-width: 620px; }
body .mh .mp-hero__eyebrow .elementor-heading-title { color: var(--mode-sky); }
body .mh .mp-hero__eyebrow .elementor-heading-title::before { background: var(--mode-sky); }
body .mh.mp-hero h1.elementor-heading-title { font-size: 58px; line-height: 1.02; letter-spacing: -.015em; color: #fff; }
body .mh.mp-hero .mh-hero__lead { max-width: 600px !important; }
body .mh.mp-hero .mp-trust .elementor-icon-list-item:first-child .elementor-icon-list-icon { color: var(--mode-star); }
body .mh .mp-hero__media { position: relative; }
body .mh .mp-hero__img img {
  display: block; width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 97%), linear-gradient(to right, transparent 0, #000 13%, #000 87%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, #000 70%, transparent 97%), linear-gradient(to right, transparent 0, #000 13%, #000 87%, transparent 100%);
  mask-composite: intersect;
}
body .mh .mp-badge {
  position: absolute !important; width: auto !important; display: flex; flex-direction: column; gap: 6px; padding: 14px 20px;
  border: 1px solid #22325e; border-radius: 16px; background: rgba(19, 40, 90, .94); box-shadow: 0 20px 40px rgba(0, 0, 0, .35);
}
body .mh .mp-badge--reviews { top: 2%; right: 0; }
body .mh .mp-badge--subs { bottom: 10%; left: 0; }
body .mh .mp-badge__label .elementor-heading-title {
  font-family: var(--mode-font-body); font-size: 12px; font-weight: 800; line-height: 1.2; letter-spacing: .12em; text-transform: uppercase; color: var(--mode-sky);
}
body .mh .mp-badge__num .elementor-heading-title { font-family: var(--mode-font-display); font-size: 32px; font-weight: 700; line-height: 1; color: #fff; }
@media (max-width: 1199px) {
  body .mh .mp-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 40px; }
  body .mh.mp-hero h1.elementor-heading-title { font-size: 50px; }
}
@media (max-width: 1024px) {
  body .mh.mp-hero { padding: calc(var(--mh-header) + 64px) 0 72px; }
  body .mh .mp-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  body .mh .mp-hero__media { width: 100%; max-width: 560px; margin-inline: auto; }
  body .mh.mp-hero h1.elementor-heading-title { font-size: 46px; }
  body .mh.mp-hero::after { display: none; }
}
@media (max-width: 640px) {
  body .mh.mp-hero { padding: calc(var(--mh-header) + 40px) 0 56px; }
  body .mh.mp-hero h1.elementor-heading-title { font-size: 36px; line-height: 1.06; }
  body .mh .mp-hero__copy { gap: 22px; }
  body .mh .mp-badge { padding: 10px 14px; border-radius: 12px; }
  body .mh .mp-badge__label .elementor-heading-title { font-size: 12px; }
  body .mh .mp-badge__num .elementor-heading-title { font-size: 24px; }
  body .mh .mp-badge--reviews { top: 0; }
  body .mh .mp-badge--subs { bottom: 4%; }
}

/* ---------- Standard vs Premium ---------- */
body .mh .mp-choose__grid {
  display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 460px) minmax(0, 1fr);
  grid-template-areas: "standard media premium"; gap: 28px; align-items: stretch;
}
body .mh .mp-choose__media { grid-area: media; align-self: center; min-width: 0; }
body .mh .mp-choose__media img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
body .mh .mp-tier--standard { grid-area: standard; }
body .mh .mp-tier--premium { grid-area: premium; }
body .mh .mp-tier {
  --tier-accent: var(--mode-blue); --tier-accent-ink: #fff; --tier-label: var(--mode-blue); --tier-text: var(--mode-text);
  --tier-muted: var(--mode-muted); --tier-rule: #dce4f4; --tier-check-bg: var(--mode-tint); --tier-check-ink: var(--mode-blue);
  position: relative; display: flex; flex-direction: column; gap: 18px; min-width: 0; padding: 40px 30px 30px;
  border: 1px solid #dce4f4; border-radius: 22px; background: #fff; color: var(--tier-text);
  box-shadow: inset 0 4px 0 var(--tier-accent), 0 24px 48px -28px rgba(13, 22, 51, .28);
}
body .mh .mp-tier--premium {
  --tier-accent: var(--mode-gold); --tier-accent-ink: var(--mode-gold-ink); --tier-label: var(--mode-gold); --tier-text: #f5f7fc;
  --tier-muted: #bac5df; --tier-rule: #4a3b26; --tier-check-bg: var(--mode-gold); --tier-check-ink: var(--mode-gold-ink);
  border: 2px solid var(--mode-gold);
  background: radial-gradient(ellipse at 50% 0, rgba(245, 184, 76, .16), transparent 45%), var(--mode-ink);
  box-shadow: 0 28px 56px -24px rgba(201, 138, 18, .45);
}
body .mh .mp-tier__badge { position: absolute !important; top: -15px; left: 30px; width: auto !important; }
body .mh .mp-tier__badge .elementor-heading-title {
  display: block; padding: 6px 14px; border-radius: 999px; background: var(--tier-accent); color: var(--tier-accent-ink);
  font-family: var(--mode-font-body); font-size: 12px; font-weight: 800; line-height: 1.4; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}
body .mh .mp-tier__name .elementor-heading-title { display: flex; align-items: center; gap: 10px; font-size: 32px; line-height: 1.1; color: var(--tier-text); }
body .mh .mp-tier__sub { margin-top: 6px !important; }
body .mh .mp-tier__sub .elementor-heading-title {
  font-family: var(--mode-font-body); font-size: 13px; font-weight: 800; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; color: var(--tier-label);
}
body .mh .mp-tier__price {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; padding: 16px 0;
  border-top: 1px solid var(--tier-rule); border-bottom: 1px solid var(--tier-rule); color: var(--tier-muted); line-height: 27px;
}
body .mh .mp-tier__from, body .mh .mp-tier__per { font-size: 14px; font-weight: 600; }
body .mh .mp-tier__price strong { font-family: var(--mode-font-display); font-size: 44px; font-weight: 700; line-height: 1; letter-spacing: -.02em; color: var(--tier-text); }
body .mh .mp-tier--premium .mp-tier__price strong { color: #ffd17b; }
body .mh .mp-tier__text { font-size: 15px; line-height: 1.6; color: var(--tier-muted); }
body .mh .mp-tier__specs { flex-grow: 1; }
body .mh .mp-tier__specs .elementor-icon-list-items { display: flex; flex-direction: column; gap: 11px; margin: 0; }
body .mh .mp-tier__specs .elementor-icon-list-item {
  display: flex; align-items: flex-start; gap: 10px; margin: 0 !important; padding: 0 !important;
  font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--tier-text);
}
body .mh .mp-tier__specs .elementor-icon-list-item::after { display: none; }
body .mh .mp-tier__specs .elementor-icon-list-icon {
  display: inline-flex; flex: 0 0 20px; align-items: center; justify-content: center; width: 20px; height: 20px; margin-top: 1px;
  border-radius: 50%; background: var(--tier-check-bg); color: var(--tier-check-ink); top: 0;
}
body .mh .mp-tier__specs .elementor-icon-list-icon svg { width: 12px; height: 12px; }
body .mh .mp-tier__specs .elementor-icon-list-text { padding: 0; color: inherit; align-self: flex-start; }
body .mh .mp-tier .mbtn { margin-top: 6px !important; }
@media (max-width: 1199px) {
  body .mh .mp-choose__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "media media" "standard premium"; gap: 36px 24px; }
  body .mh .mp-choose__media { width: 100%; max-width: 520px !important; margin-inline: auto !important; }
}
@media (max-width: 767px) {
  body .mh .mp-choose__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "media" "standard" "premium"; gap: 36px; }
  body .mh .mp-tier { padding: 36px 22px 24px; }
  body .mh .mp-tier__badge { left: 22px; }
  body .mh .mp-tier__name .elementor-heading-title { font-size: 28px; }
  body .mh .mp-tier__price strong { font-size: 38px; }
}

/* ---------- Extra screens ---------- */
body .mh .mp-screens__media { flex: 0 0 600px !important; width: 600px !important; min-width: 0; }
body .mh .mp-screens__media img { display: block; width: 100%; height: auto; }
body .mh .mp-addons { display: flex; flex-direction: column; margin-top: 4px; }
body .mh .mp-addon { display: flex; flex-direction: row; gap: 18px; align-items: flex-start; padding: 20px 0; border-top: 1px solid var(--mode-line); }
body .mh .mp-addon:last-child { padding-bottom: 0; }
body .mh .mp-addon > .mp-addon__body { width: auto; flex: 1 1 auto; }
body .mh .mp-addon__icon { flex: 0 0 48px; width: 48px !important; }
body .mh .mp-addon__icon .elementor-icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--mode-tint); color: var(--mode-blue);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
body .mh .mp-addon__icon .elementor-icon-wrapper { display: flex; line-height: 0; }
body .mh .mp-addon__icon svg { width: 22px; height: 22px; }
body .mh .mp-addon__title .elementor-heading-title { font-size: 21px; line-height: 1.25; color: var(--mode-text); }
body .mh .mp-addon__text { margin-top: 6px !important; font-size: 15px; line-height: 1.6; color: var(--mode-muted); }
body .mh .mp-addon__text a { font-weight: 700; }
@media (max-width: 1199px) { body .mh .mp-screens__media { flex-basis: 480px !important; width: 480px !important; } }
@media (max-width: 1024px) {
  body .mh .mp-screens__media { flex: none !important; width: 100% !important; max-width: 600px; margin-inline: auto !important; }
}

/* ---------- Cost ---------- */
body .mh .mp-callout { font-size: 17px; font-weight: 700; line-height: 1.5; color: var(--mode-text); }
body .mh.mp-cost .mh-stack { gap: 64px; }
body .mh .mp-cost__media { position: relative; flex: 0 0 560px; width: 560px; min-width: 0; padding-bottom: 36px; }
body .mh .mp-cost__img img { display: block; width: 100%; height: auto; }
body .mh .mp-price-card {
  position: absolute !important; left: 24px; bottom: 0; width: auto !important; display: flex; flex-direction: column; gap: 6px;
  padding: 18px 24px; border-radius: 16px; background: var(--mode-ink); color: #fff; box-shadow: 0 20px 40px rgba(13, 22, 51, .22);
}
body .mh .mp-price-card__label .elementor-heading-title {
  font-family: var(--mode-font-body); font-size: 12px; font-weight: 800; line-height: 1.2; letter-spacing: .12em; text-transform: uppercase; color: var(--mode-sky);
}
body .mh .mp-price-card__price { font-family: var(--mode-font-display); font-size: 46px; font-weight: 700; line-height: 1; color: #fff; }
body .mh .mp-price-card__price span { font-size: 28px; vertical-align: top; margin-right: 1px; }
body .mh .mp-price-card__price small { font-family: var(--mode-font-body); font-size: 15px; font-weight: 600; color: #b8c2dc; }
body .mh .mp-trial {
  position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: row; align-items: center; justify-content: space-between;
  gap: 28px; padding: 44px 52px; border-radius: var(--mode-radius-band); background: var(--mode-blue); color: #fff;
}
body .mh .mp-trial::before {
  content: ""; position: absolute; z-index: -1; right: 140px; top: -40px; left: auto; bottom: auto; width: 240px; height: 260px;
  background: #004a96; transform: skewX(-14deg); opacity: 1; border-radius: 0;
}
body .mh .mp-trial > .mp-trial__text { width: auto; display: flex; flex-direction: column; gap: 12px; }
body .mh .mp-trial > .mbtn { width: auto !important; flex: none; }
body .mh .mp-trial .mh-eyebrow .elementor-heading-title { color: #fff; }
body .mh .mp-trial__title .elementor-heading-title { font-size: 38px; line-height: 1.08; letter-spacing: -.01em; color: #fff; }
@media (max-width: 1024px) {
  body .mh .mp-cost__media { flex: none; width: 100%; max-width: 560px; margin-inline: auto; }
  body .mh.mp-cost .mh-stack { gap: 48px; }
}
@media (max-width: 767px) {
  body .mh .mp-trial { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
  body .mh .mp-trial::before { display: none; }
  body .mh .mp-trial__title .elementor-heading-title { font-size: 30px; }
  body .mh .mp-trial > .mbtn, body .mh .mp-trial > .mbtn .elementor-button { width: 100% !important; }
}
@media (max-width: 640px) {
  body .mh .mp-price-card { left: 12px; padding: 14px 18px; }
  body .mh .mp-price-card__price { font-size: 36px; }
}
/* French price card: 5,83 € (currency after the amount) */
body .mh .mp-price-card__price span { margin: 0 0 0 2px; }

/* Carte 2 écrans (fond marine) : liens en bleu clair */
body .mh .mp-tier--premium a:not(.elementor-button) { color: var(--mode-sky); }
body .mh .mp-tier--premium a:not(.elementor-button):hover { color: #fff; }
/* Boutons pleine largeur : le libellé passe à la ligne au lieu de déborder sur petit écran */
body .mh .mbtn--block .elementor-button { white-space: normal; height: auto; min-height: 52px; line-height: 1.3; text-align: center; }
