/* Presell — Nova Jornada | novajornada/ads */

:root {
  --cor-primaria: #1F6F68;
  --cor-primaria-escura: #185a54;
  --cor-texto: #2B2B2B;
  --cor-texto-suave: #4F4F4F;
  --cor-fundo: #F3EEE7;
  --cor-borda: #e0d9cf;
  --cor-whatsapp: #2FA36B;
  --cor-whatsapp-hover: #28965d;
  --cor-tag-fundo: #e8f3f2;
  --sombra-sm: 0 2px 10px rgb(31 111 104 / 0.1);
  --raio: 14px;
  --fonte: 'Rubik', 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;
}

.ps-screen {
  position: relative;
  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-color: var(--cor-fundo);
  overflow: hidden;
}

.ps-screen__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.ps-screen__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ps-screen__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(243, 238, 231, 0.92) 0%,
    rgba(255, 255, 255, 0.78) 42%,
    rgba(243, 238, 231, 0.9) 100%
  );
}

.ps-screen__inner {
  position: relative;
  z-index: 1;
  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);
}

.ps-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--cor-primaria);
  line-height: 1.1;
}

.ps-brand i {
  font-size: 0.92em;
  opacity: 0.95;
}

.ps-copy {
  font-size: 0.72rem;
  color: var(--cor-texto-suave);
  opacity: 0.85;
  margin-top: -0.25rem;
}

.ps-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  background: var(--cor-tag-fundo);
  color: var(--cor-primaria);
  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 rgb(31 111 104 / 0.2);
}

.ps-tag::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--cor-whatsapp);
  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); }
}

.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__destaque {
  position: relative;
  display: inline;
  font-weight: 600;
  color: var(--cor-primaria);
  padding: 0.12em 0.4em;
  border-radius: 6px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(31, 111, 104, 0.08) 45%,
    rgba(31, 111, 104, 0.12) 100%
  );
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.ps-lead__destaque::after {
  content: '';
  position: absolute;
  left: 0.4em;
  right: 0.4em;
  bottom: 0.15em;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--cor-primaria) 35%,
    var(--cor-primaria) 65%,
    transparent 100%
  );
  opacity: 0.35;
}

.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: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  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;
}

.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 rgb(47 163 107 / 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 rgb(47 163 107 / 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-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: clamp(0.8125rem, 2vw, 0.9375rem);
  font-weight: 600;
  color: var(--cor-primaria-escura);
  padding: 0.4rem 0.75rem;
  border-radius: 50px;
  transition: 0.25s ease;
}

.ps-phone:hover {
  color: var(--cor-primaria);
  background: rgba(255, 255, 255, 0.6);
}

.ps-phone strong {
  font-weight: 700;
}

.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: rgba(255, 255, 255, 0.5);
  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;
  max-width: 480px;
}

@media (max-height: 680px) {
  .ps-screen__inner {
    gap: 0.5rem;
  }

  .ps-brand {
    font-size: 1.25rem;
  }

  .ps-stats {
    gap: 0.5rem;
  }

  .ps-stat {
    padding: 0.5rem 0.75rem;
  }
}

@media (max-height: 560px) {
  .ps-lead {
    display: none;
  }

  .ps-phone {
    display: none;
  }

  .ps-stat span {
    font-size: 0.625rem;
  }
}

@media (max-width: 480px) {
  .ps-screen {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }

  .ps-brand {
    font-size: clamp(1.2rem, 5vw, 1.5rem);
  }

  .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,
  .ps-mais:hover {
    transform: none;
  }
}
