/* ═══════════════════════════════════════════════════════════
   style.css  |  SynkRH – Statum Soluções em Tecnologia
   Complementa o Tailwind CSS com utilitários do Manual Statum
   Manual: ciano #00AFEF · azul #007AA5 · fonte SparTakus
═══════════════════════════════════════════════════════════ */
body {
    overflow-x: hidden; /* Oculta apenas a rolagem horizontal */
}

/* ─────────────────────────────────────────────
   TIPOGRAFIA DE MARCA (SparTakus)
   Uso exclusivo em eyebrows, chips e destaques
───────────────────────────────────────────── */
@font-face {
  font-family: "SparTakus";
  src: url("../fonts/SparTakus.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'icomoon';
  src:  url('../fonts/icomoon.eot?6vewrc');
  src:  url('../fonts/icomoon.eot?6vewrc#iefix') format('embedded-opentype'),
    url('../fonts/icomoon.ttf?6vewrc') format('truetype'),
    url('../fonts/icomoon.woff?6vewrc') format('woff'),
    url('../fonts/icomoon.svg?6vewrc#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


.icon-adp:before {
  content: "\e900";
  font-size: 14pt;
}
.icon-sap:before {
  content: "\e901";
  font-size: 14pt;
}
.icon-totvs:before {
  content: "\e902";
}
.icon-senior:before {
  content: "\e903";
}


/* ─────────────────────────────────────────────
   NAVBAR – sublinhado animado nos links
───────────────────────────────────────────── */
.nav-link {
  position: relative;
  transition: color 0.2s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #00AFEF, #007AA5);
  transition: width 0.22s ease-out;
}
.nav-link:hover { color: #00AFEF; }
.nav-link:hover::after { width: 100%; }

/* ─────────────────────────────────────────────
   SEÇÕES – eyebrow, título, subtítulo
───────────────────────────────────────────── */
.section-eyebrow {
  font-family: "SparTakus", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.7rem;
  color: #00AFEF;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.section-eyebrow::before {
  content: "";
  width: 28px;
  height: 1.5px;
  border-radius: 999px;
  flex-shrink: 0;
  background: linear-gradient(90deg, #00AFEF, #007AA5);
}

.section-title {
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  font-weight: 800;
  line-height: 1.15;
  color: #F9FAFB;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #94a3b8;
}

/* ─────────────────────────────────────────────
   STATS BLOCK
───────────────────────────────────────────── */
.stat-block {
  padding: 1rem 0.85rem;
  border-radius: 1rem;
  background: radial-gradient(circle at top, rgba(0,175,239,0.09), transparent);
  border: 1px solid rgba(148,163,184,0.25);
  text-align: center;
  transition: border-color 0.25s, transform 0.25s;
}
.stat-block:hover {
  border-color: rgba(0,175,239,0.45);
  transform: translateY(-2px);
}
.stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.3rem;
  background: linear-gradient(135deg, #00AFEF, #007AA5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 0.75rem;
  color: #94a3b8;
  line-height: 1.4;
}

/* ─────────────────────────────────────────────
   STEP CARDS (Como funciona)
───────────────────────────────────────────── */
.step-card {
  background: rgba(15,23,42,0.92);
  border-radius: 1.25rem;
  border: 1px solid rgba(148,163,184,0.2);
  padding: 1.25rem 1.1rem 1.1rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.step-card::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, #00AFEF, #007AA5);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease-out;
}
.step-card:hover {
  border-color: rgba(0,175,239,0.35);
  transform: translateY(-4px);
  box-shadow: 0 28px 60px rgba(0,0,0,0.55);
}
.step-card:hover::after { transform: scaleX(1); }

.step-tag {
  font-family: "SparTakus", system-ui, sans-serif;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #38bdf8;
  margin-bottom: 0.65rem;
}
.step-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.85rem;
  background: rgba(0,175,239,0.1);
  border: 1px solid rgba(0,175,239,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: #00AFEF;
  margin-bottom: 0.75rem;
  transition: background 0.25s;
}
.step-card:hover .step-icon { background: rgba(0,175,239,0.2); }
.step-icon.small {
  width: 2rem;
  height: 2rem;
  font-size: 0.95rem;
  border-radius: 0.65rem;
}
.step-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}
.step-text {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.6;
}

/* ─────────────────────────────────────────────
   BENEFIT CARDS
───────────────────────────────────────────── */
.benefit-card {
  background: rgba(15,23,42,0.95);
  border-radius: 1.1rem;
  border: 1px solid rgba(148,163,184,0.2);
  padding: 1.1rem 1rem;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.benefit-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, #00AFEF, #007AA5);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease-out;
}
.benefit-card:hover {
  border-color: rgba(0,175,239,0.4);
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.45);
}
.benefit-card:hover::before { transform: scaleX(1); }

.benefit-icon {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #00AFEF, #007AA5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #0f172a;
  margin-bottom: 0.6rem;
  flex-shrink: 0;
}
.benefit-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 0.3rem;
}
.benefit-text {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.6;
}

/* ─────────────────────────────────────────────
   FEATURE SCREENS (Recursos)
───────────────────────────────────────────── */
.feature-screen {
  background: #030d18;
  border-radius: 1.2rem;
  border: 1px solid rgba(148,163,184,0.25);
  padding: 1rem;
  font-size: 0.8rem;
  color: #e2e8f0;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.feature-screen-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(148,163,184,0.12);
}
.feature-screen-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: #94a3b8;
}
.screen-dots span {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  margin-left: 0.2rem;
}
.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.38rem 0;
  border-top: 1px dashed rgba(148,163,184,0.18);
}
.info-row:first-of-type { border-top: none; }
.info-label { color: #64748b; font-size: 0.78rem; }
.info-value {
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  background: rgba(15,23,42,0.95);
  border: 1px solid rgba(148,163,184,0.25);
  color: #e2e8f0;
}
.info-highlight {
  border-color: rgba(0,175,239,0.55);
  background: rgba(0,47,90,0.85);
  color: #bae6fd;
}
.info-note {
  margin-top: 0.6rem;
  font-size: 0.74rem;
  color: #94a3b8;
  background: rgba(0,175,239,0.06);
  border-radius: 0.6rem;
  padding: 0.45rem 0.6rem;
  border-left: 2px solid #00AFEF;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ─────────────────────────────────────────────
   INTEGRATION CARDS
───────────────────────────────────────────── */
.integration-card {
  border-radius: 1rem;
  border: 1px dashed rgba(148,163,184,0.3);
  background: rgba(15,23,42,0.95);
  padding: 1rem 0.6rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  transition: border-color 0.25s, transform 0.25s, background 0.25s;
}
.integration-card:hover {
  border-color: rgba(0,175,239,0.45);
  background: rgba(0,175,239,0.06);
  transform: translateY(-3px);
}

/* ─────────────────────────────────────────────
   FORM (Trial)
───────────────────────────────────────────── */
.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 0.25rem;
}
.form-input {
  display: block;
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid rgba(148,163,184,0.35);
  background: rgba(2,10,20,0.95);
  padding: 0.6rem 0.8rem;
  font-size: 0.84rem;
  color: #e2e8f0;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.form-input::placeholder { color: #475569; }
.form-input:focus {
  outline: none;
  border-color: #00AFEF;
  box-shadow: 0 0 0 3px rgba(0,175,239,0.2);
}

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
.footer-title {
  font-family: "SparTakus", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.66rem;
  color: #38bdf8;
  margin-bottom: 0.5rem;
  display: block;
}
.footer-link {
  display: block;
  font-size: 0.8rem;
  color: #94a3b8;
  text-decoration: none;
  margin-bottom: 0.3rem;
  transition: color 0.2s;
}
.footer-link:hover { color: #00AFEF; }

/* ═══════════════════════════════════════════════════════════
   HERO – ANIMAÇÕES DE ENTRADA
═══════════════════════════════════════════════════════════ */
@keyframes fadein-down {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadein-up {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadein-right {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
.animate-fadein-down  { animation: fadein-down  0.7s cubic-bezier(.22,.68,0,1.15) both; }
.animate-fadein-up    { animation: fadein-up    0.7s cubic-bezier(.22,.68,0,1.15) both; }
.animate-fadein-right { animation: fadein-right 0.75s cubic-bezier(.22,.68,0,1.15) both; }

/* Blobs pulsantes */
@keyframes blob-pulse {
  0%,100% { transform: scale(1);    opacity: 1; }
  50%      { transform: scale(1.12); opacity: 0.65; }
}
.hero-blob-1 { animation: blob-pulse 7s ease-in-out infinite; }
.hero-blob-2 { animation: blob-pulse 9s ease-in-out infinite reverse; }

/* Isotipo watermark */
@keyframes isotipo-float {
  0%,100% { transform: translateY(0)    rotate(0deg); }
  50%      { transform: translateY(-16px) rotate(2.5deg); }
}
.hero-isotipo-float { animation: isotipo-float 14s ease-in-out infinite; }

/* Badges flutuantes */
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}
@keyframes float-slow {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.animate-float      { animation: float      4s ease-in-out infinite; }
.animate-float-slow { animation: float-slow 5.5s ease-in-out infinite; }

/* ═══════════════════════════════════════════════════════════
   WHATSAPP MOCK – CHAT AREA
   ATENÇÃO: overflow-y:auto é obrigatório para scrollTo()
   !important sobrepõe qualquer classe Tailwind overflow-hidden
═══════════════════════════════════════════════════════════ */
#waChatArea {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px;
  overflow-y: auto !important;   /* CRÍTICO – sobrepõe overflow-hidden do Tailwind */
  overflow-x: hidden !important;
  padding: 12px;
  min-height: 280px;
  max-height: 320px;
  /* Esconde scrollbar visualmente */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
#waChatArea::-webkit-scrollbar { display: none; }

/* ─── Balões de mensagem ─── */
.wa-bubble {
  display: block;               /* garante box-model correto */
  max-width: 84%;
  padding: 8px 12px 5px;
  border-radius: 14px;
  font-size: 0.76rem;
  line-height: 1.5;
  /* Estado inicial (antes de .visible) */
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.38s ease, transform 0.38s ease;
  /* Alinhamento via margin (mais robusto que align-self em alguns browsers) */
  word-break: break-word;
}
.wa-bubble.visible {
  opacity: 1;
  transform: translateY(0);
}
.wa-bubble.sent {
  background: #005c4b;
  color: #ecfdf5;
  border-bottom-right-radius: 3px;
  margin-left: auto;            /* empurra para direita */
  margin-right: 0;
}
.wa-bubble.received {
  background: #1a2e3d;
  color: #e0f4fd;
  border-left: 2px solid #00AFEF;
  border-bottom-left-radius: 3px;
  margin-right: auto;           /* empurra para esquerda */
  margin-left: 0;
}

/* Horário dentro do balão */
.wa-time {
  display: block;
  font-size: 0.62rem;
  color: rgba(255,255,255,0.42);
  text-align: right;
  margin-top: 4px;
}
.wa-time i { font-size: 0.68rem; color: #53bdeb; }

/* ─── Typing indicator (três pontos) ─── */
.wa-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #1a2e3d;
  border-radius: 14px;
  border-bottom-left-radius: 3px;
  border-left: 2px solid #00AFEF;
  padding: 9px 14px;
  width: fit-content;
  margin-right: auto;
  /* Estado inicial */
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.wa-typing.visible {
  opacity: 1;
  transform: translateY(0);
}
.wa-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00AFEF;
  animation: wa-dot-bounce 1.1s ease-in-out infinite;
  flex-shrink: 0;
}
.wa-dot:nth-child(2) { animation-delay: 0.18s; }
.wa-dot:nth-child(3) { animation-delay: 0.36s; }

@keyframes wa-dot-bounce {
  0%,100% { transform: translateY(0);    opacity: 0.45; }
  50%      { transform: translateY(-5px); opacity: 1; }
}