/*
Theme Name: EvenPay - Em Reforma
Theme URI: https://evenpay.com.br
Author: EvenPay
Description: Tema temporario de manutencao para o site institucional da EvenPay enquanto a plataforma completa e reconstruida. Nao afeta o acesso a conta.evenpay.com.br.
Version: 1.1.0
License: Uso privado - EvenPay
Text Domain: evenpay-holding
*/

/* ===========================================================
   Tokens
   =========================================================== */
:root {
  --bg: #ededed;
  --ink: #111111;
  --ink-soft: #2b2b2b;
  --muted: #5a5a5a;
  --purple: #813ac8;
  --purple-dark: #64259f;
  --purple-soft: rgba(129, 58, 200, 0.12);
  --white: #ffffff;
  --chip-teal: #5eead4;
  --chip-pink: #f9a8d4;
  --chip-blue: #93c5fd;
  --font-display: "Poppins", "Segoe UI", sans-serif;
  --max-width: 900px;
  --radius-pill: 999px;
}

/* ===========================================================
   Reset & base
   =========================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-display);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ===========================================================
   Ambient background glow
   =========================================================== */
.evp-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.evp-glow span {
  position: absolute;
  width: 46vw;
  height: 46vw;
  max-width: 640px;
  max-height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--purple-soft) 0%, rgba(129, 58, 200, 0) 70%);
  filter: blur(10px);
  animation: evp-drift 22s ease-in-out infinite;
}

.evp-glow span:nth-child(1) { top: -12%; left: -8%; }
.evp-glow span:nth-child(2) { bottom: -16%; right: -10%; animation-duration: 26s; animation-delay: -6s; }

@keyframes evp-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(3%, 4%) scale(1.08); }
}

/* ===========================================================
   Layout shell — tudo empilhado e centralizado, sempre
   =========================================================== */
.evp-page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 6vw, 4rem);
}

.evp-main {
  width: 100%;
  max-width: var(--max-width);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(1.5rem, 3.5vw, 2.25rem);
}

/* ===========================================================
   Logo
   =========================================================== */
.evp-logo {
  display: inline-flex;
  opacity: 0;
  animation: evp-fade-up 0.7s ease forwards;
}

.evp-logo img {
  height: clamp(34px, 4.5vw, 46px);
  width: auto;
}

.evp-logo-fallback {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* ===========================================================
   Headline
   =========================================================== */
.evp-headline {
  margin: 0;
  max-width: 20ch;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  font-size: clamp(1.6rem, 4.4vw, 2.7rem);
  opacity: 0;
  animation: evp-fade-up 0.7s ease forwards;
  animation-delay: 0.08s;
}

.evp-headline .accent { color: var(--purple); }

/* ===========================================================
   Illustration
   =========================================================== */
.evp-illustration {
  width: clamp(200px, 30vw, 280px);
  opacity: 0;
  animation: evp-fade-up 0.7s ease forwards;
  animation-delay: 0.16s;
}

.evp-illustration svg { width: 100%; height: auto; display: block; }

/* ===========================================================
   Subheadline
   =========================================================== */
.evp-subhead {
  margin: 0;
  max-width: 42ch;
  font-weight: 500;
  line-height: 1.5;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  opacity: 0;
  animation: evp-fade-up 0.7s ease forwards;
  animation-delay: 0.24s;
}

/* ===========================================================
   Buttons
   =========================================================== */
.evp-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  opacity: 0;
  animation: evp-fade-up 0.7s ease forwards;
  animation-delay: 0.32s;
}

.evp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1rem 1.9rem;
  min-width: 160px;
  justify-content: center;
  border-radius: var(--radius-pill);
  background: var(--purple);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 10px 24px -12px rgba(129, 58, 200, 0.55);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.evp-btn:hover {
  background: var(--purple-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -12px rgba(129, 58, 200, 0.65);
}

.evp-btn:active { transform: translateY(0) scale(0.98); }

.evp-btn svg { width: 20px; height: 20px; flex-shrink: 0; }

.evp-btn--login svg { transition: transform 0.25s ease; }
.evp-btn--login:hover svg { transform: translateX(3px); }
.evp-btn--whatsapp svg { animation: evp-breathe 2.6s ease-in-out infinite; }

/* ===========================================================
   Trust line
   =========================================================== */
.evp-trust {
  margin: 0;
  font-weight: 600;
  font-style: italic;
  font-size: clamp(0.85rem, 1.4vw, 0.95rem);
  color: var(--ink-soft);
  opacity: 0;
  animation: evp-fade-up 0.7s ease forwards;
  animation-delay: 0.4s;
}

/* ===========================================================
   Motion
   =========================================================== */
@keyframes evp-fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes evp-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .evp-logo,
  .evp-headline,
  .evp-illustration,
  .evp-subhead,
  .evp-actions,
  .evp-trust {
    animation: none;
    opacity: 1;
  }

  .evp-glow span,
  .evp-btn--whatsapp svg {
    animation: none;
  }
}
