/* =========================================================================
   SMARTVEX — Section Contact sport premium (classes préfixées iptvora-contact-)
   ========================================================================= */
.iptvora-contact {
  --c-blue: #087CFF;
  --c-sky: #39B8FF;
  --c-btn: #0A68DD;
  --c-ink: #07152F;
  --c-ink-2: #4B5A75;
  --c-link: #0062D6;
  --c-line: #CFDDF0;
  --c-err: #C8241A;
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(80px, 10vw, 130px);
  background: #FFFFFF; color: var(--c-ink);
}
.iptvora-contact-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.iptvora-contact-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(8,124,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(8,124,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 50%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 30% 50%, #000, transparent 70%);
}
.iptvora-contact-blob { position: absolute; left: var(--bx); top: var(--by); width: var(--bs); height: var(--bs); transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(57,184,255,.20), transparent); }

.iptvora-contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }

/* ------------------------------ Gauche --------------------------------- */
.iptvora-contact-badge {
  display: inline-flex; align-items: center; gap: 9px; margin: 0 0 18px; padding: 8px 16px 8px 12px; border-radius: 999px;
  background: #EAF4FF; border: 1px solid rgba(8,124,255,.28); color: var(--c-link);
  font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}
.iptvora-contact-badge svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.iptvora-contact h2 { margin: 0 0 16px; font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.06; color: var(--c-ink); text-wrap: balance; }
.iptvora-contact h2 span { background: linear-gradient(95deg, #0566D9, var(--c-blue) 50%, var(--c-sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.iptvora-contact-lead { margin: 0 0 30px; max-width: 46ch; font-size: 1.08rem; line-height: 1.6; color: var(--c-ink-2); }

.iptvora-contact-stage {
  position: relative; aspect-ratio: 16 / 11; border-radius: 28px; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at 50% 0%, #0E2E66 0%, #061230 55%, #040A1C 100%);
  box-shadow: 0 30px 70px rgba(8,40,110,.22), 0 0 0 1px rgba(8,124,255,.25);
}
.iptvora-contact-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }
.iptvora-contact-shadow { position: absolute; left: 50%; bottom: 13%; width: 34%; height: 18px; transform: translateX(-50%); border-radius: 50%; z-index: 1;
  background: radial-gradient(closest-side, rgba(8,124,255,.55), transparent); filter: blur(4px); animation: iptvora-contact-shadow 4.6s ease-in-out infinite; }
@keyframes iptvora-contact-shadow { 50% { transform: translateX(-50%) scale(.82); opacity: .7; } }

/* Stade */
.iptvora-contact-stadium { position: absolute; inset: 0; z-index: 0; }
.iptvora-contact-stand {
  position: absolute; left: -10%; right: -10%; top: 30%; height: 60%; border-radius: 50% 50% 0 0 / 40% 40% 0 0;
  background:
    repeating-linear-gradient(180deg, rgba(120,180,255,.10) 0 2px, transparent 2px 12px),
    linear-gradient(180deg, #0B2250, #071634 70%);
  box-shadow: inset 0 2px 0 rgba(57,184,255,.5);
}
.iptvora-contact-leds { /* bande LED qui défile */
  position: absolute; left: 0; right: 0; top: 56%; height: 6px;
  background: repeating-linear-gradient(90deg, rgba(57,184,255,.95) 0 18px, rgba(8,124,255,.25) 18px 36px);
  background-size: 72px 100%; box-shadow: 0 0 16px rgba(57,184,255,.8);
  animation: iptvora-contact-leds 2.4s linear infinite;
}
@keyframes iptvora-contact-leds { to { background-position: 72px 0; } }
.iptvora-contact-pitch {
  position: absolute; left: -20%; right: -20%; bottom: -30%; height: 72%;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(57,184,255,.25), transparent 60%),
    repeating-linear-gradient(90deg, #08306F 0 9%, #0A3A82 9% 18%);
  transform: perspective(500px) rotateX(58deg); transform-origin: 50% 0;
  border-top: 2px solid rgba(160,215,255,.6);
}
.iptvora-contact-pitch::after { content: ""; position: absolute; left: 50%; top: 22%; width: 34%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; border: 2px solid rgba(160,215,255,.45); }
.iptvora-contact-tower { position: absolute; top: 8%; display: grid; grid-template-columns: repeat(3, 10px); gap: 5px; padding: 6px; border-radius: 6px; background: rgba(255,255,255,.06); }
.iptvora-contact-tower[style*="--t:0"] { left: 9%; transform: rotate(-8deg); }
.iptvora-contact-tower[style*="--t:1"] { right: 9%; transform: rotate(8deg); }
.iptvora-contact-tower::after { content: ""; position: absolute; left: 50%; top: 100%; width: 3px; height: 70px; background: linear-gradient(#1C3A6E, transparent); }
.iptvora-contact-tower i { width: 10px; height: 10px; border-radius: 50%; background: #DFF2FF; box-shadow: 0 0 10px #39B8FF, 0 0 22px #087CFF; animation: iptvora-contact-led 3s ease-in-out infinite; }
.iptvora-contact-tower i:nth-child(2n) { animation-delay: -1s; }
.iptvora-contact-tower i:nth-child(3n) { animation-delay: -2s; }
@keyframes iptvora-contact-led { 50% { opacity: .55; box-shadow: 0 0 4px #39B8FF; } }
.iptvora-contact-beam {
  position: absolute; top: 10%; width: 60%; height: 110%; transform-origin: 50% 0; opacity: .5; mix-blend-mode: screen;
  background: conic-gradient(from 168deg at 50% 0, transparent 0deg, rgba(120,200,255,.55) 12deg, transparent 24deg);
  animation: iptvora-contact-beam 7s ease-in-out infinite alternate;
}
.iptvora-contact-beam[style*="--t:0"] { left: -14%; --a: -18deg; --b: 6deg; }
.iptvora-contact-beam[style*="--t:1"] { right: -14%; --a: 18deg; --b: -6deg; animation-delay: -3.5s; }
@keyframes iptvora-contact-beam { from { transform: rotate(var(--a)); } to { transform: rotate(var(--b)); } }

.iptvora-contact-chips { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 3; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.iptvora-contact-chips span {
  padding: 8px 14px; border-radius: 12px; font-size: .82rem; color: #DCEBFF;
  background: rgba(8,20,50,.55); border: 1px solid rgba(120,190,255,.3); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.iptvora-contact-chips b { color: #fff; }

/* ------------------------------ Formulaire ----------------------------- */
.iptvora-contact-right { perspective: 1400px; }
.iptvora-contact-card {
  --rx: 0deg; --ry: 0deg;
  position: relative; padding: clamp(24px, 3.4vw, 40px); border-radius: 28px; background: rgba(255,255,255,.94);
  border: 1.5px solid rgba(8,124,255,.35);
  box-shadow: 0 1px 0 #fff inset, 0 30px 70px rgba(8,50,120,.14), 0 0 0 6px rgba(8,124,255,.05);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s;
}
.iptvora-contact-card::before { /* liseré lumineux en haut */
  content: ""; position: absolute; left: 10%; right: 10%; top: -1.5px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--c-sky), var(--c-blue), var(--c-sky), transparent);
}
.iptvora-contact-demo { margin-bottom: 22px; padding: 13px 15px; border-radius: 12px; font-size: .9rem; line-height: 1.5; background: #FFF6E5; color: #5A3900; border: 1px solid #F5C66B; }

.iptvora-contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.iptvora-contact-field { margin-bottom: 18px; min-width: 0; }
.iptvora-contact-field label { display: block; margin-bottom: 7px; font-size: .92rem; font-weight: 700; color: var(--c-ink); }
.iptvora-contact-req { color: var(--c-err); }
.iptvora-contact-opt { font-weight: 400; color: var(--c-ink-2); }
.iptvora-contact-field input, .iptvora-contact-field select, .iptvora-contact-field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--c-ink);
  background: #F5F9FF; border: 1.5px solid var(--c-line); border-radius: 13px;
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.iptvora-contact-field textarea { min-height: 96px; resize: vertical; }
.iptvora-contact-field select { appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23087CFF' stroke-width='2.2' stroke-linecap='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; background-size: 18px; }
.iptvora-contact-field input::placeholder, .iptvora-contact-field textarea::placeholder { color: #8291AA; }
.iptvora-contact-field input:hover, .iptvora-contact-field select:hover, .iptvora-contact-field textarea:hover { border-color: #9DB8DD; }
.iptvora-contact-field input:focus, .iptvora-contact-field select:focus, .iptvora-contact-field textarea:focus {
  outline: none; background-color: #fff; border-color: var(--c-blue);
  box-shadow: 0 0 0 4px rgba(8,124,255,.16), 0 0 22px rgba(57,184,255,.35);
}
.iptvora-contact-field [aria-invalid="true"], .iptvora-contact-check [aria-invalid="true"] { border-color: var(--c-err); background-color: #FFF6F5; }
.iptvora-contact-hint { margin: -8px 0 18px; font-size: .84rem; color: var(--c-ink-2); }
.iptvora-contact-err { margin: 6px 0 0; font-size: .86rem; font-weight: 600; color: var(--c-err); }
.iptvora-contact-err:empty { display: none; }
.iptvora-contact-err::before { content: "⚠ "; }
.iptvora-contact-errors { margin-bottom: 18px; padding: 13px 15px; border-radius: 12px; background: #FFF1F0; border: 1px solid #F4B4AE; color: #8A1C12; font-size: .92rem; }
.iptvora-contact-errors ul { margin: 6px 0 0; padding-left: 1.2em; }
.iptvora-contact-errors a { color: inherit; font-weight: 600; }
.iptvora-contact-errors:focus { outline: 3px solid rgba(200,36,26,.35); outline-offset: 2px; }

.iptvora-contact-check { display: grid; grid-template-columns: 22px 1fr; gap: 4px 12px; margin: 4px 0 22px; }
.iptvora-contact-check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--c-btn); cursor: pointer; }
.iptvora-contact-check label { font-size: .93rem; line-height: 1.45; cursor: pointer; }
.iptvora-contact-check .iptvora-contact-err { grid-column: 2; }
.iptvora-contact-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.iptvora-contact-submit {
  position: relative; overflow: hidden; isolation: isolate; width: 100%; min-height: 58px; display: flex; align-items: center; justify-content: center; gap: 12px;
  border: 0; border-radius: 999px; cursor: pointer; font: inherit; font-size: 1.06rem; font-weight: 800; color: #fff;
  background: linear-gradient(100deg, #0758BE, var(--c-btn) 45%, #0B74F0);
  box-shadow: 0 14px 30px rgba(8,124,255,.35); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s;
}
.iptvora-contact-submit svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s; }
.iptvora-contact-submit::after { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-120%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent); transition: transform .8s ease; }
.iptvora-contact-submit:hover, .iptvora-contact-submit:focus-visible { transform: translateY(-2px);
  box-shadow: 0 0 0 4px rgba(8,124,255,.16), 0 0 30px rgba(8,124,255,.65), 0 18px 36px rgba(8,124,255,.4); }
.iptvora-contact-submit:hover::after, .iptvora-contact-submit:focus-visible::after { transform: translateX(120%) skewX(-20deg); }
.iptvora-contact-submit:hover svg { transform: translate(3px, -3px); }
.iptvora-contact-submit:focus-visible { outline: 3px solid var(--c-ink); outline-offset: 3px; }
.iptvora-contact-submit:disabled { opacity: .7; cursor: progress; transform: none; }

.iptvora-contact-wa {
  margin-top: 12px; width: 100%; min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; border: 1.5px solid #1A7F4B; color: #146B3E; background: #F2FBF6; font-weight: 700; text-decoration: none;
  transition: background-color .25s, color .25s, box-shadow .25s;
}
.iptvora-contact-wa svg { width: 22px; height: 22px; fill: currentColor; }
.iptvora-contact-wa b { white-space: nowrap; }
.iptvora-contact-wa:hover, .iptvora-contact-wa:focus-visible { background: #1A7F4B; color: #fff; box-shadow: 0 10px 24px rgba(26,127,75,.3); }
.iptvora-contact-wa:focus-visible { outline: 3px solid var(--c-ink); outline-offset: 3px; }
.iptvora-contact-wa[hidden] { display: none; }
.iptvora-contact-foot { margin: 14px 0 0; font-size: .84rem; color: var(--c-ink-2); text-align: center; }
.iptvora-contact-foot a { color: var(--c-link); }
.iptvora-contact-status:empty { display: none; }
.iptvora-contact-status { margin-top: 18px; padding: 15px; border-radius: 13px; font-size: .94rem; line-height: 1.5; }
.iptvora-contact-status p { margin: 0 0 10px; }
.iptvora-contact-status p:last-child { margin: 0; }
.iptvora-contact-status.is-info { background: #FFF6E5; border: 1px solid #F5C66B; color: #5A3900; }
.iptvora-contact-status.is-success { background: #ECFDF3; border: 1px solid #8DD8AE; color: #0B5132; }
.iptvora-contact-status.is-error { background: #FFF1F0; border: 1px solid #F4B4AE; color: #8A1C12; }
.iptvora-contact-status .iptvora-contact-wa { margin-top: 4px; }

/* --------------------------- Entrée au scroll -------------------------- */
.iptvora-contact-in { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--d, 0) * 120ms); }
.iptvora-contact-right.iptvora-contact-in { transform: translateX(40px); }
.iptvora-contact.is-in .iptvora-contact-in { opacity: 1; transform: none; }

/* ------------------------------ Responsive ----------------------------- */
@media (max-width: 960px) {
  .iptvora-contact-grid { grid-template-columns: 1fr; }
  .iptvora-contact-left { text-align: left; }
  .iptvora-contact-stage { max-width: 620px; }
}
@media (max-width: 560px) {
  .iptvora-contact-row { grid-template-columns: 1fr; }
  .iptvora-contact-wa { font-size: .95rem; }
  .iptvora-contact-stage { aspect-ratio: 4 / 3.4; border-radius: 22px; }
  .iptvora-contact-chips span { font-size: .76rem; padding: 7px 10px; }
  .iptvora-contact-tower { grid-template-columns: repeat(3, 7px); gap: 4px; }
  .iptvora-contact-tower i { width: 7px; height: 7px; }
}


/* Points forts */
.iptvora-contact-feats { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.iptvora-contact-feats li { display: flex; gap: 11px; align-items: flex-start; }
.iptvora-contact-feats span { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(145deg, #39B8FF, #087CFF 60%, #0656C2); box-shadow: 0 8px 18px rgba(8,124,255,.3); }
.iptvora-contact-feats svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.iptvora-contact-feats b { display: block; font-size: .95rem; color: var(--c-ink); line-height: 1.3; }
.iptvora-contact-feats small { display: block; margin-top: 2px; font-size: .84rem; line-height: 1.4; color: var(--c-ink-2); }
@media (max-width: 560px) { .iptvora-contact-feats { grid-template-columns: 1fr; gap: 12px; } }

/* --------------------------- Mouvement réduit -------------------------- */
@media (prefers-reduced-motion: reduce) {
  .iptvora-contact *, .iptvora-contact *::before, .iptvora-contact *::after { animation: none !important; transition: none !important; }
  .iptvora-contact-in { opacity: 1; transform: none; }
}

/* Appareils SMARTVEX */
.iptvora-contact-devices { margin: 0; max-width: 560px; }
.iptvora-contact-devices img { width: 100%; height: auto; display: block;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent), linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent), linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent);
  mask-composite: intersect;
  animation: iptvora-contact-devfloat 7s ease-in-out infinite; }
@keyframes iptvora-contact-devfloat { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .iptvora-contact-devices img { animation: none; } }
