/* styles.css — /axis/ */

/* =========================
   RESET / BASE
========================= */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body { height: 100%; }

body {
  font-family: "Montserrat", sans-serif;
  color: #fff;
  background: transparent !important; /* não pode cobrir o bg-container */
  overflow-x: hidden;
}

/* =========================
   FUNDO (BANNER)
========================= */
.bg-container {
  position: fixed;
  inset: 0;
  z-index: -1;

  background-color: #0b0f1a;
  background-image: url("/axis/assets/axis-banner.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.bg-container::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* escurece levemente o centro pra legibilidade SEM "matar" o banner */
  background: radial-gradient(70% 60% at 50% 38%, rgba(0,0,0,.10), rgba(0,0,0,.26));
}

@media (max-width: 768px) {
  .bg-container {
    background-image: url("/axis/assets/axis-banner-mobile.png");
    background-size: cover;
    background-position: center;
  }
  .bg-container::after { background: none; }
}

/* =========================
   ÍCONES TOPO
========================= */
.top-icon {
  position: fixed;
  top: 40px;
  z-index: 30;
  text-decoration: none;
  transition: transform .2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.top-icon:hover { transform: scale(1.06); }

.left-icon  { left: 40px; }
.right-icon { right: 40px; }

.top-icon img {
  display: block;
  max-width: none;
}

.left-icon img { width: 32px; height: auto; }

.right-icon img {
  height: 40px;
  width: auto;
  max-height: 40px;
}

/* =========================
   LAYOUT SEM SOBREPOR BANNER
   - Reservas para não cobrir textos do topo e logos do rodapé (no próprio banner)
========================= */
:root{
  /* “zona proibida” do topo: onde o banner tem texto/logo */
  --safe-top: clamp(170px, 20vh, 240px);

  /* “zona proibida” do rodapé: onde o banner tem os logos */
  --safe-bottom: clamp(180px, 22vh, 260px);

  /* largura do painel */
  --panel-w: min(640px, 92vw);
}

.page {
  min-height: 100vh;
  position: relative;
  z-index: 10;

  /* IMPORTANTE: impede o painel de encostar no topo e de cair em cima dos logos */
  padding-top: var(--safe-top);
  padding-bottom: var(--safe-bottom);

  /* Centraliza o conteúdo na “faixa segura” */
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-shell {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
}

.cta-panel {
  width: var(--panel-w);

  /* visual: destaque, mas sem “tapar” o banner inteiro */
  background: rgba(12, 16, 26, 0.58);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 14px 40px rgba(0,0,0,0.38);

  border-radius: 18px;
  padding: 22px 20px;
  backdrop-filter: blur(8px);

  text-align: center;
}

.cta-kicker{
  font-size: .82rem;
  letter-spacing: .8px;
  text-transform: uppercase;
  opacity: .88;
}

.cta-title{
  margin-top: 10px;
  font-size: clamp(1.4rem, 3vw, 2.05rem);
  font-weight: 900;
  letter-spacing: .2px;
  text-shadow: 0 2px 16px rgba(0,0,0,.35);
}

.cta-sub{
  margin-top: 10px;
  font-size: 1rem;
  line-height: 1.35;
  opacity: .92;
  text-shadow: 0 2px 14px rgba(0,0,0,.35);
}

.cta-actions{
  margin-top: 16px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 900;

  padding: 14px 18px;
  border-radius: 999px;

  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
  user-select: none;
  min-width: 220px;
}

.btn-primary{
  background: #ffffff;
  color: #000;
  box-shadow: 0 10px 26px rgba(0,0,0,.40);
}

.btn-primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,.48);
  background: #f2f2f2;
}

.btn-ghost{
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
}

.btn-ghost:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.34);
  background: rgba(255,255,255,0.14);
}

.cta-note{
  margin-top: 14px;
  font-size: .88rem;
  opacity: .86;
  text-shadow: 0 2px 14px rgba(0,0,0,.35);
}

.cta-closed{
  opacity: 1;
  font-weight: 600;
  color: rgba(255, 180, 180, 0.95);
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
  .top-icon  { top: 25px; }
  .left-icon  { left: 20px; }
  .right-icon { right: 20px; }

  .left-icon img  { width: 28px; }
  .right-icon img { height: 30px; max-height: 30px; }

  :root{
    /* no mobile, o rodapé de logos ocupa mais área do banner */
    --safe-top: clamp(190px, 22vh, 260px);
    --safe-bottom: clamp(260px, 30vh, 360px);
  }

  .cta-panel{
    padding: 18px 16px;
    border-radius: 16px;
  }

  .btn{
    width: 100%;
    min-width: unset;
  }

  .cta-sub{ font-size: .96rem; }
  .cta-note{ font-size: .84rem; }
}
