@font-face {
  font-family: Manrope;
  src: url("/marca/fontes/manrope.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("/marca/fontes/barlow-semicondensed.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  font-family: Manrope, system-ui, sans-serif;
  color: #222C24;
  --ink: #222C24;
  --muted: #505F53;
  --canvas: #F2F3ED;
  --surface: #FBFBF7;
  --line: #DCE1D7;
  --night: #192820;
  --accent: #305B41;
  --accent-hover: #224631;
  --accent-light: #E6EDE0;
  --focus: #2E7551;
  --lime: #D6ED9B;
  --lime-hover: #E2F6B4;
  --lilac: #EBE8F1;
  --plum: #555064;
  --radius: .75rem;
  --panel-shadow: none;
  --display-font: "Barlow Semi Condensed", Manrope, sans-serif;
}

h1, .overview-heading h1 { font-size: clamp(2rem, 3.5vw, 3.05rem); font-weight: 800; letter-spacing: -.055em; }
h2, h3 { letter-spacing: -.027em; }
main { max-width: 88rem; padding-top: clamp(1.25rem, 3vw, 2.5rem); }
.panel, .overview-next, .student-hero, .achievement { box-shadow: none; }
.pill { border-radius: .35rem; }
.btn, .view-toggle { border-radius: .5rem; }
.secondary { border-color: #C9D1C6; }
.sidebar { background: #18251D; padding-inline: 1rem; --focus: var(--lime); }
.brand { margin-bottom: 2.65rem; }
.brand img { width: min(10rem, 100%); }
.nav-item { min-height: 46px; font-size: .875rem; border-radius: .45rem; }
.sidebar .nav-item.active { color: #F0F6E7; background: #FFFFFF10; border-inline-start-color: var(--lime); }
.sidebar .nav-item.active svg { color: var(--lime); }
.sidebar-foot { border-top-color: #ffffff28; }
.identity-mark { color: #EFF5E7; background: #FFFFFF0B; border-radius: .45rem; border-color: #ffffff2E; }
.topbar { min-height: 62px; background: var(--canvas); }
.topbar-label strong { font-size: .8125rem; }
.topbar-label .sync-state { color: #425943; background: transparent; border: 1px solid var(--line); border-radius: .35rem; }

.page-heading, .overview-heading { margin-bottom: 1.35rem; }
.overview-date, .today-heading time {
  color: var(--muted); font-size: .875rem; font-weight: 650;
}
.today-heading time { display: block; margin-bottom: .25rem; }
.today-heading time::first-letter { text-transform: uppercase; }
.overview-next {
  display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 1rem 1.6rem; min-height: 7.7rem;
  margin-bottom: 0; border-radius: var(--radius); background: var(--night);
}
.overview-next[data-appointment] { grid-template-columns: auto minmax(0,1fr) auto; }
.overview-next-line { display: grid; align-content: center; align-self: stretch; gap: .125rem; padding-right: 1.55rem; border-right: 1px solid #F1F5EC38; }
.overview-next-line time {
  margin: 0; font: 700 clamp(2.35rem, 4.6vw, 3.8rem)/.9 var(--display-font); letter-spacing: -.025em;
}
.overview-next-line span { color: #DDE8DA; font-size: .8125rem; font-weight: 600; }
.overview-kicker { font-size: .7875rem; color: #DDE8DA; }
.overview-next h2 { margin-top: .28rem; font-size: clamp(1.25rem, 2.6vw, 1.75rem); }
.overview-next-meta { margin-top: .25rem; color: #DDE8DA; font-size: .8125rem; }
.overview-grid {
  grid-template-columns: minmax(0,1.04fr) minmax(0,1fr);
  grid-template-areas: "week week" "priorities agenda";
  row-gap: 1.1rem;
}
.overview-week > .overview-panel-head { margin: .15rem 0 .55rem; }
.overview-metrics { gap: 0; overflow: hidden; grid-template-columns: repeat(4,minmax(0,1fr)); }
.overview-metric {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; width: 100%;
  justify-content: flex-start; gap: .2rem; min-height: 7.2rem; padding: .85rem .95rem;
  border: 0; border-radius: 0; background: transparent; color: var(--ink);
}
.overview-metric + .overview-metric { border-left: 1px solid var(--line); }
.overview-metric:hover { background: var(--accent-light); }
.overview-metric:focus-visible { outline-offset: -3px; }
.overview-metric > strong {
  font: 700 2.35rem/.95 var(--display-font); letter-spacing: -.02em; margin-top: .23rem;
  font-variant-numeric: tabular-nums;
}
.overview-metric small { font-size: .75rem; color: var(--muted); }
.over-metric-heading { display: flex; align-items: center; gap: .4rem; color: var(--muted); font-size: .82rem; font-weight: 750; }
.over-metric-heading svg, .over-metric-arrow svg { flex: none; color: var(--accent); }
.over-metric-arrow { position: absolute; right: .62rem; bottom: .55rem; }
.overview-panel > .overview-panel-head { padding-inline: .9rem; }
.overview-panel .data-row .symbol { border-radius: .45rem; }

.student-shell main { max-width: 60rem; }
.workout-hero {
  --photo: url("/marca/treino-victor-freitas.webp");
  display: flex; align-items: center; min-height: clamp(14rem,25vw,18rem); padding: clamp(1.3rem,3.2vw,2.3rem);
  border-radius: var(--radius); background: var(--night);
  background-image: linear-gradient(90deg, #192820 5%, #192820 39%, #19282080 70%, #19282024 100%), var(--photo);
  background-position: center, right 56%; background-size: cover, 69% auto; background-repeat: no-repeat;
}
.workout-hero > div { width: min(32rem,80%); }
.student-hero h2, .achievement h1 { font: 700 clamp(2.6rem,6vw,4.1rem)/.95 var(--display-font); letter-spacing: -.02em; }
.student-hero .hero-kicker {
  display: flex; align-items: center; gap: .42rem; color: var(--lime);
  font-size: .8125rem; font-weight: 750; letter-spacing: .01em;
}
.workout-hero .workout-hero-detail { max-width: 38ch; margin-bottom: 1.3rem; color: #EFF4E9; font-size: .875rem; }
.workout-hero .lime { --focus: #fff; }
.student-entry { background: var(--night); border-radius: var(--radius); }
.student-entry h2 { font-size: clamp(2rem,4vw,2.9rem); }
.week-progress { display: grid; gap: .24rem; width: min(6.5rem,24vw); color: var(--accent-hover); }
.week-progress strong { justify-self: end; font: 700 1.75rem/.95 var(--display-font); letter-spacing: -.025em; }
.week-progress strong span { font-size: 1.1rem; color: var(--muted); }
.week-progress progress { display: block; width: 100%; height: .36rem; }
.week-workout > summary .symbol { border-radius: .45rem; }
.student-week-head > div:first-child { min-width: 0; }
.student-session-title h1 { font: 700 clamp(2.6rem,5vw,3.65rem)/.98 var(--display-font); letter-spacing: -.025em; }
.student-session .single-movement { border-radius: var(--radius); }
.guided-exercise .exercise-top h2 { font-size: clamp(1.32rem,3.6vw,1.9rem); }
.student-session-bar .primary { background: var(--lime); color: #1D3022; border-color: #A6BD73; }
.student-session-bar .primary:hover { background: var(--lime-hover); }
.achievement { border-radius: var(--radius); }

.gate {
  padding: clamp(1rem,4vw,3.5rem); color: var(--ink); background: var(--canvas);
}
.gate > section {
  display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); align-items: stretch; gap: 0;
  width: min(100%,59rem); max-width: none; min-height: 27rem; padding: 0; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
}
.gate-mark {
  display: flex; align-items: flex-start; justify-content: flex-start; min-height: 10.5rem; padding: clamp(1.2rem,3vw,2.5rem);
  background: linear-gradient(145deg,#18271FE8 7%,#18271F15 68%), url("/marca/treino-victor-freitas.webp") center center / cover;
}
.gate-mark img { max-width: 100%; height: auto; }
.gate-content { display: grid; align-content: center; gap: 1.15rem; padding: clamp(1.3rem,4vw,3rem); }
.gate h1 { font: 700 clamp(2.65rem,6vw,4.4rem)/.94 var(--display-font); letter-spacing: -.02em; }
.gate p { color: var(--muted); font-size: .95rem; }
.gate .action-row { gap: .55rem; }

@media (max-width: 62rem) {
  .overview-grid { grid-template-columns: 1fr; grid-template-areas: "week" "priorities" "agenda"; }
}
@media (max-width: 47.5rem) {
  .sidebar { background: var(--surface); padding-inline: .375rem; --focus: #2E7551; }
  .sidebar .nav-item { border: 0; color: var(--muted); font-size: clamp(.68rem,2.35vw,.78rem); }
  .sidebar .nav-item.active { color: var(--accent-hover); background: var(--accent-light); }
  .sidebar .nav-item.active svg { color: var(--accent-hover); }
  .topbar { background: var(--night); }
  .topbar-actions .view-toggle { border-color: #F0F6E63B; }
  .overview-heading { align-items: flex-start; }
  .overview-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .overview-metric { min-height: 6rem; padding: .67rem .7rem; }
  .overview-metric:nth-child(odd) { border-left: 0; }
  .overview-metric:nth-child(n+3) { border-top: 1px solid var(--line); }
  .over-metric-heading { font-size: .78rem; }
  .overview-metric > strong { font-size: 2rem; }
}
@media (max-width: 35rem) {
  .overview-next[data-appointment] { grid-template-columns: auto minmax(0,1fr); column-gap: .8rem; }
  .overview-next:not([data-appointment]) { grid-template-columns: 1fr; }
  .overview-next-line { padding-right: .75rem; }
  .overview-next > .btn { grid-column: 1/-1; justify-self: start; }
  .today-heading { flex-direction: row; align-items: flex-end; gap: .55rem; }
  .today-heading .student-select { max-width: 46%; padding: .4rem; }
  .workout-hero {
    min-height: 15.2rem; background-image: linear-gradient(90deg, #192820 0%, #192820E8 41%, #1928204D 100%), var(--photo);
    background-position: center, 69% center; background-size: cover, auto 100%;
  }
  .workout-hero > div { width: 90%; }
  .workout-hero h2 { max-width: 13ch; }
  .gate > section { grid-template-columns: 1fr; min-height: auto; }
  .gate-mark { background-position: center, center 57%; }
}
@media (max-width: 24rem) {
  .today-heading { align-items: flex-start; flex-direction: column; }
  .today-heading .student-select { max-width: 100%; }
}
