/* Page d'accueil : scène 3D qui suit la souris, cartes d'effets, aucune animation d'apparition au défilement. */
.tc-hero { padding: clamp(40px, 7vw, 96px) 0 clamp(32px, 5vw, 72px); overflow: hidden; }
.tc-hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.tc-hero h1 { font-size: clamp(44px, 6.4vw, 92px); line-height: .95; margin: 0 0 var(--s-5, 20px); }
.tc-hero h1 em { font-style: normal; color: #fc4e03; }
.tc-lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: var(--p-muted, #aeb7c0); max-width: 34em; }
.tc-lead code, .tc-card code { font-family: var(--font-mono); background: rgb(255 255 255 / .08); padding: 1px 6px; border-radius: 4px; color: #fff; }
.tc-proof { margin-top: var(--s-5, 20px); font-size: 14px; color: var(--p-muted, #aeb7c0); }

.tc-scene { perspective: 1100px; height: clamp(300px, 36vw, 480px); position: relative; }
.tc-rig { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--rx, 8deg)) rotateY(var(--ry, -14deg)); will-change: transform; }
/* le streamer qui craque remplit tout le cadre */
.tc-stage { position: absolute; inset: 0; border-radius: 18px; overflow: hidden; border: 1px solid rgb(252 78 3 / .5); box-shadow: 0 40px 80px -30px rgb(0 0 0 / .9); animation: tc-tremble .16s linear infinite; }
.tc-stage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tc-vapeur { animation: tc-vapeur 1.6s ease-out infinite; transform-origin: center; opacity: 0; }
.tc-vapeur:nth-of-type(2) { animation-delay: .5s; } .tc-vapeur:nth-of-type(3) { animation-delay: 1s; }
@keyframes tc-tremble { 0%,100% { translate: 0 0; } 25% { translate: -1.5px 1px; } 75% { translate: 1.5px -1px; } }
@keyframes tc-vapeur { 0% { opacity: 0; transform: translateY(8px) scale(.6); } 30% { opacity: .9; } 100% { opacity: 0; transform: translateY(-34px) scale(1.2); } }

.tc-win { position: absolute; background: #f3f4f6; color: #161a20; border-radius: 8px; box-shadow: 0 30px 50px -18px rgb(0 0 0 / .7), 0 0 0 1px rgb(0 0 0 / .2); overflow: hidden; font-size: clamp(10px, 1.05vw, 14px); transition: transform .25s ease; }
.tc-win:hover { transform: translateZ(var(--z)) translateY(-6px) scale(1.03) !important; }
.tc-win__bar { display: flex; align-items: center; gap: 6px; padding: 6px 10px; background: #232a33; color: #e9edf3; font-weight: 600; font-size: .85em; }
.tc-win__bar i { width: .7em; height: .7em; border-radius: 50%; background: #fc4e03; display: block; }
.tc-win__bar b { margin-left: auto; opacity: .6; font-weight: 400; letter-spacing: .3em; }
.tc-win__body { padding: 10px 12px; line-height: 1.4; }
.tc-chat { left: 0; top: 0; width: 29%; --z: 90px; transform: translateZ(90px) rotateY(10deg); background: #18181b; color: #efeff1; }
.tc-chat .tc-win__body { display: grid; gap: 6px; }
.tc-chat b { color: #bf94ff; } .tc-chat .don { color: #fc4e03; }
.tc-err { right: 0; top: 52%; width: 31%; --z: 150px; transform: translateZ(150px) rotateY(-8deg) rotateZ(2deg); }
.tc-err .tc-win__bar { background: #1f4fb8; }
.tc-err .tc-win__body { display: grid; gap: 8px; }
.tc-err button { justify-self: end; font: inherit; border: 1px solid #8a8f98; background: #e5e7eb; border-radius: 3px; padding: 2px 14px; cursor: pointer; }
.tc-app { left: 0; bottom: 0; width: 29%; --z: 60px; transform: translateZ(60px) rotateY(8deg); background: #1e262c; color: #e9edf3; }
.tc-app b { color: #fc4e03; }
.tc-tag { position: absolute; padding: 6px 12px; border-radius: 999px; background: #fc4e03; color: #161a20; font-weight: 800; font-size: clamp(11px, 1.2vw, 16px); box-shadow: 0 10px 24px -8px rgb(0 0 0 / .6); animation: tc-flotte 3.2s ease-in-out infinite; }
.tc-tag--a { left: 44%; top: 2%; transform: translateZ(220px); }
.tc-tag--b { left: 1%; top: 40%; transform: translateZ(190px); background: #fff; animation-delay: -1.1s; }
.tc-tag--c { right: 6%; top: 30%; transform: translateZ(240px); background: #5c66d6; color: #fff; animation-delay: -2s; }
@keyframes tc-flotte { 0%,100% { translate: 0 0; } 50% { translate: 0 -8px; } }

.tc-section { padding: clamp(48px, 7vw, 104px) 0; }
.tc-section h2 { font-size: clamp(30px, 4vw, 56px); line-height: 1; max-width: 18em; margin: 0 0 var(--s-8, 40px); }
.tc-section h2 .muted { color: var(--p-muted, #aeb7c0); }
.tc-steps, .tc-fx { display: grid; gap: var(--s-4, 16px); }
.tc-steps { grid-template-columns: repeat(3, 1fr); }
.tc-fx { grid-template-columns: repeat(4, 1fr); }
.tc-card { background: #1e262c; border: 1px solid rgb(255 255 255 / .07); border-radius: 12px; padding: var(--s-6, 24px); display: grid; gap: 10px; align-content: start; transition: transform .2s, border-color .2s; }
.tc-card:hover { transform: translateY(-4px); border-color: #fc4e03; }
.tc-card h3 { margin: 0; font-size: 20px; }
.tc-card p { margin: 0; color: var(--p-muted, #aeb7c0); line-height: 1.5; }
.tc-num { font-size: 13px; font-weight: 800; color: #fc4e03; letter-spacing: .1em; }
.tc-shot { margin-top: var(--s-8, 40px); border-radius: 12px; overflow: hidden; border: 1px solid rgb(255 255 255 / .08); }
.tc-shot img { display: block; width: 100%; height: auto; }
@media (max-width: 1023px) { .tc-hero__grid { grid-template-columns: 1fr; } .tc-steps { grid-template-columns: 1fr; } .tc-fx { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 1023px) { .tc-scene { margin-top: 32px; } }
@media (max-width: 520px) { .tc-fx { grid-template-columns: 1fr; } .tc-scene { height: 380px; } }
@media (prefers-reduced-motion: reduce) { .tc-streamer, .tc-vapeur, .tc-tag { animation: none; } .tc-rig { transform: none; } .tc-card, .tc-win { transition: none; } }

/* bandeau de chiffres, défilé de commandes, démo */
.tc-strip { border-block: 1px solid rgb(255 255 255 / .08); background: #1a2027; }
.tc-strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.tc-strip .wrap > div { padding: var(--s-6, 24px); display: grid; gap: 4px; border-left: 1px solid rgb(255 255 255 / .08); }
.tc-strip .wrap > div:first-child { border-left: 0; padding-left: 0; }
.tc-strip b { font-size: clamp(32px, 4vw, 56px); line-height: 1; color: #fc4e03; font-stretch: 85%; }
.tc-strip span { color: var(--p-muted, #aeb7c0); font-size: 14px; }
.tc-ticker { overflow: hidden; background: #fc4e03; color: #161a20; padding: 12px 0; }
.tc-ticker__piste { display: flex; gap: 48px; width: max-content; animation: tc-defile 28s linear infinite; font-family: var(--font-mono); font-weight: 700; font-size: 18px; }
@keyframes tc-defile { to { transform: translateX(-50%); } }
.tc-demo { text-align: center; background: radial-gradient(60% 80% at 50% 0%, rgb(252 78 3 / .12), transparent 70%); }
.tc-demo h2, .tc-demo .tc-lead { margin-inline: auto; }
.tc-demo__btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: var(--s-8, 40px) 0 var(--s-4, 16px); }
.tc-demo__btns .btn { font-family: var(--font-mono); font-size: 18px; padding: 14px 24px; }
.fx-flash { position: fixed; inset: 0; z-index: 9999; background: #fff; pointer-events: none; animation: fx-flash 1.1s ease-out forwards; }
@keyframes fx-flash { 0% { opacity: 0; } 15% { opacity: .85; } 100% { opacity: 0; } }
.fx-noir { position: fixed; inset: 0; z-index: 9999; background: #000; pointer-events: none; animation: fx-noir 2.5s ease forwards; }
@keyframes fx-noir { 0%,85% { opacity: 1; } 100% { opacity: 0; } }
.fx-texte { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; pointer-events: none; font-size: clamp(40px, 10vw, 140px); font-weight: 800; text-transform: uppercase; color: #fff; text-shadow: 0 0 0 #000, 4px 4px 0 #fc4e03; animation: fx-texte 2.4s ease forwards; text-align: center; }
@keyframes fx-texte { 0% { opacity: 0; transform: scale(.7); } 12% { opacity: 1; transform: scale(1); } 85% { opacity: 1; } 100% { opacity: 0; } }
.fx-plantage { position: fixed; z-index: 9999; left: 50%; top: 50%; translate: -50% -50%; width: min(420px, 90vw); background: #f3f4f6; color: #161a20; border-radius: 8px; box-shadow: 0 40px 80px rgb(0 0 0 / .7); overflow: hidden; }
.fx-plantage div:first-child { background: #1f4fb8; color: #fff; padding: 8px 12px; font-weight: 600; }
.fx-plantage div:last-child { padding: 16px; display: grid; gap: 12px; }
.fx-plantage button { justify-self: end; font: inherit; padding: 4px 18px; cursor: pointer; }
.fx-secousse { animation: fx-sec .12s linear 14; }
@keyframes fx-sec { 0%,100% { transform: translate(0,0); } 25% { transform: translate(-9px, 6px); } 50% { transform: translate(8px, -7px); } 75% { transform: translate(-6px, -5px); } }
@media (max-width: 767px) { .tc-strip .wrap { grid-template-columns: 1fr 1fr; } .tc-strip .wrap > div:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (prefers-reduced-motion: reduce) { .tc-ticker__piste { animation: none; } }

/* le kit impose « une section = un écran » : ici les sections prennent la hauteur de leur contenu (plus de grands vides) */
main > :is(section, .section), footer.closing { height: auto; min-height: 0; }
main > :is(section, .section) > .wrap, footer.closing > .wrap { height: auto; }
/* le hero remplit le premier écran sous le bandeau, bandeau orange compris : titre jamais collé au menu, rien de coupé */
main > section.tc-hero.tc-hero { min-height: calc(100svh - 52px); display: grid; align-content: center; padding-top: calc(var(--nav, 72px) + clamp(16px, 3vh, 40px)); padding-bottom: clamp(20px, 4vh, 48px); box-sizing: border-box; }
.tc-hero h1 { font-size: clamp(40px, min(5.2vw, 9.5vh), 84px); }
main > .tc-strip { padding: 0; }
main > .tc-strip > .wrap { display: grid; }
main > .tc-section, main > .section { padding-block: clamp(48px, 6vw, 88px); }
footer.closing { padding-block: clamp(40px, 5vw, 72px) 24px; }
main > .tc-strip.tc-strip > .wrap.wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 767px) { main > .tc-strip.tc-strip > .wrap.wrap { grid-template-columns: 1fr 1fr; } }

.tc-reglages { background: #1e262c; border: 1px solid rgb(255 255 255 / .08); border-radius: 12px; overflow: hidden; align-self: center; box-shadow: 0 30px 60px -30px rgb(0 0 0 / .8); }
.tc-reglages .tc-win__bar { background: #232a33; color: #e9edf3; display: flex; align-items: center; gap: 6px; padding: 10px 14px; font-weight: 600; }
.tc-reglages .tc-win__bar i { width: 10px; height: 10px; border-radius: 50%; background: #fc4e03; }
.tc-reglages .tc-win__bar b { margin-left: auto; opacity: .6; font-weight: 400; }
.tc-reglages__corps { padding: 20px; display: grid; gap: 18px; }
.tc-reglages label { display: grid; grid-template-columns: 1fr auto; gap: 8px; color: var(--p-muted, #aeb7c0); font-size: 14px; }
.tc-reglages label b { color: #e9edf3; } .tc-reglages label b.on { color: #3ddc97; }
.tc-barre { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: #2c353d; overflow: hidden; }
.tc-barre i { display: block; height: 100%; background: #fc4e03; }
.tc-stop { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 8px; background: #f04438; color: #fff; font-weight: 700; }
.tc-stop kbd { background: rgb(0 0 0 / .25); border: 0; color: #fff; font-family: var(--font-mono); font-size: 12px; padding: 4px 8px; border-radius: 4px; }
.tc-faq { columns: 2; column-gap: var(--s-8, 40px); }
.tc-faq .faq__item { break-inside: avoid; }
@media (max-width: 1023px) { .tc-reglages { grid-column: 1 / -1; } .tc-faq { columns: 1; } }

/* exemples vidéo + section sons */
.tc-exemples { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4, 16px); }
.tc-media { margin: 0; position: relative; border-radius: 12px; overflow: hidden; background: #1e262c; border: 1px solid rgb(255 255 255 / .08); display: grid; }
.tc-media--dame { grid-column: 1 / -1; grid-template-columns: 1.4fr 1fr; align-items: stretch; }
.tc-media video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: #1e262c; }

.tc-media--fps::before { content: ""; position: absolute; left: 0; right: 0; top: calc(50% - 40px); height: 0; pointer-events: none; }
.tc-media figcaption { padding: var(--s-6, 24px); display: grid; gap: 8px; align-content: center; }
.tc-media figcaption b { font-size: 20px; }
.tc-media figcaption span { color: var(--p-muted, #aeb7c0); line-height: 1.5; }
.tc-media--fps figcaption { align-content: start; }
.tc-lance { position: absolute; left: 16px; top: 16px; padding: 8px 14px; border: 0; border-radius: 999px; background: #fc4e03; color: #161a20; font: inherit; font-weight: 700; cursor: pointer; z-index: 2; }
.tc-lance[hidden] { display: none; }
.tc-media--dame .tc-lance { left: 16px; }
.tc-sons { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.tc-sons__photo { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid rgb(255 255 255 / .08); }
.tc-sons__photo img { display: block; width: 100%; height: auto; }
.tc-bulle { position: absolute; left: 6%; top: 8%; max-width: 40%; padding: 10px 16px; border-radius: 16px 16px 16px 2px; background: #fff; color: #161a20; font-weight: 700; box-shadow: 0 12px 30px -10px rgb(0 0 0 / .7); }
.tc-sons h2 { margin-bottom: var(--s-5, 20px); }
.tc-liste { list-style: none; padding: 0; margin: var(--s-6, 24px) 0; display: grid; gap: 14px; }
.tc-liste li { padding-left: 18px; border-left: 3px solid #fc4e03; color: var(--p-muted, #aeb7c0); line-height: 1.5; }
.tc-liste b { color: #e9edf3; }
@media (max-width: 1023px) { .tc-exemples, .tc-media--dame, .tc-sons { grid-template-columns: 1fr; } }
.tc-media--dame video { object-fit: contain; }
/* décor de jeu de tir derrière la grenade (la vidéo est transparente) */
.tc-media--fps { background: linear-gradient(#59636d 0 46%, #2a2f35 46% 100%); }
.tc-media--fps::after { content: ""; position: absolute; left: 50%; top: calc(50% - 90px); width: 22px; height: 22px; translate: -50% -50%; pointer-events: none; background: linear-gradient(#7dff7d, #7dff7d) center/2px 100% no-repeat, linear-gradient(#7dff7d, #7dff7d) center/100% 2px no-repeat; -webkit-mask: radial-gradient(circle, transparent 3px, #000 4px); mask: radial-gradient(circle, transparent 3px, #000 4px); }
.tc-media--fps video { background: none; position: relative; z-index: 1; }
.tc-media--fps figcaption { position: relative; z-index: 1; background: #1e262c; }
.tc-media--fps { container-type: inline-size; background: linear-gradient(#59636d 0 46%, #2a2f35 46% 100%) top / 100% 56.25cqw no-repeat, #1e262c; }
.tc-media--fps::after { top: 28.125cqw; }

/* comme dans l'appli : le screamer prend tout le cadre et secoue */
.tc-media--dame video { object-fit: cover; }
.tc-media--dame video.secoue { animation: tc-secoue .08s linear infinite; }
@keyframes tc-secoue { 0% { translate: 0 0; } 25% { translate: 8px -5px; } 50% { translate: -7px 4px; } 75% { translate: 5px 7px; } }
.tc-media--dame { overflow: hidden; }

/* choix du système */
.tc-dl { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4, 16px); margin-bottom: var(--s-6, 24px); }
.tc-dl__carte { position: relative; display: grid; align-content: space-between; gap: 10px; padding: var(--s-6, 24px); border-radius: 12px; background: #1e262c; border: 1px solid rgb(255 255 255 / .08); text-decoration: none; color: inherit; transition: transform .2s, border-color .2s; }
.tc-dl__carte:hover { transform: translateY(-4px); border-color: #fc4e03; }
.tc-dl__carte b { font-size: 28px; font-stretch: 85%; }
.tc-dl__carte span { color: var(--p-muted, #aeb7c0); line-height: 1.5; }
.tc-dl__carte i { font-style: normal; font-weight: 700; color: #161a20; background: #fc4e03; padding: 10px 16px; border-radius: 6px; justify-self: start; }
.tc-dl__carte.reco { border-color: #fc4e03; }
.tc-dl__carte.reco::after { content: "Recommandé pour ton système"; position: absolute; top: 14px; right: 14px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgb(252 78 3 / .18); color: #ff8a57; }
@media (max-width: 767px) { .tc-dl { grid-template-columns: 1fr; } }

/* le kit impose aussi « au moins un écran » sous 1280 px (laptops, fenêtres étroites) et sur téléphone : on annule pour toutes les tailles */
main > :is(section, .section):not(.hero, .section--hero), footer.closing { height: auto; min-height: 0; }
main > :is(section, .section):not(.hero, .section--hero) > :is(.wrap, .container), footer.closing > .wrap { min-height: 0; }

/* démonstrations animées : flash et souris qui tremble (boucle de 7 s, sans interaction) */
.tc-demos { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4, 16px); }
.tc-demo-carte { margin: 0; border-radius: 12px; overflow: hidden; background: #1e262c; border: 1px solid rgb(255 255 255 / .08); }
.tc-demo-carte figcaption { padding: var(--s-6, 24px); display: grid; gap: 8px; }
.tc-demo-carte figcaption b { font-size: 20px; }
.tc-demo-carte figcaption span { color: var(--p-muted, #aeb7c0); line-height: 1.5; }
.tc-demo-carte code { font-family: var(--font-mono); background: rgb(255 255 255 / .08); padding: 1px 6px; border-radius: 4px; color: #fff; }
.tc-ecran { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0d1014; }
.tc-jeu { position: absolute; inset: 0; background: linear-gradient(#56667a 0 46%, #3a3328 46% 100%); }
.tc-jeu::before { content: ""; position: absolute; left: 0; right: 0; top: 46%; height: 18%; background: linear-gradient(#2c261d, transparent); }
.tc-viseur { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; translate: -50% -50%; background: linear-gradient(#7dff7d, #7dff7d) center/2px 100% no-repeat, linear-gradient(#7dff7d, #7dff7d) center/100% 2px no-repeat; -webkit-mask: radial-gradient(circle, transparent 3px, #000 4px); mask: radial-gradient(circle, transparent 3px, #000 4px); }
.tc-hud { position: absolute; bottom: 10px; font: 700 14px var(--font-mono); color: #fff; text-shadow: 0 1px 3px #000; }
.tc-hud--g { left: 12px; } .tc-hud--d { right: 12px; }
.tc-toast { position: absolute; left: 12px; top: 12px; padding: 6px 12px; border-radius: 6px; background: rgb(24 24 27 / .9); color: #efeff1; font-size: 13px; opacity: 0; animation: tc-toast-f 7s infinite; }
.tc-toast b { color: #bf94ff; }
.tc-eclair { position: absolute; inset: 0; background: #fff; opacity: 0; animation: tc-eclair 7s infinite; }
@keyframes tc-toast-f { 0%, 38% { opacity: 0; } 42%, 62% { opacity: 1; } 66%, 100% { opacity: 0; } }
@keyframes tc-eclair { 0%, 52% { opacity: 0; } 56% { opacity: 1; } 70% { opacity: 1; } 86%, 100% { opacity: 0; } }
.tc-ecran--souris { background: linear-gradient(135deg, #1b2330, #10151c); }
.tc-menu { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; gap: 12px; justify-items: center; color: #fff; }
.tc-menu b { letter-spacing: .3em; font-size: 14px; opacity: .7; }
.tc-bouton { padding: 10px 44px; border-radius: 6px; background: #fc4e03; color: #161a20; font-weight: 800; }
.tc-bouton--b { background: #2c3541; color: #cfd6df; }
.tc-toast--m { animation-name: tc-toast-m; }
@keyframes tc-toast-m { 0%, 18% { opacity: 0; } 22%, 70% { opacity: 1; } 74%, 100% { opacity: 0; } }
.tc-curseur { position: absolute; left: 12%; top: 78%; filter: drop-shadow(0 2px 3px rgb(0 0 0 / .6)); animation: tc-curseur 7s infinite; }
@keyframes tc-curseur {
  0% { translate: 0 0; } 20% { translate: 0 0; }
  32% { translate: 280% -300%; } 36% { translate: 300% -330%; }
  38% { translate: 250% -360%; } 40% { translate: 340% -280%; } 42% { translate: 270% -400%; } 44% { translate: 360% -310%; }
  46% { translate: 230% -340%; } 48% { translate: 330% -380%; } 50% { translate: 260% -290%; } 52% { translate: 350% -350%; }
  54% { translate: 240% -310%; } 56% { translate: 320% -390%; } 58% { translate: 270% -330%; } 60% { translate: 300% -320%; }
  75% { translate: 300% -320%; } 90% { translate: 0 0; } 100% { translate: 0 0; }
}
@media (max-width: 767px) { .tc-demos { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .tc-toast, .tc-eclair, .tc-curseur { animation: none; } .tc-toast { opacity: 1; } .tc-curseur { translate: 300% -320%; } }

/* films : cadre façon fenêtre, bordure qui brille, bouton lecture pulsé */
.tc-films__grille { display: grid; grid-template-columns: 1.6fr 1fr; gap: var(--s-6, 24px); align-items: start; }
.tc-film { margin: 0; display: grid; gap: 16px; }
.tc-film__cadre { position: relative; border-radius: 14px; padding: 1px; background: conic-gradient(from var(--a, 0deg), #fc4e03, rgb(252 78 3 / .08) 25%, #ffb27a 50%, rgb(252 78 3 / .08) 75%, #fc4e03); animation: film-tour 6s linear infinite; box-shadow: 0 0 0 1px rgb(255 255 255 / .04), 0 30px 70px -30px rgb(252 78 3 / .55); transition: box-shadow .3s, transform .3s; }
.tc-film:hover .tc-film__cadre { box-shadow: 0 0 0 1px rgb(252 78 3 / .5), 0 0 60px -6px rgb(252 78 3 / .6), 0 30px 70px -30px rgb(252 78 3 / .7); transform: translateY(-3px); }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes film-tour { to { --a: 360deg; } }
.tc-film__bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #232a33; color: #e9edf3; font-weight: 600; font-size: 14px; border-radius: 13px 13px 0 0; }
.tc-film__bar i { width: 9px; height: 9px; border-radius: 50%; background: #fc4e03; box-shadow: 0 0 8px #fc4e03; }
.tc-film__bar b { margin-left: auto; font: 500 12px var(--font-mono, monospace); color: #aeb7c0; }
.tc-film__ecran { position: relative; background: #0d1014; border-radius: 0 0 13px 13px; overflow: hidden; }
.tc-film__ecran img { width: 100%; aspect-ratio: 16 / 9; display: block; object-fit: cover; }
.tc-film__yt { position: absolute; left: 0; top: -17%; width: 100%; height: 134%; /* plus haut que le cadre : le titre et le logo YouTube tombent dans les bandes noires, rognées par le cadre */ border: 0; opacity: 0; pointer-events: none; }
.tc-film__ecran.joue .tc-film__yt { opacity: 1; }
.tc-film__voile { position: absolute; inset: 0 0 44px 0; z-index: 2; cursor: pointer; }
.tc-film__ctrl { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 44px; display: flex; align-items: center; gap: 12px; padding: 0 14px; background: linear-gradient(transparent, rgb(13 16 20 / .92)); color: #e9edf3; font: 500 13px var(--font-mono, monospace); }
.tc-film__ctrl[hidden], .tc-film__voile[hidden] { display: none; }
.tc-film__ctrl button { all: unset; cursor: pointer; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 6px; color: #fff; }
.tc-film__ctrl button:hover { background: rgb(252 78 3 / .35); }
.tc-film__pp::before { content: ""; width: 12px; height: 14px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; }
.tc-film__ctrl.en-pause .tc-film__pp::before { border: 0; border-left: 12px solid currentColor; border-top: 8px solid transparent; border-bottom: 8px solid transparent; width: 0; height: 0; }
.tc-film__prog { flex: 1; height: 14px; display: flex; align-items: center; cursor: pointer; background: linear-gradient(rgb(255 255 255 / .25), rgb(255 255 255 / .25)) center / 100% 4px no-repeat; }
.tc-film__prog i { display: block; height: 4px; width: 0; background: #fc4e03; border-radius: 2px; box-shadow: 0 0 10px #fc4e03; }
.tc-film figcaption a { color: #fc4e03; white-space: nowrap; }
.tc-film__ecran.joue::after { display: none; }
.tc-film__ecran::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(80% 80% at 50% 50%, transparent 55%, rgb(13 16 20 / .55)); transition: opacity .3s; }
.tc-film__play { position: absolute; z-index: 2; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border: 0; border-radius: 50%; background: #fc4e03; color: #161a20; display: grid; place-items: center; cursor: pointer; box-shadow: 0 0 0 0 rgb(252 78 3 / .6), 0 10px 40px rgb(252 78 3 / .5); animation: film-pouls 2.2s ease-out infinite; transition: transform .2s; }
.tc-film__play svg { margin-left: 4px; }
.tc-film__play:hover { transform: scale(1.1); }
.tc-film__play[hidden] { display: none; }
@keyframes film-pouls { to { box-shadow: 0 0 0 28px rgb(252 78 3 / 0), 0 10px 40px rgb(252 78 3 / .5); } }
.tc-film figcaption { display: grid; gap: 6px; }
.tc-film figcaption b { font-size: 20px; }
.tc-film figcaption span { color: var(--p-muted, #aeb7c0); line-height: 1.5; }
@media (max-width: 1023px) { .tc-films__grille { grid-template-columns: 1fr; } .tc-film__play { width: 64px; height: 64px; margin: -32px 0 0 -32px; } }
@media (prefers-reduced-motion: reduce) { .tc-film__cadre, .tc-film__play { animation: none; } }
.tc-scene { margin-top: 28px; }
