:root {
  color-scheme: dark;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f8fafc;
  background: #0f172a;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --entry-cyan: #32d4e3;
  --entry-muted: #a8b8cb;
}

* { box-sizing: border-box; }
body.app-entry {
  margin: 0;
  min-width: 280px;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: center;
  background:
    radial-gradient(ellipse at 20% 12%, rgba(6, 182, 212, .13), transparent 46%),
    radial-gradient(ellipse at 94% 85%, rgba(30, 64, 175, .12), transparent 42%),
    #0f172a;
  padding: max(28px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right))
    max(16px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
}
.entry-shell { width: 100%; max-width: 1000px; margin: 0 auto; }
.entry-brand { text-align: center; }
.brand-visual {
  position: relative;
  isolation: isolate;
  width: 240px;
  height: 154px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
}
.brand-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -12px -20px;
  background: radial-gradient(ellipse, rgba(34, 211, 238, .13), transparent 67%);
  pointer-events: none;
}
.brand-orbit {
  position: absolute;
  z-index: -1;
  width: 176px;
  height: 176px;
  border: 1px solid rgba(103, 232, 249, .10);
  border-radius: 50%;
  transform: rotate(-28deg) scaleY(.74);
}
.brand-orbit::before, .brand-orbit::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(103, 232, 249, .06);
  border-radius: 50%;
  inset: -20px;
}
.brand-orbit::after { inset: -40px; }
.brand-logo { position: relative; width: 148px; height: auto; display: block; object-fit: contain; }
.brand-eyebrow, .section-eyebrow {
  margin: 0 0 10px;
  font-size: .65rem;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--entry-cyan);
}
.entry-brand h1 {
  margin: 0;
  font-size: clamp(1.9rem, 7vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -.045em;
  font-weight: 800;
}
.entry-brand h1 span { color: #80e5eb; }
.brand-intro {
  max-width: 330px;
  margin: 14px auto 0;
  font-size: .86rem;
  line-height: 1.65;
  color: var(--entry-muted);
}
.brand-signature { display: none; }
.entry-access { max-width: 440px; margin: 30px auto 0; }
.access-header { text-align: center; margin-bottom: 18px; }
.section-eyebrow { display: none; }
.access-header h2 {
  margin: 0;
  color: #f8fafc;
  font-size: 1.18rem;
  letter-spacing: -.025em;
  line-height: 1.35;
  font-weight: 750;
}
.access-header > p:last-child { margin: 6px 0 0; color: var(--entry-muted); font-size: .8rem; line-height: 1.5; }
.access-options { display: grid; gap: 12px; }
.access-card {
  --accent: #67e8f9;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 26px;
  align-items: center;
  gap: 13px;
  min-height: 120px;
  padding: 20px 17px;
  border: 1px solid rgba(148, 163, 184, .21);
  border-radius: 20px;
  background: linear-gradient(115deg, rgba(29, 47, 70, .88), rgba(24, 36, 56, .88));
  color: #f8fafc;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(2, 6, 23, .14), inset 0 1px 0 rgba(255, 255, 255, .025);
  -webkit-tap-highlight-color: rgba(34, 211, 238, .13);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.access-card--gestao {
  border-color: rgba(34, 211, 238, .38);
  background: linear-gradient(115deg, rgba(8, 78, 97, .58), rgba(23, 43, 65, .9));
}
.access-card--atleta { --accent: #a3c9ff; }
.access-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 48px;
  border: 1px solid rgba(103, 232, 249, .20);
  border-radius: 13px;
  color: var(--accent);
  background: rgba(34, 211, 238, .08);
}
.access-icon svg { width: 25px; height: 25px; }
.access-card--atleta .access-icon { border-color: rgba(147, 197, 253, .18); background: rgba(96, 165, 250, .08); }
.access-copy { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; }
.access-label {
  display: block;
  margin-bottom: 5px;
  color: var(--accent);
  font-size: .6rem;
  line-height: 1.5;
  letter-spacing: .095em;
  font-weight: 700;
}
.access-title { font-size: 1.1rem; line-height: 1.35; letter-spacing: -.02em; font-weight: 750; }
.access-description { display: block; margin-top: 6px; color: #b9c8d9; font-size: .8rem; line-height: 1.55; }
.access-arrow {
  width: 26px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--accent);
}
.access-arrow svg { width: 22px; height: 22px; transition: transform .18s ease; }
a:focus-visible { outline: 3px solid #67e8f9; outline-offset: 5px; }
.access-card:active { transform: scale(.985); }
.account-note { display: flex; gap: 10px; justify-content: center; align-items: flex-start; margin: 23px 4px 0; }
.account-icon { flex: 0 0 16px; margin-top: 3px; color: #7e96ae; }
.account-icon svg { width: 16px; height: 16px; }
.account-note p { margin: 0; color: #93a7bc; font-size: .75rem; line-height: 1.65; }
.account-note strong { display: block; color: #c4d1e0; font-size: .78rem; font-weight: 550; }
.account-note p > span { display: block; margin-top: 2px; }
.entry-footer { text-align: center; margin-top: 26px; }
.entry-footer > p { display: none; }
.entry-footer nav { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; column-gap: 14px; row-gap: 0; }
.entry-footer a { padding: 12px 0; color: #9cb0c6; font-size: .72rem; line-height: 1.5; text-decoration: none; }
.entry-footer nav > span { color: #536b87; }
.entry-footer a:hover { color: #b3f5ff; }

@media (hover: hover) {
  .access-card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 14px 32px rgba(2, 6, 23, .25); }
  .access-card:hover .access-arrow svg { transform: translateX(3px); }
}
@media (min-width: 900px) {
  body.app-entry { padding: max(48px, env(safe-area-inset-top)) max(32px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(32px, env(safe-area-inset-left)); }
  .entry-shell { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 6vw, 80px); align-items: center; }
  .entry-brand { text-align: left; padding-bottom: 12px; }
  .brand-visual { margin: 0 0 22px; width: 250px; height: 202px; }
  .brand-logo { width: 196px; }
  .brand-orbit { width: 210px; height: 210px; }
  .brand-eyebrow { margin-bottom: 15px; font-size: .69rem; }
  .entry-brand h1 { font-size: clamp(2.2rem, 4vw, 3rem); }
  .brand-intro { margin: 20px 0 0; max-width: 360px; font-size: .94rem; }
  .brand-signature { display: flex; gap: 9px; align-items: center; margin-top: 32px; color: #7f96ae; font-size: .58rem; letter-spacing: .22em; font-weight: 650; }
  .brand-signature > span { width: 22px; height: 1px; background: #3c6c80; }
  .entry-access { width: 100%; max-width: none; margin: 0; padding: 28px 24px; border: 1px solid rgba(148, 163, 184, .13); border-radius: 28px; background: rgba(13, 24, 44, .5); box-shadow: 0 24px 60px rgba(2, 6, 23, .14); }
  .access-header { text-align: left; margin-bottom: 24px; }
  .section-eyebrow { display: block; font-size: .58rem; margin-bottom: 8px; }
  .access-header h2 { font-size: 1.4rem; }
  .access-header > p:last-child { margin-top: 8px; font-size: .8rem; }
  .access-card { min-height: 132px; padding: 21px 18px; gap: 12px; }
  .access-title { font-size: 1.1rem; }
  .account-note { justify-content: flex-start; margin-top: 24px; }
  .entry-footer { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; margin-top: 52px; padding-top: 17px; border-top: 1px solid rgba(148, 163, 184, .10); }
  .entry-footer > p { display: block; margin: 0; color: #7f96ae; font-size: .72rem; }
}
@media (max-width: 359px) {
  body.app-entry { padding-top: max(20px, env(safe-area-inset-top)); padding-right: max(16px, env(safe-area-inset-right)); padding-left: max(16px, env(safe-area-inset-left)); }
  .brand-visual { height: 126px; width: 210px; margin-bottom: 10px; }
  .brand-logo { width: 124px; }
  .brand-eyebrow { font-size: .6rem; }
  .entry-brand h1 { font-size: 1.85rem; }
  .brand-intro { max-width: 270px; font-size: .79rem; }
  .entry-access { margin-top: 25px; }
  .access-card { grid-template-columns: 36px minmax(0, 1fr) 20px; padding: 17px 13px; gap: 10px; border-radius: 17px; }
  .access-icon { width: 36px; height: 43px; border-radius: 11px; }
  .access-icon svg { width: 22px; height: 22px; }
  .access-title { font-size: .96rem; }
  .access-description { font-size: .75rem; }
  .access-label { font-size: .56rem; }
  .access-arrow, .access-arrow svg { width: 20px; }
  .account-note { margin-right: 0; margin-left: 0; gap: 7px; }
  .account-note p { font-size: .72rem; }
}
@media (prefers-reduced-motion: reduce) {
  .access-card, .access-arrow svg { transition: none; }
}
