/*
 * Página de lançamento temporária — dab1949.pt
 * Paleta e hierarquia de cores: ver design/CORES.md (fonte de verdade do projeto).
 * Página autónoma (não depende do tema WordPress) para poder ser publicada
 * de imediato na raiz do domínio, antes do site principal estar pronto.
 */

:root {
  --color-primary: #005080;
  --color-primary-dark: #003060;
  --color-primary-light: #0090d0;
  --color-white: #ffffff;
  --color-community: #e8a93c;
  --color-text: #12202e;

  --font-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-primary);
  color: var(--color-white);
  background-color: var(--color-primary-dark);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

/* ---------- Fundo fotográfico ---------- */

.hero-media {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
  animation: slow-zoom 24s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(0, 20, 38, 0.35) 0%, rgba(0, 20, 38, 0.72) 75%),
    linear-gradient(180deg, rgba(0, 32, 56, 0.78) 0%, rgba(0, 24, 44, 0.6) 42%, rgba(0, 16, 32, 0.88) 100%);
}

/* ---------- Layout ---------- */

.page {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 6vw, 3rem) clamp(1.25rem, 6vw, 2rem);
  text-align: center;
}

.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 640px;
  width: 100%;
}

/* ---------- Logótipo e identidade ---------- */

.brand-logo {
  width: clamp(96px, 20vw, 152px);
  height: auto;
  filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.45));
  margin-bottom: clamp(1.25rem, 4vw, 1.75rem);
}

.club-name {
  margin: 0;
  font-size: clamp(1.25rem, 4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.3;
}

.club-since {
  margin: 0.5rem 0 0;
  font-size: clamp(0.8rem, 2vw, 0.95rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-community);
}

/* ---------- Mensagem principal ---------- */

.headline {
  margin: clamp(1.75rem, 5vw, 2.5rem) 0 0;
  font-size: clamp(1.75rem, 5.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.subtext {
  margin: 1rem 0 0;
  max-width: 46ch;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

/* ---------- Redes sociais ---------- */

.socials {
  display: flex;
  gap: 1rem;
  margin-top: clamp(2rem, 5vw, 2.75rem);
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-decoration: none;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.social-btn svg {
  width: 22px;
  height: 22px;
  fill: var(--color-white);
}

.social-btn:hover,
.social-btn:focus-visible {
  background-color: var(--color-primary-light);
  border-color: var(--color-primary-light);
  transform: translateY(-3px);
}

.social-btn:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 3px;
}

/* ---------- Rodapé ---------- */

.site-footer {
  position: relative;
  z-index: 1;
  padding: 1.25rem clamp(1.25rem, 6vw, 2rem) 1.75rem;
  text-align: center;
}

.footer-club {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.footer-credit {
  margin: 0.4rem 0 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-credit a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-credit a:hover,
.footer-credit a:focus-visible {
  color: var(--color-white);
  border-color: var(--color-white);
}

/* ---------- Animações de entrada ---------- */

.brand-logo,
.club-name,
.club-since,
.headline,
.subtext,
.socials,
.site-footer {
  opacity: 0;
  animation: fade-up 0.9s ease-out forwards;
}

.brand-logo { animation-delay: 0.1s; }
.club-name { animation-delay: 0.25s; }
.club-since { animation-delay: 0.35s; }
.headline { animation-delay: 0.5s; }
.subtext { animation-delay: 0.65s; }
.socials { animation-delay: 0.8s; }
.site-footer { animation-delay: 0.95s; }

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slow-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .brand-logo,
  .club-name,
  .club-since,
  .headline,
  .subtext,
  .socials,
  .site-footer {
    animation: none;
    opacity: 1;
  }

  .hero-media img {
    animation: none;
  }
}

@media (max-width: 420px) {
  .socials {
    gap: 0.85rem;
  }
}
