/* W Alta Performance: design system baseado no DESIGN W (WHOOP style reference).
   Preto teatral + branco clínico, um único acento violeta, botões sempre em pílula. */

@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-var.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --violet: #4a53ff;
  --violet-hover: #3940f0;
  --black: #000000;
  --carbon: #191919;
  --white: #ffffff;
  --mist: #f3f5f9;
  --hairline: #e5e7eb;
  --fog: #6b6b6b;          /* #808080 do DS escurecido para passar AA (4.5:1) em texto corrido */
  --ash: #999999;
  --on-dark-muted: #a3a3a3;
  --danger: #c4231b;

  --font: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius-card: 24px;
  --radius-pill: 300px;
  --radius-sm: 8px;
  --shadow-float: rgba(199, 199, 199, 0.25) 0 4px 15px 0;

  --gutter: 16px;
  --section-y: 48px;
  --ease-out: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-curtain: cubic-bezier(0.76, 0, 0.24, 1);
}

@media (min-width: 640px) { :root { --gutter: 24px; --section-y: 60px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; --section-y: 72px; } }

/* ---- Base ---------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--violet); color: var(--white); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  padding: 12px 20px; border-radius: var(--radius-pill);
  background: var(--white); color: var(--black); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: calc(1200px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ---- Tipografia ------------------------------------------------------------------ */

.display, .display-sm, .h-xl, .h-lg, .h-md, .h-sm { font-weight: 600; text-wrap: balance; }
.display { font-size: clamp(52px, 10.5vw, 120px); line-height: 0.86; letter-spacing: -0.045em; }
.display-sm { font-size: clamp(44px, 7.4vw, 88px); line-height: 0.9; letter-spacing: -0.04em; }
.h-xl { font-size: clamp(36px, 5.2vw, 50px); line-height: 0.95; letter-spacing: -0.04em; }
.h-lg { font-size: 35px; line-height: 1; letter-spacing: -0.035em; }
.h-md { font-size: clamp(24px, 2.8vw, 32px); line-height: 1.09; letter-spacing: -0.03em; }
.h-sm { font-size: 22px; line-height: 1.13; letter-spacing: -0.03em; }
@media (min-width: 640px) { .h-sm { font-size: 24px; } }
.lead { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.35; letter-spacing: -0.03em; font-weight: 500; }
.body { font-size: 16px; line-height: 1.55; letter-spacing: -0.01em; }
.muted { color: var(--fog); }
.muted-light { color: var(--on-dark-muted); }
.eyebrow {
  font-size: 13px; line-height: 1.4; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 16px;
}
.eyebrow--muted { color: var(--fog); }
.eyebrow--light { color: var(--on-dark-muted); }

/* ---- Botões (sempre pílula) ----------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 14px 28px;
  border: 1.5px solid transparent; border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
  line-height: 1.1; text-align: center; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease-out);
}
.btn:active { transform: scale(0.98); }
.btn .icon { width: 18px; height: 18px; }
.btn--sm { min-height: 40px; padding: 10px 20px; font-size: 13px; }
.btn--block { width: 100%; }
/* Todos os botões seguem o par do topo do site:
   fundo escuro  → principal .btn--glass (vidro claro)   e secundário .btn--ghost (só a borda clara)
   fundo claro   → principal .btn--ink   (o mesmo vidro, espelhado em tinta escura) e secundário .btn--outline
   No hover o principal fica sólido (branco no escuro, preto no claro). */
.btn--ghost { border-color: rgba(255, 255, 255, 0.45); color: var(--white); background: transparent; }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }
.btn--outline { border-color: rgba(17, 17, 17, .38); color: var(--black); background: transparent; }
.btn--outline:hover { border-color: var(--black); background: rgba(17, 17, 17, .04); }
.btn--text { padding-inline: 8px; color: var(--black); text-decoration: underline; text-underline-offset: 4px; }
.btn--glass {
  background: rgba(255, 255, 255, .16); color: var(--white); border-color: rgba(255, 255, 255, .55);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn--glass:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn--ink {
  background: rgba(17, 17, 17, .07); color: var(--black); border-color: rgba(17, 17, 17, .6);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn--ink:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.btn--danger { background: var(--danger); color: var(--white); }
.btn--danger:hover { background: #a51c15; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.btn.is-loading { position: relative; color: transparent !important; }
.btn.is-loading::after {
  content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid currentColor; border-color: var(--white) var(--white) transparent transparent;
  animation: spin .7s linear infinite;
}
.btn--outline.is-loading::after, .btn--ink.is-loading::after { border-color: var(--black) var(--black) transparent transparent; }
@keyframes spin { to { transform: rotate(360deg); } }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn-row--center { justify-content: center; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 44px; height: 44px; padding: 0; border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.5); background: rgba(0, 0, 0, 0.25); color: var(--white);
  transition: background-color .2s, border-color .2s;
}
.icon-btn:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.12); }
.icon-btn--label { width: auto; padding: 0 18px 0 14px; }
.icon-btn__text { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.icon-btn--dark { border-color: var(--hairline); color: var(--black); background: var(--white); }
.icon-btn--dark:hover { border-color: var(--black); background: var(--white); }

.when-unmuted, .when-paused { display: none; }
[aria-pressed="true"] .when-muted { display: none; }
[aria-pressed="true"] .when-unmuted { display: inline-flex; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
}
.link-arrow .icon { transition: transform .2s var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---- Abertura animada ---------------------------------------------------------------- */

/* As animações só começam com a classe .is-playing, que o JS põe depois que a página terminou de
   carregar: assim o navegador não divide o esforço entre carregar e animar (era o que causava as travadas).
   Tudo, menos o traço do W, anima só transform/opacity, que a placa de vídeo faz sozinha. */
.intro { display: none; }
.js:not(.intro-done) .page-home .intro {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: var(--black); color: var(--white);
  transition: transform 0.9s var(--ease-curtain);
  will-change: transform;
}
.js:not(.intro-done) .page-home { overflow: hidden; }
.intro.is-leaving { transform: translateY(-100%); }
.intro__stage { position: relative; display: grid; justify-items: center; gap: clamp(20px, 3vw, 32px); }
.intro__w { position: relative; display: block; width: clamp(140px, 24vw, 240px); }
.intro__mark { display: block; width: 100%; height: auto; overflow: visible; }
.intro__mark--line path {
  fill: none; stroke: var(--white); stroke-width: 2; vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 1;
}
.intro__mark--solid { position: absolute; inset: 0; opacity: 0; will-change: opacity; }
/* o nome é revelado por recorte (clip-path): nada é desenhado por cima, então não aparece
   nenhum retângulo contra o brilho violeta do pulso */
.intro__word { width: clamp(260px, 46vw, 480px); clip-path: inset(0 100% 0 0); }
.intro__word svg { width: 100%; height: auto; }
/* pulso no formato do W: começa exatamente em cima do W e se expande para fora, sumindo */
.intro__pulse {
  position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none;
  transform-origin: 50% 50%; opacity: 0; will-change: transform, opacity;
}
.intro__pulse use { fill: none; stroke: var(--violet); stroke-linejoin: miter; }
.intro__pulse-glow { stroke-width: 9; opacity: .9; }
.intro__pulse-line { stroke-width: 2.5; }
.intro.is-playing .intro__mark--line path { animation: intro-draw 1.1s 0.1s var(--ease-out) forwards; }
.intro.is-playing .intro__mark--line { animation: intro-fade-out 0.45s 1.2s ease forwards; }
.intro.is-playing .intro__mark--solid { animation: intro-fade-in 0.5s 1.05s ease forwards; }
.intro.is-playing .intro__pulse { animation: intro-pulse 1.1s 1.05s ease-out forwards; }
.intro.is-playing .intro__word { animation: intro-wipe 0.7s 1.4s var(--ease-curtain) forwards; }
@keyframes intro-draw { to { stroke-dashoffset: 0; } }
@keyframes intro-fade-in { to { opacity: 1; } }
@keyframes intro-fade-out { to { opacity: 0; } }
@keyframes intro-wipe { to { clip-path: inset(0 0 0 0); } }
@keyframes intro-pulse {
  0% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(2.4); }
}

/* ---- Navegação ------------------------------------------------------------------------- */

.nav { position: relative; z-index: 20; background: var(--black); color: var(--white); }
.nav__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: calc(1200px + 2 * var(--gutter)); margin-inline: auto; padding: 18px var(--gutter);
}
.nav__brand { display: inline-flex; align-items: center; gap: 14px; color: var(--white); text-decoration: none; }
.nav__mark { width: 50px; height: auto; }
.nav__word { width: 196px; height: auto; display: none; }
@media (min-width: 420px) { .nav__word { display: block; } }
.nav__links { display: none; gap: 36px; }
.nav__links a {
  font-size: 14px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
  color: var(--white); opacity: .85; transition: opacity .2s;
}
.nav__links a:hover { opacity: 1; }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__actions .btn { display: none; }
.nav__toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: var(--white);
}
.nav__toggle-close { display: none; }
.nav__toggle[aria-expanded="true"] .nav__toggle-open { display: none; }
.nav__toggle[aria-expanded="true"] .nav__toggle-close { display: inline-flex; }
.nav__drawer {
  display: grid; gap: 4px; padding: 8px var(--gutter) 24px; background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.nav__drawer a:not(.btn) {
  padding: 14px 0; font-size: 24px; font-weight: 600; letter-spacing: -0.03em; text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.nav__drawer .btn { margin-top: 16px; }
@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav__actions .btn { display: inline-flex; }
  .nav__toggle, .nav__drawer { display: none !important; }
}
@media (min-width: 560px) and (max-width: 899px) { .nav__actions .btn { display: inline-flex; } }

/* ---- Hero ------------------------------------------------------------------------- */

/* O vídeo cobre o hero inteiro com o texto por cima. No celular é o vídeo vertical original;
   no computador, uma versão horizontal própria (js/site.js escolhe pelo tamanho da tela). */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: max(600px, calc(100svh - 80px));
  background: var(--black); color: var(--white);
}
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: var(--black); }
.hero__video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; background: var(--black); }
/* Véu escuro leve: só o bastante para o texto ler; o vídeo aparece bem atrás. */
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, .28) 50%, rgba(0, 0, 0, .12) 100%);
  transition: opacity .8s ease;
}
.hero__content { padding-top: 64px; padding-bottom: 72px; transition: opacity .7s ease, transform .7s var(--ease-out); }
@media (min-width: 900px) {
  .hero { justify-content: center; }
  .hero__shade {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, .58) 0%, rgba(0, 0, 0, .3) 35%, rgba(0, 0, 0, .04) 60%, rgba(0, 0, 0, .12) 100%),
      linear-gradient(0deg, rgba(0, 0, 0, .4) 0%, rgba(0, 0, 0, 0) 30%);
  }
  .hero__content { padding-block: 56px; }
  .hero__title { font-size: clamp(56px, 7.4vw, 108px); }
}
/* textos levemente translúcidos, com uma sombra suave no lugar do véu escuro pesado */
.hero__content { text-shadow: 0 2px 28px rgba(0, 0, 0, .35); }
.hero__eyebrow { color: rgba(255, 255, 255, .72); }
.hero__title { max-width: 11ch; color: rgba(255, 255, 255, .9); }
.hero__title .line { display: block; overflow: hidden; padding: 0.06em 0 0.12em; margin: -0.06em 0 -0.12em; }
.hero__title .line > span { display: inline-block; }
.hero__lead { max-width: 520px; margin-top: 28px; color: rgba(255, 255, 255, .8); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__actions .btn { text-shadow: none; }
.hero__actions .btn--ghost { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
@media (max-width: 479px) {
  .hero__actions .btn { flex: 1 1 100%; }
}
/* Fim do vídeo: textos e véu saem de cena. A marca do próprio vídeo (borrada pela ampliação) fica coberta
   de preto e a logo em vetor entra por cima, nítida como na abertura, só com um "ajuste de foco" suave. */
.hero--endcard .hero__content { opacity: 0; transform: translateY(-12px); pointer-events: none; }
.hero--endcard .hero__shade { opacity: 0; }
.hero__endcard {
  position: absolute; inset: 0; z-index: -1;
  display: grid; place-items: center;
  background: var(--black); opacity: 0; pointer-events: none;
  transition: opacity .6s ease;
}
.hero__endcard-logo {
  width: clamp(240px, 46vw, 660px); height: auto; color: var(--white);
  opacity: 0; transform: scale(1.05); filter: blur(12px);
  transition: opacity .3s ease, transform .3s ease, filter .3s ease;
}
.hero--endcard .hero__endcard { opacity: 1; transition-duration: .35s; }
.hero--endcard .hero__endcard-logo {
  opacity: 1; transform: none; filter: blur(0);
  transition: opacity .9s .3s ease, transform 1.6s .3s var(--ease-out), filter 1.1s .3s ease;
}

.js .hero__title .line > span { transform: translateY(110%); }
.js .hero__lead, .js .hero__actions, .js .hero__eyebrow { opacity: 0; transform: translateY(16px); }
.hero-in .hero__title .line > span { transform: none; transition: transform 1s var(--ease-out); }
.hero-in .hero__title .line:nth-child(2) > span { transition-delay: .08s; }
.hero-in .hero__title .line:nth-child(3) > span { transition-delay: .16s; }
.hero-in .hero__eyebrow, .hero-in .hero__lead, .hero-in .hero__actions {
  opacity: 1; transform: none; transition: opacity .8s .3s, transform .8s .3s var(--ease-out);
}
.hero-in .hero__actions { transition-delay: .4s; }

/* ---- Seções --------------------------------------------------------------------- */

.section { padding-block: var(--section-y); }
.section--tight-top { padding-top: 0; }
.section--light { background: var(--white); color: var(--black); }
.section--dark { background: var(--black); color: var(--white); }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head .lead { margin-top: 16px; max-width: 560px; }

.js .reveal { opacity: 0; transform: translateY(28px); }
.js .reveal.is-visible { opacity: 1; transform: none; transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }

/* ---- Pilares: celular = carrossel de arrastar; tablet = 2 × 2; computador = 4 lado a lado, centralizados --- */

.rail-wrap { position: relative; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(76vw, 320px); gap: 14px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding: 4px var(--gutter) 8px; scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.rail-dots button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: var(--radius-pill); background: var(--hairline);
  transition: width .3s var(--ease-out), background-color .3s;
}
.rail-dots button[aria-current="true"] { width: 24px; background: var(--black); }
@media (min-width: 640px) {
  .rail {
    grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); gap: 20px;
    max-width: calc(1200px + 2 * var(--gutter)); margin-inline: auto; overflow: visible; padding: 0 var(--gutter);
  }
  .rail-dots { display: none; }
}
@media (min-width: 1024px) { .rail { grid-template-columns: repeat(4, 1fr); } }

.story {
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 3 / 4; border-radius: var(--radius-card); background: var(--carbon); color: var(--white);
  scroll-snap-align: start;
}
.story__video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.story::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, 0) 58%, rgba(0, 0, 0, .7) 100%);
}
.story__body { display: flex; flex-direction: column; height: 100%; padding: 24px 22px; }
.story__tag { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.story__title { margin-top: 10px; font-size: 24px; line-height: 1.1; font-weight: 600; letter-spacing: -0.03em; }
.story__text { margin-top: auto; margin-right: 52px; font-size: 15px; line-height: 1.45; color: rgba(255, 255, 255, .9); }
@media (min-width: 1024px) {
  .story__body { padding: 20px 18px; }
  .story__title { font-size: clamp(19px, 1.65vw, 23px); }
  .story__text { font-size: 14px; }
}
.story__btn {
  position: absolute; right: 16px; bottom: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .85); background: rgba(0, 0, 0, .25); color: var(--white);
}
.story__btn .icon { width: 18px; height: 18px; }
.story__btn:hover { background: rgba(255, 255, 255, .15); }

/* ---- Frase de impacto ------------------------------------------------------------------ */

.statement {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; align-items: end; min-height: 540px;
  background: var(--black); color: var(--white);
}
.statement__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.statement::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0, 0, 0, .9) 10%, rgba(0, 0, 0, 0) 65%); }
.statement__inner { padding-block: 56px; }
.statement__text { max-width: 480px; margin-top: 28px; color: rgba(255, 255, 255, .82); }
@media (min-width: 900px) {
  .statement { min-height: 540px; align-items: center; }
  /* coluna da foto com largura limitada: o recorte não cresce em telas largas e o corpo continua aparecendo */
  .statement__img { left: auto; right: max(0px, calc((100vw - 1400px) / 2)); width: min(54%, 640px); object-position: 50% 62%; }
  .statement::after { background: linear-gradient(90deg, var(--black) 40%, rgba(0, 0, 0, 0) 62%); }
}

/* ---- Sobre ------------------------------------------------------------------------- */

.about { display: grid; gap: 48px; align-items: center; }
.about__media { position: relative; width: 100%; max-width: 460px; margin-inline: auto; padding-right: 22%; padding-bottom: 14%; }
.about__img { border-radius: var(--radius-card); object-fit: cover; }
.about__img--main { width: 100%; aspect-ratio: 4 / 5; object-position: 50% 70%; }
.about__img--small {
  position: absolute; right: 0; bottom: 0; width: 44%; aspect-ratio: 3 / 4;
  border: 8px solid var(--white); border-radius: 28px;
}
.about__text .lead { margin-top: 24px; }
.about__text .body { margin-top: 16px; max-width: 520px; }
@media (min-width: 900px) { .about { grid-template-columns: 1fr 1fr; gap: 80px; } }

/* ---- Locais e agenda pública ---------------------------------------------------------- */

.places { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
@media (min-width: 760px) { .places { gap: 20px; } }
.place { display: flex; flex-direction: column; align-items: flex-start; padding: 28px; border-radius: var(--radius-card); background: var(--mist); }
.place .h-sm { margin-bottom: 12px; }
.place .btn { margin-top: auto; }
.place--dark { background: var(--black); color: var(--white); }
.place--dark .place__address { color: var(--on-dark-muted); }
.place__address { margin-bottom: 24px; color: var(--fog); font-size: 16px; line-height: 1.55; }

.agenda { margin-top: 24px; padding: 32px; border: 1px solid var(--hairline); border-radius: var(--radius-card); }
.agenda__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.agenda__list > li { display: grid; grid-template-columns: auto 1fr; gap: 16px 20px; align-items: center; padding: 18px 0; border-top: 1px solid var(--hairline); }
.agenda__list > li:first-child { border-top: 0; }
.agenda__date { display: grid; justify-items: center; width: 64px; padding: 10px 0; border-radius: 18px; background: var(--black); color: var(--white); }
.agenda__day { font-size: 26px; font-weight: 600; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.agenda__month { margin-top: 4px; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-muted); }
.agenda__title { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.agenda__meta { margin-top: 2px; color: var(--fog); font-size: 15px; }
.agenda__spots { grid-column: 2; justify-self: start; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
@media (min-width: 640px) {
  .agenda__list > li { grid-template-columns: auto 1fr auto; }
  .agenda__spots { grid-column: auto; justify-self: end; }
}
.agenda__skeleton { height: 96px; padding: 0 !important; border-radius: 18px; background: linear-gradient(90deg, var(--mist), #e9ecf2, var(--mist)); background-size: 200% 100%; animation: shimmer 1.4s infinite; margin-bottom: 12px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.agenda__empty { display: grid; gap: 20px; justify-items: start; padding: 8px 0; max-width: 560px; }

/* ---- Galeria ------------------------------------------------------------------------- */

.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gallery__item {
  position: relative; isolation: isolate; overflow: hidden; padding: 0; border: 0; margin: 0;
  aspect-ratio: 3 / 4; border-radius: var(--radius-card); background: var(--carbon); color: var(--white);
  cursor: zoom-in;
}
.gallery__item--desktop { display: none; }
.gallery__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item--wide { grid-column: span 2; aspect-ratio: 3 / 2; }
.gallery__item--video { cursor: default; }
.gallery__item--video .story__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery__caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 56px 72px 20px 20px;
  font-size: 14px; line-height: 1.4; background: linear-gradient(0deg, rgba(0, 0, 0, .75), rgba(0, 0, 0, 0));
}
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .gallery__item { aspect-ratio: 4 / 5; }
  .gallery__item--wide { aspect-ratio: auto; }
  .gallery__item--desktop { display: block; }
}

/* ---- Como começar ---------------------------------------------------------------------- */

.steps { display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.step { padding: 22px 24px; border-radius: var(--radius-card); background: var(--mist); }
.step__num { display: block; margin-bottom: 14px; font-size: 32px; font-weight: 500; line-height: .8; letter-spacing: -0.04em; color: var(--black); font-variant-numeric: tabular-nums; }
.step .h-sm { margin-bottom: 12px; }

.feature {
  display: grid; gap: 24px; align-items: center; margin-top: 24px;
  padding: 24px; border-radius: var(--radius-card); background: var(--mist);
}
.feature__mark { display: grid; place-items: center; width: 96px; aspect-ratio: 1; border-radius: var(--radius-card); background: var(--black); color: var(--white); }
.feature__mark svg { width: 56%; height: auto; }
.feature__body .h-md { margin-bottom: 8px; }
.feature__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) {
  .feature { grid-template-columns: auto 1fr auto; gap: 32px; }
  .feature__mark { width: 120px; }
}

/* ---- Faixa final e rodapé ------------------------------------------------------------------ */

.cta-band { padding-block: clamp(56px, 7vw, 88px); background: var(--black); color: var(--white); text-align: center; }
.cta-band__inner { display: grid; justify-items: center; }
.cta-band__mark { width: clamp(96px, 11vw, 136px); height: auto; margin-bottom: 20px; overflow: visible; color: var(--white); }
.cta-band .lead { margin-top: 24px; }

/* W animado, ciclo de 5 s: 0–1,5 s contorno desenhado · 1,6–3,1 s o W é preenchido da esquerda para a direita ·
   2,9–4,3 s brilho que diminui devagar · 4,3–5 s some e recomeça. Começa em 94% do tamanho e assenta em 100%. */
.wanim { --wa-dur: 5s; --wa-ease: cubic-bezier(.65, 0, .35, 1); }
.wanim__mark { transform-box: fill-box; transform-origin: center;
  animation: wa-settle var(--wa-dur) var(--wa-ease) infinite, wa-fade var(--wa-dur) linear infinite; }
.wanim__outline { fill: none; stroke: currentColor; stroke-width: 1.5px; vector-effect: non-scaling-stroke; stroke-linejoin: miter;
  stroke-dasharray: 1 1; stroke-dashoffset: 1; animation: wa-draw var(--wa-dur) var(--wa-ease) infinite; }
.wanim__fill { fill: currentColor; }
.wanim__halo { fill: currentColor; filter: url(#wa-blur); opacity: 0; animation: wa-halo var(--wa-dur) ease-in-out infinite; }
.wanim__sweep { animation: wa-sweep var(--wa-dur) var(--wa-ease) infinite; }
.wanim__edge-a { stop-color: #fff; }
.wanim__edge-b { stop-color: #000; }
/* parada enquanto está fora da tela (o JS liga com .is-on quando a faixa aparece) */
.js .wanim:not(.is-on) * { animation-play-state: paused; }
@keyframes wa-draw { 0%, 4% { stroke-dashoffset: 1; opacity: 1; } 30% { stroke-dashoffset: 0; opacity: 1; } 42% { opacity: 1; } 52%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes wa-sweep { 0%, 32% { transform: translateX(0); } 62%, 100% { transform: translateX(600px); } }
@keyframes wa-halo { 0%, 58% { opacity: 0; } 70% { opacity: .55; } 86% { opacity: .25; } 100% { opacity: 0; } }
@keyframes wa-settle { 0% { transform: scale(.94); } 62%, 100% { transform: scale(1); } }
@keyframes wa-fade { 0%, 86% { opacity: 1; } 95%, 100% { opacity: 0; } }
/* quem prefere menos movimento vê o W parado e completo */
@media (prefers-reduced-motion: reduce) {
  .wanim__mark, .wanim__outline, .wanim__halo, .wanim__sweep { animation: none !important; }
  .wanim__outline, .wanim__halo { display: none; }
  .wanim__fill { mask: none; }
}

.footer { padding-top: 72px; background: var(--carbon); color: var(--white); }
.footer__grid { display: grid; gap: 40px; padding-bottom: 56px; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 32px; } }
.footer__logo { width: 230px; margin-bottom: 20px; }
.footer__brand p { max-width: 280px; color: var(--on-dark-muted); }
.footer__title { margin-bottom: 16px; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-muted); }
.footer__list { display: grid; gap: 12px; }
.footer__list a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 500; }
.footer__list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__list span { display: block; font-size: 14px; color: var(--on-dark-muted); }
.footer__bottom {
  display: grid; justify-items: center; gap: 10px; text-align: center;
  padding-block: 24px calc(24px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; color: var(--on-dark-muted);
}
.footer__bottom a { color: var(--white); text-underline-offset: 4px; }
@media (min-width: 760px) {
  /* © à esquerda, política no centro, crédito à direita */
  .footer__bottom { grid-template-columns: 1fr auto 1fr; }
  .footer__bottom > :first-child { justify-self: start; }
  .footer__bottom > :last-child { justify-self: end; }
}

/* Botão flutuante (só celular): sem faixa de fundo, some enquanto a pessoa rola para baixo */
.mobile-cta {
  position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 30;
  transform: translate(-50%, calc(100% + 32px)); opacity: 0; pointer-events: none;
  transition: transform .35s var(--ease-out), opacity .25s;
}
.mobile-cta.is-on { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.mobile-cta .btn {
  min-height: 50px; padding: 14px 24px; font-size: 13px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .32), 0 2px 8px rgba(0, 0, 0, .2);
}
/* o mesmo vidro do topo, com a tinta mais escura: ele passa por seções brancas e o texto precisa ler */
.mobile-cta .btn--glass { background: rgba(17, 17, 17, .72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
@media (min-width: 900px) { .mobile-cta { display: none !important; } }

.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(0, 0, 0, .94); color: var(--white);
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(0, 0, 0, .8); }
.lightbox__img { max-width: 92vw; max-height: 86dvh; width: auto; border-radius: var(--radius-card); object-fit: contain; }
.lightbox__close { position: absolute; top: max(16px, env(safe-area-inset-top)); right: 16px; }

/* ---- Página de texto (privacidade) ------------------------------------------------------------ */

.doc { padding-block: var(--section-y); }
.doc__inner { max-width: calc(760px + 2 * var(--gutter)); }
.doc .lead { margin: 24px 0 8px; }
.doc .h-sm { margin: 48px 0 12px; }
.doc p, .doc li { font-size: 17px; line-height: 1.6; color: #2b2b2b; }
.doc ul { display: grid; gap: 8px; padding-left: 20px; list-style: disc; }

/* ---- Erro ------------------------------------------------------------------------------ */

.page-error { background: var(--black); color: var(--white); }
.error-page { display: grid; justify-items: start; align-content: center; gap: 20px; min-height: 100svh; max-width: 720px; margin-inline: auto; padding: 48px var(--gutter); }
.error-page__mark { width: 64px; margin-bottom: 24px; }
.error-page .btn { margin-top: 16px; }

/* ---- Formulários --------------------------------------------------------------------------- */

.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label, .field-label { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 22px;
  border: 1.5px solid var(--hairline); border-radius: var(--radius-pill); background: var(--white);
  font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 96px; border-radius: 20px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 26px) 50%, calc(100% - 20px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 48px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--black); box-shadow: 0 0 0 3px rgba(74, 83, 255, .22); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.field input:disabled { background: var(--mist); color: var(--fog); }
.field__hint { font-size: 14px; line-height: 1.45; color: var(--fog); }
.field__pw { position: relative; }
.field__pw input { padding-right: 60px; }
.field__eye {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border: 0; border-radius: 50%; background: transparent; color: var(--fog);
}
.field__eye[aria-pressed="true"] { color: var(--black); }
.field-row { display: grid; gap: 20px; }
@media (min-width: 560px) {
  .field-row { grid-template-columns: 1.5fr 1fr; }
  .field-row--even { grid-template-columns: 1fr 1fr; }
}
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45; }
.check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--violet); flex: none; }
.check a { text-underline-offset: 3px; }
.form__hint { font-size: 14px; color: var(--fog); text-align: center; }
.form__hint a { color: var(--black); font-weight: 600; text-underline-offset: 3px; }
/* login: "ou" + botões do Google/Microsoft; bloco do responsável (menor de 18) */
.auth__or { display: flex; align-items: center; gap: 12px; color: var(--fog); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.auth__or::before, .auth__or::after { content: ""; flex: 1; height: 1px; background: var(--hairline); }
.auth__oauth { display: grid; gap: 10px; }
.guardian { display: grid; gap: 14px; padding: 18px 20px; border-radius: 20px; background: var(--mist); }
.page-app .guardian { background: var(--white); }
.guardian__title { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.complete { max-width: 640px; margin-inline: auto; }
.session.is-past:not(.is-canceled) .session__title { color: var(--fog); }
/* ---- Lista e calendário no estilo do site (js/fields.js; só no computador) -------------------------- */

/* o campo original continua no formulário guardando o valor, mas invisível */
.ui-native {
  position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important;
  padding: 0 !important; margin: 0 !important; border: 0 !important; opacity: 0 !important;
  pointer-events: none !important; clip-path: inset(50%) !important;
}
.ui-select, .ui-date__box { position: relative; }
.ui-select__btn {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; min-height: 52px; padding: 12px 18px 12px 22px;
  border: 1.5px solid var(--hairline); border-radius: var(--radius-pill); background: var(--white); color: var(--black);
  font-size: 16px; text-align: left; cursor: pointer; transition: border-color .2s, box-shadow .2s;
}
.ui-select__btn:hover { border-color: rgba(17, 17, 17, .38); }
.ui-select__btn:focus-visible, .ui-select.is-open .ui-select__btn {
  outline: none; border-radius: var(--radius-pill); border-color: var(--black); box-shadow: 0 0 0 3px rgba(74, 83, 255, .22);
}
.ui-select__btn[aria-invalid="true"] { border-color: var(--danger); }
.ui-select__btn:disabled { background: var(--mist); color: var(--fog); cursor: default; }
.ui-select__btn.is-placeholder .ui-select__value { color: var(--fog); }
.ui-select__value { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ui-select__chevron { width: 18px; height: 18px; transition: transform .25s var(--ease-out); }
.ui-select.is-open .ui-select__chevron { transform: rotate(180deg); }

/* a janelinha que abre (lista ou calendário): cartão branco, cantos arredondados, sombra leve */
.ui-pop {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 40;
  border: 1px solid var(--hairline); border-radius: 20px; background: var(--white); color: var(--black);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .14), 0 2px 8px rgba(0, 0, 0, .06);
  transform-origin: top center; animation: ui-pop-in .18s var(--ease-out);
}
.is-up > .ui-pop { top: auto; bottom: calc(100% + 8px); transform-origin: bottom center; }
.is-right > .ui-pop { left: auto; right: 0; }
@keyframes ui-pop-in { from { opacity: 0; transform: translateY(-4px) scale(.98); } }

.ui-list {
  right: 0; max-height: 304px; margin: 0; padding: 6px; overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: thin; scrollbar-color: rgba(74, 83, 255, .7) transparent;
}
.ui-list__opt {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 44px; padding: 10px 16px; border-radius: var(--radius-pill); font-size: 15px; cursor: pointer;
}
.ui-list__opt.is-active { background: var(--mist); }
.ui-list__opt[aria-selected="true"] { font-weight: 600; }
.ui-list__opt[aria-selected="true"]::after { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--violet); }
.ui-list__opt[aria-disabled="true"] { color: var(--fog); cursor: default; }

.ui-date { display: grid; gap: 10px; }
.ui-date--time { grid-template-columns: minmax(0, 1fr) 128px; }
.field .ui-date__text { padding-right: 58px; font-variant-numeric: tabular-nums; }
.ui-date__cal {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border: 0; border-radius: 50%; background: transparent; color: var(--black);
  cursor: pointer; transition: background-color .2s;
}
.ui-date__cal:hover, .ui-date__cal[aria-expanded="true"] { background: var(--mist); }
.ui-date__cal:focus-visible { border-radius: 50%; }
.ui-date__cal:disabled { color: var(--fog); background: transparent; cursor: default; }

.ui-cal { width: 316px; padding: 14px; }
.ui-cal__head { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; margin-bottom: 8px; }
.ui-cal__nav, .ui-cal__title { border: 0; background: transparent; color: inherit; transition: background-color .15s; }
.ui-cal__nav { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; }
.ui-cal__nav:disabled { opacity: .25; cursor: default; }
.ui-cal__title {
  justify-self: center; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px;
  border-radius: var(--radius-pill); font-size: 15px; font-weight: 700; letter-spacing: -0.01em; font-variant-numeric: tabular-nums;
}
button.ui-cal__title { cursor: pointer; }
.ui-cal__title .icon { width: 16px; height: 16px; }
.ui-cal__nav:not(:disabled):hover, button.ui-cal__title:hover { background: var(--mist); }
.ui-cal__week, .ui-cal__days { display: grid; grid-template-columns: repeat(7, 1fr); }
.ui-cal__week span { display: grid; place-items: center; height: 30px; font-size: 12px; font-weight: 600; color: var(--fog); }
.ui-cal__days { row-gap: 2px; }
.ui-cal__day {
  display: grid; place-items: center; justify-self: center; width: 40px; height: 40px;
  border: 0; border-radius: 50%; background: transparent; color: inherit;
  font-size: 14px; font-variant-numeric: tabular-nums; cursor: pointer; transition: background-color .15s;
}
.ui-cal__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding-top: 4px; }
.ui-cal__cell {
  min-height: 46px; border: 0; border-radius: var(--radius-pill); background: transparent; color: inherit;
  font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; cursor: pointer; transition: background-color .15s;
}
.ui-cal__day:hover, .ui-cal__cell:hover { background: var(--mist); }
.ui-cal__day.is-today, .ui-cal__cell.is-today { box-shadow: inset 0 0 0 1.5px var(--black); }
.ui-cal__day[aria-pressed="true"], .ui-cal__cell[aria-pressed="true"] { background: var(--black); color: var(--white); font-weight: 600; box-shadow: none; }
.ui-cal__day:disabled, .ui-cal__cell:disabled { color: var(--ash); opacity: .55; background: transparent; box-shadow: none; cursor: default; }
.ui-cal__day:focus-visible, .ui-cal__nav:focus-visible { border-radius: 50%; outline-offset: 1px; }
.ui-cal__cell:focus-visible, .ui-cal__title:focus-visible { border-radius: var(--radius-pill); outline-offset: 1px; }

.form-msg { padding: 14px 20px; border-radius: 18px; font-size: 15px; line-height: 1.45; background: var(--mist); }
.form-msg.is-error { background: #fdecea; color: #8a1712; }
.form-msg.is-ok { background: #ecedff; color: #232a9e; }

/* ---- Login / cadastro --------------------------------------------------------------------- */

.page-auth { background: var(--white); }
.auth { display: grid; min-height: 100svh; }
.auth__side { display: none; }
.auth__panel { display: flex; flex-direction: column; }
.auth__top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--gutter); background: var(--black); color: var(--white);
}
.auth__back { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.auth__mobile-logo svg { width: 36px; }
.auth__box { width: 100%; max-width: 440px; margin: 0 auto; padding: 40px var(--gutter) 64px; }
.auth__title { margin-bottom: 32px; }
/* Abas Entrar / Criar conta: a pílula branca desliza entre as duas */
.tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 24px; border-radius: var(--radius-pill); background: var(--mist); }
.tabs__indicator {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 6px);
  border-radius: var(--radius-pill); background: var(--white); box-shadow: var(--shadow-float);
  transition: transform .42s var(--ease-out);
}
.tabs__indicator[data-pos="cadastro"] { transform: translateX(calc(100% + 4px)); }
.tabs__btn {
  position: relative; z-index: 1;
  min-height: 44px; border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--fog);
  font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  transition: color .3s;
}
.tabs__btn[aria-selected="true"] { color: var(--black); }
.auth__forms.is-animating { overflow: hidden; }
.auth .form-msg { margin-bottom: 20px; }

/* Lado esquerdo do login: chuva sob o refletor ao fundo e o W como se estivesse ali, na chuva.
   - o brilho atrás do W "bate" como um coração (duas batidas e uma pausa) e, por estar em modo
     color-dodge, acende os pingos em volta em vez de só clarear: a luz do W ilumina a chuva;
   - o W é pintado com a luz vindo de cima, à esquerda (de onde está o refletor) e, de tempos em
     tempos, um reflexo passa por ele, como luz batendo numa superfície molhada.
   Só transform/opacity animam (a placa de vídeo faz sozinha); o reflexo usa uma máscara com o W. */
.auth__video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.auth__brand { display: grid; justify-items: center; color: var(--white); text-decoration: none; }
.auth__mark { position: relative; display: block; width: clamp(150px, 13vw, 200px); }
.auth__glow {
  position: absolute; left: 50%; top: 48%; width: 260%; aspect-ratio: 1; border-radius: 50%;
  /* tons médios: no color-dodge, eles multiplicam a luz do fundo (~2x no centro) sem estourar */
  background: radial-gradient(closest-side, rgb(155, 146, 132), rgba(74, 78, 128, .8) 42%, rgba(40, 44, 110, .35) 72%, rgba(40, 44, 110, 0));
  mix-blend-mode: color-dodge; pointer-events: none;
  opacity: .25; transform: translate(-50%, -50%) scale(.9);
  animation: rain-beat 3.6s ease-in-out infinite;
}
.auth__shape { position: relative; display: block; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .45)); }
.auth__w { display: block; width: 100%; height: auto; color: var(--white); }
@keyframes rain-beat {
  0%, 62%, 100% { opacity: .25; transform: translate(-50%, -50%) scale(.9); }
  12% { opacity: 1; transform: translate(-50%, -50%) scale(1.02); }
  24% { opacity: .5; transform: translate(-50%, -50%) scale(.95); }
  34% { opacity: .85; transform: translate(-50%, -50%) scale(1); }
}
@supports (mask-image: none) or (-webkit-mask-image: none) {
  /* o W vira uma máscara: dá para pintá-lo com luz e passar o reflexo só por dentro dele */
  .auth__shape::before, .auth__shape::after {
    content: ""; position: absolute; inset: 0;
    -webkit-mask: url("../brand/w-mark.svg") center / 100% 100% no-repeat;
            mask: url("../brand/w-mark.svg") center / 100% 100% no-repeat;
  }
  .auth__shape::before { background: linear-gradient(150deg, #fff 18%, #eceaf6 52%, #b4b8cc 100%); }
  .auth__shape::after {
    background: linear-gradient(105deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, .95) 50%, rgba(255, 255, 255, 0) 62%) no-repeat;
    background-size: 260% 100%; background-position: 130% 0;
    animation: w-sheen 7.2s ease-in-out 1.2s infinite;
  }
  .auth__shape .auth__w { visibility: hidden; }
}
@keyframes w-sheen {
  0% { background-position: 130% 0; }
  22%, 100% { background-position: -30% 0; }
}
@media (min-width: 900px) {
  .auth { grid-template-columns: minmax(0, 45%) 1fr; }
  .auth__side {
    position: relative; isolation: isolate; display: grid; place-items: start center; overflow: hidden;
    color: var(--white); background: var(--black);
  }
  /* o W fica logo abaixo do refletor (que está no terço de cima do vídeo), como uma placa iluminada por ele.
     Sem transform aqui: o brilho em color-dodge precisa "enxergar" o vídeo atrás. */
  .auth__brand { margin-top: 50svh; }
  /* véu sobre a chuva: escurece embaixo (para a frase) e de leve nas bordas; o refletor fica livre */
  .auth__side::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
      linear-gradient(0deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .3) 32%, rgba(0, 0, 0, .05) 55%, rgba(0, 0, 0, .3) 100%),
      radial-gradient(ellipse at 50% 45%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, .35) 100%);
  }
  .auth__quote { position: absolute; left: 48px; bottom: 48px; max-width: 360px; text-shadow: 0 2px 24px rgba(0, 0, 0, .5); }
  .auth__top { background: transparent; color: var(--black); padding: 32px 48px 0; }
  .auth__mobile-logo { display: none; }
  .auth__panel { justify-content: flex-start; }
  .auth__box { margin-block: auto; padding-top: 32px; }
}

/* ---- Área do atleta ----------------------------------------------------------------------- */

.page-app { background: var(--white); }
.app-bar { background: var(--black); color: var(--white); }
.app-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; }
.app-bar__user { display: flex; align-items: center; gap: 16px; }
/* nome de quem entrou: branco e em semibold, como os links do menu do site (o cinza ficava apagado no preto) */
.app-bar__name { display: none; font-size: 14px; font-weight: 600; letter-spacing: 0.02em; color: var(--white); }
@media (min-width: 640px) { .app-bar__name { display: block; } }
.app__hero { padding: 40px 0 48px; background: var(--black); color: var(--white); }
.notice {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 28px; padding: 20px 24px; border-radius: var(--radius-card); background: var(--carbon);
}
.notice p { max-width: 560px; color: rgba(255, 255, 255, .88); }
.app-tabs-wrap { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--hairline); }
.app-tabs { display: flex; gap: 8px; padding-block: 12px; overflow-x: auto; scrollbar-width: none; }
.app-tabs::-webkit-scrollbar { display: none; }
.app-tabs__btn {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  min-height: 40px; padding: 8px 18px; border: 1.5px solid var(--hairline); border-radius: var(--radius-pill);
  background: var(--white); color: var(--black);
  font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
}
.app-tabs__btn[aria-selected="true"] { background: var(--black); border-color: var(--black); color: var(--white); }
.app-tabs__count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--radius-pill); background: var(--violet); color: var(--white); font-size: 12px; letter-spacing: 0; }
.app__body { padding-block: 40px 96px; }
.panel__head { margin-bottom: 24px; }
.panel__head .body { margin-top: 8px; }
.panel__grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 960px) { .panel__grid { grid-template-columns: 400px 1fr; } }
#painel-perfil .panel__grid { grid-template-columns: 1fr; }
@media (min-width: 960px) { #painel-perfil .panel__grid { grid-template-columns: 1fr 1fr; } }
.card { padding: 28px; border-radius: var(--radius-card); background: var(--mist); }
.card .h-sm { margin-bottom: 4px; }
.card > .body { margin-top: 8px; }
.card--danger { background: #fff5f4; }
.empty { display: grid; gap: 16px; justify-items: start; padding: 32px; border: 1.5px dashed var(--hairline); border-radius: var(--radius-card); }

.sessions { display: grid; gap: 12px; }
.session {
  display: grid; grid-template-columns: auto 1fr; gap: 16px 20px; align-items: start;
  padding: 20px; border-radius: var(--radius-card); background: var(--mist);
}
.session.is-canceled { opacity: .6; }
.session__date { display: grid; justify-items: center; width: 64px; padding: 10px 0; border-radius: 18px; background: var(--black); color: var(--white); }
.session__day { font-size: 26px; font-weight: 600; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.session__month { margin-top: 4px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); }
.session__meta { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--fog); }
.session__title { margin-top: 4px; font-size: 20px; font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; }
.session__place { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 15px; }
.session__place .icon { width: 16px; height: 16px; color: var(--fog); }
.session__place a { text-underline-offset: 3px; }
.session__notes { margin-top: 12px; padding: 14px 16px; border-radius: 16px; background: var(--white); font-size: 15px; line-height: 1.5; color: #333; white-space: pre-line; }
.session__notes-label { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--fog); }
.session.is-private .session__date { background: var(--violet); }
.session__side { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.session__count { font-size: 14px; color: var(--fog); }
.session__actions { display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 720px) {
  .session { grid-template-columns: auto 1fr auto; align-items: center; }
  .session__side { grid-column: auto; flex-direction: column; align-items: flex-end; }
}
.attendees { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; padding-top: 12px; border-top: 1px solid var(--hairline); }
.attendees li { padding: 6px 14px; border-radius: var(--radius-pill); background: var(--white); font-size: 14px; }

.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
  background: var(--white); color: var(--black); border: 1px solid var(--hairline);
}
.badge--ok { background: var(--black); color: var(--white); border-color: var(--black); }
.badge--pending { background: #ecedff; color: #232a9e; border-color: #ecedff; }
.badge--off { color: var(--fog); }

.athletes { display: grid; gap: 8px; }
.athlete {
  display: grid; grid-template-columns: 1fr auto; gap: 12px 16px; align-items: center;
  padding: 18px 20px; border-radius: 20px; background: var(--mist);
}
.athlete__name { font-weight: 600; }
.athlete__meta { font-size: 14px; color: var(--fog); overflow-wrap: anywhere; }
.athlete__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 720px) {
  .athlete { grid-template-columns: 1fr auto auto; }
  .athlete__actions { grid-column: auto; }
}

.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 60;
  max-width: calc(100vw - 32px); padding: 14px 24px; border-radius: var(--radius-pill);
  background: var(--black); color: var(--white); font-size: 15px; font-weight: 500;
  transform: translateX(-50%); box-shadow: var(--shadow-float);
}
.toast.is-error { background: var(--danger); }

.confirm { width: min(440px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: var(--radius-card); }
.confirm::backdrop { background: rgba(0, 0, 0, .6); }
.confirm__box { display: grid; gap: 12px; padding: 32px; }
.confirm .btn-row { margin-top: 16px; }

/* ---- Movimento reduzido ------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .hero__lead, .js .hero__actions, .js .hero__eyebrow, .js .hero__title .line > span { opacity: 1; transform: none; }
}

/* ---- Formulário do treinador: tipo do treino e link para outra aba ------------------------------ */

.segmented { min-width: 0; margin: 0; padding: 0; border: 0; }
.segmented legend { padding: 0; margin-bottom: 8px; }
.segmented__options { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: var(--radius-pill); background: var(--white); }
.segmented label {
  display: grid; place-items: center; min-height: 42px; border-radius: var(--radius-pill); cursor: pointer;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--fog);
}
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label:has(input:checked) { background: var(--black); color: var(--white); }
.segmented label:has(input:focus-visible) { outline: 2px solid var(--violet); outline-offset: 2px; }
.link-btn { padding: 0; border: 0; background: none; color: var(--black); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* No painel do treinador a lista divide a tela com o formulário: ações sempre abaixo do treino */
[data-coach-trainings] .session { grid-template-columns: auto 1fr; }
[data-coach-trainings] .session__side { grid-column: 1 / -1; flex-direction: row; align-items: center; }

/* ---- Barra de rolagem própria (computador com mouse; ver js/scrollbar.js) ---------------------- */

@media (hover: hover) and (pointer: fine) {
  html.custom-scrollbar { scrollbar-width: none; }
  html.custom-scrollbar::-webkit-scrollbar { display: none; }
}
.sbar {
  position: fixed; top: 4px; right: 2px; bottom: 4px; z-index: 90; width: 14px;
  opacity: 0; transition: opacity .35s ease;
}
.sbar.is-on, .sbar:hover, .sbar.is-dragging { opacity: 1; }
.sbar.is-empty { display: none; }
.sbar__thumb {
  width: 6px; margin-left: auto; margin-right: 3px; border-radius: var(--radius-pill);
  background: rgba(74, 83, 255, .8); box-shadow: 0 0 0 1px rgba(255, 255, 255, .25);
  cursor: grab; transition: width .2s ease, margin .2s ease, background-color .2s ease;
}
.sbar:hover .sbar__thumb, .sbar.is-dragging .sbar__thumb { width: 10px; margin-right: 1px; background: var(--violet); }
.sbar.is-dragging .sbar__thumb { cursor: grabbing; }
