@font-face{font-family:"Cairo";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/cairo-arabic-400-normal.woff2") format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF,U+200C-200F,U+0660-0669}
@font-face{font-family:"Cairo";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/cairo-arabic-600-normal.woff2") format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF,U+200C-200F,U+0660-0669}
@font-face{font-family:"Cairo";font-style:normal;font-weight:700;font-display:swap;src:url("../fonts/cairo-arabic-700-normal.woff2") format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF,U+200C-200F,U+0660-0669}
@font-face{font-family:"Cairo";font-style:normal;font-weight:800;font-display:swap;src:url("../fonts/cairo-arabic-800-normal.woff2") format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF,U+200C-200F,U+0660-0669}
@font-face{font-family:"Barlow Condensed";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/barlow-condensed-latin-500-normal.woff2") format("woff2")}
@font-face{font-family:"Barlow Condensed";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2")}
@font-face{font-family:"Barlow Condensed";font-style:normal;font-weight:700;font-display:swap;src:url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2")}
@font-face{font-family:"Barlow Condensed";font-style:normal;font-weight:800;font-display:swap;src:url("../fonts/barlow-condensed-latin-800-normal.woff2") format("woff2")}
@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/inter-latin-400-normal.woff2") format("woff2")}
@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/inter-latin-500-normal.woff2") format("woff2")}
@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/inter-latin-600-normal.woff2") format("woff2")}
/* =====================================================================
   MH TV SPORT — feuille de style principale (charte bleu & blanc)
   ===================================================================== */

:root {
	/* Charte mhtvsport.com */
	--blue: #0431b8;      /* bleu principal */
	--accent: #007cfb;    /* bleu clair */
	--navy: #03134a;      /* bleu nuit (sections sombres) */
	--navy-2: #020c33;
	--white: #ffffff;
	--soft: #f3f6fc;

	/* Contexte clair (par défaut) */
	--ink: #0b1430;
	--muted: #59647f;
	--line: #e1e7f2;
	--line-2: #c9d3e6;
	--card: #ffffff;
	--card-2: #f3f6fc;

	--radius: 6px;
	--container: 1240px;
	--head: "Barlow Condensed", "Arial Narrow", sans-serif;
	--body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--shadow: 0 20px 50px -24px rgba(4, 49, 184, .28);
}

/* Contexte sombre (bleu nuit) */
.dark, .promo-card, .var-screen {
	--ink: #ffffff;
	--muted: rgba(255, 255, 255, .72);
	--line: rgba(255, 255, 255, .12);
	--line-2: rgba(255, 255, 255, .24);
	--card: rgba(255, 255, 255, .04);
	--card-2: rgba(255, 255, 255, .08);
	color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font: 400 16px/1.65 var(--body);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, video, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
	font-family: var(--head);
	font-weight: 700;
	line-height: 1.02;
	letter-spacing: .005em;
	margin: 0 0 .5em;
	text-transform: uppercase;
	color: var(--ink);
}
h1 { font-size: clamp(2.8rem, 7vw, 6.2rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.6rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }

.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }
.container.narrow { width: min(860px, 100% - 48px); }
.section { padding: clamp(72px, 9vw, 120px) 0; position: relative; }
.section.alt { background: var(--soft); }
.section.dark, .dark.section { background: var(--navy); }

.screen-reader-text, .skip-link {
	position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; z-index: 999; top: 8px; left: 8px;
	background: var(--accent); color: #fff; padding: 10px 16px;
}

/* ---------- Kicker / tags ---------- */
.kicker {
	display: inline-flex; align-items: center; gap: 10px;
	font: 600 .78rem/1 var(--body);
	letter-spacing: .22em; text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 18px;
}
.dark .kicker { color: #7fb8ff; }
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
.kicker:has(.live-dot)::before { display: none; }
.live-dot {
	width: 9px; height: 9px; border-radius: 50%; background: #ff3b3b;
	animation: pulse 1.8s infinite;
}
@keyframes pulse {
	0% { box-shadow: 0 0 0 0 rgba(255, 59, 59, .7); }
	70% { box-shadow: 0 0 0 12px rgba(255, 59, 59, 0); }
	100% { box-shadow: 0 0 0 0 rgba(255, 59, 59, 0); }
}
.tag {
	display: inline-block; font: 600 .7rem/1 var(--body);
	letter-spacing: .16em; text-transform: uppercase;
	padding: 7px 10px; border: 1px solid var(--line-2); border-radius: 3px; color: var(--ink);
}
.tag-accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.tag-light { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- Boutons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	font: 700 .95rem/1 var(--head); letter-spacing: .12em; text-transform: uppercase;
	padding: 17px 28px; border-radius: var(--radius); border: 1px solid transparent;
	cursor: pointer; transition: transform .25s var(--ease), background .25s, border-color .25s, color .25s, box-shadow .25s;
}
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn-sm { padding: 12px 18px; font-size: .85rem; }
.btn-block { width: 100%; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 10px 30px -10px rgba(0, 124, 251, .6); }
.btn-accent:hover { background: var(--blue); }
.dark .btn-accent:hover { background: #fff; color: var(--blue); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-outline { border-color: var(--blue); color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.dark .btn-outline { border-color: #fff; color: #fff; }
.btn-light { background: #fff; color: var(--blue); }
.btn-light:hover { background: var(--navy); color: #fff; }

.link-more {
	display: inline-flex; align-items: center; gap: 8px;
	font: 700 .85rem/1 var(--head); letter-spacing: .14em; text-transform: uppercase;
	color: var(--ink);
}
.link-more .icon { width: 16px; height: 16px; color: var(--accent); transition: transform .25s var(--ease); }
a:hover .link-more .icon, .link-more:hover .icon { transform: translateX(5px); }

/* ---------- En-tête ---------- */
.site-header {
	position: fixed; inset: 0 0 auto; z-index: 100;
	transition: background .3s, border-color .3s, backdrop-filter .3s, box-shadow .3s;
	border-bottom: 1px solid transparent;
}
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled {
	background: rgba(3, 19, 74, .92); backdrop-filter: blur(14px);
	border-bottom-color: rgba(255,255,255,.08); box-shadow: 0 10px 30px -20px rgba(0,0,0,.6);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.custom-logo { max-height: 56px; width: auto; }
.brand-text { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
	width: 34px; height: 34px; border: 2px solid #fff; border-radius: 50%;
	display: grid; place-items: center; position: relative;
}
.brand-mark span { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.brand-mark::after {
	content: ""; position: absolute; inset: -7px; border-radius: 50%;
	border: 1px solid rgba(255,255,255,.3);
}
.brand-name { font: 600 1.45rem/1 var(--head); letter-spacing: .06em; color: #fff; }
.brand-name strong { font-weight: 800; color: var(--accent); }

.main-nav { display: flex; align-items: center; gap: 20px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.main-nav li { position: relative; }
.main-nav a {
	display: block; padding: 10px 12px;
	font: 600 .98rem/1 var(--head); letter-spacing: .12em; text-transform: uppercase;
	color: rgba(255,255,255,.85); transition: color .2s; white-space: nowrap;
}
.nav-cta { white-space: nowrap; }
.main-nav > ul > li > a::after {
	content: ""; display: block; height: 2px; background: var(--accent);
	transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); margin-top: 6px;
}
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current-menu-ancestor > a { color: #fff; }
.main-nav > ul > li > a:hover::after, .main-nav .current-menu-item > a::after, .main-nav .current-menu-ancestor > a::after { transform: scaleX(1); }
.main-nav .menu-item-has-children > a { padding-right: 22px; position: relative; }
.main-nav .menu-item-has-children > a::before {
	content: ""; position: absolute; right: 8px; top: 13px; width: 6px; height: 6px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
}
.main-nav .menu-var > a { color: #fff; }
.main-nav .menu-var > a::before {
	content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
	background: #ff3b3b; margin-right: 7px; vertical-align: 2px; animation: pulse 1.8s infinite;
}
.main-nav .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 230px; display: block;
	background: #fff; border-radius: var(--radius); padding: 8px; box-shadow: 0 24px 50px -20px rgba(3,19,74,.5);
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: .25s var(--ease);
}
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { padding: 12px 14px; font-size: .92rem; color: var(--navy); border-radius: 4px; }
.main-nav .sub-menu a:hover { background: var(--soft); color: var(--accent); }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.nav-toggle .bar { display: block; height: 2px; background: #fff; margin: 6px 0; transition: .3s var(--ease); }
.nav-open .nav-toggle .bar:nth-child(2) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle .bar:nth-child(3) { opacity: 0; }
.nav-open .nav-toggle .bar:nth-child(4) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
	position: relative; min-height: 100vh; min-height: 100svh;
	display: flex; align-items: flex-end; padding: 160px 0 110px; overflow: hidden;
	background: var(--navy);
}
.hero-media, .hero-overlay { position: absolute; inset: 0; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
	background:
		linear-gradient(180deg, rgba(3,19,74,.55) 0%, rgba(3,19,74,.1) 40%, rgba(3,19,74,.95) 100%),
		linear-gradient(90deg, rgba(3,19,74,.9) 0%, rgba(3,19,74,0) 65%);
}
.hero-pitch {
	position: absolute; inset: 0;
	background: radial-gradient(ellipse at 70% 40%, #0a3cc8 0%, #062080 45%, var(--navy) 100%);
}
.hero-pitch svg { width: 100%; height: 100%; }
.hero-pitch::after {
	content: ""; position: absolute; inset: 0;
	background: repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 90px, transparent 90px 180px);
}
.hero-pitch svg g[fill="none"] { stroke: rgba(255,255,255,.16); }
.track-path { fill: none; stroke: #7fd0ff; stroke-width: 2; stroke-dasharray: 6 8; opacity: .8; animation: dash 30s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -1000; } }
.track-dot { fill: #fff; filter: drop-shadow(0 0 8px #7fd0ff); }
.players circle { fill: #fff; animation: drift 6s ease-in-out infinite alternate; }
.players circle.opp { fill: #4da3ff; }
.players circle:nth-child(2n) { animation-duration: 8s; }
.players circle:nth-child(3n) { animation-duration: 5s; animation-direction: alternate-reverse; }
@keyframes drift { to { transform: translate(14px, -10px); } }

.hero-content { position: relative; z-index: 2; }
.hero-title { max-width: 14ch; margin-bottom: 26px; }
.hero-text { max-width: 600px; font-size: 1.12rem; color: var(--muted); margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-scroll {
	position: absolute; right: 40px; bottom: 40px; z-index: 2;
	width: 1px; height: 80px; background: rgba(255,255,255,.25); overflow: hidden;
}
.hero-scroll span { position: absolute; left: 0; width: 1px; height: 30px; background: #fff; animation: scrolline 2s var(--ease) infinite; }
@keyframes scrolline { from { top: -30px; } to { top: 80px; } }

/* ---------- Bandeau sports ---------- */
.sports-strip { background: var(--blue); padding: 34px 0 30px; }
.sports-strip-head p { color: rgba(255,255,255,.8); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
	font: 700 clamp(1.6rem, 3vw, 2.4rem)/1 var(--head); text-transform: uppercase; letter-spacing: .04em;
	color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.6);
	padding: 0 34px; display: inline-flex; align-items: center; gap: 34px; white-space: nowrap;
	transition: color .3s;
}
.marquee-item:hover { color: #fff; }
.marquee-item::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Promos ---------- */
.promos { padding-bottom: 0; }
.promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.promo-card {
	position: relative; min-height: 380px; padding: 90px 40px 40px; border-radius: 10px;
	display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
	overflow: hidden; isolation: isolate; box-shadow: var(--shadow);
	transition: transform .4s var(--ease);
}
.promo-card::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	transition: transform .8s var(--ease);
}
.promo-var::before {
	background:
		linear-gradient(180deg, transparent 15%, rgba(3,19,74,.92) 85%),
		repeating-linear-gradient(115deg, transparent 0 60px, rgba(255,255,255,.06) 60px 61px),
		radial-gradient(circle at 80% 20%, #007cfb, transparent 60%),
		var(--blue);
}
.promo-live::before {
	background:
		linear-gradient(180deg, transparent 15%, rgba(3,19,74,.95) 85%),
		repeating-linear-gradient(0deg, transparent 0 3px, rgba(255,255,255,.03) 3px 4px),
		radial-gradient(circle at 80% 20%, rgba(0,124,251,.6), transparent 55%),
		var(--navy);
}
.promo-card:hover { transform: translateY(-6px); }
.promo-card:hover::before { transform: scale(1.06); }
.promo-card .tag { position: absolute; top: 32px; left: 40px; }
.promo-card .tag:not(.tag-accent) { background: #fff; color: var(--navy); border-color: #fff; }
.promo-card h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); max-width: 16ch; }
.promo-card p { color: var(--muted); max-width: 46ch; }

/* ---------- En-têtes de section ---------- */
.section-head { max-width: 780px; margin-bottom: 56px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .kicker { justify-content: center; }
.section-head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.lead { font-size: 1.12rem; color: var(--muted); }

/* ---------- Technologies ---------- */
.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.tech-grid-3 { grid-template-columns: repeat(3, 1fr); }
.tech-card {
	position: relative; padding: 44px 34px 40px;
	border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
	transition: background .35s;
}
.tech-card::before {
	content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
	background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.tech-card:hover { background: var(--card-2); }
.tech-card:hover::before { transform: scaleX(1); }
.tech-num, .include-num { position: absolute; top: 24px; right: 26px; font: 600 .85rem/1 var(--head); color: var(--muted); letter-spacing: .1em; }
.tech-icon, .pack-icon {
	display: inline-grid; place-items: center; width: 54px; height: 54px; flex: none;
	border-radius: 50%; margin-bottom: 24px; color: var(--blue); background: rgba(0,124,251,.1);
	transition: background .3s, color .3s;
}
.dark .tech-icon, .dark .pack-icon { color: #fff; background: rgba(255,255,255,.08); }
.tech-card:hover .tech-icon { background: var(--accent); color: #fff; }
.tech-card h3 { letter-spacing: .06em; }
.tech-card p { color: var(--muted); margin: 0; }

/* ---------- VAR spotlight ---------- */
.var-spot { overflow: hidden; }
.var-spot::before {
	content: ""; position: absolute; inset: 0;
	background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
	background-size: 64px 64px; mask-image: radial-gradient(ellipse at 75% 50%, #000 0%, transparent 70%);
}
.var-spot-grid { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: center; }
.check-list { list-style: none; padding: 0; margin: 28px 0 38px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon, .pack ul .icon { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 3px; }
.dark .check-list .icon { color: #7fb8ff; }
.small-list { margin: 18px 0 0; gap: 10px; font-size: .95rem; }
.small-list li { color: var(--muted); }

/* Écran VAR */
.var-screen {
	background: #020a2a; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; overflow: hidden;
	box-shadow: 0 40px 120px -30px rgba(0,0,0,.7), 0 0 80px -20px rgba(0,124,251,.55);
	font-family: var(--head);
}
.var-screen-top, .var-screen-bottom { display: flex; align-items: center; gap: 16px; padding: 12px 16px; background: #06123f; }
.var-screen-top { justify-content: space-between; border-bottom: 1px solid var(--line); }
.var-badge { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; letter-spacing: .14em; font-size: .9rem; color: #fff; font-family: var(--head); }
.var-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #ff3b3b; animation: pulse 1.6s infinite; }
.var-tc { font-variant-numeric: tabular-nums; color: #7fd0ff; letter-spacing: .1em; }
.var-view { position: relative; aspect-ratio: 5 / 3; }
.var-pitch { width: 100%; height: 100%; }
.var-offside { stroke-width: 2; stroke-dasharray: 400; stroke-dashoffset: 400; animation: drawline 4s var(--ease) infinite; }
.var-offside.a { stroke: #ff3b3b; }
.var-offside.d { stroke: #7fd0ff; animation-delay: .4s; }
@keyframes drawline { 0% { stroke-dashoffset: 400; } 35%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -400; } }
.var-player.att { fill: #fff; }
.var-player.def { fill: #1d6bff; }
.var-ball { fill: #fff; }
.var-cams { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 6px; }
.var-cams span { font-size: .72rem; letter-spacing: .1em; padding: 5px 8px; background: rgba(0,0,0,.55); border: 1px solid var(--line-2); color: #fff; }
.var-cams span.on { background: var(--accent); border-color: var(--accent); }
.var-screen-bottom { border-top: 1px solid var(--line); flex-wrap: wrap; }
.var-controls { display: flex; gap: 12px; color: var(--muted); font-size: .8rem; }
.var-controls .play { color: #fff; }
.var-speed { color: #7fd0ff; font-weight: 700; font-size: .9rem; }
.var-timeline { flex: 1; min-width: 120px; height: 4px; background: var(--line-2); position: relative; border-radius: 2px; }
.var-timeline .mark { position: absolute; top: -4px; width: 2px; height: 12px; background: #ffd400; }
.var-timeline .m1 { left: 22%; } .var-timeline .m2 { left: 48%; } .var-timeline .m3 { left: 71%; background: #ff3b3b; }
.var-timeline .head { position: absolute; top: -5px; width: 14px; height: 14px; border-radius: 50%; background: #fff; animation: playhead 8s linear infinite; }
@keyframes playhead { from { left: 0; } to { left: calc(100% - 14px); } }
.var-decision {
	font-weight: 800; letter-spacing: .14em; padding: 6px 12px; background: var(--accent); color: #fff;
	animation: blink 4s steps(1) infinite;
}
@keyframes blink { 0%, 30% { opacity: 0; } 31%, 100% { opacity: 1; } }

/* ---------- Chiffres ---------- */
.stats { background: var(--blue); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 54px 24px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-num { display: block; font: 800 clamp(3rem, 5vw, 4.6rem)/1 var(--head); }
.stat-label { color: var(--muted); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; }

/* ---------- Packs ---------- */
.pack-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.pack {
	position: relative; padding: 38px 30px; background: var(--card); border: 1px solid var(--line); border-radius: 10px;
	display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .3s, border-color .3s;
}
.pack:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.pack.is-featured { border: 2px solid var(--accent); }
.pack.is-var { background: linear-gradient(160deg, var(--navy), #0a2a8f); border-color: transparent; color: #fff;
	--ink: #fff; --muted: rgba(255,255,255,.75); }
.pack.is-var .pack-icon { background: rgba(255,255,255,.1); color: #fff; }
.pack.is-var .check-list .icon, .pack.is-var ul .icon { color: #7fb8ff; }
.pack-flag { position: absolute; top: 18px; right: 18px; }
.pack h3 { font-size: 1.8rem; margin-bottom: 10px; }
.pack-sub { color: var(--muted); margin-bottom: 22px; }
.pack > p { color: var(--muted); }
.pack ul { list-style: none; padding: 0; margin: 4px 0 30px; display: grid; gap: 12px; flex: 1; }
.pack ul li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }

/* ---------- Sports ---------- */
.sport-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sport-item { background: #fff; padding: 32px 28px; border-radius: 10px; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.sport-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.sport-play {
	display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
	background: rgba(0,124,251,.1); color: var(--blue); margin-bottom: 22px; transition: background .3s, color .3s, transform .3s var(--ease);
}
.sport-play .icon { width: 16px; height: 16px; margin-left: 2px; }
.sport-item:hover .sport-play { background: var(--accent); color: #fff; transform: scale(1.1); }
.sport-item h3 { font-size: 1.5rem; margin-bottom: 6px; }
.sport-item p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------- Actualités ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .3s; }
.post-card:hover { box-shadow: var(--shadow); }
.post-card-media { aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--blue), var(--navy)); display: block; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-card-media img { transform: scale(1.05); }
.post-card-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: #fff; }
.post-card-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.post-card time { color: var(--accent); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.post-card h3 { font-size: 1.45rem; }
.post-card p { color: var(--muted); flex: 1; }

/* ---------- Partenaires ---------- */
.partners { padding-block: 80px; }
.partner-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px 70px; }
.partner {
	font: 800 clamp(1.6rem, 3vw, 2.4rem)/1 var(--head); letter-spacing: .08em;
	color: #b3bfd8; transition: color .3s;
}
.partner:hover { color: var(--blue); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(110deg, var(--blue), var(--accent)); padding: 64px 0; position: relative; overflow: hidden; }
.cta-band::before {
	content: ""; position: absolute; inset: 0;
	background: repeating-linear-gradient(115deg, transparent 0 40px, rgba(255,255,255,.05) 40px 80px);
}
.cta-band-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band .kicker { color: rgba(255,255,255,.9); }
.cta-band .kicker::before { background: #fff; }
.cta-band h2 { margin: 0; max-width: 20ch; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy-2); padding-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; }
.footer-col h4 { font-size: 1rem; letter-spacing: .16em; color: #7fb8ff; margin-bottom: 18px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col p, .footer-col a { color: rgba(255,255,255,.78); font-size: .95rem; }
.footer-col a:hover { color: #fff; }
.footer-tagline { margin-top: 18px; color: var(--muted) !important; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; transition: .3s; }
.socials a:hover { background: var(--accent); border-color: var(--accent); }
.socials .icon { width: 18px; height: 18px; }
.footer-bottom {
	display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
	border-top: 1px solid var(--line); padding: 24px 0; color: var(--muted); font-size: .85rem;
}
.footer-bottom p { margin: 0; }

/* ---------- Pages intérieures ---------- */
.page-hero {
	padding: 180px 0 90px; position: relative; overflow: hidden;
	background:
		radial-gradient(ellipse at 85% 0%, rgba(0,124,251,.45), transparent 55%),
		radial-gradient(ellipse at 0% 100%, rgba(4,49,184,.6), transparent 50%),
		var(--navy);
}
.page-hero::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
	background-size: 56px 56px; mask-image: linear-gradient(180deg, #000, transparent 90%);
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 5rem); max-width: 18ch; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .82rem; color: var(--muted); margin-bottom: 28px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .current { color: #fff; }

/* Objectif */
.objective { max-width: 980px; }
.objective-text { font: 600 clamp(1.5rem, 2.6vw, 2.2rem)/1.3 var(--head); color: var(--ink); text-transform: none; }

/* Pack : ce qui est inclus */
.include-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.include-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 36px 30px; transition: box-shadow .3s, transform .3s var(--ease); }
.include-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.include-card h3 { font-size: 1.45rem; }

/* Tarifs */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card {
	position: relative; display: flex; flex-direction: column; padding: 40px 32px;
	border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: transform .3s var(--ease), box-shadow .3s;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-card.is-featured { background: linear-gradient(160deg, var(--blue), var(--navy)); border-color: transparent; color: #fff; --ink: #fff; --muted: rgba(255,255,255,.78); box-shadow: var(--shadow); }
.price-card.is-featured .check-list .icon { color: #7fb8ff; }
.price-card h3 { font-size: 1.6rem; }
.price { font: 800 3rem/1 var(--head); color: var(--accent); margin: 6px 0 14px; }
.price-card.is-featured .price { color: #fff; }
.price-desc { color: var(--muted); flex: 1; }
.price-card .small-list { flex: 1; margin-bottom: 28px; }
.price-card .btn { margin-top: 22px; }
.option-box {
	margin-top: 36px; display: flex; gap: 24px; align-items: flex-start;
	padding: 32px; border-radius: 12px; background: var(--soft); border: 1px dashed var(--line-2);
}
.option-box .tech-icon { margin: 0; }
.option-box p { color: var(--muted); margin: 0; }

/* Avantages */
.benefits-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
.benefit-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.benefit-list li {
	display: flex; align-items: center; gap: 18px; padding: 20px 24px; border-radius: 10px;
	background: var(--card-2); font-size: 1.05rem;
}
.benefit-list span { font: 800 1.4rem/1 var(--head); color: #7fb8ff; min-width: 24px; }

/* Autres packs */
.mini-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.mini-card {
	display: flex; align-items: center; gap: 18px; padding: 24px; border-radius: 10px;
	background: #fff; border: 1px solid var(--line); transition: box-shadow .3s, transform .3s var(--ease);
}
.mini-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.mini-card .tech-icon { margin: 0; }
.mini-card div { flex: 1; }
.mini-card h3 { font-size: 1.3rem; margin-bottom: 4px; }
.mini-card p { color: var(--muted); font-size: .9rem; margin: 0; }
.mini-card > .icon { width: 20px; color: var(--accent); flex: none; }

/* Comparatif */
.table-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare th, .compare td { padding: 18px 22px; text-align: center; border-bottom: 1px solid var(--line); }
.compare th { font: 700 1.2rem/1 var(--head); text-transform: uppercase; letter-spacing: .06em; background: var(--navy); color: #fff; }
.compare td:first-child, .compare th:first-child { text-align: left; }
.compare td:first-child { font-weight: 500; }
.compare tr:last-child td { border-bottom: 0; }
.compare .row-price td { font: 800 1.4rem/1 var(--head); color: var(--blue); background: var(--soft); }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split-rev .split-text { order: 2; }
.ai-cam svg { border-radius: 14px; box-shadow: var(--shadow); }
.ai-frame { animation: aiframe 6s var(--ease) infinite alternate; }
@keyframes aiframe { to { transform: translate(60px, 30px); } }
.ai-players circle { animation: drift 5s ease-in-out infinite alternate; }
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.metric { display: flex; align-items: center; gap: 16px; padding: 24px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font: 700 1.2rem/1.1 var(--head); text-transform: uppercase; letter-spacing: .04em; }
.metric .tech-icon { margin: 0; }
.metric-wide { grid-column: 1 / -1; }

/* Modules logiciel */
.module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.module { padding: 38px 32px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; }
.module p { color: var(--muted); }
.module .small-list { flex: 1; margin-bottom: 26px; }

/* Live TV */
.player { margin-top: 50px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 40px 100px -40px rgba(0,0,0,.8); background: #020a2a; }
.player-bar { display: flex; align-items: center; gap: 18px; padding: 14px 18px; background: #06123f; }
.player-title { font: 600 1rem/1 var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.player-screen { aspect-ratio: 16 / 9; position: relative; }
.player-screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.offair {
	position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center; padding: 20px;
	background: radial-gradient(circle at 50% 40%, rgba(0,124,251,.35), transparent 60%),
		repeating-linear-gradient(0deg, transparent 0 3px, rgba(255,255,255,.025) 3px 4px);
}
.offair strong { font: 700 1.8rem/1 var(--head); text-transform: uppercase; letter-spacing: .06em; }
.offair span:not(.offair-play) { color: var(--muted); }
.offair-play { width: 76px; height: 76px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; }
.offair-play .icon { width: 30px; height: 30px; }

/* Académie */
.academy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.academy { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; transition: box-shadow .3s; }
.academy:hover { box-shadow: var(--shadow); }
.academy-logo {
	height: 200px; display: grid; place-items: center; color: #fff;
	font: 800 clamp(2rem, 4vw, 3rem)/1 var(--head); letter-spacing: .08em;
	background: linear-gradient(135deg, var(--blue), var(--navy));
}
.academy:nth-child(2) .academy-logo { background: linear-gradient(135deg, var(--accent), var(--blue)); }
.academy-body { padding: 32px; }
.academy-body p { color: var(--muted); }
.quote-box { padding: 48px; border-radius: 12px; background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; }
.quote-box p { font: 600 clamp(1.6rem, 2.6vw, 2.2rem)/1.2 var(--head); text-transform: uppercase; }
.quote-box span { color: #7fb8ff; letter-spacing: .14em; font-size: .85rem; }

/* À propos */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv { padding: 44px 40px; border-radius: 12px; background: var(--card-2); }
.mv p { color: var(--muted); margin: 0; }

/* VAR page */
.var-hero { padding-bottom: 110px; }
.var-hero-grid-bg { display: none; }
.var-hero-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.var-hero h1 { font-size: clamp(3.4rem, 8vw, 7.5rem); }
.var-hero h1 .outline { display: block; color: transparent; -webkit-text-stroke: 1.5px #fff; font-size: .48em; letter-spacing: .04em; }

.case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.case-grid-3 { grid-template-columns: repeat(3, 1fr); }
.case-card { padding: 34px 28px; border: 1px solid var(--line); border-radius: 10px; background: #fff; position: relative; overflow: hidden; transition: box-shadow .3s; }
.case-card:hover { box-shadow: var(--shadow); }
.case-code {
	display: block; font: 800 3.4rem/1 var(--head); color: transparent;
	-webkit-text-stroke: 1.5px var(--accent); margin-bottom: 24px; transition: color .3s;
}
.case-card:hover .case-code { color: var(--accent); }
.case-card p { color: var(--muted); margin: 0; }

.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.process::before { content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 2px; background: var(--line-2); }
.process-step { position: relative; padding-right: 30px; }
.process-num {
	position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
	background: #fff; border: 2px solid var(--accent); color: var(--blue); font: 800 1.4rem/1 var(--head); margin-bottom: 28px;
	transition: background .3s, color .3s;
}
.process-step:hover .process-num { background: var(--accent); color: #fff; }
.process-step p { color: var(--muted); }

.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.audience { padding: 40px 34px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.audience p { color: var(--muted); margin: 0; }

.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item summary {
	list-style: none; cursor: pointer; padding: 26px 40px 26px 0; position: relative;
	font: 600 1.35rem/1.2 var(--head); text-transform: uppercase; letter-spacing: .03em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
	content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
	font-size: 1.8rem; color: var(--accent); transition: transform .3s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { color: var(--muted); padding-bottom: 24px; margin: 0; max-width: 70ch; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.contact-info { display: grid; gap: 18px; }
.contact-card { padding: 30px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.contact-card .pack-icon { margin-bottom: 18px; }
.contact-card h3 { font-size: 1.3rem; }
.contact-card p { margin-bottom: 4px; }
.contact-card a { color: var(--blue); font-weight: 500; }
.contact-form { padding: 40px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); }
.mhtv-form, .contact-form .wpcf7-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mhtv-form label { display: grid; gap: 8px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.mhtv-form input, .mhtv-form select, .mhtv-form textarea,
.contact-form input:not([type=submit]), .contact-form textarea, .contact-form select {
	width: 100%; background: #fff; border: 1px solid var(--line-2); color: var(--ink);
	padding: 14px 16px; font: inherit; font-size: 1rem; text-transform: none; letter-spacing: 0; border-radius: var(--radius);
}
.mhtv-form input:focus, .mhtv-form select:focus, .mhtv-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,124,251,.15); }
.mhtv-form button, .contact-form input[type=submit] { justify-self: start; }
.contact-form input[type=submit] { background: var(--accent); color: #fff; border: 0; padding: 16px 28px; border-radius: var(--radius); font: 700 .95rem/1 var(--head); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }

/* Contenu WordPress */
.entry-content { font-size: 1.05rem; }
.entry-content h2 { font-size: 2.3rem; margin-top: 1.6em; }
.entry-content h3 { margin-top: 1.4em; }
.entry-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { height: auto; }
.entry-content blockquote { border-left: 3px solid var(--accent); margin: 2em 0; padding: 4px 0 4px 24px; font-size: 1.2rem; }
.entry-thumb { margin-bottom: 36px; width: 100%; height: auto; border-radius: 10px; }
.alignwide { width: min(1100px, 100vw - 48px); margin-inline: calc(50% - min(550px, 50vw - 24px)); max-width: none; }
.alignfull { width: 100vw; margin-inline: calc(50% - 50vw); max-width: none; }
.wp-block-button__link { background: var(--accent); border-radius: var(--radius); }
.post-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line); }
.post-nav a { color: var(--ink); text-decoration: none; }
.pagination { margin-top: 50px; }
.pagination .nav-links { display: flex; gap: 8px; }
.pagination .page-numbers { padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 4px; }
.pagination .current { background: var(--accent); border-color: var(--accent); color: #fff; }
.search-form { display: flex; gap: 10px; }
.search-form input[type=search] { flex: 1; background: #fff; border: 1px solid var(--line-2); color: var(--ink); padding: 12px 14px; border-radius: 4px; }
.search-form input[type=submit] { background: var(--accent); color: #fff; border: 0; padding: 0 20px; cursor: pointer; border-radius: 4px; }

/* ---------- Animations d'apparition ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) and (min-width: 961px) {
	.main-nav a { padding: 10px 8px; font-size: .9rem; }
	.nav-cta { display: none; }
}
@media (max-width: 1100px) {
	.tech-grid, .pack-grid, .sport-grid, .case-grid, .case-grid-3 { grid-template-columns: repeat(2, 1fr); }
	.include-grid, .module-grid { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
	.var-spot-grid, .var-hero-inner, .split, .benefits-grid { grid-template-columns: 1fr; gap: 50px; }
	.split-rev .split-text { order: 0; }
	.process { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
	.process::before { display: none; }
}
@media (max-width: 960px) {
	.nav-toggle { display: block; z-index: 2; }
	.main-nav {
		position: fixed; inset: 0; background: var(--navy); flex-direction: column; justify-content: center; gap: 30px;
		opacity: 0; visibility: hidden; transition: .35s var(--ease); overflow-y: auto; padding: 100px 20px 40px;
	}
	.nav-open .main-nav { opacity: 1; visibility: visible; }
	.nav-open { overflow: hidden; }
	.main-nav ul { flex-direction: column; align-items: center; gap: 2px; }
	.main-nav a { font-size: 1.7rem; text-align: center; }
	.main-nav .menu-item-has-children > a::before { display: none; }
	.main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; background: none; box-shadow: none; text-align: center; padding: 0; }
	.main-nav .sub-menu a { font-size: 1.1rem; color: rgba(255,255,255,.65); padding: 6px; }
	.promo-grid, .news-grid, .audience-grid, .price-grid, .contact-grid, .academy-grid, .mv-grid { grid-template-columns: 1fr; }
	.stats-grid { grid-template-columns: 1fr 1fr; }
	.stat:nth-child(2) { border-right: 0; }
	.stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
	.section-head-row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 640px) {
	.tech-grid, .tech-grid-3, .pack-grid, .sport-grid, .case-grid, .case-grid-3, .process, .form-row,
	.include-grid, .module-grid, .mini-grid, .metric-grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.hero { padding-bottom: 80px; }
	.hero-scroll { display: none; }
	.promo-card { padding: 80px 28px 30px; min-height: 320px; }
	.promo-card .tag { left: 28px; top: 26px; }
	.contact-form { padding: 26px; }
	.option-box { flex-direction: column; }
	.var-screen-bottom .var-controls { display: none; }
	.page-hero { padding-top: 140px; }
}

/* ---------- Images, logo, formulaire, WhatsApp (v2.1) ---------- */
.brand-logo { display: inline-flex; align-items: center; }
.brand-logo img { display: block; height: auto; max-width: 100%; }
.footer-brand .brand-logo { margin-bottom: 8px; }
.hero-media picture, .hero-media picture img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-photo { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-photo picture, .hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-photo img { opacity: .42; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,19,74,.55), rgba(3,19,74,.92)), linear-gradient(90deg, rgba(3,19,74,.85), rgba(3,19,74,.1) 70%); }
.page-hero::after { z-index: 0; }
.promo-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.promo-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.promo-card:hover .promo-img img { transform: scale(1.06); }
.promo-card.has-img::before { background: linear-gradient(180deg, rgba(3,19,74,.15) 10%, rgba(3,19,74,.94) 88%); }
.pack-thumb { display: block; margin: -4px -4px 18px; border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--navy); }
.pack-thumb picture, .pack-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.post-card-fallback { width: 100%; height: 100%; object-fit: cover; display: block; }
.sport-play .sport-ico { width: 22px; height: 22px; margin: 0; }
.partner img { display: block; height: 48px; width: auto; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; }
.partner:hover img { filter: none; opacity: 1; }
.form-note { padding: 14px 16px; border-radius: 6px; margin: 0 0 20px; font-weight: 500; }
.form-note-ok { background: #e6f6ec; color: #0b5b2c; border: 1px solid #a9dfbd; }
.form-note-err { background: #fdeaea; color: #8a1c1c; border: 1px solid #f0b4b4; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wa-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%;
	display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 10px 28px -8px rgba(0,0,0,.45);
	transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto !important; } .wa-float, .promo-img img { transition: none !important; } }
.hero-photo img { object-position: center 78%; }
@media (max-width: 700px) {
	.hero-overlay { background: linear-gradient(180deg, rgba(3,19,74,.62) 0%, rgba(3,19,74,.82) 55%, rgba(3,19,74,.96) 100%); }
}

/* ---------- Sélecteur de langue ---------- */
.lang-switch { display: inline-flex; align-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; overflow: hidden; margin-right: 12px; flex-shrink: 0; }
.lang-switch a { padding: 6px 12px; font: 700 .8rem/1 var(--head); letter-spacing: .08em; color: rgba(255,255,255,.8); }
.lang-switch a:hover { color: #fff; }
.lang-switch a[aria-current="true"] { background: #fff; color: var(--navy); }
@media (max-width: 960px) { .lang-switch { margin: 14px auto 6px; align-self: center; } }

/* ---------- Arabe (de droite à gauche) ---------- */
html[dir="rtl"] { --head: "Cairo", "Barlow Condensed", "Segoe UI", Tahoma, sans-serif; --body: "Cairo", "Inter", "Segoe UI", Tahoma, sans-serif; }
html[dir="rtl"] body { line-height: 1.8; }
html[dir="rtl"] *, html[dir="rtl"] *::before, html[dir="rtl"] *::after { letter-spacing: 0 !important; text-transform: none !important; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] h4 { line-height: 1.3; }
html[dir="rtl"] .hero-title { max-width: 16ch; }
html[dir="rtl"] .marquee-item { -webkit-text-stroke: 0; color: rgba(255,255,255,.85); }
html[dir="rtl"] .marquee-track { animation-name: marquee-rtl; }
@keyframes marquee-rtl { to { transform: translateX(50%); } }
html[dir="rtl"] .hero-scroll { right: auto; left: 40px; }
html[dir="rtl"] .wa-float { right: auto; left: 20px; }
html[dir="rtl"] .lang-switch { margin-right: 0; margin-left: 12px; direction: ltr; }
html[dir="rtl"] .icon { transform: none; }
html[dir="rtl"] .btn .icon, html[dir="rtl"] .link-more .icon { transform: scaleX(-1); }
html[dir="rtl"] .promo-card .tag { left: auto; right: 40px; }
html[dir="rtl"] .pack-flag { left: 16px; right: auto; }
html[dir="rtl"] .tech-num, html[dir="rtl"] .include-num { right: auto; left: 20px; }
html[dir="rtl"] .breadcrumb, html[dir="rtl"] .kicker { direction: rtl; }
html[dir="rtl"] .mhtv-form input, html[dir="rtl"] .mhtv-form textarea, html[dir="rtl"] .mhtv-form select { text-align: right; }
html[dir="rtl"] .mhtv-form input[type="email"], html[dir="rtl"] .mhtv-form input[type="tel"] { direction: ltr; text-align: right; }
html[dir="rtl"] .hp { left: auto; right: -9999px; }
html[dir="rtl"] .hero-photo::after { background: linear-gradient(180deg, rgba(3,19,74,.55), rgba(3,19,74,.92)), linear-gradient(270deg, rgba(3,19,74,.85), rgba(3,19,74,.1) 70%); }
html[dir="rtl"] .hero-overlay { background: linear-gradient(180deg, rgba(3,19,74,.55) 0%, rgba(3,19,74,.1) 40%, rgba(3,19,74,.95) 100%), linear-gradient(270deg, rgba(3,19,74,.9) 0%, rgba(3,19,74,0) 65%); }
html[dir="rtl"] .var-screen, html[dir="rtl"] .var-timeline, html[dir="rtl"] .var-badge, html[dir="rtl"] .ai-frame { direction: ltr; }
html[dir="rtl"] a[href^="tel:"], html[dir="rtl"] a[href^="mailto:"] { direction: ltr; unicode-bidi: isolate; display: inline-block; }
html[dir="rtl"] .contact-card p, html[dir="rtl"] .footer-col p { unicode-bidi: plaintext; text-align: right; }

/* =====================================================================
   v3.0 — Match Center, vidéothèque, méga-menu, pages légales
   ===================================================================== */

/* ---------- Méga-menu Service (desktop) ---------- */
@media (min-width: 961px) {
	.main-nav .menu-item-mega { position: static; }
	.main-nav .menu-item-mega > .sub-menu {
		left: 50%; right: auto; width: min(1100px, calc(100vw - 48px)); transform: translate(-50%, 8px);
		display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 18px; border-radius: 14px;
	}
	.main-nav .menu-item-mega:hover > .sub-menu, .main-nav .menu-item-mega:focus-within > .sub-menu { transform: translate(-50%, 0); }
	.main-nav .menu-item-mega > .sub-menu > li { min-width: 0; }
	.main-nav .mega-card { display: grid; gap: 6px; padding: 0 0 14px; border-radius: 10px; overflow: hidden; background: var(--soft); white-space: normal; transition: background .25s, transform .25s var(--ease); }
	.main-nav .mega-card:hover { background: #e6edfb; transform: translateY(-3px); }
	.mega-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy); }
	.mega-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
	.mega-card:hover .mega-img img { transform: scale(1.06); }
	.mega-title { padding: 6px 14px 0; font: 700 1.05rem/1.1 var(--head); text-transform: uppercase; letter-spacing: .06em; color: var(--navy); }
	.mega-desc { padding: 0 14px; font: 400 .85rem/1.45 var(--body); color: #59647f; letter-spacing: 0; text-transform: none; }
	.main-nav .menu-item-mega > .sub-menu > li > a:not(.mega-card) { align-self: center; }
}
@media (max-width: 960px) {
	.mega-img, .mega-desc { display: none; }
	.main-nav .mega-card { display: block; font-size: 1.1rem; color: rgba(255,255,255,.65); padding: 6px; }
}

/* ---------- Écussons ---------- */
.crest { display: inline-grid; place-items: center; flex: none; border-radius: 50%; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.crest img { width: 78%; height: 78%; object-fit: contain; }
.crest-md { width: 38px; height: 38px; }
.crest-xl { width: clamp(72px, 9vw, 120px); height: clamp(72px, 9vw, 120px); box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); }
.crest-ini { background: linear-gradient(135deg, var(--blue), var(--accent)); color: #fff; border: 0; font: 800 .82rem/1 var(--head); letter-spacing: .04em; }
.crest-xl.crest-ini { font-size: clamp(1.6rem, 2.6vw, 2.4rem); }

/* ---------- Badges de statut ---------- */
.match-badge { display: inline-flex; align-items: center; gap: 7px; font: 700 .72rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: var(--soft); color: var(--muted); white-space: nowrap; }
.match-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 1.6s infinite; }
.badge-live { background: #ff3b3b; color: #fff; }
.badge-soon { background: rgba(0,124,251,.12); color: var(--blue); }
.dark .match-badge:not(.badge-live) { background: rgba(255,255,255,.1); color: #fff; }

/* ---------- Carte de match ---------- */
.match-card { position: relative; display: grid; gap: 14px; padding: 18px 20px; border-radius: 12px; background: #fff; border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.match-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.match-card.status-live { border-color: rgba(255,59,59,.45); box-shadow: 0 0 0 1px rgba(255,59,59,.25) inset; }
.match-link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.match-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.match-sport { display: inline-flex; align-items: center; gap: 8px; min-width: 0; font: 600 .78rem/1.2 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.match-sport .sport-ico { width: 18px; height: 18px; flex: none; color: var(--accent); }
.match-teams { position: relative; display: grid; gap: 10px; }
.team { display: flex; align-items: center; gap: 12px; min-width: 0; }
.team-name { flex: 1; min-width: 0; font: 700 1.15rem/1.15 var(--head); text-transform: uppercase; letter-spacing: .03em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-score { font: 800 1.6rem/1 var(--head); font-variant-numeric: tabular-nums; min-width: 1.4ch; text-align: end; }
.match-time { position: absolute; inset-inline-end: 0; top: 50%; transform: translateY(-50%); font: 800 1.5rem/1 var(--head); color: var(--blue); }
.match-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .85rem; }
.match-venue { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.match-venue .icon { width: 15px; height: 15px; flex: none; }
.match-cta { display: inline-flex; align-items: center; gap: 6px; font: 700 .8rem/1 var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
.match-cta .icon { width: 15px; height: 15px; }
.match-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* ---------- Bandeau des scores (accueil) ---------- */
.score-strip { position: relative; z-index: 3; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 30px -24px rgba(3,19,74,.5); }
.score-strip-inner { display: flex; align-items: stretch; gap: 0; }
.score-strip-label { flex: none; display: grid; align-content: center; gap: 4px; padding: 16px 22px 16px 0; margin-inline-end: 16px; border-inline-end: 1px solid var(--line); }
.score-strip-label strong { font: 800 1.15rem/1 var(--head); text-transform: uppercase; letter-spacing: .06em; color: var(--navy); }
.score-strip-label span { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--accent); font-weight: 600; }
.score-strip-label .icon { width: 14px; height: 14px; }
.score-scroller { display: flex; gap: 12px; overflow-x: auto; padding: 12px 0; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.score-scroller .match-card { flex: 0 0 250px; scroll-snap-align: start; padding: 12px 14px; gap: 10px; box-shadow: none; }
.score-scroller .match-card:hover { transform: none; border-color: var(--accent); }
.match-card.is-compact .team-name { font-size: .98rem; }
.match-card.is-compact .team-score, .match-card.is-compact .match-time { font-size: 1.25rem; }
.match-card.is-compact .crest-md { width: 28px; height: 28px; }
.match-card.is-compact .crest-ini { font-size: .66rem; }
.match-card.is-compact .match-sport { font-size: .68rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.match-card.is-compact .match-sport .sport-ico { display: inline-block; vertical-align: -4px; margin-inline-end: 6px; }
.match-card.is-compact .match-badge { font-size: .62rem; padding: 4px 8px; }

/* ---------- Match Center ---------- */
.mc-toolbar, .vt-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 36px; }
.mc-tabs { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); }
.mc-tab { border: 0; background: none; cursor: pointer; padding: 12px 22px; border-radius: 999px; font: 700 .95rem/1 var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.mc-tab.is-active { background: var(--navy); color: #fff; box-shadow: 0 8px 20px -10px rgba(3,19,74,.6); }
.mc-count { font: 600 .72rem/1 var(--body); padding: 4px 7px; border-radius: 999px; background: rgba(0,124,251,.15); color: inherit; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { cursor: pointer; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font: 600 .85rem/1 var(--body); color: var(--ink); transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.mc-day + .mc-day { margin-top: 40px; }
.mc-day-title { font-size: 1.25rem; letter-spacing: .1em; color: var(--muted); padding-bottom: 12px; margin-bottom: 18px; border-bottom: 2px solid var(--line); }
.match-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.mc-empty { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 56px 24px; border: 1px dashed var(--line-2); border-radius: 14px; background: var(--soft); }
.mc-empty .tech-icon { margin: 0; }
.mc-empty p { margin: 0; max-width: 46ch; color: var(--muted); }
.rounded-img img { border-radius: 14px; width: 100%; height: auto; box-shadow: var(--shadow); }

/* ---------- Fiche match ---------- */
.match-hero { position: relative; overflow: hidden; padding: 150px 0 70px; background: var(--navy); }
.match-hero > .container { position: relative; z-index: 1; }
.scoreboard { margin-top: 10px; text-align: center; }
.sb-comp { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.08); font: 600 .85rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.sb-comp .sport-ico { width: 18px; height: 18px; color: #7fb8ff; }
.sb-main { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(16px, 4vw, 64px); }
.sb-team { display: grid; justify-items: center; gap: 16px; min-width: 0; }
.sb-name { margin: 0; font: 800 clamp(1.3rem, 2.6vw, 2.3rem)/1.05 var(--head); text-transform: uppercase; letter-spacing: .02em; color: #fff; overflow-wrap: anywhere; }
.sb-center { display: grid; justify-items: center; gap: 10px; }
.sb-score { margin: 0; display: flex; align-items: center; gap: .3em; font: 800 clamp(3.4rem, 9vw, 7rem)/1 var(--head); font-variant-numeric: tabular-nums; color: #fff; }
.sb-score i { font-style: normal; color: rgba(255,255,255,.4); font-weight: 600; }
.sb-time { font-size: clamp(2.6rem, 6vw, 4.6rem); color: #7fd0ff; }
.sb-date { margin: 0; color: rgba(255,255,255,.7); font-size: .95rem; }
.sb-venue { display: inline-flex; align-items: center; gap: 8px; margin: 30px 0 0; color: rgba(255,255,255,.7); font-size: .95rem; }
.sb-venue .icon { width: 16px; height: 16px; }
.match-hero.status-live .sb-score span { text-shadow: 0 0 40px rgba(255,59,59,.4); }
.match-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.match-main > * + * { margin-top: 36px; }
.match-main .player { margin-top: 0; }
.match-block { padding: 30px; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.block-title { display: flex; align-items: center; gap: 12px; font-size: 1.6rem; margin-bottom: 22px; }
.block-title .var-badge { padding: 6px 10px; border-radius: 6px; background: var(--navy); font-size: .78rem; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 4px; }
.timeline::before { content: ""; position: absolute; inset-inline-start: 62px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; display: grid; grid-template-columns: 48px 28px 1fr; align-items: center; gap: 12px; padding: 10px 0; }
.tl-min { font: 800 1.1rem/1 var(--head); color: var(--blue); text-align: end; font-variant-numeric: tabular-nums; }
.tl-ico { width: 16px; height: 16px; justify-self: center; border-radius: 50%; background: var(--line-2); box-shadow: 0 0 0 4px #fff; position: relative; z-index: 1; }
.tl-goal .tl-ico { background: var(--accent); width: 18px; height: 18px; }
.tl-yellow .tl-ico { background: #f5c400; border-radius: 3px; width: 12px; height: 17px; }
.tl-red .tl-ico { background: #e3262b; border-radius: 3px; width: 12px; height: 17px; }
.tl-var .tl-ico { background: var(--navy); border-radius: 4px; }
.tl-sub .tl-ico { background: #19c26b; }
.tl-txt { color: var(--ink); }
.tl-txt b { font-weight: 600; margin-inline-end: 4px; }
.var-decisions { display: grid; gap: 10px; }
.var-decision-row { display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: center; padding: 14px 18px; border-radius: 10px; background: var(--soft); }
.vd-min { font: 800 1.1rem/1 var(--head); color: var(--blue); }
.vd-sit { font-weight: 600; }
.vd-dec { font: 700 .8rem/1.2 var(--body); letter-spacing: .06em; text-transform: uppercase; padding: 7px 10px; border-radius: 6px; background: var(--navy); color: #fff; text-align: center; }
.match-side { position: sticky; top: 104px; display: grid; gap: 18px; }
.side-card { padding: 26px; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.side-card h3 { font-size: 1.3rem; margin-bottom: 16px; }
.info-list { margin: 0 0 18px; display: grid; gap: 0; }
.info-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.info-list > div:last-child { border-bottom: 0; }
.info-list dt { color: var(--muted); }
.info-list dd { margin: 0; font-weight: 600; text-align: end; }
.side-cta { background: linear-gradient(150deg, var(--blue), var(--navy)); border: 0; color: #fff; }
.side-cta h3 { color: #fff; }
.side-cta .kicker { color: #7fb8ff; }

/* ---------- Vidéos ---------- */
.video-facade { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: #000; }
.video-facade img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .3s, transform .6s var(--ease); }
.video-facade:hover img { opacity: 1; transform: scale(1.02); }
.video-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 76px; height: 76px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 40px rgba(0,124,251,.6); transition: transform .25s var(--ease); }
.video-play .icon { width: 30px; height: 30px; margin-inline-start: 4px; }
.video-facade:hover .video-play, .video-thumb:hover .video-play { transform: translate(-50%, -50%) scale(1.08); }
.video-embed, .video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.video-card { display: grid; gap: 14px; }
.video-thumb { position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: linear-gradient(135deg, var(--blue), var(--navy)); }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.video-thumb:hover img { transform: scale(1.05); }
.video-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(3,19,74,.75)); }
.video-thumb .video-play { width: 58px; height: 58px; z-index: 1; }
.video-thumb .video-play .icon { width: 22px; height: 22px; }
.video-thumb-ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.5); }
.video-thumb-ph .sport-ico { width: 64px; height: 64px; }
.video-tag, .video-score { position: absolute; z-index: 1; bottom: 12px; font: 700 .72rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: #fff; padding: 6px 9px; border-radius: 6px; }
.video-tag { inset-inline-start: 12px; background: rgba(3,19,74,.75); }
.video-score { inset-inline-end: 12px; background: var(--accent); font: 800 1rem/1 var(--head); letter-spacing: .04em; }
.video-meta { margin: 0 0 4px; font-size: .8rem; color: var(--muted); letter-spacing: .04em; }
.video-body h3 { font-size: 1.3rem; margin: 0; }
.video-body h3 a:hover { color: var(--accent); }
.vt-feature-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: center; }
.vt-feature .player { margin-top: 0; }
.vt-score { font: 800 3.4rem/1 var(--head); color: var(--blue); margin: 0 0 10px; }
.vt-search { position: relative; display: flex; align-items: center; min-width: min(340px, 100%); }
.vt-search .icon { position: absolute; inset-inline-start: 14px; width: 18px; height: 18px; color: var(--muted); }
.vt-search input { width: 100%; padding: 12px 16px; padding-inline-start: 42px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font: inherit; font-size: .95rem; color: var(--ink); }
.vt-search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,124,251,.15); }
.vt-none { text-align: center; margin-top: 30px; }

.video-modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 24px; background: rgba(2,8,30,.88); backdrop-filter: blur(6px); }
.video-modal[hidden] { display: none; }
.video-modal-inner { position: relative; width: min(1100px, 100%); }
.video-modal-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; box-shadow: 0 40px 120px rgba(0,0,0,.6); }
.video-modal-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-modal-close { position: absolute; top: -52px; inset-inline-end: 0; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; background: #fff; color: var(--navy); font-size: 1.8rem; line-height: 1; }
body.modal-open { overflow: hidden; }

/* ---------- Pages légales ---------- */
.page-hero-sm { padding-bottom: 60px; }
.page-hero-sm h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; align-items: start; }
.legal-toc { position: sticky; top: 110px; display: grid; gap: 4px; padding: 18px; border-radius: 12px; background: var(--soft); }
.legal-toc a { padding: 9px 12px; border-radius: 8px; font-size: .9rem; color: var(--muted); }
.legal-toc a:hover { background: #fff; color: var(--accent); }
.legal-block { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.legal-block:last-child { border-bottom: 0; }
.legal-block h2 { font-size: 1.6rem; margin-top: 0; }
mark.todo { background: #fff3c4; color: #7a5600; padding: 1px 6px; border-radius: 4px; font-size: .9em; }
.footer-legal { display: flex; gap: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.match-grid, .video-grid { grid-template-columns: repeat(2, 1fr); }
	.match-layout, .vt-feature-grid, .legal-layout { grid-template-columns: 1fr; }
	.match-side { position: static; grid-template-columns: 1fr 1fr; }
	.legal-toc { position: static; }
}
@media (max-width: 760px) {
	.match-list, .match-grid, .video-grid, .match-side { grid-template-columns: 1fr; }
	.score-strip-label { display: none; }
	.mc-tabs { width: 100%; }
	.mc-tab { flex: 1; justify-content: center; padding: 12px 10px; font-size: .85rem; }
	.sb-main { gap: 12px; }
	.match-block { padding: 22px 18px; }
	.var-decision-row { grid-template-columns: 44px 1fr; }
	.vd-dec { grid-column: 1 / -1; }
	.video-modal-close { top: -50px; }
}
.tl-min, .vd-min, .team-score, .sb-score, .match-time, .video-score { direction: ltr; unicode-bidi: isolate; }
html[dir="rtl"] .video-play .icon { margin-inline-start: 0; margin-left: 4px; }

/* Un élément masqué reste masqué, même s'il a un display (filtres, onglets). */
[hidden] { display: none !important; }
/* L'heure du match reste du côté opposé aux écussons, aussi en arabe. */
.match-time { inset-inline-end: auto; right: 0; left: auto; }
html[dir="rtl"] .match-time { right: auto; left: 0; }

/* Logo agrandi (en-tête et pied de page). */
.header-inner { height: 96px; }
.site-header .brand-logo img { width: 240px; }
.site-header .custom-logo { max-height: 72px; }
.site-footer .brand-logo img { width: 250px; }
@media (max-width: 1280px) and (min-width: 961px) { .site-header .brand-logo img { width: 200px; } }
@media (max-width: 960px) { .header-inner { height: 80px; } .site-header .brand-logo img { width: 190px; } }
@media (max-width: 400px) { .site-header .brand-logo img { width: 165px; } }
.brand { flex: none; }
.score-strip { overflow: hidden; }
/* Petits écrans d'ordinateur / tablettes en paysage : logo un peu plus petit, menu resserré. */
@media (max-width: 1180px) and (min-width: 961px) {
	.site-header .brand-logo img { width: 170px; }
	.header-inner { gap: 14px; }
	.main-nav { gap: 10px; }
	.main-nav a { padding: 10px 6px; font-size: .84rem; }
	.nav-cta { display: none !important; }
}
@media (min-width: 1181px) { .main-nav { gap: 12px; } }

/* v3.4 : vraie photo dans l'écran VAR */
.var-photo, .var-photo picture, .var-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.var-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2,10,42,0) 60%, rgba(2,10,42,.35)); }
.var-overlay { position: absolute; inset: 0; z-index: 1; }
.var-overlay .var-offside { stroke-width: 2.5; filter: drop-shadow(0 0 3px rgba(0,0,0,.6)); }
.var-ring { fill: none; stroke: #ffd400; stroke-width: 1.8; opacity: .9; }
.var-cams { z-index: 2; }
.var-pt { stroke: #fff; stroke-width: 1; } .var-pt.d { fill: #7fd0ff; } .var-pt.a { fill: #ff3b3b; }
.var-overlay .var-offside { stroke-width: 1.4; }
@media (min-width: 961px) and (max-width: 1340px) { .nav-cta { display: none !important; } }
@media (min-width: 961px) and (max-width: 1100px) { .main-nav .menu > li > a, .main-nav a { font-size: .86rem; } }

/* v3.13 : caméra tracking (Pack Amateur) */
.cam-track-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.cam-track-media img { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 30px 70px -30px rgba(2,16,70,.35); }
.cam-track-text h2 { margin: 6px 0 14px; }
.cam-track-text p { color: var(--muted); }
.cam-track-text ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.cam-track-text li { display: flex; gap: 10px; align-items: flex-start; }
.cam-track-text li .icon { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--accent); }
@media (max-width: 900px) { .cam-track-grid { grid-template-columns: 1fr; gap: 28px; } }
