@font-face {
  font-family: "Quiche Display";
  src: url("fonts/QuicheDisplay-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Ofelia Text";
  src: url("fonts/OfeliaText-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  background-color: #114348;
  color: #f2ede6;
  font-family: "Ofelia Text", Georgia, "Times New Roman", serif;
}

.page {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* Hero (video + header + title) */

.hero {
  position: absolute;
  inset: 0;
  height: 100%;
}

.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

/* Quando o iOS bloqueia o autoplay (Modo de Baixo Consumo, navegador embutido
   do WhatsApp/Instagram), o Safari desenha um botão de play cinza no centro do
   vídeo. Ele vive no shadow DOM e só some por estes pseudo-elementos; sem eles
   a página parece quebrada. O play acontece no primeiro toque (scripts.js). */
.bg-video::-webkit-media-controls,
.bg-video::-webkit-media-controls-start-playback-button,
.bg-video::-webkit-media-controls-panel,
.bg-video::-webkit-media-controls-overlay-play-button {
  display: none !important;
  -webkit-appearance: none;
  opacity: 0;
}

/* Camada do efeito de ondulação: fica sobre o vídeo, sem imagem de fundo.
   Sem textura, o plugin desenha só os brilhos da água — o resto sai
   transparente e o vídeo continua visível por baixo. */
.hero .ripple-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 0;
}

.hero-overlay {
  position: relative;
  z-index: 1;
  /* deixa o mouse chegar na .ripple-overlay, que fica abaixo */
  pointer-events: none;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 48px 80px;
}

/* Header */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-left,
.header-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo {
  display: block;
  height: auto;
}

.logo-zp {
  height: 60px;
}

.logo-arez {
  height: 30px;
}

.logo-parque-sul {
  height: 25px;
}

.soon-text {
  font-size: 15px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Hero title */

.hero-title-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  transform: translateY(-10%);
}

.hero-title {
  margin: 0 0 0 58%;
  text-align: left;
  font-family: "Quiche Display", Georgia, "Times New Roman", serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 76px;
  line-height: 1.05;
  letter-spacing: 0.03em;
}

.hero-title span {
  display: block;
}

/* Signup */

.signup {
  position: absolute;
  left: 80px;
  right: 80px;
  bottom: 56px;
  z-index: 2;
  text-align: center;
}

.signup-text {
  margin: 0 0 28px;
  font-size: 19px;
  letter-spacing: 0.01em;
}

.signup-form {
  display: flex;
  justify-content: center;
  gap: 20px;
  max-width: 950px;
  margin: 0 auto 28px;
}

.signup-form input {
  flex: 1;
  min-width: 0;
  padding: 16px 20px;
  background: transparent;
  border: 1px solid #f2ede6;
  border-radius: 4px;
  color: #f2ede6;
  font-family: "Ofelia Text", Georgia, "Times New Roman", serif;
  font-size: 15px;
}

.signup-form input::placeholder {
  color: rgba(242, 237, 230, 0.65);
}

.signup-form input:focus {
  outline: none;
  border-color: #f2ede6;
}

.form-message {
  height: 20px;
  margin: 0 0 16px;
  font-size: 14px;
  letter-spacing: 0.01em;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.form-message.visible {
  opacity: 1;
}

.form-message.success {
  color: #cfe8c9;
}

.form-message.error {
  color: #e8b4b4;
}

.signup-button {
  display: block;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  padding: 18px;
  background-color: #25575a;
  border: 1px solid #2d656a;
  border-radius: 4px;
  color: #f2ede6;
  font-family: "Ofelia Text", Georgia, "Times New Roman", serif;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.signup-button:hover {
  background-color: #2d656a;
}

.signup-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ------------------------------------------------------------ */
/* Desktop, short viewport (small laptop screens)                */
/* ------------------------------------------------------------ */

@media (min-width: 769px) and (max-height: 950px) {
  .hero-title-wrap {
    align-items: flex-start;
    margin-top: 12vh;
    transform: none;
  }

  .hero-title {
    margin-left: 62%;
    font-size: 52px;
  }
}

/* ------------------------------------------------------------ */
/* Mobile                                                        */
/* ------------------------------------------------------------ */

@media (max-width: 768px) {
  .page {
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }

  .hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
  }

  .hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 220px;
    background: linear-gradient(to bottom, rgba(17, 67, 72, 0), #114348);
    z-index: 1;
    pointer-events: none;
  }

  .hero-overlay {
    padding: 24px 20px;
  }

  .header-left {
    gap: 10px;
  }

  .header-right {
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
  }

  .logo-zp {
    height: 35px;
  }

  .logo-arez {
    height: 18px;
  }

  .logo-parque-sul {
    height: 16px;
  }

  .soon-text {
    font-size: 11px;
  }

  .hero-title-wrap {
    flex: none;
    margin-top: 56px;
    justify-content: center;
    align-items: flex-start;
  }

  .hero-title {
    margin: 0;
    text-align: center;
    font-size: 36px;
    letter-spacing: 0.04em;
  }

  .hero-title span {
    display: inline;
  }

  .signup {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    z-index: 2;
    margin-top: -170px;
    padding: 40px 24px 48px;
  }

  .signup-text {
    max-width: 320px;
    margin: 0 auto 28px;
    font-size: 17px;
    line-height: 1.4;
  }

  .signup-form {
    flex-direction: column;
    max-width: 420px;
    gap: 16px;
  }

  .signup-button {
    max-width: 420px;
  }
}
