@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Pinyon+Script&display=swap');

* {
  box-sizing: border-box;
  font-family: 'Cinzel', serif;
  touch-action: manipulation;
}

html {
  width: 100%;
  min-height: 100%;

  background-image: url("assets/fundo.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #ffffff;
}

body {
  margin: 0;
  min-height: 100svh;

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 12px;
  
  position: relative;
}

.card {
  position: relative;
  z-index: 1;

  width: 100%;
  max-width: 300px;  
  max-height: 92vh;
  overflow: hidden;
  transform-origin: center;

  padding: 24px 20px; 
  border-radius: 18px; 

  text-align: center;

  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);

  box-shadow: 0 12px 30px rgba(0,0,0,0.10);
}

.titulo {
  margin: 0 0 14px 0;
  margin-bottom: 14px;
  line-height: 1.05;
}

.titulo-nome {
  font-family: 'Pinyon Script', cursive;
  font-size: 50px;
}

.titulo-idade {
  display: block;
  font-size: 19px;
  letter-spacing: 0em;
}

.subtitulo {
  margin-top: 18px;
}

h3 {
  font-size: 19px;
  margin-top: 18px;
  letter-spacing: 0.4px;
}

p {
  font-size: 15px;
  line-height: 1.6;
  color: #444;
}

p + p {
  margin-top: 6px;
}

.titulo + p {
  margin-top: 0;
}

input[type="text"] {
  width: 100%;
  display: block;

  margin-top: 16px;
  height: 52px;
  padding: 14px;

  border-radius: 12px;
  border: 1px solid #ddd;

  background: #ffffff;

  font-size: 16px !important;
  letter-spacing: 0.3px;

  outline: none;
  appearance: none;
}

button {
  width: 100%;
  margin-top: 20px;

  height: 52px;
  padding: 14px;

  background: #d74c7f;
  color: #fff;

  border: none;
  border-radius: 12px;

  font-size: 16px;
  letter-spacing: 0.5px;

  cursor: pointer;
}

button:hover {
  opacity: 0.92;
}

label {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 10px;

  margin-top: 12px;
  font-size: 15px;
  color: #444;

  cursor: pointer;
  text-align: center;
}

label input[type="checkbox"] {
  margin: 0;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.checkbox-presenca {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  text-align: left;
  margin-top: 18px;
  margin-bottom: 10px;
}

.conteudo-bloqueado {
  width: 100%;
  padding: 20px 16px;
  margin-top: 8px;

  background: #ffffff;
  border-radius: 12px;

  box-shadow: inset 0 0 0 1px #e5e5e5;
}

@media (max-height: 720px) {
  .card {
    transform: scale(0.95);
  }
}

@media (max-height: 640px) {
  .card {
    transform: scale(0.90);
  }
}

@media (max-height: 580px) {
  .card {
    transform: scale(0.85);
  }
}

input:focus {
  border-color: #d74c7f;
  box-shadow: 0 0 0 2px rgba(215,76,127,0.15);
}
