/* Grades principais: coluna única que nunca cresce além da tela; as media queries abaixo definem as colunas largas. */
.about, .structure, .schedule, .student, .contact { grid-template-columns: minmax(0, 1fr); }
.about > *, .structure > *, .schedule > *, .student > *, .contact > * { min-width: 0; }

/* ===================== Cabeçalho ===================== */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--night) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px);
  color: var(--ink); border-bottom: 1px solid transparent; transition: border-color .25s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.hdr-row { display: flex; align-items: center; gap: 24px; height: var(--hdr-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand-logo { height: 48px; width: auto; object-fit: contain; }
.brand-mark { display: grid; grid-template-rows: auto auto; width: 40px; height: 40px; border: 1.5px solid var(--ink); line-height: 1; text-align: center; }
.brand-mark span { font: 600 9px/1 var(--f-mono); letter-spacing: .2em; padding: 4px 0 0 .2em; color: var(--ink-2); }
.brand-mark b { align-self: center; font-weight: 900; font-size: 19px; letter-spacing: -.02em; font-variation-settings: "wdth" 80; background: var(--brand); color: var(--brand-ink); margin: 3px; padding: 2px 0 1px; }
.brand-text { display: grid; gap: 3px; line-height: 1; }
.brand-text strong { font-size: 17px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; font-variation-settings: "wdth" 115; }
.brand-text small { font: 500 9.5px/1 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.nav { display: none; gap: 2px; margin-left: auto; }
.nav a { position: relative; padding: 8px 12px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); text-decoration: none; transition: color .15s; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out); }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.nav a[aria-current]::after { transform: scaleX(1); }
.hdr-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.hdr-link { display: none; align-items: center; gap: 8px; padding: 8px 10px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.hdr-link:hover { color: var(--ink); }
.hdr-link .ico { width: 18px; height: 18px; }
@media (max-width: 420px) { .hdr-book span { display: none; } .hdr-book { padding: 0 11px; } .brand-text small { display: none; } }
@media (min-width: 1100px) {
  .nav { display: flex; } .hdr-actions { margin-left: 8px; } .menu-btn { display: none; }
  .hdr-link { display: inline-flex; padding-left: 16px; border-left: 1px solid var(--line); }
}

/* Menu móvel */
.drawer { position: fixed; inset: 0; z-index: 80; pointer-events: none; overflow: hidden; }
.drawer.is-open { pointer-events: auto; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(8, 10, 13, .5); opacity: 0; transition: opacity .3s var(--ease); }
.drawer.is-open .drawer-scrim { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(400px, 100%); background: var(--bg); color: var(--ink);
  display: flex; flex-direction: column; gap: 24px; transform: translateX(100%); transition: transform .4s var(--ease-out);
  padding: calc(14px + env(safe-area-inset-top, 0px)) max(20px, env(safe-area-inset-right, 0px)) calc(24px + env(safe-area-inset-bottom, 0px)) 20px;
}
.drawer.is-open .drawer-panel { transform: none; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; }
.drawer-nav { display: grid; border-top: 1px solid var(--line); }
.drawer-nav a {
  display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line);
  font-size: 24px; font-weight: 750; text-transform: uppercase; font-variation-settings: "wdth" 110; text-decoration: none;
  opacity: 0; transform: translateX(16px); transition: opacity .35s var(--ease-out), transform .35s var(--ease-out), color .15s;
}
.drawer.is-open .drawer-nav a { opacity: 1; transform: none; transition-delay: calc(var(--i) * 35ms + 80ms); }
.drawer-nav a .ico { color: var(--ink-3); }
.drawer-nav a:hover { color: var(--brand); }
.drawer-panel .btn-block { margin-top: auto; }

/* ===================== Banner principal ===================== */
.hero { position: relative; background: var(--night); color: var(--ink); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; animation: hero-zoom 14s var(--ease-out) both; }
@keyframes hero-zoom { from { transform: scale(1.06); } }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8, 10, 13, .86) 0%, rgba(8, 10, 13, .5) 55%, rgba(8, 10, 13, .25) 100%),
              linear-gradient(0deg, rgba(8, 10, 13, .8) 0%, transparent 40%);
}
.hero-media.is-placeholder {
  background:
    linear-gradient(rgba(238, 240, 237, .045) 1px, transparent 1px) 0 0 / 100% 48px,
    linear-gradient(90deg, rgba(238, 240, 237, .045) 1px, transparent 1px) 0 0 / 48px 100%,
    var(--night);
}
.hero-media.is-placeholder::after { background: linear-gradient(90deg, var(--night) 10%, transparent 75%); }
.hero-ph-label {
  position: absolute; right: max(32px, env(safe-area-inset-right, 0px)); top: 28px; z-index: 1; display: flex; gap: 8px; align-items: center;
  font: 500 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3);
  border: 1px dashed var(--line-2); padding: 8px 10px;
}
.hero-ph-label .ico { width: 15px; height: 15px; }
@media (max-width: 720px) { .hero-ph-label { left: var(--gutter-l); right: auto; top: 16px; } }
.hero-inner { min-height: clamp(560px, calc(92svh - var(--hdr-h)), 860px); display: flex; flex-direction: column; justify-content: flex-end; gap: clamp(40px, 7vh, 80px); padding-block: clamp(80px, 12vh, 140px) 0; }
.hero-copy { max-width: 980px; }
.hero-eyebrow { font: 500 12px/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); display: flex; align-items: center; gap: 12px; }
.hero-eyebrow::before { content: ""; width: 32px; height: 2px; background: var(--brand); }
.hero-title {
  margin-top: 22px; font-size: var(--fs-hero); font-weight: 900; line-height: .84; letter-spacing: -.025em;
  text-transform: uppercase; font-variation-settings: "wdth" 88; display: flex; flex-wrap: wrap; column-gap: .18em;
}
.hero-title .is-accent { color: transparent; -webkit-text-stroke: max(1.5px, .012em) var(--brand); }
.hero-lead { margin-top: 26px; max-width: 46ch; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--ink-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
@media (max-width: 480px) { .hero-cta .btn { flex: 1 1 100%; } }

.scoreboard { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.scoreboard > div { padding: 18px 16px 22px 0; display: grid; gap: 8px; align-content: start; }
.scoreboard > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
.scoreboard > div:nth-child(n+3) { border-top: 1px solid var(--line); }
.scoreboard dt { font: 500 11px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.scoreboard dd { font-size: 16px; font-weight: 600; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
@media (min-width: 860px) {
  .scoreboard { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .scoreboard > div { padding: 22px 20px 30px; border-left: 1px solid var(--line); }
  .scoreboard > div:first-child { padding-left: 0; border-left: 0; }
  .scoreboard > div:nth-child(n+3) { border-top: 0; }
  .scoreboard dd { font-size: 18px; }
}

/* ===================== O CT ===================== */
.about { display: grid; gap: clamp(40px, 6vw, 88px); align-items: center; }
@media (min-width: 960px) { .about { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.about-lead { margin-top: 28px; font-size: clamp(19px, 1.9vw, 23px); line-height: 1.45; font-weight: 500; letter-spacing: -.005em; max-width: 34ch; text-wrap: pretty; }
.about-body { margin-top: 18px; color: var(--ink-2); max-width: 54ch; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 40px; border-top: 2px solid var(--ink); }
.facts > div { padding: 16px 12px 0 0; }
.facts > div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.facts dt { font: 500 11px/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.facts dd { margin-top: 10px; font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; text-transform: uppercase; line-height: 1; font-variation-settings: "wdth" 105; }
.about-photos { display: grid; grid-template-columns: 1.25fr 1fr; gap: 12px; align-items: end; }
.about-ph-1 { aspect-ratio: 4 / 5; }
.about-ph-2 { aspect-ratio: 3 / 4; margin-bottom: 15%; }

/* ===================== Galeria ===================== */
.gallery { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 26vw, 220px); }
.gallery .g-item { cursor: zoom-in; height: 100%; }
.gallery .g-item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery .g-item:hover img { transform: scale(1.035); }
.gallery .g-item:focus-visible { outline-offset: 2px; }
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 210px; }
  /* Composição para 7 fotos sem lacunas; fotos extras seguem na grade normal. */
  .gallery[data-count="7"] { grid-template-areas: "a a b c" "a a d e" "f g g e"; }
  .gallery[data-count="7"] .g-item:nth-child(1) { grid-area: a; }
  .gallery[data-count="7"] .g-item:nth-child(2) { grid-area: b; }
  .gallery[data-count="7"] .g-item:nth-child(3) { grid-area: c; }
  .gallery[data-count="7"] .g-item:nth-child(4) { grid-area: d; }
  .gallery[data-count="7"] .g-item:nth-child(5) { grid-area: e; }
  .gallery[data-count="7"] .g-item:nth-child(6) { grid-area: f; }
  .gallery[data-count="7"] .g-item:nth-child(7) { grid-area: g; }
}

/* ===================== Estrutura ===================== */
.structure { display: grid; gap: clamp(40px, 6vw, 88px); align-items: stretch; }
.structure-photo { min-height: 320px; aspect-ratio: 4 / 3; }
@media (min-width: 960px) { .structure { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .structure-photo { aspect-ratio: auto; height: 100%; } }
.structure-copy .lead { margin-top: 20px; }
.area-list { margin-top: 36px; border-top: 1px solid var(--line-2); }
.area-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.area-ico { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-2); color: var(--brand); }
.band-dark .area-ico { color: color-mix(in srgb, var(--brand) 60%, #fff); }
.area-list h3 { font-size: var(--fs-h3); font-weight: 750; text-transform: uppercase; letter-spacing: .01em; font-variation-settings: "wdth" 108; }
.area-list p { margin-top: 4px; color: var(--ink-2); font-size: 15px; }

/* ===================== Planos ===================== */
.promo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; margin-bottom: 20px; border: 1px solid var(--brand); background: color-mix(in srgb, var(--brand) 7%, var(--surface)); }
.promo p { color: var(--ink-2); font-size: 15px; }
.plans { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.plan { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); padding: 24px 22px 22px; transition: border-color .2s var(--ease), transform .25s var(--ease-out); }
.plan:hover { border-color: var(--line-2); transform: translateY(-2px); }
.plan.is-featured { border-color: var(--ink); box-shadow: inset 0 3px 0 var(--brand); }
.plan-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan-head h3 { font: 600 12px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-top: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.plan-price small { font-size: 15px; font-weight: 600; color: var(--ink-2); align-self: flex-start; margin-top: 8px; }
.plan-price strong { font-size: 52px; font-weight: 600; line-height: 1; letter-spacing: -.04em; }
.plan-price span { color: var(--ink-3); font-size: 14px; }
.plan-feats { display: grid; gap: 11px; margin: 22px 0 28px; flex: 1; }
.plan-feats li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-2); line-height: 1.4; }
.plan-feats .ico { width: 18px; height: 18px; color: var(--brand); }

/* ===================== Horários e agendamento ===================== */
.schedule { display: grid; gap: clamp(32px, 4vw, 48px); align-items: start; }
@media (min-width: 1000px) { .schedule { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.status-now { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; }
.week { width: 100%; border-collapse: collapse; margin-top: 8px; }
.week th, .week td { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.week th { text-align: left; font-weight: 500; }
.week td { text-align: right; }
.week tr.is-today th { font-weight: 750; }
.week tr.is-today td { color: var(--brand); font-weight: 600; }
.week td.is-closed { color: var(--ink-3); }
.today-tag { font: 600 10px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; background: var(--brand); color: var(--brand-ink); padding: 3px 6px; margin-left: 8px; vertical-align: 2px; }

.booker { background: var(--surface); border: 1px solid var(--line); }
.booker-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 20px 20px 16px; }
.booker-head h3 { font-size: 18px; font-weight: 800; text-transform: uppercase; font-variation-settings: "wdth" 110; }
.booker-date { margin-top: 2px; color: var(--ink-3); font-size: 14px; }
.booker-date::first-letter { text-transform: uppercase; }
.days { display: flex; gap: 6px; padding: 0 20px 18px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.days::-webkit-scrollbar { display: none; }
.day { flex: 1 0 54px; display: grid; gap: 4px; justify-items: center; padding: 9px 4px 10px; background: transparent; border: 1px solid var(--line); border-radius: var(--r); transition: border-color .15s, background-color .15s; }
.day small { font: 500 10.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.day b { font-size: 19px; font-weight: 600; line-height: 1; }
.day:hover { border-color: var(--ink-3); }
.day[data-closed] b { color: var(--ink-3); text-decoration: line-through; text-decoration-thickness: 1px; }
.day[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.day[aria-selected="true"] small { color: inherit; opacity: .7; }
.day[aria-selected="true"] b { color: inherit; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; padding: 18px 20px; min-height: 200px; align-content: start; }
.slot {
  display: grid; gap: 10px; padding: 12px; text-align: left; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r);
  transition: border-color .15s, transform .15s var(--ease), background-color .15s;
}
.slot:not(:disabled):hover { border-color: var(--ink); transform: translateY(-1px); }
.slot-time { font-size: 16px; font-weight: 600; }
.slot-time span { color: var(--ink-3); font-weight: 400; }
.slot-bar { height: 3px; background: var(--line); overflow: hidden; }
.slot-bar i { display: block; height: 100%; background: var(--ok); }
.slot-meta { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.slot-meta .mono { color: var(--ink-3); }
.slot.is-low .slot-bar i { background: var(--low); }
.slot.is-low .slot-meta span:first-child { color: var(--low); font-weight: 600; }
.slot.is-full .slot-bar i { background: var(--full); }
.slot.is-full .slot-meta span:first-child { color: var(--full); font-weight: 600; }
.slot:disabled { cursor: not-allowed; }
.slot.is-off { background: repeating-linear-gradient(135deg, transparent 0 6px, color-mix(in srgb, var(--off) 14%, transparent) 6px 7px); }
.slot.is-off .slot-time, .slot.is-off .slot-meta span { color: var(--ink-3); }
.slot.is-off .slot-bar i { background: var(--off); }
.slot.is-skeleton { height: 84px; background: linear-gradient(90deg, var(--sunk) 30%, var(--bg) 50%, var(--sunk) 70%) 0 0 / 300% 100%; animation: shimmer 1.3s linear infinite; }
@keyframes shimmer { to { background-position: -150% 0; } }
.slots-empty { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; min-height: 160px; color: var(--ink-3); text-align: center; }
.slots-empty.is-error { color: var(--full); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 14px 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.legend li { display: flex; align-items: center; gap: 7px; }
.legend i { width: 10px; height: 10px; }
.lg-ok { background: var(--ok); } .lg-low { background: var(--low); } .lg-full { background: var(--full); }
.lg-off { border: 1px solid var(--off); background: repeating-linear-gradient(135deg, var(--off) 0 1.5px, transparent 1.5px 4px); }

/* ===================== Área do aluno ===================== */
.student { display: grid; gap: clamp(40px, 6vw, 88px); align-items: center; }
@media (min-width: 960px) { .student { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.student .lead { margin-top: 20px; }
.feats { display: grid; gap: 0 32px; margin-top: 36px; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.feats li { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.feats .ico { color: var(--brand); margin-top: 2px; }
.feats b { display: block; font-weight: 650; }
.feats small { display: block; margin-top: 2px; color: var(--ink-3); font-size: 14px; line-height: 1.45; }
.login { display: grid; gap: 18px; padding: clamp(24px, 3vw, 36px); background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--ink); }
.login h3 { font-size: 26px; font-weight: 800; text-transform: uppercase; font-variation-settings: "wdth" 110; line-height: 1; }
.login > p { color: var(--ink-3); font-size: 15px; margin-top: -8px; }
.login-alt { text-align: center; font-size: 14px; color: var(--ink-3); }
.login-alt a { color: var(--ink); font-weight: 600; }

/* ===================== Contato ===================== */
.contact { display: grid; gap: clamp(32px, 4vw, 56px); }
@media (min-width: 960px) { .contact { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.map { position: relative; min-height: 360px; border: 1px solid var(--line); overflow: hidden; }
.map canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-pin { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -100%); display: grid; place-items: center; width: 46px; height: 46px; background: var(--brand); color: var(--brand-ink); }
.map-pin::after { content: ""; position: absolute; bottom: -7px; left: 50%; width: 14px; height: 14px; background: var(--brand); transform: translateX(-50%) rotate(45deg); z-index: -1; }
.map-card { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); }
.map-card b { display: block; font-weight: 750; text-transform: uppercase; font-variation-settings: "wdth" 108; }
.map-card small { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--ink-3); font-size: 14px; margin-top: 2px; }
.map-card .btn .ico { width: 15px; height: 15px; }
.contact-list { border-top: 1px solid var(--line); }
.c-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.c-ico { display: grid; place-items: center; width: 42px; height: 42px; background: var(--sunk); color: var(--ink-2); }
.c-row dt { font: 500 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.c-row dd { margin-top: 6px; font-weight: 600; overflow-wrap: anywhere; }
.socials { display: grid; gap: 8px; margin-top: 24px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.social { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); text-decoration: none; transition: border-color .15s; }
.social .ico { grid-row: span 2; }
.social span { font-weight: 600; font-size: 15px; }
.social small { color: var(--ink-3); font-size: 13px; }
a.social:hover { border-color: var(--ink); }
.social.is-pending { border-style: dashed; }

/* ===================== Faixa final e rodapé ===================== */
.cta-band { background: var(--brand); color: var(--brand-ink); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-block: clamp(56px, 7vw, 88px); }
.cta-row h2 { font-size: clamp(34px, 5.4vw, 72px); font-weight: 900; line-height: .92; text-transform: uppercase; letter-spacing: -.015em; font-variation-settings: "wdth" 100; max-width: 13ch; text-wrap: balance; }
.site-footer { background: var(--night); color: var(--ink-2); font-size: 15px; padding-top: clamp(56px, 6vw, 80px); padding-bottom: env(safe-area-inset-bottom, 0px); }
.ftr-grid { display: grid; gap: 40px 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: 48px; }
.ftr-brand { grid-column: 1 / -1; }
.ftr-brand .brand { color: var(--ink); }
.ftr-brand p { margin-top: 18px; max-width: 36ch; line-height: 1.6; }
@media (min-width: 900px) { .ftr-grid { grid-template-columns: 1.6fr 1fr 1.1fr 1.3fr; } .ftr-brand { grid-column: auto; } }
.site-footer h4 { font: 500 11px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 18px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a { text-decoration: none; transition: color .15s; }
.site-footer a:hover { color: var(--ink); }
.ftr-hours { font-size: 13.5px; }
.ftr-hours li { display: flex; justify-content: space-between; gap: 12px; max-width: 200px; }
.ftr-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.ftr-bottom span { display: inline-flex; align-items: center; gap: 8px; }
.ftr-bottom .ico { width: 15px; height: 15px; }
.to-top { display: inline-flex; align-items: center; gap: 8px; }
.to-top .ico { width: 15px; height: 15px; transform: rotate(-90deg); }
/* Etapa 2: navegação focada, uma área por vez. */
main [hidden]{display:none!important}
.hero-inner{min-height: min(680px, calc(100svh - 130px));justify-content:center;padding-block:70px 35px;gap:32px}
.hero-title{font-size:clamp(44px,7vw,100px);line-height:.98;max-width:12ch}
.hero-title .is-accent{color:var(--brand);-webkit-text-stroke:0}
.hero-lead{margin-top:18px}.hero-cta{margin-top:24px}
.quick-facts{display:flex;flex-wrap:wrap;gap:10px;font-size:13px;color:var(--ink-2)}
.quick-facts span{border:1px solid #695328;padding:8px 12px;border-radius:5px}
.compact-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:20px;padding-block:24px;font-size:13px}
.student-simple{max-width:500px}.student-simple .login{display:grid;gap:16px}
@media(max-width:600px){.hero-inner{min-height:0;padding-block:75px 32px}.hero-title{font-size:clamp(40px,11vw,64px)}.hero-cta{gap:9px}.quick-facts{gap:6px}.quick-facts span{padding:6px 8px}.compact-footer{gap:12px}.hdr-book{display:none}}
.student-simple label{display:grid;gap:6px;font-size:14px}.student-simple input{width:100%;min-width:0;padding:12px;background:var(--surface);color:var(--ink);border:1px solid var(--line);font:inherit}.student-simple [role=status]{color:var(--ink);overflow-wrap:anywhere}.student-simple [role=status]:empty{display:none}

/* Área do aluno: recuperação de senha discreta e borda da marca. */
.student-simple .login { border-top-color: var(--brand); }
.student-simple .login-reset-link { justify-self: center; background: transparent; border: 0; color: var(--brand); font: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; padding: 8px 4px; cursor: pointer; }
.student-simple .login-reset-link:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

.signup-back{background:none;border:0;color:#D4A437;font-size:1.5rem;cursor:pointer;align-self:flex-start;padding:4px 12px 4px 0;}
.signup-success{text-align:center;}
.signup-check{display:grid;place-items:center;margin:0 auto 16px;width:64px;height:64px;border:2px solid #43C77A;border-radius:50%;color:#43C77A;font-size:36px;}
.student-dashboard{max-width:540px;width:100%;border-top:2px solid #d4a437}.student-dashboard h3{font-size:1.35rem;text-transform:none;margin:8px 0}.student-card{padding:16px;background:#191919;border:1px solid #383838;margin:12px 0}.student-card p{margin:5px 0}.fixed-card{border-color:#d4a437}.fixed-card h3{color:#d4a437}.student-menu,.student-slot{display:flex;align-items:center;gap:12px;width:100%;padding:14px 4px;border:0;border-bottom:1px solid #333;background:transparent;color:inherit;text-align:left;cursor:pointer}.student-menu span{flex:1}.student-menu .ico{color:#d4a437;width:20px;height:20px}.student-slot{justify-content:space-between;border:1px solid #444;padding:12px;margin:8px 0}.student-slot small{color:#70c98c}.student-slot:disabled{opacity:.5;cursor:not-allowed}.student-dashboard [data-exit]{margin-top:16px}

/* Painel do aluno — etapa 5 */
.student-top{position:relative;display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.student-top .eyebrow{margin:0;font-size:11px;letter-spacing:.12em}.student-toggle{display:grid;place-items:center;flex:0 0 42px;height:42px;border:1px solid #594821;background:transparent;color:var(--brand);cursor:pointer}.student-toggle .ico{width:23px;height:23px}.student-nav{position:absolute;top:calc(100% + 8px);right:0;width:min(310px,100%);z-index:10;background:#202020;border:1px solid #594821;padding:8px 12px;box-shadow:0 12px 30px #0009}.student-nav[hidden]{display:none!important}.student-nav .student-menu{font-size:14px}.student-nav .student-exit{color:#ef8888;margin:0;border-bottom:0}.student-card small{display:flex;align-items:center;gap:8px}.student-card .ico{width:18px;height:18px;color:var(--brand)}.next-card h3{color:var(--brand)}.student-confirmed,.student-confirmed .ico{color:#70c98c}.student-confirmed{display:flex;align-items:center;gap:6px}.student-dashboard .student-card{margin:0}.student-dashboard .student-toggle:focus-visible,.student-dashboard .student-menu:focus-visible{outline:2px solid var(--brand);outline-offset:2px}

/* Etapa 6 — entrada pelo Instagram */
.portal-home .site-header {display:none}
.portal {width:min(100%,520px);margin:auto;padding:24px 20px 18px;display:grid;gap:20px}
.portal-brand {display:flex;justify-content:center;align-items:center;min-height:70px}
.portal-brand .brand-logo {width:190px;height:auto;max-height:105px;object-fit:contain}
.portal-cover {position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:flex-end;min-height:220px;aspect-ratio:16/9;border:1px solid #393126;border-radius:8px;background:linear-gradient(135deg,#292319,#101010 70%);padding:24px}
.portal-cover img {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.portal-cover::after {content:"";position:absolute;inset:0;background:linear-gradient(0deg,#000d,transparent 100%);z-index:-1}
.portal-cover h1 {font-size:clamp(29px,7vw,44px);line-height:.98;font-weight:900;text-transform:uppercase;color:#fff;letter-spacing:-.025em}
.portal-cover h1 span {color:var(--brand)}
.portal-links {display:grid;gap:12px}
.portal-link {display:flex;align-items:center;gap:14px;min-height:62px;padding:16px 18px;border:1px solid #665127;border-radius:7px;text-decoration:none;background:#171717;font-weight:700;font-size:16px;transition:background .15s}
.portal-link span {flex:1}.portal-link .ico {color:var(--brand);width:23px;height:23px}.portal-link:hover {background:#29241b}
.portal-link.primary {background:var(--brand);color:var(--brand-ink);border-color:var(--brand)}.portal-link.primary .ico {color:inherit}.portal-link.primary:hover {filter:brightness(1.1)}
.portal-home .compact-footer {padding-block:12px 24px;gap:18px}.portal-home .compact-footer small {flex-basis:100%;text-align:center}.compact-footer .ico {color:var(--brand)}
.portal-shop {max-width:540px}.portal-back {display:inline-flex;align-items:center;gap:8px;color:var(--brand);text-decoration:none}.portal-empty {margin-top:24px;padding:32px 20px;text-align:center;background:var(--surface);border:1px solid var(--line);border-radius:8px}.portal-empty .ico {margin:0 auto 16px;color:var(--brand);width:36px;height:36px}.portal-empty p {color:var(--ink-2);margin-top:8px}
@media(max-width:420px){.portal{padding:18px 16px;gap:16px}.portal-cover{min-height:180px;padding:18px}.portal-link{min-height:58px}}

/* Foto de capa da página inicial */
.portal-cover {
  background:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.75),
      rgba(0, 0, 0, 0.10)
    ),
    url("../../assets/photos/avelar-capa.png")
    center center / cover no-repeat;
}

.portal-cover::after {
  display: none;
}
/* Etapa 7 — ambiente exclusivo do aluno */
.student-area .site-header,.student-area .compact-footer .ico{display:none}
.student-area .student-simple{max-width:560px;padding-top:0}
.student-area [data-section="student"]{padding-block:24px 36px}
.student-simple .login{border:0;background:transparent;padding:12px 0;gap:16px;max-width:none}
.student-brand{display:flex;align-items:center;text-decoration:none}
.student-brand .brand-logo{width:140px;height:auto;max-height:65px;object-fit:contain}
.student-auth .student-brand{justify-content:center;margin-bottom:12px}
.student-top{border-bottom:1px solid #333;padding-bottom:16px;margin-bottom:6px}
.student-dashboard .student-card{border-radius:10px;padding:20px;background:#191919}
.student-dashboard .next-card{border-color:#665127}
.student-dashboard .student-card h3{font-size:1.5rem}
.student-access{display:flex;gap:12px;align-items:flex-start;border-top:1px solid #383838;padding-top:16px;margin-top:16px;font-size:14px}
.student-access p,.student-fixed-note{color:var(--ink-2);font-size:13px}
.student-nav{border-radius:8px}.student-nav a{text-decoration:none}
.student-auth-bottom{border-top:1px solid #333;padding-top:16px;text-align:center;color:var(--ink-2);font-size:14px;display:grid;justify-items:center}
.student-site-link{text-align:center;color:var(--ink-2);font-size:13px}
.student-simple input,.student-simple .btn,.student-toggle{border-radius:6px}
.student-tabs{display:flex;gap:8px}.student-tabs button{flex:1;padding:12px 6px;border:1px solid #444;background:#191919;color:inherit;border-radius:6px;cursor:pointer}.student-tabs button[aria-pressed="true"]{border-color:var(--brand);color:var(--brand)}

/* Status do plano ativo */
.student-plan-active { color: #70c98c; }

/* Etapa 7.2 — Meu plano */
.student-plan-details{display:grid;gap:12px}.student-detail-heading,.student-detail{display:flex;justify-content:space-between;align-items:center;gap:12px}.student-detail-heading{border-bottom:1px solid #383838;padding-bottom:10px}.student-detail-heading h3{margin:0}.student-detail{font-size:14px}.student-detail span{color:#aaa}.student-detail b{text-align:right}.student-plan-expired{color:#ef8888}.student-plan-details progress{width:100%;height:6px;accent-color:#d4a437;border:0;border-radius:8px;overflow:hidden}.student-plan-details progress::-webkit-progress-bar{background:#333}.student-plan-details progress::-webkit-progress-value{background:#d4a437}.student-plan-details small{color:#aaa}

/* Etapa 7.3 — cabeçalho compacto da área do aluno */
.student-area [data-section="student"] { padding-block: max(8px, env(safe-area-inset-top, 0px)) 36px; }
.student-area .student-simple .student-dashboard { padding-top: 0; gap: 12px; }
.student-area .student-dashboard .student-top { padding-bottom: 8px; margin-bottom: 0; }
.student-area .student-dashboard > button[data-panel="home"] { padding: 8px 4px; min-height: 44px; border-bottom: 0; }
/* Etapa 8 — ficha digital compacta */
.workout-week,.workout-form,[data-exercises]{display:grid;gap:10px}.workout-day{display:flex;align-items:center;gap:12px;text-align:left;padding:13px 14px;background:#191919;border:1px solid #383838;border-radius:8px;color:inherit;cursor:pointer;min-height:60px}.workout-day span{flex:1;min-width:0;overflow-wrap:anywhere}.workout-day small,.workout-detail small{display:block;color:var(--ink-2);font-size:13px}.workout-day .ico{width:20px;height:20px;color:var(--brand);flex-shrink:0}.workout-form h3{margin:4px 0}.workout-exercise{display:grid;gap:10px;background:#191919;border:1px solid #383838;border-radius:8px;padding:12px}.workout-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.workout-fields input{padding:9px 6px}.workout-remove{background:transparent;border:0;color:#ef8888;text-align:left;padding:8px 0;cursor:pointer}.workout-detail{padding:12px 0;border-top:1px solid #383838;overflow-wrap:anywhere}.next-card .btn{margin-top:10px}.student-tabs button{font-size:13px;overflow-wrap:anywhere}.workout-form input{font-size:16px}.student-area .student-dashboard{min-width:0}
.workout-picker{display:grid;gap:10px;padding:12px;border:1px solid #383838;border-radius:8px;background:#191919}.workout-picker[hidden]{display:none}.workout-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.workout-groups button{background:#222;color:inherit;border:1px solid #444;border-radius:6px;padding:10px 6px;font:inherit;font-size:13px;overflow-wrap:anywhere}.workout-groups button[aria-pressed=true]{border-color:var(--brand);color:var(--brand);background:#302719}.workout-options{display:grid;gap:5px;margin:8px 0}.workout-options b{color:var(--brand)}.workout-options label{display:flex;align-items:center;gap:9px;padding:7px 0}.workout-options input[type=checkbox]{width:18px;height:18px;flex:none;accent-color:var(--brand)}.workout-form h3,.student-access b{overflow-wrap:anywhere}.workout-exercise input[readonly]{opacity:.9}

/* Etapa 8.2: opção manual compacta, na mesma grade. */
.workout-groups{grid-auto-rows:1fr}
.workout-groups button[data-group-pick="Outros"]{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:6px 4px;font-size:11px;line-height:1.2}
.workout-custom-hint{color:var(--brand);font-size:10px;line-height:1.2}

/* Etapa 8.3 */
.workout-groups{grid-auto-rows:auto;align-items:start;margin-top:7px}.workout-group-cell{min-width:0;display:grid;gap:4px}.workout-group-cell button{width:100%;height:54px}.workout-custom-hint{display:block;color:var(--brand);font-size:10px;text-align:center;line-height:1.3}.workout-manual-option{display:grid;gap:4px}.workout-manual-option button,.workout-picker-back{background:#222;color:inherit;border:1px solid #444;border-radius:6px;padding:10px;font:inherit;font-size:13px}.workout-picker-back{margin-bottom:8px}.workout-picker [hidden]{display:none!important}.workout-options label[hidden]{display:none!important}

/* Etapa 8.4: telas independentes, mantendo a ficha em memória no DOM. */
[data-workout-editor],[data-picker-page]{display:grid;gap:10px;min-width:0}
[data-workout-editor][hidden],[data-picker-page][hidden]{display:none!important}
[data-picker-page] .workout-picker{padding:0;border:0;background:transparent}
[data-picker-page] input:not([type=checkbox]){font-size:16px}

/* Compact authentication navigation */
.student-auth-top{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:8px;margin-bottom:4px}
.student-auth .student-auth-top .student-brand{margin:0;grid-column:2;justify-content:center}
.auth-back{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:0;border-radius:6px;background:transparent;color:#D4A437;font-size:24px;line-height:1;text-decoration:none;cursor:pointer;padding:0}
.auth-back:focus-visible{outline:2px solid #D4A437;outline-offset:2px}

/* Etapa 8.6 — autenticação centralizada */
.student-auth > .eyebrow{justify-content:center;text-align:center;margin-inline:auto}
.student-auth > .eyebrow::before{display:none}
.student-auth > h2{text-align:center}

/* Escolha de acesso e próximo treino indisponível */
.member-choice .choice-intro{text-align:center;color:var(--ink-2);font-size:14px;margin:0 0 4px}
.member-option{display:flex;align-items:center;gap:12px;width:100%;min-height:70px;padding:14px 16px;border:1px solid #d4a437;border-radius:8px;background:#191919;color:#d4a437;text-align:left;cursor:pointer;font:inherit}
.member-option span{flex:1;min-width:0;display:grid;gap:4px}.member-option small{color:#ddd;font-size:12px}.member-option .ico{width:20px;height:20px;flex-shrink:0}.member-option-primary{background:#d4a437;color:#111}.member-option-primary small{color:#222}.member-option:focus-visible{outline:2px solid #d4a437;outline-offset:3px}
.student-dashboard .next-card-inactive{border-color:#383838;color:#929292}.student-dashboard .next-card-inactive small,.student-dashboard .next-card-inactive p,.student-dashboard .next-card-inactive .ico{color:#929292}

.otp-form .otp-intro{text-align:center;color:var(--ink-2);overflow-wrap:anywhere;font-size:14px;line-height:1.6}
.otp-form input.otp-code{text-align:center;font-size:clamp(20px,5vw,30px);letter-spacing:.25em;font-weight:700;color:#d4a437;font-variant-numeric:tabular-nums;padding-inline:8px}

/* Navegação de retorno: padrão único, sem moldura. */
.back-arrow{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border:0;border-radius:0;background:transparent;color:#D4A437;box-shadow:none;text-decoration:none;cursor:pointer;line-height:1}
.back-arrow .ico{width:24px;height:24px;flex:none;color:inherit}
.back-arrow:hover,.back-arrow:active{background:transparent;color:#e8bb55;border:0;box-shadow:none}
.back-arrow:focus-visible{outline:2px solid #D4A437;outline-offset:2px}
.modal-actions .back-arrow{margin-right:auto;align-self:flex-start}
@media(max-width:600px){.modal-actions .back-arrow{align-self:flex-start}}

.member-plans-back{margin-bottom:12px}
.member-plans-back[hidden]{display:none!important}

/* Pending fixed schedule */
.fixed-pending { margin: 12px 0; }
.fixed-pending-label { color: #d4a537; font-weight: 700; letter-spacing: .08em; }
.fixed-pending p { margin: 6px 0 14px; }
.fixed-pending-button { animation: fixed-pending-glow 2s ease-in-out infinite; }
@keyframes fixed-pending-glow { 0%, 100% { box-shadow: 0 0 3px #d4a53755; } 50% { box-shadow: 0 0 17px #d4a537aa; } }
@media (prefers-reduced-motion: reduce) { .fixed-pending-button { animation: none; } }

/* Seleção de horário fixo */
.fixed-picker{display:grid;gap:22px;min-width:0}.fixed-group{display:grid;gap:10px}.student-dashboard .fixed-group h3{display:flex;align-items:center;gap:8px;font-size:1rem;margin:0}.fixed-group h3 .ico,.fixed-time .ico{color:var(--brand);width:18px;height:18px;flex-shrink:0}.fixed-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.fixed-option{display:grid;gap:8px;text-align:left;background:#191919;color:inherit;border:1px solid #383838;border-radius:10px;padding:12px 10px;min-width:0;min-height:76px;cursor:pointer}.fixed-time,.fixed-meta{display:flex;align-items:center;gap:5px}.fixed-time b{font-size:clamp(11px,3.1vw,14px);white-space:nowrap}.fixed-meta{justify-content:space-between}.fixed-meta small{font-size:11px;color:#70c98c}.fixed-check{width:15px;height:15px;color:var(--brand);visibility:hidden;flex-shrink:0}.fixed-option[aria-pressed=true]{border-color:var(--brand);background:#292318}.fixed-option[aria-pressed=true] b{color:var(--brand)}.fixed-option[aria-pressed=true] .fixed-check{visibility:visible}.fixed-option:disabled{opacity:.5;cursor:not-allowed}.fixed-option:disabled small{color:#aaa}.fixed-option:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.fixed-confirm{display:grid;gap:9px;border-top:1px solid #383838;padding-top:16px}.fixed-confirm small{color:#aaa}.fixed-confirm strong{color:var(--brand);font-size:1.15rem}.fixed-confirm button:disabled{opacity:.45;cursor:not-allowed}@media(max-width:340px){.fixed-option{padding:10px 6px}.fixed-time .ico{width:14px;height:14px}.fixed-meta small{font-size:10px}}

.next-workout-hint .ico{width:15px;height:15px;vertical-align:-3px;display:inline-block;margin:0 2px}.next-card h3{overflow-wrap:anywhere}
