/* ==========================================================================
   Liga de Handebol do Paraná — Página "Em breve"
   ========================================================================== */

/* Variáveis
   ========================================================================== */
:root {
  --navy: #071b88;
  --blue: #102cbb;
  --green: #099343;
  --ink: #10182d;
  --muted: #68738a;
}

/* Base
   ========================================================================== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, sans-serif;
  color: var(--ink);
  background: #f6f8fc;
}

/* Página
   ========================================================================== */
.page {
  min-height: 100vh;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(ellipse at 80% 16%, rgba(9, 147, 67, .08), transparent 32%),
    radial-gradient(ellipse at 12% 86%, rgba(16, 44, 187, .08), transparent 34%),
    #f8faff;
}

.page::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .23;
  background-image: radial-gradient(#9caacc .7px, transparent .7px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

.topline {
  height: 6px;
  background: linear-gradient(90deg, var(--navy) 0 58%, var(--green) 58% 100%);
}

/* Navegação
   ========================================================================== */
.navbar {
  position: relative;
  z-index: 1;
  padding: 24px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -.04em;
}

.brand span:last-child {
  font-size: 15px;
  line-height: 1.1;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: #71809c;
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 15px;
  border: 1px solid #dce5f2;
  border-radius: 999px;
  background: #ffffffbd;
  color: #44516b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}

.pulse {
  width: 8px;
  height: 8px;
  background: #11a653;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #11a65320;
}

/* Hero
   ========================================================================== */
.hero {
  min-height: calc(100vh - 96px);
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  padding: 28px 0 70px;
}

.hero-row {
  width: 100%;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-weight: 800;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .19em;
}

.eyebrow::before {
  content: "";
  height: 2px;
  width: 28px;
  background: var(--green);
}

h1 {
  margin: 22px 0 24px;
  font-family: 'Barlow Condensed', sans-serif;
  color: var(--navy);
  font-size: clamp(4rem, 8vw, 7.7rem);
  font-weight: 900;
  line-height: .84;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

h1 em {
  color: var(--green);
  font-style: normal;
}

.lead {
  max-width: 520px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.8;
}

.lead strong {
  color: #263450;
  font-weight: 700;
}

.coming-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid #e1e8f3;
  border-radius: 12px;
  box-shadow: 0 12px 30px #152c5d0a;
  color: #44516b;
  font-size: 13px;
  font-weight: 600;
}

.coming-pill svg {
  color: var(--green);
}

/* Visual (logo)
   ========================================================================== */
.visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 520px;
}

.visual-halo {
  position: absolute;
  width: min(420px, 75vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #e8f0ff 0%, #edf7f0 53%, #f8faff 72%);
}

.visual-halo::before,
.visual-halo::after {
  content: "";
  position: absolute;
  inset: 7%;
  border: 1px solid #dbe5f6;
  border-radius: 50%;
}

.visual-halo::after {
  inset: -7%;
  border-style: dashed;
  opacity: .65;
}

.logo-card {
  position: relative;
  width: min(250px, 50vw);
  animation: float 6s ease-in-out infinite;
}

.logo-card img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 28px #0d245326);
}

.float-tag {
  position: absolute;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid #e5eaf2;
  border-radius: 14px;
  box-shadow: 0 12px 32px #0d24531a;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
}

.tag-one {
  top: 17%;
  right: 0;
  transform: translateX(24%) rotate(-4deg);
}

.tag-two {
  bottom: 16%;
  left: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translateX(-20%) rotate(-4deg);
}

.tag-two b {
  color: var(--green);
  font-size: 17px;
}

.ball {
  position: absolute;
  right: 11%;
  bottom: 13%;
  width: 34px;
  height: 34px;
  border: 2px solid var(--green);
  border-radius: 50%;
  opacity: .65;
}

.ball::before,
.ball::after {
  content: "";
  position: absolute;
  top: 14px;
  left: -4px;
  width: 38px;
  height: 2px;
  background: var(--green);
  transform: rotate(45deg);
}

.ball::after {
  transform: rotate(-45deg);
}

/* Rodapé
   ========================================================================== */
.footer {
  position: relative;
  z-index: 1;
  padding: 17px 0;
  border-top: 1px solid #e8edf5;
  color: #8791a5;
  font-size: 11px;
}

.footer strong {
  color: #44516b;
}

.footer a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

.footer a:hover {
  color: var(--green);
}

/* Animações
   ========================================================================== */
@keyframes float {
  0%, 100% { transform: translateY(-6px); }
  50%      { transform: translateY(6px); }
}

/* Responsivo
   ========================================================================== */
@media (max-width: 767.98px) {
  .navbar { padding: 19px 0; }
  .status { padding: 8px 11px; font-size: 10px; }

  .hero {
    min-height: unset;
    padding: 25px 0 40px;
    text-align: center;
  }

  .eyebrow { justify-content: center; }
  .eyebrow::before { display: none; }

  h1 {
    margin-top: 17px;
    font-size: clamp(4rem, 17vw, 6.7rem);
  }

  .lead {
    margin-left: auto;
    margin-right: auto;
    font-size: 15px;
  }

  .visual { min-height: 390px; margin-top: 4px; }

  .logo-card { width: min(190px, 48vw); }

  .float-tag { padding: 10px 12px; font-size: 10px; }
  .tag-one { right: 2%; }
  .tag-two { left: 3%; }

  .footer { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* Botão "Área restrita" (acesso ao sistema de arbitragem)
   ========================================================================== */
.restricted-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  box-shadow: 0 10px 24px #071b8833;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.restricted-btn:hover,
.restricted-btn:focus-visible {
  background: linear-gradient(135deg, var(--green), #067a37);
  box-shadow: 0 12px 26px #09934333;
  color: #fff;
  transform: translateY(-1px);
}

.restricted-btn:focus-visible {
  outline: 3px solid #09934355;
  outline-offset: 3px;
}

/* Uma tela só: topo, conteúdo e rodapé dividem a altura (sem rolagem à toa)
   ========================================================================== */
.page {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
}

.hero {
  flex: 1 1 auto;
  min-height: 0;
  padding: 8px 0 16px;
}

.visual {
  min-height: min(520px, 62vh);
}

@media (max-width: 767.98px), (max-height: 560px) {
  .page {
    height: auto;
    min-height: 100vh;
  }

  .restricted-btn {
    padding: 8px 13px;
    font-size: 12px;
  }
}

/* Título e texto da plataforma (Handebol do Paraná conectado)
   ========================================================================== */
h1 {
  font-size: clamp(3rem, 5.6vw, 5.6rem);
  line-height: .9;
}

.lead {
  max-width: 560px;
  color: #3a4766;
  line-height: 1.7;
}

/* Faixa Clubes · Atletas · Árbitros · Gestão
   ========================================================================== */
.pillars {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pillar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 22px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 800;
}

.pillar:first-child {
  padding-left: 0;
}

.pillar + .pillar {
  border-left: 1px solid #d5dcea;
}

.pillar svg {
  width: 28px;
  height: 28px;
  flex: none;
}

.pillar-green svg { color: var(--green); }
.pillar-navy svg { color: var(--navy); }
.pillar-yellow svg { color: #f2b705; }
.pillar-purple svg { color: #7c3aed; }

/* Botão "Acessar o Sistema"
   ========================================================================== */
.restricted-btn {
  gap: 10px;
  padding: 11px 20px;
  border-radius: 12px;
  font-size: 14px;
}

.restricted-btn .restricted-arrow {
  transition: transform .15s ease;
}

.restricted-btn:hover .restricted-arrow {
  transform: translateX(3px);
}

@media (max-width: 767.98px) {
  .pillars {
    justify-content: center;
  }

  .pillar {
    padding: 4px 12px;
    font-size: 13px;
  }

  .pillar svg {
    width: 22px;
    height: 22px;
  }

  .restricted-btn {
    padding: 8px 12px;
    font-size: 12px;
  }
}

/* "Handebol do Paraná" numa linha e "conectado." embaixo (como no modelo). */
h1 {
  font-size: clamp(2.6rem, 4.6vw, 5rem);
}

h1 .h1-line,
h1 em {
  display: block;
}

@media (min-width: 992px) {
  h1 .h1-line {
    white-space: nowrap;
  }
}

/* Celular: topo numa linha só e os quatro pilares em grade 2 × 2. */
@media (max-width: 575.98px) {
  .navbar .container {
    flex-wrap: nowrap;
    gap: 10px;
  }

  .brand {
    min-width: 0;
  }

  .brand span:last-child {
    font-size: 13px;
  }

  .restricted-btn {
    flex: none;
  }

  .btn-more {
    display: none;
  }

  .pillars {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    max-width: 320px;
    margin: 0 auto;
  }

  .pillar,
  .pillar:first-child {
    justify-content: center;
    padding: 10px 8px;
    border: 1px solid #e1e8f3;
    border-radius: 12px;
    background: #fff;
  }

  .pillar + .pillar {
    border-left: 1px solid #e1e8f3;
  }
}

/* Fundo no mesmo padrão da tela de login do sistema: degradê azul/verde, quadras, faixas e bolas animadas
   ========================================================================== */
body {
  overflow-x: hidden;
  background:
    radial-gradient(ellipse at 0% 100%, rgba(29, 78, 216, 0.22), transparent 45%),
    radial-gradient(ellipse at 100% 0%, rgba(22, 163, 74, 0.14), transparent 40%),
    radial-gradient(ellipse at 100% 70%, rgba(59, 130, 246, 0.2), transparent 45%),
    linear-gradient(135deg, #dfe9fd 0%, #f3f7ff 45%, #dce7fc 100%);
  background-attachment: fixed;
}

.page {
  position: relative;
  z-index: 1;
  background: transparent;
}

.page::before {
  display: none;
}

.footer {
  border-top-color: rgba(16, 44, 187, .12);
  background: rgba(255, 255, 255, .45);
  backdrop-filter: blur(4px);
}

.scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.scene-court {
  position: absolute;
  width: min(1000px, 85vw);
  height: auto;
  opacity: .9;
  filter: drop-shadow(0 0 2px rgba(29, 63, 174, .25));
  animation: scene-drift 18s ease-in-out infinite;
}

.scene-court-left {
  top: 4vh;
  left: -28vw;
  transform: perspective(1200px) rotateY(28deg) rotate(84deg);
}

.scene-court-right {
  right: -42vw;
  bottom: -4vh;
  transform: perspective(1200px) rotateY(-24deg) rotate(-12deg);
  animation-delay: -9s;
}

.scene-stripe {
  position: absolute;
  width: 60vw;
  height: 120px;
  background: linear-gradient(180deg, #22a06b 0 30%, transparent 30% 38%, #1d4ed8 38% 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%);
  mask-image: linear-gradient(90deg, transparent, #000 45%);
  opacity: .85;
  animation: scene-stripe 12s ease-in-out infinite;
}

.scene-stripe-top {
  top: 4vh;
  right: -22vw;
  transform: rotate(-52deg);
}

.scene-stripe-bottom {
  bottom: 2vh;
  left: -26vw;
  transform: rotate(36deg) scaleX(-1);
  animation-delay: -6s;
}

.scene-throw {
  position: absolute;
  left: 6vw;
  top: 30vh;
  width: 70vw;
  height: 70vw;
  border: 3px dashed rgba(255, 255, 255, .75);
  border-color: rgba(255, 255, 255, .75) transparent transparent;
  border-radius: 50%;
  transform: rotate(-18deg);
}

.scene-ball {
  position: absolute;
  height: auto;
  filter: drop-shadow(0 10px 14px rgba(15, 31, 92, .25));
}

.scene-ball-1 {
  left: 9vw;
  bottom: 12vh;
  width: 84px;
  animation: scene-bounce 2.6s cubic-bezier(.5, 0, .5, 1) infinite;
}

.scene-ball-2 {
  top: 18vh;
  right: 12vw;
  width: 54px;
  animation: scene-float 7s ease-in-out infinite;
}

.scene-ball-3 {
  top: 0;
  left: 0;
  width: 40px;
  offset-path: path("M -80 620 Q 520 -60 1180 260");
  offset-rotate: 0deg;
  animation: scene-fly 9s ease-in-out infinite;
}

@keyframes scene-drift {
  0%, 100% { translate: 0 0; }
  50% { translate: 1.5vw -1.5vh; }
}

@keyframes scene-stripe {
  0%, 100% { translate: 0 0; opacity: .85; }
  50% { translate: -2vw 1.5vh; opacity: .65; }
}

@keyframes scene-bounce {
  0%, 100% { translate: 0 0; rotate: 0deg; scale: 1.06 .94; }
  12% { scale: 1; }
  50% { translate: 0 -140px; rotate: 180deg; scale: 1; }
  88% { scale: 1; }
}

@keyframes scene-float {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  50% { translate: -16px 22px; rotate: -160deg; }
}

@keyframes scene-fly {
  0% { offset-distance: 0%; rotate: 0deg; opacity: 0; }
  10% { opacity: 1; }
  80% { opacity: 1; }
  100% { offset-distance: 100%; rotate: 540deg; opacity: 0; }
}

@media (max-width: 639px) {
  .scene-court { width: 140vw; }
  .scene-ball-1 { width: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  .scene * { animation: none !important; }
  .scene-ball-3 { display: none; }
}

/* Botão "Acessar o Sistema" embaixo do texto; rodapé sem faixa (só o crédito, à direita)
   ========================================================================== */
.hero-btn {
  margin-top: 4px;
  padding: 14px 26px;
  border-radius: 14px;
  font-size: 16px;
  box-shadow: 0 14px 30px #071b8840;
}

.footer {
  border-top: 0;
  background: transparent;
  backdrop-filter: none;
}

@media (max-width: 767.98px) {
  .hero-btn {
    padding: 12px 22px;
    font-size: 15px;
  }

  .footer .container {
    justify-content: center !important;
  }
}

/* Sem barra no topo: o conteúdo ocupa a tela toda. Crédito no canto inferior direito. Lado direito mais leve.
   ========================================================================== */
.hero {
  padding-top: 24px;
}

.footer {
  padding: 12px 0;
}

.footer-inner {
  display: flex;
  justify-content: flex-end;
  padding: 0 28px;
}

/* Círculo do escudo: transparente, só com os contornos suaves. */
.visual-halo {
  background: radial-gradient(circle, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, .18) 55%, transparent 72%);
}

.visual-halo::before {
  border-color: rgba(16, 44, 187, .1);
}

.visual-halo::after {
  border-color: rgba(16, 44, 187, .12);
  opacity: .5;
}

.ball {
  display: none;
}

@media (max-width: 767.98px) {
  .footer-inner {
    justify-content: center;
    padding: 0 16px;
  }
}
