@font-face {
  font-family: "Barlow Condensed";
  src: url("barlow-condensed-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #111214;
  --panel: #1b1d20;
  --white: #faf9f6;
  --muted: #c2c3c6;
  --gold: #fab120;
  --line: #3a3c40;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--ink);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body, figure, h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #73baff; outline-offset: 4px; }
.wrap { width: min(1264px, calc(100% - clamp(40px, 9vw, 144px))); margin-inline: auto; }
.skip, .sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.skip:focus { z-index: 30; inset: 8px auto auto 8px; width: auto; height: auto; padding: 12px 18px; clip-path: none; background: var(--white); color: var(--ink); }

html { scroll-padding-top: 78px; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
.masthead { border-bottom: 1px solid var(--line); background: var(--ink); }
.masthead.menu-ready { position: sticky; top: 0; z-index: 15; }
.masthead:has(.menu-toggle[aria-expanded="true"]) { z-index: 21; }
.masthead-inner, .masthead nav, .masthead a, .hero-actions, .button, .example-link,
.footer-inner, .powered-by, .contact-inner { display: flex; align-items: center; }
.masthead-inner { min-height: 77px; justify-content: space-between; gap: 24px; }
.brand img { width: clamp(106px, 9.5vw, 138px); height: auto; }
.masthead nav, .menu-sections { display: flex; gap: clamp(14px, 1.7vw, 28px); }
.menu-toggle, .menu-cross, .menu-toggle[aria-expanded="true"] .menu-bars { display: none; }
.menu-toggle[aria-expanded="true"] .menu-cross { display: block; }
.masthead a { min-height: 44px; font-size: 14px; font-weight: 600; text-decoration: none; }
.masthead .section-link { color: var(--muted); }
.masthead .nav-contact { gap: 6px; padding-inline: 14px; border: 1px solid #65522d; border-radius: 4px; color: var(--gold); }
.masthead .nav-contact:hover { background: var(--gold); color: var(--ink); }
.masthead .section-link:hover, .menu-toggle:hover { color: var(--gold); }
@media (max-width: 1080px) {
  html { scroll-padding-top: 65px; }
  .masthead-inner { min-height: 64px; position: relative; gap: 10px; }
  .masthead:not(.menu-ready) .masthead-inner,
  .masthead:not(.menu-ready) nav, .masthead:not(.menu-ready) .menu-sections { flex-wrap: wrap; }
  .menu-toggle:not([hidden]) {
    display: flex; align-items: center; gap: 7px; min-height: 44px; border: 0; padding: 0;
    color: var(--white); background: none; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  }
  .menu-ready .menu-sections {
    position: absolute; top: 100%; right: 0; display: grid; gap: 0;
    width: min(100%, 340px); padding: 6px 18px;
    max-height: calc(100vh - 74px); max-height: calc(100dvh - 74px); overflow-y: auto;
    overscroll-behavior: contain; border: 1px solid var(--line); border-radius: 0 0 6px 6px;
    background: var(--panel); box-shadow: 0 16px 32px #0006;
  }
  .menu-ready .menu-toggle[aria-expanded="false"] + .menu-sections { display: none; }
  .menu-ready .section-link { min-height: 48px; color: var(--white); }
  .menu-ready .section-link + .section-link { border-top: 1px solid var(--line); }
}
@media (max-width: 400px) {
  .brand img { width: 91px; }
  .masthead nav { gap: 10px; }
  .masthead .nav-contact { padding-inline: 9px; }
}

.hero { display: grid; grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr); align-items: center; gap: clamp(32px, 5vw, 84px); padding-block: clamp(46px, 5.3vw, 82px); }
.kicker { display: flex; gap: 12px; align-items: center; font-size: 12px; line-height: 1.3; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; color: var(--gold); }
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
h1, main h2, .features h3, .platform > h3 { font-family: var(--display); font-weight: 700; }
h1 { margin-block: 23px; text-transform: uppercase; font-size: clamp(76px, 7.5vw, 112px); line-height: .88; letter-spacing: -.018em; }
h1 em { color: var(--gold); font-style: normal; }
.lead { color: var(--muted); max-width: 44ch; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.52; }
.hero-actions { gap: 14px 24px; flex-wrap: wrap; margin-top: 28px; }
.button, .example-link { min-height: 46px; gap: 10px; text-decoration: none; font-size: 15px; font-weight: 700; }
.button { width: fit-content; justify-content: center; padding: 14px 21px; border-radius: 4px; }
.button span { font-size: 17px; line-height: 1; }
.whatsapp-action { position: relative; display: flex; align-items: stretch; gap: 6px; flex: none; max-width: 100%; }
.whatsapp-action .button { flex: 0 1 auto; }
.copy-message:not([hidden]) {
  display: grid; place-items: center; flex: 0 0 44px; width: 44px; padding: 0;
  color: var(--gold); background: transparent; border: 1px solid #716041; border-radius: 4px; cursor: pointer;
}
.contact .copy-message { color: var(--ink); border-color: #84601a; }
.copy-message:hover { border-color: currentColor; }
.copy-result:not(:empty) {
  position: absolute; z-index: 2; bottom: calc(100% + 6px); right: 0; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 4px; background: var(--panel); color: var(--white);
  font-size: 14px; line-height: 1.4; box-shadow: 0 4px 16px #0003;
}
@media (max-width: 360px) {
  .whatsapp-action .button { padding-inline: 12px; font-size: 14px; }
}
.primary { background: var(--gold); color: #171511; }
.primary:hover { background: #ffc556; }
.example-link { width: fit-content; }
.example-link:hover { color: var(--gold); }
.play { display: grid; place-content: center; width: 25px; height: 25px; border: 1px solid #797a7c; border-radius: 50%; }
.play::after { content: ""; margin-left: 2px; border-block: 4px solid transparent; border-left: 6px solid currentColor; }

.broadcast { min-width: 0; border-bottom: 1px solid var(--line); }
.scene-trigger, .card-zoom, .scene-toolbar button {
  border: 0; padding: 0; background: none; color: inherit; font: inherit;
}
.scene-trigger { display: block; width: 100%; }
.scene-trigger:enabled, .card-zoom { cursor: zoom-in; }
.broadcast-picture { display: block; position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #282824; }
.race-photo { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.screen-logo, .race-conditions, .race-graphic { position: absolute; z-index: 1; height: auto; }
/* RunTV Desktop, 1920 × 1080. Relógio e clima ocupam 122 px, com 6 px até o logo. */
.race-conditions, .screen-logo { right: calc(100% * 36 / 1920); width: calc(100% * 268 / 1920); }
.race-conditions { top: calc(100% * 36 / 1080); }
.screen-logo { top: calc(100% * 164 / 1080); filter: drop-shadow(0 1px 3px #111b); }
.race-graphic { left: 3%; bottom: 5%; width: 75%; }
.broadcast-picture::after {
  content: ""; position: absolute; inset: 43% 0 0; pointer-events: none;
  background: linear-gradient(0deg, rgb(12 14 16 / .42), transparent 68%);
}
.broadcast figcaption { display: flex; gap: 6px 10px; align-items: center; flex-wrap: wrap; padding-block: 6px; color: var(--muted); font-size: 12px; }
.card-zoom { min-height: 32px; margin-left: auto; color: var(--white); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.card-zoom:disabled, .media-dialog:not([open]) { display: none; }
.card-zoom:hover { color: var(--gold); }
html:has(.media-dialog[open]) { overflow: hidden; }
.media-dialog {
  width: min(1440px, calc(100% - 16px), calc((100vh - 72px) * 16 / 9));
  width: min(1440px, calc(100% - 16px), calc((100dvh - 72px) * 16 / 9));
  max-width: none; max-height: calc(100% - 16px); margin: auto; padding: 0; border: 0;
  border-radius: 6px; background: var(--ink); color: var(--white);
}
.media-dialog::backdrop { background: rgb(5 6 8 / .87); }
.scene-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  min-height: 52px; margin: 0; padding-inline: 14px 6px; color: var(--muted); font-size: 13px;
}
.scene-toolbar button {
  display: flex; align-items: center; gap: 8px; min-height: 44px; padding-inline: 10px;
  color: var(--white); font-weight: 600; cursor: pointer;
}
.scene-toolbar button:hover { color: var(--gold); }
.scene-toolbar button:focus-visible { outline-offset: -3px; }
.scene-toolbar button span { font-size: 24px; font-weight: 400; }
.signal { display: inline-flex; align-items: flex-end; gap: 2px; height: 11px; color: var(--gold); }
.signal i { width: 2px; height: 4px; background: currentColor; }
.signal i:nth-child(2) { height: 6px; }
.signal i:nth-child(3) { height: 8px; }
.signal i:nth-child(4) { height: 11px; }

.service, .highlights, .partner, .apps { padding-block: clamp(54px, 5.8vw, 86px); }
.service, .mobile-intro { color-scheme: light; background: #f1f0eb; color: var(--ink); }
.service .kicker, .mobile-intro .kicker { color: #4d4b45; }
.service .kicker::before, .mobile-intro .kicker::before { background: #a35b00; }
main h2 { margin-top: 14px; font-size: clamp(40px, 4.1vw, 62px); line-height: .99; letter-spacing: -.012em; }
.features, .platforms { display: grid; gap: clamp(24px, 3.5vw, 60px); margin-top: 36px; }
.features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.features article { border-top: 1px solid #b5b5ac; padding-top: 19px; }
.features h3, .platform > h3 { font-size: 29px; line-height: 1.12; }
.features p, .platform p, .contact p { margin-top: 9px; font-size: 16px; line-height: 1.56; }
.features p { color: #494a47; }
.highlight-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin-top: 30px; }
.highlight { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); text-decoration: none; }
.highlight img { width: 100%; height: auto; }
.highlight-caption { display: flex; flex: 1; align-items: center; gap: 14px; padding: 16px clamp(14px, 1.6vw, 24px); }
.highlight-title { text-wrap: balance; font: 700 clamp(21px, 2vw, 30px)/1.1 var(--display); }
.highlight .play { flex: none; width: 40px; height: 40px; border: none; background: var(--gold); color: var(--ink); }
.highlight .play::after { border-block-width: 7px; border-left-width: 11px; margin-left: 4px; }
.highlight:hover, .highlight:focus-visible { border-color: var(--gold); color: var(--gold); }
.media-dialog iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #000; }
.youtube-link { text-underline-offset: 3px; }
.youtube-link:hover { color: var(--gold); }
.section-intro { margin-top: 16px; color: var(--muted); max-width: 72ch; font-size: 16px; line-height: 1.56; }
.mobile-intro { overflow: hidden; padding-block: clamp(44px, 4.6vw, 72px); }
.mobile-layout {
  container-type: inline-size;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  grid-template-areas: "opening phone" "roles phone";
  gap: 30px clamp(30px, 5vw, 82px);
}
.mobile-opening { grid-area: opening; align-self: end; }
.mobile-opening h2 { text-wrap: balance; }
.mobile-opening > p:last-child { margin-top: 20px; max-width: 55ch; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; }
.mobile-roles { grid-area: roles; max-width: 58ch; }
.mobile-roles h3 { font: 700 clamp(24px, 2.2vw, 30px)/1.12 var(--display); }
.mobile-roles p { margin-top: 8px; color: #494a47; line-height: 1.56; }
.mobile-roles p + h3 { margin-top: 22px; }
.mobile-roles .button { margin-top: 28px; }
.mobile-preview { grid-area: phone; position: relative; isolation: isolate; align-self: center; text-align: center; }
.mobile-preview::before {
  content: ""; position: absolute; z-index: -1; top: 22%; bottom: 22%; left: 9%;
  right: 0; right: calc(50cqw - 50vw);
  background: var(--gold); border-radius: 999px 0 0 999px;
  box-shadow: 0 0 0 3px #f1f0eb, 0 0 0 14px var(--gold), 0 0 0 17px #f1f0eb, 0 0 0 28px var(--gold);
}
.mobile-preview img { width: min(100%, 324px); height: auto; margin-inline: auto; filter: drop-shadow(0 12px 14px rgb(37 27 12 / .18)); }
.mobile-preview figcaption { margin-top: 22px; color: #575650; font-size: 13px; }
#baixar-mobile { scroll-margin-top: 24px; }
#baixar-mobile:target { border-color: var(--gold); }
.partner { background: #1c1b1c; border-bottom: 1px solid var(--line); }
.partner-layout {
  display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1fr);
  grid-template-areas: "portrait intro" "portrait details"; gap: 24px clamp(32px, 6vw, 96px);
}
.partner-intro { grid-area: intro; align-self: end; }
.partner-intro h2 { text-wrap: balance; }
.partner-intro > p:last-child { margin-top: 20px; max-width: 52ch; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; }
.partner-portrait { grid-area: portrait; position: relative; overflow: hidden; align-self: center; border-radius: 8px; background: var(--ink); }
.partner-photo { width: 100%; height: auto; aspect-ratio: 1 / 1.1; object-fit: cover; object-position: 50% 24%; }
.partner-portrait figcaption {
  display: flex; align-items: center; justify-content: space-between; position: absolute; inset: auto 0 0;
  padding: 23% 6% 6%; background: linear-gradient(transparent, rgb(8 9 11 / .84) 62%, #090a0c);
  font: 700 clamp(22px, 2.3vw, 34px)/1.1 var(--display);
}
.partner-portrait figcaption img { width: 42%; height: auto; }
.partner-details { grid-area: details; }
.partner-details p { max-width: 58ch; color: var(--muted); font-size: 16px; line-height: 1.56; }
.partner-details strong { color: var(--white); }
.partner-details p + p { margin-top: 14px; }
.partner-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 24px; margin-top: 28px; }
.events { color-scheme: light; background: #f1f0eb; color: var(--ink); padding-block: clamp(40px, 4.3vw, 68px); }
.events-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.events h2 { margin: 0; font-size: clamp(36px, 3.5vw, 52px); text-wrap: balance; }
.events-list {
  --visible: 4; --gap: 16px;
  grid-column: 1 / -1; display: grid; grid-auto-flow: column; gap: var(--gap);
  grid-auto-columns: calc((100% + var(--gap)) / var(--visible) - var(--gap));
  list-style: none; margin: 0; padding: 0; overflow-x: auto; scroll-snap-type: x mandatory;
}
@media (prefers-reduced-motion: no-preference) {
  .events-list:has(> li[aria-hidden="true"]) { scrollbar-width: none; }
}
.events-list li { scroll-snap-align: start; text-align: center; }
.event-mark {
  display: grid; place-items: center; height: clamp(140px, 11vw, 170px);
  background: var(--panel); border-radius: 6px;
}
.event-mark img { width: 78%; height: 100px; object-fit: contain; filter: brightness(0) invert(1); }
.event-mark .event-spcity { width: 60%; }
.events-list li > span { display: block; padding: 14px 8px 0; font-size: 15px; line-height: 1.4; font-weight: 600; text-wrap: balance; }
.events :focus-visible { outline: 3px solid #925100; outline-offset: 4px; }
@media (max-width: 1080px) {
  .events-list { --visible: 3; }
}
@media (max-width: 820px) {
  .events-list { --visible: 2; }
  .events-layout { gap: 22px; }
}
@media (max-width: 520px) {
  .events-list { --visible: 1; }
  .event-mark { height: 168px; }
  .event-mark img { max-width: 260px; height: 116px; }
}
.platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.platform { padding: clamp(20px, 2.7vw, 39px); background: var(--panel); border: 1px solid #33353a; border-radius: 4px; }
.platform > h3 { font-size: 34px; }
.platform p { color: var(--muted); max-width: 48ch; }
.platform-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.platform-badge {
  display: flex; align-items: center; gap: 8px; width: 128px; height: 54px; padding: 9px 10px;
  border: 1px solid #414147; border-radius: 6px; background: #161618; color: #fff;
}
.platform-badge img { width: 22px; height: 24px; object-fit: contain; flex-shrink: 0; }
a.platform-badge { position: relative; border-color: #85858e; background: #1b1b1e; text-decoration: none; }
a.platform-badge::after { content: "↗"; position: absolute; top: 5px; right: 6px; color: #b0b0b9; font-size: 10px; line-height: 1; }
a.platform-badge:hover { border-color: var(--gold); background: #22221f; }
a.platform-badge:hover::after { color: var(--gold); }
.badge-copy { display: flex; flex-direction: column; gap: 4px; white-space: nowrap; }
.badge-copy small { font-size: 9px; line-height: 1; }
.badge-copy strong { font-size: 13px; line-height: 1.1; font-weight: 600; }
.tablet-extension { margin-top: 24px; border-left: 2px solid #64522e; padding-left: 15px; }
.tablet-extension h4 { margin: 0; font-size: 15px; }
.tablet-extension p { margin-top: 4px; font-size: 14px; }
.tablet-extension .platform-badges { margin-top: 12px; }

.contact { background: var(--gold); color: var(--ink); }
.contact-inner { gap: 38px; justify-content: space-between; padding-block: clamp(40px, 4.9vw, 74px); }
.contact h2 { margin: 0; }
.contact p { max-width: 63ch; color: #3d2d12; }
.dark { color: var(--white); background: var(--ink); flex: none; }
.dark:hover { background: #303033; }
.footer { color: var(--muted); font-size: 13px; }
.footer-inner { justify-content: space-between; gap: 14px 36px; padding-block: 25px; flex-wrap: wrap; }
.powered-by { gap: 8px; }
.powered-by img { width: 114px; height: auto; }
.footer a { text-underline-offset: 4px; text-decoration-color: #65666b; }
.footer a:hover { color: var(--gold); }

@media (max-width: 980px) {
  .hero { grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); gap: 26px; }
  h1 { font-size: clamp(64px, 8.4vw, 82px); }
  .hero-actions { gap: 6px 16px; }
  .features { gap: 22px; }
}
@media (max-width: 740px) {
  .wrap { width: min(620px, calc(100% - 40px)); }
  .hero { grid-template-columns: 1fr; gap: 26px; padding-block: 42px 30px; }
  h1 { font-size: clamp(70px, 12vw, 88px); margin-block: 18px; }
  .lead { max-width: 48ch; }
  .hero-actions { margin-top: 22px; gap: 6px 20px; }
  .mobile-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "opening" "phone" "roles"; }
  .mobile-preview img { width: min(96%, 305px); }
  .mobile-preview::before { left: 0; }
  .partner-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "portrait" "details"; }
  .partner-photo { aspect-ratio: 1; }
  .features, .highlight-grid, .platforms { grid-template-columns: 1fr; margin-top: 25px; }
  .features { gap: 20px; }
  .features article { padding-top: 15px; }
  .features p, .platform p { max-width: 57ch; }
  .service, .highlights, .partner, .apps { padding-block: 44px; }
  .contact-inner { flex-direction: column; align-items: flex-start; gap: 22px; }
}
@media (max-width: 520px) {
  h1 { font-size: clamp(58px, 18vw, 70px); }
  .hero-actions { gap: 3px 16px; }
  .hero-actions a { font-size: 14px; }
  .platform { padding: 20px 15px; }
  .tablet-extension { padding-left: 10px; }
  .broadcast figcaption { font-size: 11px; gap: 7px; }
}
