/* ===== Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  min-height: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #f5f5f5;   /* cor que aparece nas laterais em telas largas */
  color: #fff;
  position: relative;
}

/* ===== Fundo com a imagem do cartaz ===== */
.background {
  position: fixed;
  inset: 0;
  background-image: url('cartazvertical.png');
  background-size: contain;              /* mostra o cartaz inteiro, sem cortar */
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #f5f5f5;             /* fundo das laterais (mesma cor do body) */
  z-index: 0;
}

/* Overlay suave só na parte de baixo, pra destacar o botão */
.overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 55%,
    rgba(0, 0, 0, 0.45) 85%,
    rgba(0, 0, 0, 0.65) 100%
  );
  z-index: 1;
  pointer-events: none;   /* não bloqueia cliques */
}

/* ===== Conteúdo principal ===== */
.content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-height: 100vh;
}

/* Espaço superior para não cobrir o texto do cartaz */
.spacer {
  flex: 1;
}

/* ===== Botão de confirmação ===== */
.btn-confirmar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #c41e3a 0%, #9b1b2e 100%);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 1rem 2.4rem;
  border-radius: 50px;
  box-shadow:
    0 8px 24px rgba(196, 30, 58, 0.45),
    0 2px 8px rgba(0, 0, 0, 0.3);
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-confirmar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
  border-radius: 50px;
  pointer-events: none;
}

.btn-confirmar:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 12px 32px rgba(196, 30, 58, 0.55),
    0 4px 12px rgba(0, 0, 0, 0.35);
  background: linear-gradient(135deg, #d42545 0%, #a81f33 100%);
}

.btn-confirmar:active {
  transform: translateY(-1px) scale(1.01);
}

.btn-confirmar svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* ===== Texto auxiliar abaixo do botão ===== */
.info-texto {
  margin-top: 1.1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  font-weight: 500;
}

/* ===== Link secundário ===== */
.link-site {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  transition: color 0.2s ease;
}

.link-site:hover {
  color: #fff;
  text-decoration: underline;
}

/* ===== Responsivo ===== */
@media (max-width: 480px) {
  .content {
    padding-bottom: 3.5rem;
  }

  .btn-confirmar {
    font-size: 1.05rem;
    padding: 0.95rem 2rem;
    width: 90%;
    max-width: 320px;
  }

  .info-texto {
    font-size: 0.85rem;
  }
}

/* Ajuste para telas altas */
@media (min-height: 800px) {
  .content {
    padding-bottom: 6rem;
  }
}

/* Em telas muito largas (desktop), evita o cartaz ficar gigante */
@media (min-width: 900px) {
  .background {
    background-size: auto 100%;   /* altura da tela, mantém proporção */
  }
}