/* Passervi Contabilidad — Landing
   Paleta y radios tomados de docs/design/estilo.md (misma marca que la app real). */

@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --blue-50: #eff6ff; --blue-100: #dbeafe; --blue-400: #60a5fa; --blue-500: #3b82f6;
  --blue-600: #2563eb; --blue-700: #1d4ed8; --blue-900: #1e3a8a;

  --teal-50: #f0fdfa; --teal-100: #ccfbf1; --teal-500: #14b8a6; --teal-600: #0d9488; --teal-700: #0f766e;

  --fuchsia-50: #fdf4ff; --fuchsia-100: #fae8ff; --fuchsia-500: #d946ef;
  --fuchsia-600: #c026d3; --fuchsia-700: #a21caf;

  --surface: #ffffff;
  --plano: #f7f8fa;
  --texto-primario: #0f172a;
  --texto-secundario: #475569;
  --texto-tenue: #94a3b8;
  --borde: #e2e8f0;

  --radius-card: 1rem;
  --radius-control: 0.625rem;
  --radius-pill: 999px;

  --shadow-card: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-glass: 0 1px 1px rgba(15, 23, 42, 0.03), 0 12px 32px rgba(30, 58, 138, 0.08);
  --shadow-glass-hover: 0 1px 1px rgba(15, 23, 42, 0.04), 0 20px 48px rgba(30, 58, 138, 0.14);
  --shadow-glow-fuchsia: 0 8px 28px rgba(192, 38, 211, 0.35);
  --shadow-glow-blue: 0 8px 24px rgba(37, 99, 235, 0.25);

  --font-sans: "Manrope", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--texto-primario);
  background: var(--plano);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(760px 480px at 8% -6%, rgba(37, 99, 235, 0.16), transparent 60%),
    radial-gradient(680px 460px at 96% 8%, rgba(192, 38, 211, 0.14), transparent 60%),
    radial-gradient(900px 620px at 50% 115%, rgba(13, 148, 136, 0.14), transparent 60%),
    var(--plano);
  background-attachment: fixed;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
section { position: relative; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-700);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

h1, h2, h3 { text-wrap: balance; }

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-top: 14px;
}
.section-head p {
  margin-top: 14px;
  font-size: 1.0625rem;
  color: var(--texto-secundario);
  line-height: 1.6;
}

/* ---------- Botones ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: var(--radius-control);
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 8px 28px rgba(192, 38, 211, 0.35); }
  50% { box-shadow: 0 10px 34px rgba(192, 38, 211, 0.55); }
}
.btn-primary {
  background: linear-gradient(135deg, var(--fuchsia-600), var(--fuchsia-500));
  color: #fff;
  box-shadow: var(--shadow-glow-fuchsia);
}
.btn-primary:hover { transform: translateY(-1px) scale(1.015); }
.hero-cta .btn-primary {
  animation: glowPulse 3.2s ease-in-out infinite;
  animation-delay: 2s;
}
.hero-cta .btn-primary:hover { animation-play-state: paused; }

.btn-secondary {
  background: rgba(255, 255, 255, 0.6);
  color: var(--blue-700);
  border: 1px solid var(--blue-100);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover { background: var(--blue-50); }

.btn-ghost {
  background: transparent;
  color: var(--texto-primario);
  padding: 10px 16px;
}
.btn-ghost:hover { color: var(--blue-700); }

.btn-block { width: 100%; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 248, 250, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.brand img { height: 58px; width: auto; }

@media (max-width: 420px) {
  .brand img { height: 46px; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--texto-secundario);
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-links a:hover { color: var(--blue-700); background: var(--blue-50); }

.header-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle svg { width: 24px; height: 24px; }

/* ---------- Hero ---------- */

.hero { padding: 64px 0 60px; }
.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.25rem, 4vw, 3.375rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-top: 20px;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--blue-600), var(--fuchsia-600), var(--blue-600));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 7s ease-in-out infinite;
  animation-delay: 1s;
}
.hero p.lead {
  margin-top: 22px;
  font-size: 1.1875rem;
  line-height: 1.6;
  color: var(--texto-secundario);
  max-width: 46ch;
}
.hero-cta {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-trust {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
}

/* Entrada escalonada del hero al cargar la página */
@keyframes heroIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}
.hero-copy > * {
  opacity: 0;
  animation: heroIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.16s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.30s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.44s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.56s; }
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--texto-secundario);
}
.hero-trust svg { width: 16px; height: 16px; color: var(--teal-600); flex-shrink: 0; }

/* Mockup del producto real */
@keyframes heroVisualIn {
  from { opacity: 0; transform: translateX(28px) scale(0.96); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes floatBrowser {
  0%, 100% { transform: rotate(1.5deg) translateY(0); }
  50% { transform: rotate(1.5deg) translateY(-8px); }
}
.hero-visual {
  position: relative;
  min-height: 420px;
  opacity: 0;
  animation: heroVisualIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.32s forwards;
}
.mockup-browser {
  background: var(--surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-glass-hover);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.6);
  transform: rotate(1.5deg);
  transition: transform 0.4s ease;
  animation: floatBrowser 6s ease-in-out infinite;
  animation-delay: 1.1s;
}
.hero-visual:hover .mockup-browser {
  transform: rotate(0deg) translateY(-4px);
  animation-play-state: paused;
}
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  background: #eef1f6;
  border-bottom: 1px solid var(--borde);
}
.mockup-bar span {
  width: 9px; height: 9px; border-radius: 50%; background: #d4d9e2;
}
.mockup-bar span:nth-child(1) { background: #f0857a; }
.mockup-bar span:nth-child(2) { background: #f3c15c; }
.mockup-bar span:nth-child(3) { background: #6bc48c; }
.mockup-browser img { display: block; width: 100%; }

@keyframes floatPhone {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50% { transform: rotate(-4deg) translateY(-10px); }
}
.mockup-phone {
  position: absolute;
  right: -18px;
  bottom: -34px;
  width: 148px;
  aspect-ratio: 9 / 19.5;
  border-radius: 22px;
  border: 5px solid #0f172a;
  box-shadow: var(--shadow-glass-hover);
  overflow: hidden;
  background: #0f172a;
  transform: rotate(-4deg);
  transition: transform 0.4s ease;
  z-index: 2;
  animation: floatPhone 5s ease-in-out infinite;
  animation-delay: 0.4s;
}
.hero-visual:hover .mockup-phone {
  transform: rotate(-1deg) translateY(-6px);
  animation-play-state: paused;
}
.mockup-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

@keyframes badgePop {
  from { opacity: 0; transform: scale(0.7) translateY(6px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.45); }
  70% { box-shadow: 0 0 0 9px rgba(13, 148, 136, 0); }
  100% { box-shadow: 0 0 0 0 rgba(13, 148, 136, 0); }
}
.floaty-badge {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-control);
  box-shadow: var(--shadow-glass);
  padding: 10px 14px;
  font-size: 0.8125rem;
  font-weight: 700;
  opacity: 0;
  animation: badgePop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 1.15s forwards;
}
.floaty-badge.top { top: -22px; left: 18px; }
.floaty-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal-600);
  animation: pulseDot 2.2s ease-out infinite;
  animation-delay: 1.7s;
}

/* ---------- Glass card genérica ---------- */

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-glass);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.glass-card:hover {
  box-shadow: var(--shadow-glass-hover);
  transform: translateY(-3px);
}

/* ---------- Value props ---------- */

.value-props { padding: 40px 0 96px; }
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.value-grid .value-card:nth-child(1) { transition-delay: 0s; }
.value-grid .value-card:nth-child(2) { transition-delay: 0.09s; }
.value-grid .value-card:nth-child(3) { transition-delay: 0.18s; }
.value-grid .value-card:nth-child(4) { transition-delay: 0.27s; }
.value-card { padding: 26px 22px; }
.value-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.value-icon svg { width: 22px; height: 22px; }
.value-card:nth-child(1) .value-icon { background: var(--blue-50); color: var(--blue-600); }
.value-card:nth-child(2) .value-icon { background: var(--teal-50); color: var(--teal-600); }
.value-card:nth-child(3) .value-icon { background: var(--fuchsia-50); color: var(--fuchsia-600); }
.value-card:nth-child(4) .value-icon { background: var(--blue-50); color: var(--blue-700); }
.value-card h3 { font-size: 1.0625rem; font-weight: 700; }
.value-card p { margin-top: 8px; font-size: 0.9375rem; line-height: 1.55; color: var(--texto-secundario); }

/* ---------- Servicios ---------- */

.services { padding: 20px 0 100px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.services-grid .service-card:nth-child(1) { transition-delay: 0s; }
.services-grid .service-card:nth-child(2) { transition-delay: 0.08s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.16s; }
.services-grid .service-card:nth-child(4) { transition-delay: 0.24s; }
.services-grid .service-card:nth-child(5) { transition-delay: 0.32s; }
.services-grid .service-card:nth-child(6) { transition-delay: 0.40s; }
.service-card { padding: 30px 26px; }
.service-icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--blue-600), var(--fuchsia-600));
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-glow-blue);
  margin-bottom: 18px;
}
.service-icon svg { width: 22px; height: 22px; color: #fff; }
.service-card h3 { font-size: 1.125rem; font-weight: 700; }
.service-card p { margin-top: 10px; font-size: 0.9375rem; line-height: 1.6; color: var(--texto-secundario); }

/* ---------- Cómo funciona ---------- */

.how { padding: 20px 0 100px; }
.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.how-steps::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-200, #bfdbfe), var(--fuchsia-200, #f5d0fe));
  z-index: 0;
}
.how-step { position: relative; z-index: 1; text-align: center; transition-delay: 0s; }
.how-steps .how-step:nth-child(1) { transition-delay: 0s; }
.how-steps .how-step:nth-child(2) { transition-delay: 0.12s; }
.how-steps .how-step:nth-child(3) { transition-delay: 0.24s; }
.how-steps .how-step:nth-child(4) { transition-delay: 0.36s; }
@keyframes numPop {
  0% { transform: scale(0.5); }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); }
}
.how-num {
  width: 56px; height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--borde);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--blue-700);
  box-shadow: var(--shadow-card);
}
.how-step.is-visible .how-num {
  animation: numPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.how-step h3 { font-size: 1.0625rem; font-weight: 700; padding: 0 8px; }
.how-step p { margin-top: 8px; font-size: 0.9375rem; color: var(--texto-secundario); line-height: 1.55; padding: 0 6px; }

/* ---------- Para quién ---------- */

.who { padding: 20px 0 100px; }
.who-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.who-grid .who-card:nth-child(1) { transition-delay: 0s; }
.who-grid .who-card:nth-child(2) { transition-delay: 0.1s; }
.who-grid .who-card:nth-child(3) { transition-delay: 0.2s; }
.who-grid .who-card:nth-child(4) { transition-delay: 0.3s; }
.who-card {
  padding: 30px 24px;
  border-top: 3px solid var(--blue-500);
}
.who-card:nth-child(2) { border-top-color: var(--teal-600); }
.who-card:nth-child(3) { border-top-color: #4a3aa7; }
.who-card:nth-child(4) { border-top-color: var(--fuchsia-600); }
.who-card .tag {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--texto-tenue);
}
.who-card h3 { margin-top: 8px; font-size: 1.1875rem; font-weight: 800; }
.who-card p { margin-top: 10px; font-size: 0.9375rem; line-height: 1.6; color: var(--texto-secundario); }

/* ---------- CTA / contacto ---------- */

.cta-section { padding: 20px 0 110px; }
.cta-card {
  padding: clamp(36px, 5vw, 64px);
  border-radius: 28px;
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--fuchsia-700) 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow-fuchsia);
}
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(420px 260px at 12% 20%, rgba(255,255,255,0.14), transparent 60%),
    radial-gradient(420px 260px at 88% 85%, rgba(255,255,255,0.10), transparent 60%);
}
.cta-card > * { position: relative; }
.cta-card h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  max-width: 24ch;
  margin: 0 auto;
}
.cta-card p {
  margin-top: 16px;
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.85);
  max-width: 48ch;
  margin-inline: auto;
}
.cta-actions {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}
.cta-card .btn-secondary {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}
.cta-card .btn-secondary:hover { background: rgba(255,255,255,0.2); }
.cta-card .btn-primary { background: #fff; color: var(--fuchsia-700); box-shadow: 0 8px 28px rgba(0,0,0,0.18); }

.cta-note {
  margin-top: 18px;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.65);
}

/* ---------- Formulario de contacto ---------- */

.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 56px);
  text-align: left;
}
.cta-pitch h2 { text-align: left; margin: 0; }
.cta-pitch p { text-align: left; margin: 14px 0 0; margin-inline: 0; max-width: 40ch; }
.cta-pitch .btn { margin-top: 26px; }
.cta-pitch .cta-note { text-align: left; }

.cta-form {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: clamp(20px, 3vw, 28px);
  backdrop-filter: blur(8px);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.cta-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}
.cta-form input {
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-control);
  padding: 11px 13px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.cta-form input::placeholder { color: rgba(255, 255, 255, 0.4); }
.cta-form input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.16);
}
.cta-form input:user-invalid { border-color: rgba(255, 120, 120, 0.7); }

.cta-form .btn-block { margin-top: 6px; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status {
  margin-top: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  min-height: 1.2em;
  color: rgba(255, 255, 255, 0.9);
}
.form-status.error { color: #ffd4d4; }
.form-status.ok { color: #d4ffe4; }

/* ---------- Footer ---------- */

.site-footer { padding: 56px 0 40px; border-top: 1px solid var(--borde); }
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-brand img { height: 30px; }
.footer-brand p {
  margin-top: 12px;
  font-size: 0.875rem;
  color: var(--texto-secundario);
  max-width: 32ch;
  line-height: 1.6;
}
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--texto-tenue);
  margin-bottom: 14px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.9375rem; color: var(--texto-secundario); transition: color 0.2s ease; }
.footer-col a:hover { color: var(--blue-700); }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--borde);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8125rem;
  color: var(--texto-tenue);
}

/* ---------- Widget flotante (WhatsApp + form rápido) ---------- */

@keyframes floatBtnIn {
  0% { transform: scale(0) rotate(-12deg); opacity: 0; }
  60% { transform: scale(1.15) rotate(6deg); opacity: 1; }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}
.float-widget {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: floatBtnIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.float-btn:hover { transform: scale(1.08) translateY(-2px); }
.float-btn svg { width: 26px; height: 26px; }
.float-btn-wa { background: #25d366; color: #fff; animation-delay: 2.3s; }
.float-btn-form {
  background: linear-gradient(135deg, var(--fuchsia-600), var(--fuchsia-500));
  color: #fff;
  box-shadow: var(--shadow-glow-fuchsia);
  animation-delay: 2.5s;
}

.float-panel {
  width: min(320px, calc(100vw - 40px));
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 18px;
  box-shadow: var(--shadow-glass-hover);
  padding: 18px;
  animation: floatPanelIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.float-panel[hidden] { display: none; }
@keyframes floatPanelIn {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
.float-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 800;
  font-size: 0.9375rem;
  color: var(--texto-primario);
}
.float-panel-sub {
  margin-top: 4px;
  font-size: 0.8125rem;
  color: var(--texto-secundario);
  line-height: 1.5;
}
.float-close {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: var(--texto-tenue);
  display: flex;
}
.float-close:hover { color: var(--texto-primario); }
.float-close svg { width: 18px; height: 18px; }

.float-form { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.float-form input {
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--texto-primario);
  background: var(--plano);
  border: 1px solid var(--borde);
  border-radius: var(--radius-control);
  padding: 10px 12px;
  transition: border-color 0.2s ease;
}
.float-form input::placeholder { color: var(--texto-tenue); }
.float-form input:focus { outline: none; border-color: var(--blue-400); }
.float-form input:user-invalid { border-color: #e08484; }
.float-form .btn-block { margin-top: 2px; }
.float-form .form-status { color: var(--texto-secundario); }
.float-form .form-status.ok { color: var(--teal-700); }
.float-form .form-status.error { color: #c0392b; }

@media (max-width: 480px) {
  .float-widget { right: 14px; bottom: 14px; }
  .float-btn { width: 50px; height: 50px; }
  .float-btn svg { width: 23px; height: 23px; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto !important; }
  .hero-copy > *,
  .hero-visual,
  .mockup-browser,
  .mockup-phone,
  .floaty-badge,
  .floaty-badge .dot,
  .hero h1 .accent,
  .hero-cta .btn-primary,
  .how-step.is-visible .how-num,
  .float-btn {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .nav-links, .header-cta .btn-secondary { display: none; }
  .nav-toggle { display: block; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 12px; max-width: 480px; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .how-steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .how-steps::before { display: none; }
  .who-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-grid { grid-template-columns: 1fr; }
  .cta-pitch h2, .cta-pitch p, .cta-pitch .cta-note { text-align: center; }
  .cta-pitch p { margin-inline: auto; }
  .cta-pitch .btn { margin-left: auto; margin-right: auto; }
}

@media (max-width: 620px) {
  .value-grid, .services-grid, .how-steps, .who-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .mockup-phone { width: 100px; right: -8px; bottom: -24px; }
  .footer-top { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; gap: 12px; }
}
