/* VirtuaSmart page CSS: the self-hosted face, the client's palette (start.mjs brand), and only what sits
   inside a visual that the kit lacks. */
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(/fonts/hanken-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(/fonts/hanken-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --p-bg: #ffffff; --p-surface: #f2f4f7; --p-ink: #12141a; --p-muted: #696b6f;
  --p-accent: #184ee2; --p-accent-ink: #ffffff; --p-action: #184ee2; --p-action-ink: #ffffff;
  --p-inv-bg: #12141a; --p-inv-surface: #1f2127; --p-inv-ink: #ffffff; --p-inv-muted: #9b9c9f;
  --p-inv-accent: #ffffff; --p-inv-accent-ink: #12141a; --p-inv-action: #ffffff; --p-inv-action-ink: #12141a;
  --font-display: "Hanken Grotesk", system-ui, sans-serif;
  --font-text: "Hanken Grotesk", system-ui, sans-serif;
  --display-weight: 400;
  --display-tracking: -0.03em;
  --display-tracking-xl: -0.038em;
}

/* the language links: in the bar on desktop, rows in the phone sheet (system.css) */
.nav__actions { gap: var(--s-2); }
@media (min-width: 1024px) { .nav__actions .btn { margin-left: var(--s-3); } }
.nav__lang { font-size: var(--t-small); color: var(--muted); }
.nav__lang[aria-current] { color: var(--ink); }
.footer__langs { display: flex; gap: var(--s-2); }
.footer__lang { color: var(--muted); }
.footer__lang[aria-current] { color: var(--ink); }

/* video stills: 16:9, the play disc on the still, the player in its place after a click (site.js) */
.panel.video, .develop--video { position: relative; aspect-ratio: 16 / 9; min-height: 0; flex: none; }
.panel.video > .frame__img, .develop--video > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
:is(.panel.video, .develop--video) > iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* picture-develops: the section's one photograph on the split's right column */
.develop { margin: 0; border-radius: var(--r-lg); overflow: hidden; height: min(560px, var(--ly-fit, 560px)); }
.develop > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.develop--video { height: auto; }
@media (max-width: 1023px) { .develop { height: auto; aspect-ratio: 16 / 9; margin-top: var(--s-7); } }

/* the studio's figures, from the current site */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); margin: 0 0 var(--s-6); }
.facts > div { display: grid; gap: var(--s-1); align-content: start; }
.facts dd { margin: 0; font: var(--display-weight) var(--t-stat)/1.1 var(--font-display); letter-spacing: var(--display-tracking); grid-row: 1; }
.facts dt { font-size: var(--t-small); color: var(--muted); }


/* the advert's five steps */
.rows--steps { counter-reset: step; }
.rows--steps > li { grid-template-columns: 32px minmax(0, 1fr); }
.rows--steps > li::before { counter-increment: step; content: counter(step); color: var(--muted); font-weight: 500; }
.rows--steps > li > p { grid-column: 2; }

/* the contact form on the surface ground beside the words */
.contact__form .form { background: var(--p-surface); padding: var(--s-7); border-radius: var(--r-lg); }
.contact__still { margin: var(--s-7) 0 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; }
.contact__still > img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1023px) { .contact__still { display: none; } .contact__form { margin-top: var(--s-6); } }
@media (max-width: 639px) { .contact__form .form { padding: var(--s-5); } }

/* the privacy page's headings sit at h2 in the outline but read as the faq rows */
.faq .faq__item > h2 { display: block; font: 500 var(--t-lead)/1.4 var(--font-text); letter-spacing: 0; }

.motion__frame { aspect-ratio: 1; }
@media (max-width: 1023px) { .motion__frame { aspect-ratio: 4 / 3; margin-top: var(--s-7); } }

/* the FAQ: the open answers left, their picture right, as tall as the answers; under them below 1024 */
.faq__still { margin: 0; border-radius: var(--r-lg); overflow: hidden; align-self: stretch; }
.faq__still > img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1023px) { .faq__still { aspect-ratio: 4 / 3; margin-top: var(--s-7); } }


/* the tablet held upright: sections whose stacked content passes one screen take two */
@media (min-width: 640px) and (max-width: 1023px) {
  #questions, #perguntas { --h: 2; }
  #langues .grid > .card { grid-column: auto / span 4; }
}

/* the close's big button keeps the one button height below 1024, where the nav's button shows beside it */
@media (max-width: 1023px) { .closing__cta .btn--xl { height: var(--btn-h); font: 500 var(--t-body)/1 var(--font-text); letter-spacing: 0; } }

/* a phone gives each video a square crop round the presenter, so the three fill the section's two screens */
@media (max-width: 639px) { .panel.video { aspect-ratio: 1; } }

/* the tablet keeps the three videos in one row, each a portrait crop round the presenter */
@media (min-width: 640px) and (max-width: 1023px) { #langues .panel.video { aspect-ratio: 3 / 4; } }

/* pinned-chapters at rest on a phone: 4:3 pictures, and the section keeps its two screens so the next heading stays out */
@media (max-width: 639px) {
  main section[data-moment="pinned-chapters"]:not(.is-live) .mo-pc__visual > img { aspect-ratio: 10 / 9; max-height: none; }
  main > section[data-moment="pinned-chapters"][data-moment]:not(.is-live) { min-height: calc(2 * 100lvh); }
}

/* the YouTube play control covers the whole still (one big target), its disc in the middle; our own class, since
   layout.js hides a .ly-play button that has no local film */
.yt-play { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; padding: 0; border: 0; background: none; cursor: pointer; }
.yt-play:focus-visible { outline: 2px solid var(--action); outline-offset: -4px; }
.yt-play:hover .ly-play__disc, .yt-play:focus-visible .ly-play__disc { transform: scale(1.06); }
.yt-play .ly-play__disc { box-shadow: 0 2px 12px rgb(0 0 0 / .18); }
