/* SMARTVEX — Footer premium (classes iptvora-ft-) */
.iptvora-ft {
  --f-bg: #050B18; --f-blue: #087CFF; --f-btn: #0A68DD; --f-text: #C3D0E4; --f-mute: #8C9BB5;
  position: relative; isolation: isolate; overflow: hidden; color: var(--f-text);
  background: linear-gradient(180deg, #FFFFFF 0, #FFFFFF 150px, var(--f-bg) 150px);
  padding-bottom: 28px;
}
.iptvora-ft::before { /* transition douce blanc -> nuit */
  content: ""; position: absolute; left: 0; right: 0; top: 150px; height: 220px; z-index: -1;
  background: radial-gradient(70% 100% at 50% 0%, rgba(8,124,255,.22), transparent 70%);
}
.iptvora-ft-particles { position: absolute; left: 0; top: 150px; width: 100%; height: calc(100% - 150px); z-index: -1; pointer-events: none; }

/* --------------------------- Carte CTA --------------------------- */
.iptvora-ft-cta {
  --mx: 50%; --my: 50%;
  position: relative; isolation: isolate; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 24px;
  padding: clamp(32px, 5vw, 60px); border-radius: 32px; overflow: hidden; color: #fff;
  background: linear-gradient(120deg, #0A6BEA 0%, #0850B8 38%, #071A3F 78%, #050B18 100%);
  border: 1px solid rgba(120,190,255,.35);
  box-shadow: 0 40px 90px rgba(5,30,80,.35), 0 0 0 1px rgba(255,255,255,.05) inset;
}
.iptvora-ft-cta-halo { position: absolute; z-index: -2; inset: -30% -10% auto auto; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(57,184,255,.55), transparent 70%); filter: blur(10px); animation: iptvora-ft-pulse 6s ease-in-out infinite; }
@keyframes iptvora-ft-pulse { 50% { transform: scale(1.12); opacity: .7; } }
.iptvora-ft-cta-light { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(420px 320px at var(--mx) var(--my), rgba(255,255,255,.14), transparent 70%); transition: opacity .3s; }
.iptvora-ft-cta h2 { margin: 0 0 14px; color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; text-wrap: balance; }
.iptvora-ft-cta p { margin: 0 0 28px; font-size: 1.08rem; color: #D6E6FF; max-width: 44ch; }
.iptvora-ft-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }

.iptvora-ft-btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px;
  border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; transition: transform .3s, box-shadow .3s, background-color .3s, border-color .3s; }
.iptvora-ft-btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.iptvora-ft-btn::after { content: ""; position: absolute; inset: 0; transform: translateX(-120%) skewX(-20deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); transition: transform .7s; }
.iptvora-ft-btn:hover::after, .iptvora-ft-btn:focus-visible::after { transform: translateX(120%) skewX(-20deg); }
.iptvora-ft-btn:hover, .iptvora-ft-btn:focus-visible { transform: translateY(-2px); }
.iptvora-ft-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.iptvora-ft-btn-white { background: #fff; color: #0A5BC4; box-shadow: 0 10px 26px rgba(0,0,0,.25); }
.iptvora-ft-btn-white:hover { box-shadow: 0 0 0 4px rgba(255,255,255,.18), 0 0 30px rgba(140,200,255,.7); }
.iptvora-ft-btn-ghost { color: #fff; border: 1.5px solid rgba(255,255,255,.5); background: rgba(255,255,255,.06); }
.iptvora-ft-btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.12); box-shadow: 0 0 24px rgba(140,200,255,.45); }
.iptvora-ft-btn-blue { width: 100%; margin-top: 4px; color: #fff; background: var(--f-btn); box-shadow: 0 10px 24px rgba(8,124,255,.35); }
.iptvora-ft-btn-blue svg { fill: none; }
.iptvora-ft-btn-blue:hover { box-shadow: 0 0 0 4px rgba(8,124,255,.2), 0 0 28px rgba(8,124,255,.7); }
.iptvora-ft-btn-wa { width: 100%; margin-top: 10px; color: #fff; background: #1A7F4B; }
.iptvora-ft-btn-wa:hover { background: #146B3E; box-shadow: 0 0 26px rgba(26,160,90,.55); }
.iptvora-ft-btn-wa b { white-space: nowrap; }

/* Scène TV */
.iptvora-ft-scene { position: relative; height: 290px; perspective: 1000px; }
.iptvora-ft-tv { position: absolute; left: 50%; top: 46%; width: min(400px, 92%); aspect-ratio: 16 / 9.6; padding: 9px; border-radius: 16px;
  background: linear-gradient(150deg, #1E2C48, #070E1E); box-shadow: 0 30px 60px rgba(0,0,0,.5), 0 0 50px rgba(57,184,255,.35), 0 0 0 1px rgba(160,210,255,.25) inset;
  transform: translate(-50%, -50%) rotateY(calc(-14deg + var(--px, 0) * 8deg)) rotateX(calc(4deg - var(--py, 0) * 6deg));
  animation: iptvora-ft-float 6s ease-in-out infinite; transform-style: preserve-3d; }
@keyframes iptvora-ft-float { 50% { translate: 0 -10px; } }
.iptvora-ft-tv-screen { height: 100%; border-radius: 9px; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; gap: 7px; padding: 9px;
  background: radial-gradient(120% 90% at 80% 0%, #0E2B58, #050B18); }
.iptvora-ft-tv-bar { display: flex; align-items: center; gap: 6px; }
.iptvora-ft-tv-bar img { width: 74px; height: auto; margin-right: 6px; }
.iptvora-ft-tv-bar i { width: 26px; height: 6px; border-radius: 4px; background: rgba(255,255,255,.18); }
.iptvora-ft-tv-bar b { margin-left: auto; font-size: 8px; letter-spacing: .1em; color: #BFDDFF; background: rgba(8,124,255,.3); padding: 3px 6px; border-radius: 4px; }
.iptvora-ft-tv-hero { border-radius: 7px; background: url("../img/show-sports-720.webp") center 35% / cover; box-shadow: inset 0 -40px 40px -20px rgba(5,11,24,.8); }
.iptvora-ft-tv-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.iptvora-ft-tv-row i { aspect-ratio: 16 / 10; border-radius: 5px; background: url("../img/show-cinema-720.webp") center / 400% auto; }
.iptvora-ft-tv-row i:nth-child(2) { background-position: 30% 50%; } .iptvora-ft-tv-row i:nth-child(3) { background-position: 60% 50%; }
.iptvora-ft-tv-row i:nth-child(4) { background-image: url("../img/show-sports-720.webp"); background-position: 70% 60%; outline: 2px solid #fff; }
.iptvora-ft-tv-foot { position: absolute; left: 50%; bottom: 14px; width: 46%; height: 14px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(57,184,255,.6), transparent); }
.iptvora-ft-ball { position: absolute; right: 4%; bottom: 10%; width: 74px; height: 74px; border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #0B1E44 0 15%, transparent 16%),
    radial-gradient(circle at 20% 28%, #0B1E44 0 9%, transparent 10%),
    radial-gradient(circle at 80% 28%, #0B1E44 0 9%, transparent 10%),
    radial-gradient(circle at 28% 84%, #0B1E44 0 9%, transparent 10%),
    radial-gradient(circle at 74% 84%, #0B1E44 0 9%, transparent 10%),
    radial-gradient(circle at 32% 26%, #FFFFFF, #DCE8F8 55%, #8FA6C8 100%);
  box-shadow: 0 0 30px rgba(57,184,255,.6), inset -8px -10px 18px rgba(4,20,60,.4);
  animation: iptvora-ft-ball 5s ease-in-out infinite; }
@keyframes iptvora-ft-ball { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-16px) rotate(140deg); } }
.iptvora-ft-ring { position: absolute; right: calc(4% - 18px); bottom: calc(10% - 12px); width: 110px; height: 34px; border-radius: 50%; border: 2px solid rgba(57,184,255,.6);
  box-shadow: 0 0 18px rgba(57,184,255,.6); animation: iptvora-ft-ring 3s ease-in-out infinite; }
@keyframes iptvora-ft-ring { 50% { transform: scale(1.15); opacity: .5; } }

/* --------------------------- Colonnes --------------------------- */
.iptvora-ft-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 40px; padding-block: 64px 48px; }
.iptvora-ft-logo { position: relative; display: inline-block; margin-bottom: 18px; border-radius: 10px; }
.iptvora-ft-logo img { width: 190px; height: auto; display: block; animation: iptvora-ft-logo 4s ease-in-out infinite; }
@keyframes iptvora-ft-logo { 50% { filter: drop-shadow(0 0 14px rgba(8,124,255,.85)); } }
.iptvora-ft-brand p { margin: 0; max-width: 34ch; line-height: 1.6; }
.iptvora-ft-title { margin: 0 0 16px; color: #fff; font-weight: 800; font-size: 1rem; letter-spacing: .02em; }
.iptvora-ft-text { margin: 0 0 16px; font-size: .95rem; line-height: 1.55; }
.iptvora-ft-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.iptvora-ft-links a { position: relative; display: inline-block; padding: 6px 0; color: var(--f-text); text-decoration: none; transition: color .25s, transform .25s; }
.iptvora-ft-links a::after { content: ""; position: absolute; left: 0; bottom: 2px; width: 100%; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--f-blue), #6FC3FF); box-shadow: 0 0 10px var(--f-blue); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.iptvora-ft-links a:hover, .iptvora-ft-links a:focus-visible { color: #fff; transform: translateX(4px); }
.iptvora-ft-links a:hover::after, .iptvora-ft-links a:focus-visible::after { transform: scaleX(1); }
.iptvora-ft a:focus-visible { outline: 2px solid var(--f-blue); outline-offset: 3px; border-radius: 4px; }

/* --------------------------- Bas --------------------------- */
.iptvora-ft-bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-top: 24px; font-size: .9rem; color: var(--f-mute); }
.iptvora-ft-bottom::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(8,124,255,.8), transparent); box-shadow: 0 0 12px rgba(8,124,255,.6); }
.iptvora-ft-bottom p { margin: 0; }
.iptvora-ft-bottom ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.iptvora-ft-bottom a { color: var(--f-text); text-decoration: none; }
.iptvora-ft-bottom a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.iptvora-ft-top { position: fixed; left: 18px; bottom: 18px; z-index: 89; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(120,190,255,.45); cursor: pointer;
  background: rgba(5,11,24,.85); backdrop-filter: blur(8px); color: var(--f-blue); display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(0,0,0,.35); opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .3s, transform .3s, box-shadow .3s; }
.iptvora-ft-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.iptvora-ft-top:hover, .iptvora-ft-top:focus-visible { box-shadow: 0 0 24px rgba(8,124,255,.8); }
.iptvora-ft-top:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.iptvora-ft-top svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Apparition */
.iptvora-ft-in { opacity: 0; transform: translateY(40px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.iptvora-ft-in.is-in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 960px) {
  .iptvora-ft-cta { grid-template-columns: 1fr; }
  .iptvora-ft-scene { height: 240px; }
  .iptvora-ft-grid { grid-template-columns: 1fr 1fr; gap: 36px 28px; }
}
@media (max-width: 560px) {
  .iptvora-ft { background: linear-gradient(180deg, #FFFFFF 0, #FFFFFF 90px, var(--f-bg) 90px); }
  .iptvora-ft::before, .iptvora-ft-particles { top: 90px; }
  .iptvora-ft-cta { border-radius: 24px; padding: 28px 20px; }
  .iptvora-ft-cta-btns .iptvora-ft-btn { flex: 1 1 100%; }
  .iptvora-ft-scene { height: 200px; }
  .iptvora-ft-ball { width: 54px; height: 54px; }
  .iptvora-ft-ring { width: 84px; }
  .iptvora-ft-grid { grid-template-columns: 1fr 1fr; gap: 30px 18px; padding-block: 48px 36px; }
  .iptvora-ft-brand, .iptvora-ft-grid > div:last-child { grid-column: 1 / -1; }
  .iptvora-ft-bottom { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .iptvora-ft *, .iptvora-ft *::before, .iptvora-ft *::after { animation: none !important; transition: none !important; }
  .iptvora-ft-in { opacity: 1; transform: none; }
}
.iptvora-ft-btn-wa { padding: 0 14px; font-size: .95rem; }
.iptvora-ft-btn-wa span { white-space: nowrap; }
@media (max-width: 560px) { .iptvora-ft { padding-bottom: 96px; } }
