/* ==========================================================================
   IPTV Belgique — feuille de styles principale (mobile d’abord)
   Préfixe des classes : iptvbe-
   ========================================================================== */

:root {
	--iptvbe-bg: #ffffff;
	--iptvbe-soft: #f5f7fa;
	--iptvbe-text: #101b2d;
	--iptvbe-muted: #475569;
	--iptvbe-border: #e2e8f0;
	--iptvbe-primary: #1d4ed8;
	--iptvbe-primary-hover: #1e40af;
	--iptvbe-primary-soft: #eff4ff;
	--iptvbe-navy: #0f1a2e;
	--iptvbe-wa: #0f7d41;          /* vert WhatsApp foncé : texte blanc 5,2:1 */
	--iptvbe-wa-hover: #0b6334;
	--iptvbe-focus: #b45309;
	--iptvbe-radius: 14px;
	--iptvbe-radius-sm: 10px;
	--iptvbe-shadow: 0 1px 2px rgba(16, 27, 45, .06), 0 8px 24px rgba(16, 27, 45, .06);
	--iptvbe-gutter: clamp(16px, 4vw, 32px);
	--iptvbe-max: 1240px;
	--iptvbe-header-h: 64px;
	--iptvbe-font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	--iptvbe-ease: cubic-bezier(.2, .7, .2, 1);
}

/* Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--iptvbe-bg);
	color: var(--iptvbe-text);
	font-family: var(--iptvbe-font);
	font-size: 1.0625rem;
	line-height: 1.6;
	overflow-wrap: break-word;
}
img, svg { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--iptvbe-primary); text-underline-offset: .18em; }
a:hover { color: var(--iptvbe-primary-hover); }
:focus-visible { outline: 3px solid var(--iptvbe-focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.35rem + 2.9vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.625rem, 1.3rem + 1.4vw, 2.25rem); font-weight: 750; }
h3 { font-size: 1.1875rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
section[id], [id] { scroll-margin-top: calc(var(--iptvbe-header-h) + 16px); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.iptvbe-skip {
	position: absolute; left: 12px; top: -100px; z-index: 2000;
	background: var(--iptvbe-text); color: #fff; padding: 12px 16px; border-radius: 8px; font-weight: 600;
}
.iptvbe-skip:focus { top: 12px; color: #fff; }
.iptvbe-nowrap { white-space: nowrap; }
.iptvbe-center { text-align: center; margin-top: 32px; }

.iptvbe-container { width: 100%; max-width: var(--iptvbe-max); margin-inline: auto; padding-inline: var(--iptvbe-gutter); }
.iptvbe-narrow { max-width: calc(760px + 2 * var(--iptvbe-gutter)); }
.iptvbe-main { display: block; outline: none; }

/* Boutons et liens ------------------------------------------------------- */
.iptvbe-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 12px 20px; border-radius: 999px; border: 2px solid transparent;
	font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
	cursor: pointer; transition: background-color .2s var(--iptvbe-ease), color .2s, border-color .2s, transform .2s;
}
.iptvbe-btn--lg { min-height: 52px; padding: 14px 24px; font-size: 1.0625rem; }
.iptvbe-btn--primary { background: var(--iptvbe-primary); color: #fff; }
.iptvbe-btn--primary:hover { background: var(--iptvbe-primary-hover); color: #fff; }
.iptvbe-btn--outline { background: #fff; color: var(--iptvbe-primary); border-color: var(--iptvbe-primary); }
.iptvbe-btn--outline:hover { background: var(--iptvbe-primary-soft); color: var(--iptvbe-primary-hover); border-color: var(--iptvbe-primary-hover); }
.iptvbe-btn--whatsapp { background: var(--iptvbe-wa); color: #fff; }
.iptvbe-btn--whatsapp:hover { background: var(--iptvbe-wa-hover); color: #fff; }
.iptvbe-btn:active { transform: translateY(1px); }
.iptvbe-link { font-weight: 650; display: inline-flex; align-items: center; min-height: 44px; }
.iptvbe-link--light { color: #bfdbfe; }
.iptvbe-link--light:hover { color: #fff; }
.iptvbe-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 24px; }
.iptvbe-eyebrow { color: var(--iptvbe-primary); font-weight: 700; font-size: .875rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: .5em; }
.iptvbe-eyebrow a { text-decoration: none; }

/* En-tête ---------------------------------------------------------------- */
.iptvbe-header {
	position: sticky; top: 0; z-index: 900;
	background: #fff; border-bottom: 1px solid var(--iptvbe-border);
}
/* Pas de backdrop-filter : il créerait un bloc conteneur pour le menu mobile en position fixe. */
.admin-bar .iptvbe-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .iptvbe-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .iptvbe-header { top: 0; } }
.iptvbe-header__inner { display: flex; align-items: center; gap: 16px; min-height: var(--iptvbe-header-h); flex-wrap: wrap; }
.iptvbe-brand { margin-right: auto; display: flex; align-items: center; }
.iptvbe-brand img { max-height: 44px; width: auto; }
.iptvbe-brand__text {
	display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
	font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; color: var(--iptvbe-text); text-decoration: none;
}
.iptvbe-brand__mark {
	width: 28px; height: 28px; border-radius: 8px; flex: none;
	background: linear-gradient(135deg, var(--iptvbe-primary) 0 55%, #60a5fa 55% 100%);
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35);
}
.iptvbe-menu-toggle {
	display: none; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 8px 12px;
	background: #fff; color: var(--iptvbe-text); border: 1px solid var(--iptvbe-border); border-radius: 10px;
	font: inherit; font-weight: 650; cursor: pointer;
}
.iptvbe-nav { display: flex; align-items: center; gap: 8px 20px; flex-wrap: wrap; }
.iptvbe-nav__top { display: none; }
.iptvbe-nav__list { display: flex; flex-wrap: wrap; gap: 0 4px; list-style: none; margin: 0; padding: 0; }
.iptvbe-nav__list a {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; border-radius: 8px;
	color: var(--iptvbe-text); font-weight: 600; text-decoration: none;
}
.iptvbe-nav__list a:hover, .iptvbe-nav__list .current-menu-item > a, .iptvbe-nav__list a[aria-current="page"] { color: var(--iptvbe-primary); background: var(--iptvbe-primary-soft); }
.iptvbe-nav__cta { min-height: 44px; padding: 10px 18px; }

/* Sans JS : la navigation reste visible sous le logo. Avec JS, sous 960px : panneau plein écran. */
@media (max-width: 959.98px) {
	.no-js .iptvbe-nav { width: 100%; padding-bottom: 8px; }
	.js .iptvbe-menu-toggle { display: inline-flex; }
	.js .iptvbe-nav { display: none; }
	.js .iptvbe-nav.is-open {
		display: flex; flex-direction: column; align-items: stretch; gap: 16px;
		position: fixed; inset: 0; z-index: 1100; overflow-y: auto;
		background: #fff; padding: 16px var(--iptvbe-gutter) calc(24px + env(safe-area-inset-bottom));
	}
	.admin-bar.js .iptvbe-nav.is-open, .admin-bar .iptvbe-nav.is-open { top: 0; }
	.iptvbe-nav.is-open .iptvbe-nav__top { display: flex; align-items: center; justify-content: space-between; min-height: 48px; border-bottom: 1px solid var(--iptvbe-border); padding-bottom: 8px; }
	.iptvbe-nav__title { font-weight: 800; font-size: 1.15rem; }
	.iptvbe-nav__close {
		display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
		background: var(--iptvbe-soft); color: var(--iptvbe-text); border: 1px solid var(--iptvbe-border); border-radius: 12px; cursor: pointer;
	}
	.iptvbe-nav.is-open .iptvbe-nav__list { flex-direction: column; gap: 4px; }
	.iptvbe-nav.is-open .iptvbe-nav__list a { width: 100%; min-height: 52px; font-size: 1.125rem; padding: 0 12px; border-bottom: 1px solid var(--iptvbe-border); border-radius: 0; }
	.iptvbe-nav.is-open .iptvbe-nav__cta { width: 100%; min-height: 52px; }
}
body.iptvbe-menu-open { overflow: hidden; }

/* Sections --------------------------------------------------------------- */
.iptvbe-section { padding-block: clamp(44px, 6vw, 84px); }
.iptvbe-section--soft { background: var(--iptvbe-soft); }
.iptvbe-section--dark { background: var(--iptvbe-navy); color: #e2e8f0; }
.iptvbe-section--dark h2, .iptvbe-section--dark h3 { color: #fff; }
.iptvbe-section--dark .iptvbe-eyebrow { color: #93c5fd; }
.iptvbe-section-head { max-width: 680px; margin-bottom: 28px; }
.iptvbe-section-head p:last-child { color: var(--iptvbe-muted); margin-bottom: 0; }
.iptvbe-section--dark .iptvbe-section-head p:last-child { color: #cbd5e1; }

/* Hero ------------------------------------------------------------------- */
.iptvbe-hero { padding-block: 24px 20px; background: linear-gradient(180deg, #f7f9fc 0%, #fff 100%); }
.iptvbe-hero__grid { display: grid; gap: 20px; align-items: center; }
.iptvbe-hero__title { margin-bottom: .35em; max-width: 20ch; }
.iptvbe-hero__lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.1875rem); color: var(--iptvbe-muted); max-width: 60ch; }
.iptvbe-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; margin: 16px 0 8px; }
.iptvbe-hero__facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; color: var(--iptvbe-muted); font-size: .9375rem; }
.iptvbe-hero__facts li { display: inline-flex; align-items: center; gap: 6px; }
.iptvbe-hero__facts .iptvbe-icon { color: var(--iptvbe-primary); }
.iptvbe-hero__media { margin: 0; position: relative; }
.iptvbe-hero__img {
	width: 100%; aspect-ratio: 2 / 1; max-height: 200px; object-fit: cover; object-position: 30% 35%;
	border-radius: var(--iptvbe-radius); box-shadow: var(--iptvbe-shadow); background: var(--iptvbe-soft);
}
.iptvbe-hero__caption { font-size: .8125rem; color: var(--iptvbe-muted); margin-top: 6px; }
@media (min-width: 600px) and (max-width: 959.98px) {
	.iptvbe-hero__img { max-height: 260px; }
}
@media (min-width: 960px) {
	.iptvbe-hero { padding-block: 36px 24px; }
	.iptvbe-hero__grid { grid-template-columns: 1.05fr .95fr; gap: 48px; }
	.iptvbe-hero__img { aspect-ratio: 4 / 3; object-position: center; max-height: 360px; }
	.iptvbe-hero__title { font-size: clamp(2.25rem, 1.2rem + 2.4vw, 3.25rem); }
}

/* Tarifs ----------------------------------------------------------------- */
.iptvbe-pricing { padding-block: 28px clamp(44px, 6vw, 72px); }
.iptvbe-pricing .iptvbe-section-head { margin-bottom: 20px; }
.iptvbe-plans { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 440px) { .iptvbe-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .iptvbe-plans { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.iptvbe-plan {
	display: flex; flex-direction: column; gap: 6px; position: relative;
	padding: 20px 16px; background: #fff; border: 1px solid var(--iptvbe-border); border-radius: var(--iptvbe-radius);
	box-shadow: var(--iptvbe-shadow);
}
@media (min-width: 1024px) { .iptvbe-plan { padding: 24px 22px; } }
.iptvbe-plan--highlight { border: 2px solid var(--iptvbe-primary); }
.iptvbe-plan__name { font-size: 1.0625rem; margin: 0; color: var(--iptvbe-muted); font-weight: 700; }
.iptvbe-plan__badge { margin: 0; align-self: flex-start; font-size: .8125rem; font-weight: 700; color: var(--iptvbe-primary); background: var(--iptvbe-primary-soft); border-radius: 999px; padding: 2px 10px; }
.iptvbe-plan__price { margin: 4px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.iptvbe-plan__amount { font-size: clamp(1.75rem, 1.5rem + 1vw, 2.375rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.iptvbe-plan__term { font-weight: 650; color: var(--iptvbe-text); }
.iptvbe-plan__monthly { margin: 0 0 12px; font-size: .9375rem; color: var(--iptvbe-muted); }
.iptvbe-plan__monthly strong { color: var(--iptvbe-text); font-weight: 700; white-space: nowrap; }
.iptvbe-plan__cta { margin-top: auto; width: 100%; }
.iptvbe-pricing__terms {
	display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; padding: 16px;
	background: var(--iptvbe-soft); border: 1px solid var(--iptvbe-border); border-radius: var(--iptvbe-radius-sm);
	font-size: .9375rem; color: var(--iptvbe-muted);
}
.iptvbe-pricing__terms .iptvbe-icon { color: var(--iptvbe-primary); flex: none; margin-top: 2px; }
.iptvbe-pricing__terms p { margin: 0 0 .5em; max-width: 90ch; }
.iptvbe-pricing__terms p:last-child { margin: 0; }
.iptvbe-pricing__links { display: flex; flex-wrap: wrap; gap: 4px 20px; }

/* Blocs éditoriaux ------------------------------------------------------- */
.iptvbe-split { display: grid; gap: 28px; align-items: center; }
.iptvbe-split__media { margin: 0; }
.iptvbe-split__media img { width: 100%; border-radius: var(--iptvbe-radius); aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 960px) {
	.iptvbe-split { grid-template-columns: 1fr 1fr; gap: 64px; }
	.iptvbe-split--reverse .iptvbe-split__media { order: 2; }
	.iptvbe-split--text { grid-template-columns: 5fr 7fr; align-items: start; }
}
.iptvbe-prose { max-width: 70ch; }
.iptvbe-prose h2 { margin-top: 1.6em; }
.iptvbe-prose h3 { margin-top: 1.4em; }
.iptvbe-prose img { border-radius: var(--iptvbe-radius-sm); }
.iptvbe-ticks, .iptvbe-checklist { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 12px; }
.iptvbe-ticks li, .iptvbe-checklist li { display: flex; gap: 12px; align-items: flex-start; }
.iptvbe-ticks .iptvbe-icon, .iptvbe-checklist .iptvbe-icon { flex: none; color: var(--iptvbe-primary); margin-top: 3px; }
.iptvbe-numbered { display: grid; gap: 10px; padding-left: 1.4em; }

.iptvbe-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 768px) { .iptvbe-steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.iptvbe-step { padding: 24px; border: 1px solid var(--iptvbe-border); border-radius: var(--iptvbe-radius); background: #fff; }
.iptvbe-step__num {
	display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; margin-bottom: 12px;
	border-radius: 12px; background: var(--iptvbe-primary-soft); color: var(--iptvbe-primary); font-weight: 800;
}
.iptvbe-step p { margin: 0; color: var(--iptvbe-muted); }

.iptvbe-features { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
@media (min-width: 768px) { .iptvbe-features { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.iptvbe-feature { padding: 24px; border-radius: var(--iptvbe-radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); }
.iptvbe-feature p { margin: 0; color: #cbd5e1; }
.iptvbe-feature__icon { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 12px; background: rgba(147, 197, 253, .15); color: #93c5fd; margin-bottom: 12px; }

.iptvbe-contact-cards { display: grid; gap: 12px; margin-top: 20px; }
@media (min-width: 560px) { .iptvbe-contact-cards { grid-template-columns: 1fr 1fr; } }
.iptvbe-contact-card {
	display: flex; gap: 12px; align-items: center; padding: 16px; min-height: 64px;
	border: 1px solid var(--iptvbe-border); border-radius: var(--iptvbe-radius-sm); background: #fff;
	color: var(--iptvbe-text); text-decoration: none; transition: border-color .2s, box-shadow .2s;
}
.iptvbe-contact-card:hover { border-color: var(--iptvbe-primary); box-shadow: var(--iptvbe-shadow); color: var(--iptvbe-text); }
.iptvbe-contact-card > span { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.iptvbe-contact-card small { color: var(--iptvbe-muted); }
.iptvbe-contact-card .iptvbe-icon { flex: none; color: var(--iptvbe-primary); }
.iptvbe-contact-card--wa .iptvbe-icon { color: var(--iptvbe-wa); }

/* FAQ -------------------------------------------------------------------- */
.iptvbe-faq { display: grid; gap: 10px; }
.iptvbe-faq__item { background: #fff; border: 1px solid var(--iptvbe-border); border-radius: var(--iptvbe-radius-sm); }
.iptvbe-faq__item summary {
	list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
	min-height: 56px; padding: 14px 18px; font-weight: 700;
}
.iptvbe-faq__item summary::-webkit-details-marker { display: none; }
.iptvbe-faq__item summary::after {
	content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-3px); transition: transform .2s var(--iptvbe-ease); color: var(--iptvbe-primary);
}
.iptvbe-faq__item[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.iptvbe-faq__answer { padding: 0 18px 16px; color: var(--iptvbe-muted); }
.iptvbe-faq__answer p { margin: 0; }

/* Cartes d’articles ------------------------------------------------------ */
.iptvbe-cards { display: grid; gap: 20px; }
@media (min-width: 640px) { .iptvbe-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .iptvbe-cards { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.iptvbe-card { display: flex; flex-direction: column; border: 1px solid var(--iptvbe-border); border-radius: var(--iptvbe-radius); overflow: hidden; background: #fff; position: relative; }
.iptvbe-card__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.iptvbe-card__body { padding: 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.iptvbe-card__cat { margin: 0; font-size: .8125rem; font-weight: 700; color: var(--iptvbe-primary); text-transform: uppercase; letter-spacing: .04em; }
.iptvbe-card__title { margin: 0; font-size: 1.1875rem; }
.iptvbe-card__title a { color: var(--iptvbe-text); text-decoration: none; }
.iptvbe-card__title a::after { content: ""; position: absolute; inset: 0; }
.iptvbe-card__title a:focus-visible { outline: none; }
.iptvbe-card:focus-within { outline: 3px solid var(--iptvbe-focus); outline-offset: 2px; }
.iptvbe-card:hover .iptvbe-card__title a { color: var(--iptvbe-primary); }
.iptvbe-card__excerpt { margin: 0; color: var(--iptvbe-muted); font-size: .9375rem; }
.iptvbe-card__meta { margin: auto 0 0; padding-top: 8px; font-size: .875rem; color: var(--iptvbe-muted); }

/* CTA final -------------------------------------------------------------- */
.iptvbe-cta-band { padding-block: clamp(40px, 5vw, 64px); background: var(--iptvbe-primary-soft); border-top: 1px solid #dbe5ff; }
.iptvbe-cta-band__inner { display: grid; gap: 20px; align-items: center; }
.iptvbe-cta-band__inner p { margin: 0; color: var(--iptvbe-muted); }
.iptvbe-cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 960px) { .iptvbe-cta-band__inner { grid-template-columns: 1fr auto; } }

/* Pages ------------------------------------------------------------------ */
.iptvbe-page-header { padding-block: clamp(32px, 5vw, 56px) 20px; background: linear-gradient(180deg, #f7f9fc, #fff); }
.iptvbe-page-header__title { font-size: clamp(1.875rem, 1.4rem + 2vw, 2.75rem); margin-bottom: .3em; }
.iptvbe-page-header__lead { font-size: 1.125rem; color: var(--iptvbe-muted); margin: 0; max-width: 65ch; }
.iptvbe-page__body { padding-block: 16px 32px; }
.iptvbe-page__contact { padding-bottom: 56px; }
.iptvbe-updated, .iptvbe-help { font-size: .9375rem; color: var(--iptvbe-muted); }
.iptvbe-empty { padding: 16px 20px; border-left: 4px solid var(--iptvbe-primary); background: var(--iptvbe-soft); border-radius: 0 8px 8px 0; }
.iptvbe-editor-notice {
	margin: 0 0 20px; padding: 14px 16px; border: 2px dashed #b45309; background: #fffbeb; color: #78350f;
	border-radius: var(--iptvbe-radius-sm); font-size: .9375rem;
}
.iptvbe-editor-notice dl { margin: 10px 0 0; }
.iptvbe-editor-notice dt { font-weight: 700; margin-top: 8px; }
.iptvbe-editor-notice dd { margin: 0; }
.iptvbe-contact-box {
	display: grid; gap: 16px; padding: 24px; border-radius: var(--iptvbe-radius); background: var(--iptvbe-soft); border: 1px solid var(--iptvbe-border);
}
.iptvbe-contact-box__title { font-weight: 800; font-size: 1.25rem; margin-bottom: .25em; }
.iptvbe-contact-box__text p:last-child { margin: 0; color: var(--iptvbe-muted); }
.iptvbe-contact-box__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.iptvbe-contact-box__actions .iptvbe-btn { max-width: 100%; overflow-wrap: anywhere; }

.iptvbe-table-wrap { overflow-x: auto; margin: 16px 0 32px; border: 1px solid var(--iptvbe-border); border-radius: var(--iptvbe-radius-sm); }
.iptvbe-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.iptvbe-table caption { text-align: left; font-weight: 700; padding: 12px 16px; }
.iptvbe-table th, .iptvbe-table td { padding: 12px 16px; text-align: left; border-top: 1px solid var(--iptvbe-border); }
.iptvbe-table thead th { background: var(--iptvbe-soft); font-size: .9375rem; }
@media (max-width: 479.98px) {
	.iptvbe-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.iptvbe-table tr { display: grid; padding: 10px 0; border-top: 1px solid var(--iptvbe-border); }
	.iptvbe-table th, .iptvbe-table td { border: 0; padding: 2px 16px; }
	.iptvbe-table td::before { content: attr(data-label); display: block; font-size: .8125rem; color: var(--iptvbe-muted); }
}

/* Formulaires ------------------------------------------------------------ */
.iptvbe-form-wrap { margin-top: 40px; }
.iptvbe-form { display: grid; gap: 16px; }
.iptvbe-field label, .iptvbe-search label { display: block; font-weight: 650; margin-bottom: 6px; }
.iptvbe-field input, .iptvbe-field textarea, .iptvbe-search input, .comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; color: var(--iptvbe-text);
	border: 1px solid #64748b; border-radius: var(--iptvbe-radius-sm); background: #fff;
}
.iptvbe-field input:focus-visible, .iptvbe-field textarea:focus-visible, .iptvbe-search input:focus-visible { border-color: var(--iptvbe-primary); }
.iptvbe-field :user-invalid { border-color: #b91c1c; }
.iptvbe-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.iptvbe-form-msg { padding: 12px 16px; border-radius: var(--iptvbe-radius-sm); font-weight: 600; }
.iptvbe-form-msg--ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.iptvbe-form-msg--error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.iptvbe-search__row { display: flex; gap: 8px; flex-wrap: wrap; }
.iptvbe-search__row input { flex: 1 1 200px; }
.iptvbe-search-again { margin: 0 auto 28px; padding-inline: 0; }

/* Blog ------------------------------------------------------------------- */
.iptvbe-archive { padding-block: 16px 64px; }
.iptvbe-cat-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 24px; }
.iptvbe-cat-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--iptvbe-border); border-radius: 999px; text-decoration: none; font-weight: 600; }
.iptvbe-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.iptvbe-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--iptvbe-border); border-radius: 10px; text-decoration: none; }
.iptvbe-pagination .current { background: var(--iptvbe-primary); color: #fff; border-color: var(--iptvbe-primary); }
.iptvbe-empty-state { padding: 24px; border: 1px dashed #cbd5e1; border-radius: var(--iptvbe-radius); background: var(--iptvbe-soft); }
.iptvbe-article__meta { color: var(--iptvbe-muted); font-size: .9375rem; }
.iptvbe-article__media { margin: 0 auto 24px; }
.iptvbe-article__media img { border-radius: var(--iptvbe-radius); width: 100%; }
.iptvbe-article__media figcaption { font-size: .875rem; color: var(--iptvbe-muted); margin-top: 6px; }
.iptvbe-tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.iptvbe-tags a { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--iptvbe-soft); text-decoration: none; font-size: .875rem; }
.iptvbe-author-box, .iptvbe-author-head { display: flex; gap: 16px; align-items: flex-start; }
.iptvbe-author-box { margin: 32px 0; padding: 20px; border: 1px solid var(--iptvbe-border); border-radius: var(--iptvbe-radius); }
.iptvbe-author-box img, .iptvbe-author-head img { border-radius: 50%; flex: none; }
.iptvbe-author-box p { margin: 0; color: var(--iptvbe-muted); }
.iptvbe-author-box__name { font-weight: 700; color: var(--iptvbe-text) !important; }
.iptvbe-service-links { margin: 32px 0 48px; padding: 20px; border-radius: var(--iptvbe-radius); background: var(--iptvbe-primary-soft); }
.iptvbe-service-links__title { font-weight: 800; margin-bottom: 8px; }
.iptvbe-service-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.iptvbe-service-links a { display: inline-flex; gap: 8px; align-items: center; min-height: 40px; font-weight: 600; }
.iptvbe-comments { padding-block: 16px 56px; }
.iptvbe-comments__list { padding-left: 0; list-style: none; }
.iptvbe-comments__list .children { list-style: none; padding-left: 20px; }
.iptvbe-comments .comment-body { padding: 16px 0; border-bottom: 1px solid var(--iptvbe-border); }

/* Pied de page ----------------------------------------------------------- */
.iptvbe-footer { background: var(--iptvbe-navy); color: #cbd5e1; padding-top: 48px; font-size: .9375rem; }
.iptvbe-footer a { color: #e2e8f0; }
.iptvbe-footer a:hover { color: #fff; }
.iptvbe-footer__grid { display: grid; gap: 32px; }
@media (min-width: 768px) { .iptvbe-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.iptvbe-footer__name { color: #fff; font-weight: 800; font-size: 1.2rem; margin-bottom: 8px; }
.iptvbe-footer__title { color: #fff; font-weight: 700; margin-bottom: 8px; }
.iptvbe-footer__list { list-style: none; margin: 0; padding: 0; }
.iptvbe-footer__list a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; text-decoration: none; }
.iptvbe-footer__list a:hover { text-decoration: underline; }
.iptvbe-footer__contact a { overflow-wrap: anywhere; }
.iptvbe-footer__hint { display: block; font-size: .8125rem; color: #94a3b8; margin: -6px 0 6px 28px; }
.iptvbe-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 40px; padding-block: 20px; border-top: 1px solid rgba(255, 255, 255, .12); }
.iptvbe-footer__bottom p { margin: 0; }
.iptvbe-footer__top { display: inline-flex; align-items: center; min-height: 44px; }

/* WhatsApp flottant ------------------------------------------------------ */
.iptvbe-wa-float {
	position: fixed; z-index: 800;
	right: calc(16px + env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom));
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	width: 56px; height: 56px; border-radius: 999px;
	background: var(--iptvbe-wa); color: #fff; text-decoration: none; font-weight: 700;
	box-shadow: 0 6px 20px rgba(16, 27, 45, .25);
	transition: background-color .2s, transform .25s var(--iptvbe-ease), opacity .25s var(--iptvbe-ease);
}
.iptvbe-wa-float:hover, .iptvbe-wa-float:focus-visible { background: var(--iptvbe-wa-hover); color: #fff; }
.iptvbe-wa-float__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.iptvbe-wa-float.is-tucked { opacity: 0; transform: translateY(12px); pointer-events: none; visibility: hidden; }
.iptvbe-menu-open .iptvbe-wa-float { display: none; }
body.iptvbe-has-float .iptvbe-footer__bottom { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
@media (min-width: 768px) {
	.iptvbe-wa-float { width: auto; height: auto; min-height: 52px; padding: 12px 20px 12px 16px; right: calc(24px + env(safe-area-inset-right)); bottom: calc(24px + env(safe-area-inset-bottom)); }
	.iptvbe-wa-float__label { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}

/* Mouvement réduit ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Impression ------------------------------------------------------------- */
@media print {
	.iptvbe-header, .iptvbe-wa-float, .iptvbe-footer__bottom .iptvbe-footer__top { display: none; }
}

/* Classes WordPress ------------------------------------------------------ */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.wp-caption-text, .gallery-caption { font-size: .875rem; color: var(--iptvbe-muted); }
.sticky .iptvbe-card__title::before { content: ""; }
.bypostauthor > .comment-body { border-left: 3px solid var(--iptvbe-primary); padding-left: 12px; }
