/* Presell — tela única | 100vw × 100vh */

:root {
  --cor-primaria: #00629f;
  --cor-texto: #1a2b3c;
  --cor-texto-suave: #5a6d7e;
  --cor-fundo: #f8faff;
  --cor-borda: #e2e8f0;
  --cor-whatsapp: #25d366;
  --cor-whatsapp-hover: #1da851;
  --cor-alerta: #c2410c;
  --cor-alerta-suave: #fff7ed;
  --sombra-sm: 0 2px 8px rgba(0, 98, 159, 0.08);
  --raio: 12px;
  --fonte: 'DM Sans', system-ui, sans-serif;
  --conteudo-max: 720px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
  overflow: hidden;
}

body {
  height: 100%;
  width: 100%;
  overflow: hidden;
  font-family: var(--fonte);
  color: var(--cor-texto);
  background: var(--cor-fundo);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---- Tela cheia ---- */
.ps-screen {
  width: 100vw;
  width: 100dvw;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(1rem, env(safe-area-inset-top)) max(1.25rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1.25rem, env(safe-area-inset-left));
  background: linear-gradient(180deg, #e8f4fa 0%, var(--cor-fundo) 45%, #fff 100%);
  overflow: hidden;
}

.ps-screen__inner {
  width: 100%;
  max-width: var(--conteudo-max);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(0.65rem, 2vh, 1.25rem);
}

/* ---- Logo ---- */
.ps-logo {
  height: clamp(40px, 8vh, 56px);
  width: auto;
  margin: 0 auto;
  object-fit: contain;
}

/* ---- Tag urgência ---- */
.ps-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  background: var(--cor-alerta-suave);
  color: var(--cor-alerta);
  font-size: clamp(0.6875rem, 1.8vw, 0.8125rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 50px;
  border: 1px solid rgba(194, 65, 12, 0.15);
}

.ps-tag::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--cor-alerta);
  border-radius: 50%;
  animation: ps-pulse 1.5s ease-in-out infinite;
}

@keyframes ps-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

/* ---- Títulos ---- */
.ps-screen h1 {
  font-size: clamp(1.35rem, 4.2vw, 2.2rem);
  font-weight: 700;
  line-height: 1.22;
  color: var(--cor-texto);
  max-width: 640px;
}

.ps-screen h1 em {
  font-style: normal;
  color: var(--cor-primaria);
}

.ps-lead {
  font-size: clamp(0.9rem, 2.2vw, 1.1rem);
  color: var(--cor-texto-suave);
  line-height: 1.6;
  max-width: 560px;
}

.ps-lead strong {
  color: var(--cor-texto);
  font-weight: 600;
}

/* ---- Stats ---- */
.ps-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(0.5rem, 1.5vw, 1rem);
  width: 100%;
}

.ps-stat {
  flex: 1 1 120px;
  max-width: 200px;
  background: #fff;
  border: 1px solid var(--cor-borda);
  border-radius: var(--raio);
  padding: clamp(0.65rem, 1.5vh, 0.875rem) clamp(0.75rem, 2vw, 1.25rem);
  box-shadow: var(--sombra-sm);
}

.ps-stat strong {
  display: block;
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  color: var(--cor-primaria);
  line-height: 1.2;
}

.ps-stat span {
  display: block;
  font-size: clamp(0.6875rem, 1.6vw, 0.8125rem);
  color: var(--cor-texto-suave);
  margin-top: 0.15rem;
  line-height: 1.3;
}

/* ---- Botão WhatsApp ---- */
.ps-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 520px;
  padding: clamp(0.875rem, 2vh, 1.1rem) clamp(1.25rem, 3vw, 1.75rem);
  background: var(--cor-whatsapp);
  color: #fff;
  font-family: var(--fonte);
  border-radius: 50px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.35);
  transition: 0.3s ease;
  text-align: left;
}

.ps-btn:hover {
  background: var(--cor-whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.45);
}

.ps-btn__ico {
  flex-shrink: 0;
}

.ps-btn__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  min-width: 0;
}

.ps-btn__main {
  font-size: clamp(0.9375rem, 2.5vw, 1.0625rem);
  font-weight: 700;
  line-height: 1.2;
}

.ps-btn__sub {
  font-size: clamp(0.6875rem, 1.8vw, 0.75rem);
  font-weight: 500;
  opacity: 0.92;
  line-height: 1.3;
}

.ps-mais {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.5rem 1.25rem;
  font-size: clamp(0.8125rem, 2vw, 0.9375rem);
  font-weight: 600;
  color: var(--cor-primaria);
  border: 2px solid var(--cor-primaria);
  border-radius: 50px;
  background: transparent;
  transition: 0.3s ease;
}

.ps-mais strong {
  font-weight: 700;
  letter-spacing: 0.04em;
}

.ps-mais:hover {
  background: var(--cor-primaria);
  color: #fff;
}

.ps-note {
  font-size: clamp(0.6875rem, 1.6vw, 0.8125rem);
  color: var(--cor-texto-suave);
  line-height: 1.4;
}

/* ---- Telas baixas (landscape / mobile pequeno) ---- */
@media (max-height: 680px) {
  .ps-screen__inner {
    gap: 0.5rem;
  }

  .ps-logo {
    height: 36px;
  }

  .ps-stats {
    gap: 0.5rem;
  }

  .ps-stat {
    padding: 0.5rem 0.75rem;
  }
}

@media (max-height: 560px) {
  .ps-lead {
    display: none;
  }

  .ps-stat span {
    font-size: 0.625rem;
  }
}

@media (max-width: 480px) {
  .ps-stats {
    gap: 0.5rem;
  }

  .ps-stat {
    flex: 1 1 calc(33% - 0.5rem);
    min-width: 0;
    max-width: none;
    padding: 0.6rem 0.5rem;
  }

  .ps-btn {
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
  }

  .ps-btn__text {
    align-items: center;
    text-align: center;
    flex: 1 1 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ps-tag::before {
    animation: none;
  }

  .ps-btn:hover {
    transform: none;
  }
}
