/* =========================================================
   Fortunae Pay — Landing Page Styles
   Tokens derived from official brand identity guide
   ========================================================= */

:root {
  /* Brand colors */
  --navy-deep:   #0D1B2A;
  --navy-mid:    #142D4C;
  --green:       #22C55E;   /* usado apenas no dot de status "ao vivo" */
  --teal:        #00BFA6;
  --blue:        #2F6FED;   /* azul de ação principal */
  --blue-light:  #4FA6F7;   /* azul claro, acentos sobre fundo escuro */
  --blue-deep:   #1E4FC7;   /* azul profundo, hovers/gradiente */
  --fog:         #F2F4F7;
  --white:       #FFFFFF;
  --ink:         #0D1B2A;
  --ink-soft:    #4A5568;

  --grad-brand: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  --grad-hero:  radial-gradient(120% 140% at 100% 0%, #16324f 0%, var(--navy-mid) 45%, var(--navy-deep) 100%);

  --font-display: 'Poppins', 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 28px;

  --shadow-soft: 0 20px 50px -20px rgba(13, 27, 42, 0.35);
  --shadow-card: 0 10px 30px -12px rgba(13, 27, 42, 0.18);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-display);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0; line-height: 1.65; color: var(--ink-soft); }
button { font-family: inherit; cursor: pointer; }
.mono { font-family: var(--font-mono); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--navy-deep); color: var(--white); padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--blue-light);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 14px;
}

.text-gradient {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-brand);
  color: var(--navy-deep);
  box-shadow: 0 12px 28px -10px rgba(34, 197, 94, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(34, 197, 94, 0.6); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.28);
}
.btn-ghost:hover { border-color: var(--blue-light); background: rgba(47,111,237,0.1); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Reveal on scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; animation-delay: 0s !important; }
  .chat-bubble { opacity: 1; transform: none; }
  .pos-device, .phone-device { animation: none; }
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: padding 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  padding: 10px 0;
  background: rgba(13, 27, 42, 0.85);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -20px rgba(0,0,0,0.4);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.brand-logo {
  height: 85px; /* metade do tamanho anterior (170px) */
  width: auto;
  filter: brightness(0) invert(1);
  transition: height 0.3s var(--ease);
}
.site-header.is-scrolled .brand-logo { height: 34px; } /* encolhe ao rolar, pra não atrapalhar a navegação */

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  font-size: 0.94rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s var(--ease);
}
.main-nav a:hover { color: var(--blue-light); }
.nav-link-secondary {
  padding: 9px 18px !important;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,0.28);
  font-size: 0.88rem !important;
}
.nav-link-secondary:hover { border-color: var(--blue-light); }
.nav-cta {
  background: var(--grad-brand);
  color: var(--navy-deep) !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600 !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: transform 0.25s var(--ease), opacity 0.25s var(--ease); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  background: var(--grad-hero);
  padding: 160px 0 90px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-grid {
  position: absolute; inset: -10% -10%;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(60% 60% at 30% 30%, black, transparent);
}
.hero-glow {
  position: absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.35;
}
.hero-glow--green { background: var(--blue); top: -120px; right: 10%; }
.hero-glow--teal { background: var(--blue-light); bottom: -160px; left: -80px; }

.hero-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 22px;
}
.hero-lead {
  color: rgba(255,255,255,0.72);
  font-size: 1.08rem;
  max-width: 520px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 46px; }

.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; }
.hero-stats li { display: flex; flex-direction: column; position: relative; }
.hero-stats li:not(:last-child)::after {
  content: "";
  position: absolute; right: -17px; top: 6px; bottom: 6px; width: 1px;
  background: rgba(255,255,255,0.16);
}
.stat-value { display: flex; align-items: baseline; gap: 2px; }
.stat-number, .stat-suffix {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1;
}
.hero-stats small { color: rgba(255,255,255,0.55); font-size: 0.82rem; margin-top: 6px; }

/* ---------- Hero device mocks ---------- */
.hero-visual { position: relative; display: flex; justify-content: center; }
.device-stack { position: relative; width: 100%; max-width: 460px; height: 480px; }

.hero-devices-photo {
  position: relative;
  width: 100%;
  max-width: 560px;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.5));
  animation: heroDevicesFloat 6s ease-in-out infinite;
  container-type: inline-size;
}
.hero-devices-img { display: block; width: 100%; height: auto; }

/* Cobre o número "gravado" na foto para dar lugar ao número animado */
.hero-balance-mask {
  position: absolute;
  left: 60%; top: 33%;
  width: 24%; height: 4.9%;
  background: #04182C;
}
.hero-balance-overlay {
  position: absolute;
  left: 61%; top: 33.2%;
  width: 21%; height: 4.6%;
  display: flex;
  align-items: center;
  color: #FFFFFF;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  font-size: 11px;
}
@supports (font-size: 1cqw) {
  .hero-balance-overlay { font-size: 2.9cqw; }
}

/* Brilho passando apenas sobre a logomarca da tela da maquininha */
.hero-pos-logo-shine {
  position: absolute;
  left: 21%; top: 29.5%;
  width: 17%; height: 21%;
  overflow: hidden;
  pointer-events: none;
  border-radius: 4px;
}
.hero-pos-logo-shine::after {
  content: "";
  position: absolute;
  top: -60%; left: -120%;
  width: 60%; height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55) 45%, rgba(255,255,255,0.75) 50%, rgba(255,255,255,0.55) 55%, transparent);
  transform: rotate(18deg);
  animation: heroLogoShine 3.4s ease-in-out infinite;
}
@keyframes heroDevicesFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes heroLogoShine {
  0%, 12% { left: -120%; }
  55%, 100% { left: 160%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-devices-photo { animation: none; }
  .hero-pos-logo-shine::after { display: none; }
}

.pos-device {
  position: absolute;
  left: 0; top: 40px;
  width: 240px;
  background: linear-gradient(160deg, #1c1c22, #0a0a0d);
  border-radius: 22px;
  padding: 16px 14px 20px;
  box-shadow: var(--shadow-soft), 0 0 0 1px rgba(255,255,255,0.05) inset;
  animation: floatY 6s ease-in-out infinite;
}
.pos-device--large { position: static; width: 280px; animation: floatY 7s ease-in-out infinite; }
.pos-cam { width: 34px; height: 8px; background: #000; border-radius: 6px; margin: 0 auto 10px; box-shadow: inset 0 0 0 1px #2a2a30; }
.pos-screen {
  background: var(--navy-deep);
  border-radius: 12px;
  padding: 16px 14px;
  min-height: 190px;
}
.pos-screen-header { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.pos-logo-mark { width: 18px; height: 18px; }
.pos-screen-header span { font-size: 0.62rem; letter-spacing: 0.08em; color: var(--white); font-weight: 600; }
.pos-amount small { display: block; color: rgba(255,255,255,0.5); font-size: 0.68rem; margin-bottom: 4px; }
.pos-amount strong { display: block; color: var(--white); font-size: 1.5rem; font-weight: 600; margin-bottom: 16px; }
.pos-methods { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.pos-chip {
  font-size: 0.66rem;
  padding: 5px 10px;
  border-radius: 999px;
  color: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.14);
  transition: all 0.4s var(--ease);
}
.pos-chip.is-active {
  color: var(--navy-deep);
  background: var(--grad-brand);
  border-color: transparent;
}
.pos-status { display: flex; align-items: center; gap: 6px; font-size: 0.68rem; color: var(--blue-light); }
.pos-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(34,197,94,0.25); }
.pos-approved { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px 0 4px; }
.pos-approved svg { width: 30px; height: 30px; stroke: var(--blue); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pos-approved strong { color: var(--white); font-size: 1.1rem; }
.pos-approved small { color: rgba(255,255,255,0.55); }

.pos-keypad { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.pos-keypad span { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.08); }
.pos-keypad .key-accent { background: var(--blue); }

.phone-device {
  position: absolute;
  right: 0; bottom: 0;
  width: 180px;
  background: var(--navy-deep);
  border-radius: 30px;
  padding: 10px 8px;
  box-shadow: var(--shadow-soft), 0 0 0 1px rgba(255,255,255,0.06) inset;
  animation: floatY 6.5s ease-in-out infinite 0.6s;
  overflow: hidden;
}
.phone-notch { width: 46px; height: 6px; background: rgba(255,255,255,0.12); border-radius: 4px; margin: 0 auto 10px; }
.phone-screen { background: #0a1522; border-radius: 20px; padding: 14px 12px 16px; }
.phone-topbar { margin-bottom: 14px; }
.phone-logo { height: 14px; filter: brightness(0) invert(1); }
.phone-balance small { display: block; color: rgba(255,255,255,0.5); font-size: 0.62rem; margin-bottom: 3px; }
.phone-balance strong { display: block; color: var(--white); font-size: 1.15rem; margin-bottom: 4px; }
.phone-balance a { display: inline-block; color: var(--blue-light); font-size: 0.64rem; margin-bottom: 14px; }
.phone-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.phone-tile {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 10px 8px;
  font-size: 0.6rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.3;
  min-width: 0;
  overflow-wrap: break-word;
}
.tile-icon { display: block; width: 16px; height: 16px; border-radius: 5px; margin-bottom: 8px; background: var(--grad-brand); }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Card / chip decoration for spotlight ---------- */
.pos-card-chip {
  margin-top: -30px;
  margin-left: 40px;
  width: 190px;
  height: 118px;
  border-radius: 14px;
  background: linear-gradient(150deg, var(--navy-mid), var(--navy-deep));
  box-shadow: var(--shadow-soft);
  padding: 16px;
  position: relative;
  z-index: 2;
}
.chip { display: block; width: 30px; height: 22px; border-radius: 4px; background: linear-gradient(135deg, #d8c98a, #b89b4d); margin-bottom: 26px; }
.card-label { font-family: var(--font-mono); font-size: 0.7rem; color: rgba(255,255,255,0.85); letter-spacing: 0.06em; }

/* =========================================================
   TRUST STRIP
   ========================================================= */
.trust-strip {
  background: var(--white);
  border-bottom: 1px solid #ECEFF3;
  padding: 40px 0;
}
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.trust-item { display: flex; align-items: flex-start; gap: 14px; }
.trust-icon { width: 30px; height: 30px; flex-shrink: 0; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.trust-item strong { display: block; font-size: 0.96rem; margin-bottom: 2px; }
.trust-item span { font-size: 0.84rem; color: var(--ink-soft); line-height: 1.4; }

/* =========================================================
   SECTION HEAD
   ========================================================= */
.section-head { max-width: 620px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 16px; }
.section-head p { font-size: 1.02rem; }
.section-head--light .eyebrow { color: var(--blue); }

/* =========================================================
   PRODUCTS
   ========================================================= */
.products { padding: 110px 0; background: var(--fog); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-m);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 24px 46px -18px rgba(13,27,42,0.22); }
.product-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  background: var(--grad-brand);
}
.product-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--navy-deep); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.product-card h3 { font-size: 1.14rem; margin-bottom: 10px; }
.product-card p { font-size: 0.94rem; }

/* =========================================================
   POS SPOTLIGHT
   ========================================================= */
.pos-spotlight { padding: 120px 0; background: var(--navy-deep); overflow: hidden; }
.pos-spotlight-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items: center; }
.pos-spotlight-visual { position: relative; display: flex; justify-content: center; }

.pos-photo-wrap {
  position: relative;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  animation: floatY 7s ease-in-out infinite;
}
.pos-photo-img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 55px rgba(0,0,0,0.55));
}
.pos-photo-pulse {
  position: absolute;
  left: 61.7%; top: 46.7%;
  width: 9.4%;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%) scale(1);
  border-radius: 50%;
  border: 2.5px solid var(--green);
  opacity: 0.9;
  animation: posPhotoPulse 2.2s ease-out infinite;
  pointer-events: none;
}
.pos-photo-pulse--delay { animation-delay: 1.1s; }
@keyframes posPhotoPulse {
  0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.85; }
  100% { transform: translate(-50%, -50%) scale(2.4); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .pos-photo-wrap { animation: none; }
  .pos-photo-pulse { display: none; }
}
.pos-spotlight-copy .eyebrow { color: var(--blue-light); }
.pos-spotlight-copy h2 { color: var(--white); font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 18px; }
.pos-spotlight-copy > p { color: rgba(255,255,255,0.68); font-size: 1.02rem; margin-bottom: 28px; }

.check-list { margin-bottom: 34px; display: flex; flex-direction: column; gap: 14px; }
.check-list li {
  position: relative;
  padding-left: 30px;
  color: rgba(255,255,255,0.82);
  font-size: 0.96rem;
}
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--grad-brand);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  mask-repeat: no-repeat; mask-position: center; mask-size: 60%;
}

.pos-spotlight-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.link-inline { color: rgba(255,255,255,0.65); font-size: 0.9rem; font-weight: 500; transition: color 0.2s var(--ease); }
.link-inline:hover { color: var(--blue-light); }

/* =========================================================
   ADVANTAGES
   ========================================================= */
.advantages { padding: 110px 0; background: var(--white); }
.advantages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.advantage {
  padding: 34px 28px;
  border-radius: var(--radius-m);
  border: 1px solid #ECEFF3;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.advantage:hover { border-color: var(--blue); transform: translateY(-4px); }
.advantage-mark { display: block; font-size: 0.85rem; color: var(--blue); margin-bottom: 16px; font-weight: 600; }
.advantage h3 { font-size: 1.12rem; margin-bottom: 10px; }
.advantage p { font-size: 0.94rem; }

/* =========================================================
   SUPPORT
   ========================================================= */
.support { padding: 110px 0; background: var(--fog); }
.support-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.support-copy .eyebrow { color: var(--blue); }
.support-copy h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 18px; }
.support-copy > p { font-size: 1.02rem; margin-bottom: 26px; }
.support-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.badge {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow-card);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--navy-deep);
}

.chat-mock {
  background: var(--white);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-soft);
  padding: 22px 20px;
  max-width: 400px;
  margin-left: auto;
}
.chat-mock-header { display: flex; align-items: center; gap: 8px; font-size: 0.86rem; font-weight: 600; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid #EEF1F5; }
.chat-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(34,197,94,0.18); }
.chat-online { margin-left: auto; font-weight: 500; color: var(--ink-soft); font-size: 0.76rem; }
.chat-bubble {
  max-width: 82%;
  padding: 11px 15px;
  border-radius: 16px;
  font-size: 0.88rem;
  line-height: 1.45;
  margin-bottom: 10px;
  opacity: 0;
  transform: translateY(10px);
  animation: chatIn 0.5s var(--ease) forwards;
}
.chat-bubble--in { background: var(--fog); color: var(--ink); border-bottom-left-radius: 4px; }
.chat-bubble--out { background: var(--grad-brand); color: var(--navy-deep); margin-left: auto; border-bottom-right-radius: 4px; font-weight: 500; }
.chat-bubble:nth-child(2) { animation-delay: 0.2s; }
.chat-bubble:nth-child(3) { animation-delay: 0.9s; }
.chat-bubble:nth-child(4) { animation-delay: 1.6s; }
.chat-bubble:nth-child(5) { animation-delay: 2.3s; }
@keyframes chatIn { to { opacity: 1; transform: translateY(0); } }

/* =========================================================
   CTA FINAL
   ========================================================= */
.cta-final { padding: 120px 0; background: var(--grad-hero); text-align: center; }
.cta-final-inner { max-width: 640px; margin: 0 auto; }
.cta-final h2 { color: var(--white); font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 16px; }
.cta-final > .cta-final-inner > p { color: rgba(255,255,255,0.7); font-size: 1.04rem; margin-bottom: 44px; }

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  text-align: left;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-m);
  padding: 34px;
  backdrop-filter: blur(6px);
}
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row--full { grid-column: 1 / -1; }
.form-row label { font-size: 0.84rem; color: rgba(255,255,255,0.75); font-weight: 500; }
.form-row input, .form-row textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-s);
  padding: 13px 14px;
  color: var(--white);
  font-family: inherit;
  font-size: 0.94rem;
  resize: vertical;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.form-row input::placeholder, .form-row textarea::placeholder { color: rgba(255,255,255,0.35); }
.form-row input:focus, .form-row textarea:focus { border-color: var(--blue-light); background: rgba(255,255,255,0.09); outline: none; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.contact-form .btn { grid-column: 1 / -1; margin-top: 6px; }

.cta-final-alt { margin-top: 22px; font-size: 0.92rem; color: rgba(255,255,255,0.6); }
.cta-final-alt a { color: var(--blue-light); font-weight: 600; margin-left: 4px; }
.cta-final-alt a:hover { text-decoration: underline; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--navy-deep); padding: 70px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-logo { height: 90px; filter: brightness(0) invert(1); margin-bottom: 14px; } /* -25% do tamanho anterior (120px) */
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.9rem; max-width: 280px; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.footer-nav strong { display: block; color: var(--white); font-size: 0.92rem; margin-bottom: 16px; }
.footer-nav a { display: block; color: rgba(255,255,255,0.55); font-size: 0.88rem; margin-bottom: 12px; transition: color 0.2s var(--ease); }
.footer-nav a:hover { color: var(--blue-light); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding: 26px 24px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 40px; }
  .device-stack { max-width: 380px; height: 420px; margin: 0 auto; }
  .hero-devices-photo { max-width: 440px; margin: 0 auto; }
  .pos-spotlight-inner, .support-inner { grid-template-columns: 1fr; }
  .pos-spotlight-visual { margin-bottom: 20px; }
  .product-grid, .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--navy-deep);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 26px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
  }
  .main-nav.is-open { transform: translateX(0); }
  .nav-toggle { display: flex; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .brand-logo { height: 44px; }
  .site-header.is-scrolled .brand-logo { height: 30px; }
  .hero { padding: 128px 0 70px; }
  .hero-stats { gap: 24px; }
  .product-grid, .advantages-grid, .trust-inner { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; padding: 24px; }
  .device-stack { height: 380px; }
  .pos-device { width: 210px; }
  .phone-device { width: 160px; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
}
