/* Presell Renovando Mentes — Google Ads | tela única */

:root {
  --primary: #0C2D6B;
  --teal: #06B6D4;
  --teal-light: #38BDF8;
  --accent: #60A5FA;
  --accent-soft: rgba(37, 99, 235, 0.14);
  --alert: #1D4ED8;
  --alert-soft: #EFF6FF;
  --whatsapp: #25D366;
  --whatsapp-hover: #1DA851;
  --text: #0B1220;
  --text-muted: #475569;
  --bg: #EFF6FF;
  --font: 'Inter', system-ui, sans-serif;
  --font-display: 'Poppins', system-ui, sans-serif;
  --max: 680px;
}

*, *::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(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; 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));
  overflow: hidden;
}

.ps-screen__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--primary);
  background-image: url('../assets/back-presell.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.ps-screen__bg::before {
  content: '';
  position: absolute;
  top: -30%; right: -20%;
  width: 70%; height: 80%;
  background: radial-gradient(ellipse, rgba(6, 182, 212, 0.18) 0%, transparent 65%);
  pointer-events: none;
}

.ps-screen__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(239, 246, 255, 0.82) 0%,
    rgba(239, 246, 255, 0.68) 45%,
    rgba(239, 246, 255, 0.84) 100%
  );
}

.ps-screen__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.55rem, 1.8vh, 1rem);
}
.ps-screen__inner > * {
  animation: ps-fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.ps-screen__inner > *:nth-child(1) { animation-delay: 0.05s; }
.ps-screen__inner > *:nth-child(2) { animation-delay: 0.12s; }
.ps-screen__inner > *:nth-child(3) { animation-delay: 0.2s; }
.ps-screen__inner > *:nth-child(4) { animation-delay: 0.28s; }
.ps-screen__inner > *:nth-child(5) { animation-delay: 0.36s; }
.ps-screen__inner > *:nth-child(6) { animation-delay: 0.44s; }
.ps-screen__inner > *:nth-child(7) { animation-delay: 0.52s; }
.ps-screen__inner > *:nth-child(8) { animation-delay: 0.6s; }
.ps-screen__inner > *:nth-child(9) { animation-delay: 0.68s; }
@keyframes ps-fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

.ps-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
}
.ps-logo {
  height: clamp(38px, 7vh, 52px);
  width: auto;
  flex-shrink: 0;
}
.ps-brand__name {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3.5vw, 1.45rem);
  font-weight: 600;
  color: var(--primary);
  line-height: 1.2;
  letter-spacing: -.01em;
}

.ps-tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .9rem;
  background: var(--alert-soft);
  color: var(--alert);
  font-size: clamp(.65rem, 1.6vw, .78rem);
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  border-radius: 50px;
  border: 1px solid rgba(194,65,12,.15);
}
.ps-tag::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--alert);
  border-radius: 50%;
  animation: ps-pulse 1.5s ease infinite;
}
@keyframes ps-pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.25); }
}

.ps-screen h1 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 4.5vw, 2.15rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--primary);
}
.ps-screen h1 em {
  font-style: normal;
  color: var(--teal);
}

.ps-lead {
  font-size: clamp(.875rem, 2.2vw, 1.05rem);
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 540px;
}
.ps-lead__destaque {
  color: var(--primary);
  font-weight: 600;
}

.ps-stats {
  display: flex;
  justify-content: center;
  gap: clamp(.75rem, 3vw, 1.5rem);
  flex-wrap: wrap;
  width: 100%;
}
.ps-stat {
  text-align: center;
  min-width: 80px;
}
.ps-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3.5vw, 1.65rem);
  color: var(--primary);
  line-height: 1;
}
.ps-stat span {
  font-size: clamp(.65rem, 1.6vw, .75rem);
  color: var(--text-muted);
  margin-top: .2rem;
  display: block;
}

.ps-btn {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  width: 100%;
  max-width: 400px;
  padding: clamp(.85rem, 2.5vh, 1.1rem) clamp(1rem, 3vw, 1.5rem);
  background: var(--whatsapp);
  color: #fff;
  border-radius: 16px;
  font-weight: 700;
  box-shadow: 0 8px 28px rgba(37,211,102,.4);
  transition: transform .15s, background .15s;
  animation: ps-cta-glow 3s ease infinite;
}
@keyframes ps-cta-glow {
  0%,100% { box-shadow: 0 8px 28px rgba(37,211,102,.4); }
  50% { box-shadow: 0 8px 36px rgba(37,211,102,.55); }
}
.ps-btn:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-4px) scale(1.02);
}
.ps-btn svg { transition: transform .3s cubic-bezier(0.34, 1.56, 0.64, 1); }
.ps-btn:hover svg { transform: scale(1.12); }
.ps-btn__ico { flex-shrink: 0; }
.ps-btn__text { text-align: left; }
.ps-btn__main {
  display: block;
  font-size: clamp(.9rem, 2.5vw, 1.05rem);
}
.ps-btn__sub {
  display: block;
  font-size: clamp(.7rem, 1.8vw, .8rem);
  font-weight: 500;
  opacity: .9;
  margin-top: .1rem;
}

.ps-phone {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1.25rem;
  background: var(--primary);
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  font-size: clamp(.8rem, 2vw, .9rem);
  transition: transform .15s;
}
.ps-phone:hover { transform: translateY(-1px); }

.ps-mais {
  font-size: clamp(.8rem, 2vw, .9rem);
  color: var(--text-muted);
  border-bottom: 1px solid var(--teal);
  padding-bottom: 2px;
  transition: color .15s;
}
.ps-mais:hover { color: var(--teal); }
.ps-mais strong { color: var(--primary); }

.ps-note {
  font-size: clamp(.65rem, 1.6vw, .75rem);
  color: var(--text-muted);
  line-height: 1.45;
  max-width: 480px;
}

.ps-float-phone {
  position: fixed;
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  left: max(1.25rem, env(safe-area-inset-left));
  z-index: 50;
  width: 52px; height: 52px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(27,58,107,.35);
  transition: transform .2s;
}
.ps-float-phone:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 20px rgba(27,58,107,.4);
}
@media (prefers-reduced-motion: reduce) {
  .ps-screen__inner > * { animation: none; }
}

@media (max-height: 620px) {
  .ps-screen__inner { gap: .45rem; }
  .ps-stats { gap: .5rem; }
}
