/* FrancaCup — Componentes
   Tipografia, botões, cards, FAQ, CTA e animações reutilizáveis.
*/
.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 0 0 8px var(--orange-soft);
}

h1,
h2,
h3 {
  line-height: 1.02;
  letter-spacing: -0.035em;
}

h1,
h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
}

h1 {
  font-size: clamp(58px, 4.4vw, 112px);
  max-width: 760px;
}

h2 {
  font-size: clamp(36px, 2.8vw, 66px);
}

h3 {
  font-size: 22px;
  letter-spacing: -0.04em;
}

.hero-text {
  margin-top: 26px;
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 20px);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--orange);
  color: #111;
}

.btn-secondary {
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.18);
}


.card-topline,
.experience-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--blue);
  box-shadow: 0 0 0 8px var(--blue-soft);
}

.orbit-card h2 {
  font-size: 56px;
  margin-top: 72px;
}

.orbit-card p,
.experience-card p,
.info-card p,
.timeline-item p,
.stories-panel p,
.faq p,
.footer p {
  color: var(--muted);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.card-grid {
  display: grid;
  gap: 18px;
}

.four-cards {
  grid-template-columns: repeat(4, 1fr);
}

.info-card,
.experience-card,
.stories-panel,
.final-cta-box,
.timeline-item,
details {
  border: 1px solid var(--border-soft);
  background: var(--card-soft);
  border-radius: var(--radius-md);
}

.faq-heading {
  margin-bottom: 34px;
}

.faq-heading .btn {
  margin-top: 24px;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 780px;
  margin-inline: auto;
}

details {
  padding: 22px 24px;
}

summary {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  color: var(--orange);
  font-size: 22px;
  line-height: 1;
}

details[open] summary::after {
  content: "−";
}

details p {
  margin-top: 14px;
  padding-right: 32px;
}

.final-cta-box {
  text-align: center;
  padding: clamp(46px, 8vw, 90px) 24px;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(59, 130, 246, 0.12),
      transparent 26%
    ),
    radial-gradient(
      circle at 82% 28%,
      rgba(249, 115, 22, 0.12),
      transparent 24%
    ),
    rgba(30, 36, 48, 0.56);
}

.final-cta-box h2 {
  max-width: 780px;
  margin-inline: auto;
}

.centered-actions {
  justify-content: center;
}


.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.08s;
}
.delay-2 {
  transition-delay: 0.16s;
}
.delay-3 {
  transition-delay: 0.24s;
}
.delay-4 {
  transition-delay: 0.32s;
}



.nav a.is-active { color: var(--text); }

@media (max-width: 560px) {
  h1 { font-size: clamp(48px, 14vw, 74px); }
  h2 { font-size: clamp(34px, 10vw, 52px); }

  .hero-actions,
  .centered-actions {
    align-items: stretch;
    width: 100%;
  }

  .btn { width: 100%; }
}


/* Jogadores */
.players-preview-grid,
.player-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.player-card {
  position: relative;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 12px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    rgba(30, 36, 48, 0.46);
}

.player-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 0%, rgba(59, 130, 246, 0.13), transparent 32%),
    radial-gradient(circle at 90% 8%, rgba(249, 115, 22, 0.1), transparent 32%);
  opacity: 0.9;
  pointer-events: none;
}

.player-card::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 18px;
  height: 1px;
  background: linear-gradient(90deg, rgba(249, 115, 22, 0.82), transparent 64%);
  opacity: 0.54;
}

.player-card-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(249, 115, 22, 0.14)),
    rgba(15, 17, 21, 0.72);
}

.player-card-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(15, 17, 21, 0.18));
  pointer-events: none;
}

.player-card-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.88) contrast(1.03);
}

.player-card-photo.is-initials {
  display: grid;
  place-items: center;
}

.player-card-photo.is-initials span {
  font-family: var(--font-display);
  font-size: clamp(64px, 8vw, 104px);
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: -0.06em;
}

.player-card-copy {
  position: relative;
  z-index: 1;
  padding: 18px 4px 4px;
}

.player-card-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.player-card-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 6px rgba(249, 115, 22, 0.12);
}

.player-card-status.is-waitlist {
  color: var(--blue);
}

.player-card-status.is-waitlist::before {
  box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.12);
}

.player-card h3 {
  font-family: var(--font-display);
  font-size: clamp(32px, 3vw, 46px);
  line-height: 0.9;
  text-transform: uppercase;
  word-break: break-word;
}

.player-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.player-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.player-card-meta span {
  padding: 7px 10px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.player-card-preview {
  min-height: 0;
}

.player-card-empty {
  opacity: 0.56;
}

.player-card-empty .player-card-status {
  color: var(--muted-2);
}

.player-card-empty .player-card-status::before {
  box-shadow: 0 0 0 6px rgba(116, 125, 141, 0.1);
}

.data-empty-note {
  color: var(--muted);
  font-size: 15px;
}

.data-empty-note.is-hidden,
.is-hidden {
  display: none !important;
}

@media (max-width: 1024px) {
  .players-preview-grid,
  .player-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .players-preview-grid,
  .player-preview-grid {
    grid-template-columns: 1fr;
  }

  .player-card {
    padding: 10px;
  }

  .player-card-photo {
    border-radius: 16px;
  }
}

/* Recursos futuros controlados por JSON
   Usado para deixar Times/Chaveamento prontos, mas ocultos até ativação no painel.
*/
.feature-controlled[data-feature] {
  display: none !important;
}

.feature-controlled.is-feature-active {
  display: revert !important;
}

.nav .feature-controlled.is-feature-active {
  display: inline-flex !important;
}

/* Times */
.teams-preview-grid,
.teams-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.team-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 16% 0%, rgba(59, 130, 246, 0.13), transparent 32%),
    radial-gradient(circle at 92% 12%, rgba(249, 115, 22, 0.12), transparent 30%),
    rgba(30, 36, 48, 0.48);
}

.team-card::before {
  content: "";
  position: absolute;
  left: clamp(24px, 3vw, 34px);
  right: clamp(24px, 3vw, 34px);
  top: clamp(24px, 3vw, 34px);
  height: 1px;
  background: linear-gradient(90deg, var(--orange), transparent 68%);
  opacity: 0.7;
}

.team-card-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  margin-top: 28px;
}

.team-card-number {
  font-family: var(--font-display);
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.32);
  font-size: clamp(66px, 7vw, 108px);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.08em;
}

.team-card-title span {
  display: block;
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.team-card-title h3 {
  font-family: var(--font-display);
  font-size: clamp(44px, 5vw, 72px);
  line-height: 0.86;
  text-transform: uppercase;
  max-width: 360px;
}

.team-card-roster {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  margin-top: 44px;
}

.team-player-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 50px;
  padding: 10px 0;
  border-top: 1px solid var(--border-soft);
}

.team-player-lane {
  color: var(--orange);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.team-player-name strong {
  display: block;
  line-height: 1.2;
}

.team-player-name span {
  color: var(--muted-2);
  font-size: 13px;
}

.team-card-empty {
  opacity: 0.64;
}

.team-card-empty .team-card-title h3 {
  color: var(--muted);
}

/* Chaveamento */
.bracket-preview,
.bracket-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: start;
}

.bracket-stage {
  min-height: 100%;
  padding: 18px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: rgba(30, 36, 48, 0.46);
}

.bracket-stage h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: clamp(30px, 3vw, 46px);
  line-height: 0.9;
  text-transform: uppercase;
}

.bracket-stage h3 span {
  color: var(--muted-2);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.bracket-matches {
  display: grid;
  gap: 12px;
}

.bracket-match {
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  background: rgba(15, 17, 21, 0.36);
}

.bracket-team {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 12px;
  align-items: center;
  padding: 13px 14px;
}

.bracket-team + .bracket-team {
  border-top: 1px solid var(--border-soft);
}

.bracket-team strong {
  font-size: 14px;
  line-height: 1.2;
}

.bracket-team span {
  color: var(--muted-2);
  text-align: right;
  font-weight: 900;
}

.bracket-match-status {
  padding: 9px 14px;
  border-top: 1px solid var(--border-soft);
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.bracket-empty-line {
  min-height: 96px;
  display: grid;
  place-items: center;
  border: 1px dashed var(--border-soft);
  border-radius: 16px;
  color: var(--muted-2);
  font-size: 13px;
  font-weight: 800;
}

.feature-locked-state,
.data-empty-state {
  max-width: 760px;
  padding: clamp(34px, 5vw, 58px) 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.feature-locked-state h2,
.data-empty-state h2 {
  font-size: clamp(42px, 5vw, 76px);
  max-width: 720px;
}

.feature-locked-state p,
.data-empty-state p {
  max-width: 620px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
}

@media (max-width: 1024px) {
  .bracket-preview,
  .bracket-board {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .teams-preview-grid,
  .teams-grid {
    grid-template-columns: 1fr;
  }

  .team-card-head {
    display: grid;
  }
}

/* Team logo identity */
.team-card-identity {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
}

.team-card-logo {
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  background: rgba(255,255,255,.045);
  overflow: hidden;
}

.team-card-logo img {
  width: 76%;
  height: 76%;
  object-fit: contain;
}

.team-card-logo span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

@media (max-width: 620px) {
  .team-card-identity {
    display: grid;
    gap: 14px;
  }

  .team-card-logo {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
  }
}
