/*
 * StreamNovo — logo (kit StreamNovo-Logo, version reverse pour les fonds nuit du header et du footer).
 * Header : 32 px de haut, qui suit les paliers de la maquette pour les petits écrans.
 * Footer : le logo occupe exactement la ligne de l'ancien logo texte (30, 26, 24 px), pour ne rien décaler en dessous.
 * Le guide impose une largeur minimale de 120 px, soit 24 px de haut (122 px de large) : on ne descend pas plus bas.
 */
.logo img { display: block; width: auto; height: 32px; }
.foot .logo { display: flex; align-items: center; width: fit-content; height: 30px; }
.foot .logo img { height: 28px; }
@media (max-width: 400px) {
  .top .logo img { height: 28px; }
  .foot .logo { height: 26px; }
  .foot .logo img { height: 24px; }
}
@media (max-width: 359px) {
  .top .logo img { height: 24px; }
  .foot .logo { height: 24px; }
}

/* WhatsApp, Telegram et email : icônes monochromes, de la couleur du texte (comme les icônes sociales), sans cadre.
   Footer et boutons « Can't find your answer? » de la FAQ (accueil). */
.foot .contact-list svg, #faq .ask svg { fill: currentColor !important; }
/* Icônes sociales du footer (YouTube, Pinterest, Reddit) : sans cadre, comme les icônes de contact ; zone de clic gardée à 40 px de haut */
.foot .social { gap: 6px; margin-left: -8px; }
.foot .social a, .sn-light .foot .social a { width: 36px; height: 40px; border: 0; }
.foot .social svg { width: 20px; height: 20px; }

/* Accueil, barre de chiffres (v1.18) : 5 chiffres réels sur ordinateur ; sur tablette et téléphone,
   les chaînes et les films (au lieu des chaînes et des pays) */
@media (max-width: 960px) {
  body .lt-stats div:nth-child(2) { display: none; }
  body .lt-stats div:nth-child(3) { display: flex; }
}

/* v1.19: pays et régions de l'accueil, liens vers le catalogue des chaînes */
.region li a { color: inherit; text-decoration: none; transition: color .15s ease; }
.region li a:hover, .region li a:focus-visible { color: var(--encre-douce); }
.region li a:focus-visible { outline: 2px solid var(--encre); outline-offset: 3px; border-radius: 2px; }
@media (prefers-reduced-motion: reduce) { .region li a { transition: none; } }

/* v1.19: accueil, autres plateformes présentes sur le serveur, sous les logos */
.vod-logos:has(+ .vod-more) { margin-bottom: 20px; }
.vod-more { margin: 0 0 40px; font: 500 15px/24px var(--font-texte); color: var(--ecran); }
.vod-more span { display: block; margin-bottom: 4px; font: 600 12px/16px var(--font-etiquette); letter-spacing: .06em; text-transform: uppercase; color: var(--ecran-doux); }

/* v1.19: « Keep exploring », trois cartes vers les pages voisines (pages claires) */
.sn-next { padding-block: 72px; }
.sn-next h2 { margin: 0 0 28px; }
.sn-next-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sn-next-grid a { position: relative; display: block; height: 100%; padding: 26px 56px 26px 26px; background: var(--carte, #fff); border-radius: var(--r-md, 8px); box-shadow: var(--relief, 0 1px 2px rgba(16,19,28,.06), 0 8px 24px rgba(16,19,28,.06)); color: var(--encre); text-decoration: none; transition: box-shadow .15s, transform .15s; }
.sn-next-grid a:hover { box-shadow: var(--relief-fort, 0 2px 4px rgba(16,19,28,.08), 0 16px 36px rgba(16,19,28,.1)); transform: translateY(-2px); }
.sn-next-grid a:focus-visible { outline: 2px solid var(--encre); outline-offset: 3px; }
.sn-next-grid h3 { margin: 0 0 8px; font: 700 18px/24px var(--font-texte); text-transform: none; letter-spacing: 0; }
.sn-next-grid p { margin: 0; font: 400 15px/23px var(--font-texte); color: var(--encre-douce); }
.sn-next-go { position: absolute; right: 24px; top: 26px; font: 600 20px/24px var(--font-texte); color: var(--encre); transition: transform .15s; }
.sn-next-grid a:hover .sn-next-go { transform: translateX(3px); }
@media (max-width: 960px) { .sn-next-grid { grid-template-columns: 1fr; gap: 14px; } .sn-next { padding-block: 56px; } }
@media (prefers-reduced-motion: reduce) { .sn-next-grid a, .sn-next-go { transition: none; } .sn-next-grid a:hover, .sn-next-grid a:hover .sn-next-go { transform: none; } }

/* v1.19: « Every plan includes » : textes et intitulé alignés sur la première ligne */
.incl-list li { align-items: flex-start; }
.incl-list li .ico { flex: none; margin-top: -1px; }
.incl-label { line-height: 21px; }
.sn-pricing .incl-label { padding-top: 8px; line-height: 21px; }

/* Texte réservé aux lecteurs d'écran (WordPress n'en charge pas le style sur les pages du thème) */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* v1.20: menu : une ligne par lien, et plus serré sur les écrans moyens */
.nav a, .nav .dd summary { white-space: nowrap; }
@media (max-width: 1240px) { .nav { gap: 16px; letter-spacing: .04em; } }
@media (max-width: 1080px) { .nav { gap: 13px; font-size: 13px; letter-spacing: .03em; } .top .btn-primary { padding-inline: 16px; } }

/* v1.20: accueil, vidéothèque internationale — chiffres par univers, écran StreamNovo stylisé (vignettes abstraites,
   aucune affiche réelle), langues écrites dans leur langue. Les chiffres suivent l'import du catalogue (inc/elementor.php). */
.vod-num span span { font: inherit; letter-spacing: inherit; color: inherit; }
.vod-kinds { list-style: none; margin: 0; padding: 0; display: grid; border-bottom: 1px solid var(--trait); }
.vod-kinds li { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); column-gap: 20px; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--trait); }
.vod-kinds b { grid-row: span 2; font: 800 40px/42px var(--font-titre); color: var(--ecran); font-variant-numeric: tabular-nums; }
.vod-kinds span { font: 600 16px/22px var(--font-texte); color: var(--ecran); }
.vod-kinds small { font: 400 13px/18px var(--font-texte); color: var(--ecran-doux); }

.vod-world { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 64px; align-items: center; }

/* Écran TV et téléphone */
.vod-screen { position: relative; padding: 0 9% 7% 0; }
.vs-tv { border-radius: 14px; padding: 9px; background: #04060c; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 30px 80px rgba(0,0,0,.55), 0 0 120px rgba(76,110,255,.12); }
.vs-ui { position: relative; overflow: hidden; border-radius: 8px; background: linear-gradient(180deg, #0d1222, #090c17); padding: 4.5% 4.5% 5%; color: var(--ecran); font-family: var(--font-texte); }
.vs-tv .vs-ui { min-height: 0; } /* hauteur du contenu : deux rangées de vignettes toujours visibles */
.vs-top { display: flex; align-items: center; gap: 4%; font: 600 clamp(7px, .8vw, 11px)/1 var(--font-texte); color: rgba(243,241,234,.55); margin-bottom: 4%; }
.vs-top svg { width: clamp(10px, 1.2vw, 16px); height: auto; fill: var(--ecran); }
.vs-top .on { color: var(--ecran); box-shadow: 0 2px 0 rgba(243,241,234,.9); padding-bottom: 3px; }
.vs-top .vs-search { margin-left: auto; width: 14%; height: 1.6em; border-radius: 999px; background: rgba(255,255,255,.08); }
.vs-hero { position: relative; aspect-ratio: 21 / 6.2; border-radius: 6px; margin-bottom: 4%; overflow: hidden;
  background: radial-gradient(120% 140% at 85% 30%, rgba(255,170,90,.55), transparent 45%), radial-gradient(90% 120% at 60% 100%, rgba(120,60,200,.6), transparent 55%), linear-gradient(110deg, #0e1530 0%, #1d2b63 45%, #3b2a6b 100%); }
.vs-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,12,23,.85), rgba(9,12,23,0) 60%); }
.vs-hero div { position: absolute; left: 5%; bottom: 14%; z-index: 1; display: grid; gap: .45em; font-size: clamp(7px, .85vw, 12px); }
.vs-hero small { font: 600 .9em/1 var(--font-etiquette); letter-spacing: .08em; text-transform: uppercase; color: rgba(243,241,234,.7); }
.vs-hero b { font: 800 2.1em/1 var(--font-titre); text-transform: uppercase; }
.vs-hero em { justify-self: start; padding: .55em 1em; border-radius: 4px; background: var(--ecran); color: #0b0f1c; font: 700 .95em/1 var(--font-texte); font-style: normal; }
.vs-ui > p { margin: 0 0 2%; font: 600 clamp(7px, .75vw, 11px)/1 var(--font-texte); color: rgba(243,241,234,.75); }
.vs-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2.2%; margin-bottom: 3%; }
.vs-row:last-child { margin-bottom: 0; }
.vs-t { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; font-style: normal; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.vs-t span { position: absolute; left: 7%; bottom: 8%; font: 700 clamp(6px, .7vw, 10px)/1 var(--font-texte); color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.vs-t.t1 { background: radial-gradient(80% 90% at 70% 20%, #ff9a5a, transparent 60%), linear-gradient(135deg, #3a1020, #861d3d); }
.vs-t.t2 { background: radial-gradient(70% 80% at 30% 30%, #ffd86b, transparent 60%), linear-gradient(135deg, #e0763a, #7a2f80); }
.vs-t.t3 { background: radial-gradient(80% 90% at 80% 80%, #5d7bff, transparent 60%), linear-gradient(160deg, #101a3d, #23356e); }
.vs-t.t4 { background: radial-gradient(70% 80% at 25% 75%, #7be0b0, transparent 55%), linear-gradient(135deg, #0f5a57, #1e8f7a); }
.vs-t.t5 { background: radial-gradient(70% 70% at 70% 30%, #ff7ad9, transparent 60%), linear-gradient(135deg, #2b1458, #6b2fb3); }
.vs-t.t6 { background: radial-gradient(80% 80% at 30% 30%, #ffc04d, transparent 55%), linear-gradient(135deg, #8a2b12, #d4561d); }
.vs-t.t7 { background: radial-gradient(70% 80% at 75% 25%, #f15a5a, transparent 55%), linear-gradient(150deg, #2a0f1a, #5e1830); }
.vs-t.t8 { background: radial-gradient(80% 90% at 30% 80%, #a8d86b, transparent 55%), linear-gradient(135deg, #1d3b1a, #3f6b2a); }
.vs-t.t9 { background: radial-gradient(70% 80% at 70% 70%, #6fc3ff, transparent 55%), linear-gradient(135deg, #0a1420, #1b3550); }
.vs-t.t10 { background: radial-gradient(80% 80% at 30% 30%, #9fb2ff, transparent 55%), linear-gradient(135deg, #1b1f4a, #3d3f8f); }
.vs-phone { position: absolute; right: 0; bottom: 0; width: 24%; border-radius: 18px; padding: 5px; background: #04060c; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 24px 60px rgba(0,0,0,.6); }
.vs-phone .vs-ui { aspect-ratio: 9 / 18; border-radius: 14px; padding: 12% 9%; }
.vs-hero-sm { aspect-ratio: 4 / 3; margin-bottom: 10%; }
.vs-hero-sm div { font-size: clamp(6px, .6vw, 9px); }
.vs-col { display: grid; grid-template-columns: 1fr 1fr; gap: 8%; }
.vs-col .vs-t { aspect-ratio: 2 / 3; }


@media (max-width: 1100px) {
  .vod-world { grid-template-columns: 1fr; gap: 40px; }
  .vod-screen { max-width: 720px; }
  .vod-kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
}
@media (max-width: 600px) {
  .vod-kinds { grid-template-columns: 1fr; }
  .vod-kinds li { grid-template-columns: 7.5rem minmax(0, 1fr); padding: 12px 0; }
  .vod-kinds b { font-size: 32px; line-height: 34px; }
  .vs-phone { width: 27%; border-radius: 12px; padding: 3px; }
  .vs-phone .vs-ui { border-radius: 10px; }
}

/* Écran avec les affiches importées (inc/vod-showcase.php) : rangées d'affiches, bandeau du dernier film */
.vs-with-posters .vs-row { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2%; }
.vs-with-posters .vs-t, .vs-poster { aspect-ratio: 2 / 3; background: #1a2036 center / cover no-repeat; }
.vs-hero-poster { background: #0b0f1c; aspect-ratio: 21 / 7.2; }
.vs-hero-bg { position: absolute; inset: -20%; background: center / cover no-repeat; filter: blur(22px) saturate(1.2); opacity: .65; transform: scale(1.1); }
.vs-hero-art { position: absolute; right: 6%; top: 10%; bottom: 10%; aspect-ratio: 2 / 3; border-radius: 4px; background: center / cover no-repeat; box-shadow: 0 10px 30px rgba(0,0,0,.5); z-index: 1; }
.vs-hero-poster::after { background: linear-gradient(90deg, rgba(9,12,23,.92) 0%, rgba(9,12,23,.55) 55%, rgba(9,12,23,.15) 100%); }
.vs-hero-poster div { z-index: 2; max-width: 55%; }
.vs-hero-poster b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vs-with-posters .vs-phone .vs-ui > p { margin: 0 0 8%; font: 600 clamp(6px, .6vw, 9px)/1 var(--font-texte); color: rgba(243,241,234,.75); }
.vs-with-posters .vs-phone .vs-col { gap: 6%; row-gap: 4%; }
.vs-with-posters .vs-phone .vs-col .vs-t { aspect-ratio: 2 / 2.7; }
/* Bandeau « New this week » : l'affiche occupe la moitié droite et se fond vers le titre (comme les applis de streaming) */
.vs-hero-poster .vs-hero-art { left: 38%; right: 0; top: 0; bottom: 0; aspect-ratio: auto; border-radius: 0; box-shadow: none; background-size: cover; background-position: center 22%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%); mask-image: linear-gradient(90deg, transparent 0%, #000 38%); }
.vs-hero-poster .vs-hero-bg { opacity: .55; }
.vs-hero-poster::after { background: linear-gradient(90deg, rgba(9,12,23,.95) 0%, rgba(9,12,23,.7) 34%, rgba(9,12,23,0) 62%), linear-gradient(0deg, rgba(9,12,23,.55), rgba(9,12,23,0) 45%); z-index: 1; }
.vs-hero-poster div { z-index: 2; }

/* v1.20: FAQ de l'accueil, lien vers la page FAQ complète */
.faq-all { margin: 24px 0 0; }

/* v1.21: sélecteur de langue — en-tête (liste déroulante comme « Partners »), menu du téléphone, pied de page */
.lang-dd { margin-left: -12px; font: 600 14px/1 var(--font-etiquette); letter-spacing: .06em; text-transform: uppercase; }
.lang-dd summary { display: flex; align-items: center; gap: 6px; height: 36px; white-space: nowrap; }
.lang-dd summary svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.lang-dd .dd-menu { min-width: 168px; text-transform: none; letter-spacing: 0; font: 600 15px/20px var(--font-texte); }
.lang-dd .dd-menu a { text-decoration: none; color: inherit; }
.lang-dd .dd-menu a[aria-current] { font-weight: 700; box-shadow: inset 3px 0 0 currentColor; }
.lang-menu { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 16px; }
.burger-menu .lang-menu a { flex: 0 0 auto; min-width: 48px; height: 40px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--trait); border-radius: var(--r-sm); font: 600 14px/1 var(--font-etiquette); letter-spacing: .06em; }
.sn-light .burger-menu .lang-menu a { border-color: rgba(16,19,28,.18); }
.burger-menu .lang-menu a[aria-current] { border-color: currentColor; }
.lang-foot { display: flex; flex-wrap: wrap; gap: 6px 20px; padding-top: 24px; }
.lang-foot a { text-decoration: none; }
.lang-foot a[aria-current] { color: var(--ecran); font-weight: 600; }
.co-foot .lang-foot { flex-basis: 100%; padding-top: 4px; }
.co-foot .lang-foot a[aria-current] { color: var(--encre); }
@media (max-width: 960px) { .lang-dd { display: none; } }
@media (max-width: 1240px) { .lang-dd { margin-left: -8px; } }
.sn-light .lang-foot a[aria-current] { color: var(--encre); }
@media (max-width: 640px) { .lang-foot { gap: 0 20px; } .lang-foot a { display: inline-flex; align-items: center; min-height: 40px; } }
