/* Nexi VoIP → Proxima | stile pagina */
:root{
  color-scheme: light;
  --bg:#f6f6f6;
  --ink:#1a181b;
  --muted:#5c5a60;
  --blue:#0f5fa6;
  --sky:#1ea2da;
  --plum:#8d4d87;
  --line:#e2e2e4;
  box-sizing:border-box;
  padding-top:env(safe-area-inset-top,0px);
  padding-bottom:env(safe-area-inset-bottom,0px);
  background:var(--bg);
}
*,*::before,*::after{box-sizing:inherit}
html,body{margin:0;height:100%}
body{
  background:var(--bg);
  color:var(--ink);
  font-family:"Poppins",-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  font-weight:400;
  -webkit-font-smoothing:antialiased;
  min-height:100%;
  display:grid;
  grid-template-rows:1fr auto;
}
img{max-width:100%;height:auto;display:block}

.stage{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;
  padding:clamp(2rem,6vh,4rem) 1.5rem;
  gap:clamp(1.5rem,3.5vh,2.25rem);
}
.nexi{width:clamp(130px,16vw,200px)}
.video{width:min(100%,760px,max(320px,(100svh - 560px) * 1.7778));aspect-ratio:16/9;border-radius:14px;overflow:hidden;background:#e4e4e6;
  box-shadow:0 18px 40px -22px rgba(26,24,27,.45)}
.video iframe{display:block;width:100%;height:100%;border:0}
.message{margin:0;max-width:24ch;text-wrap:balance;
  font-weight:300;
  font-size:clamp(1.6rem,1.1rem + 2.2vw,2.75rem);
  line-height:1.25;letter-spacing:-.01em}
.message strong{font-weight:600}

.btn{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:52px;padding:.9rem 2.25rem;
  border-radius:999px;
  background:linear-gradient(90deg,var(--blue) 0%,var(--sky) 55%,var(--plum) 100%);
  background-size:200% 100%;background-position:0 0;
  color:#fff;text-decoration:none;
  font-weight:600;font-size:1rem;letter-spacing:.01em;
  box-shadow:0 8px 24px -10px rgba(15,95,166,.55);
  transition:background-position .45s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover{background-position:100% 0;transform:translateY(-2px);box-shadow:0 12px 28px -10px rgba(141,77,135,.55)}
.btn:active{transform:translateY(0)}
.btn:focus-visible{outline:3px solid var(--sky);outline-offset:4px}

footer{
  border-top:1px solid var(--line);
  padding:1.75rem 1.5rem 2rem;
  display:flex;flex-direction:column;align-items:center;gap:.9rem;
  text-align:center;color:var(--muted);
  font-size:.8125rem;line-height:1.7;
}
footer .proxima{width:150px}
footer p{margin:0}
footer a{color:var(--blue);text-decoration:none;font-weight:600;border-bottom:1px solid transparent;transition:color .2s,border-color .2s}
footer a:hover{color:var(--plum);border-color:currentColor}
footer a:focus-visible{outline:2px solid var(--sky);outline-offset:3px;border-radius:2px}
.sep{color:#b9b8bc;padding:0 .35em}
.heart{color:#d6336c}

@media (max-width:600px){
  .sep{display:none}
  .legal span:not(.sep){display:block}
}

/* one load sequence */
.stage > *{opacity:0;transform:translateY(10px);animation:in .7s cubic-bezier(.2,.7,.2,1) forwards}
.stage > :nth-child(2){animation-delay:.15s}
.stage > :nth-child(3){animation-delay:.3s}
.stage > :nth-child(4){animation-delay:.45s}
@keyframes in{to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){
  .stage > *{animation:none;opacity:1;transform:none}
  .btn{transition:none}
}
