/* ══════════════════════════════════════════════════════════════════
   OASyS v4 — Estilos de apelo e conversão para a página inicial
   ══════════════════════════════════════════════════════════════════ */

/* ---------- Proof-strip link item ---------- */
.proof-strip a.proof-item {
  color: inherit;
  text-decoration: none;
}
.proof-strip a.proof-item:hover strong {
  color: var(--accent);
}

/* ---------- System section h2 override ---------- */
.system-section .system-intro > p:not(.eyebrow) {
  max-width: 420px;
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 15px;
  margin-bottom: 8px;
}

/* ---------- Hero Download Button ---------- */
.hero-download-btn {
  gap: 10px;
  font-size: 15px;
  padding: 14px 26px;
  background: var(--accent);
  box-shadow: 0 4px 24px rgb(213 22 52 / 38%);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.hero-download-btn:hover {
  background: var(--accent-dark);
  box-shadow: 0 6px 32px rgb(213 22 52 / 48%);
  transform: translateY(-2px);
}
.hero-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 16px 0 0;
  color: rgb(255 255 255 / 62%);
  font-size: 12px;
}

/* ---------- Por Que OASyS ---------- */
.why-section {
  background: #f5f6f4;
}
.why-header {
  max-width: 860px;
  margin-bottom: 52px;
}
.why-header h2 {
  max-width: 820px;
  font-size: clamp(38px, 5vw, 66px);
  margin-bottom: 16px;
  letter-spacing: -.055em;
  line-height: 1.04;
}
.why-header h2 em {
  color: var(--accent);
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 400;
}
.why-header p {
  max-width: 580px;
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 15px;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.why-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: clamp(24px, 3vw, 36px);
  transition: transform .25s ease, box-shadow .25s ease;
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgb(16 24 32 / 8%);
}
.why-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  margin-bottom: 20px;
}
.why-icon-green  { background: rgb(23 169 104 / 12%); color: #17a968; }
.why-icon-blue   { background: rgb(8 126 139 / 12%); color: #087e8b; }
.why-icon-red    { background: rgb(213 22 52 / 10%); color: var(--accent); }
.why-icon-purple { background: rgb(100 80 180 / 10%); color: #6450b4; }
.why-icon-amber  { background: rgb(200 130 0 / 10%); color: #c88200; }
.why-icon-teal   { background: rgb(0 150 136 / 10%); color: #009688; }
.why-card h3 {
  margin: 0 0 10px;
  font-size: 17px;
  letter-spacing: -.035em;
}
.why-card p {
  margin: 0;
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 13px;
  line-height: 1.65;
}

/* ---------- Download CTA Section ---------- */
.download-cta-section {
  background: #111820;
  color: #fff;
  padding: clamp(72px, 9vw, 120px) 0;
  overflow: hidden;
}
.download-cta-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
}
.download-cta-copy .eyebrow {
  color: #f1a4af;
}
.download-cta-copy h2 {
  max-width: 780px;
  margin: 0 0 18px;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.04;
  letter-spacing: -.055em;
}
.download-cta-copy h2 em {
  color: #f5b8c0;
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 400;
}
.download-cta-copy > p:not(.eyebrow) {
  max-width: 500px;
  margin-bottom: 30px;
  color: #c3ccd0;
  font-family: Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
}
.download-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  margin-bottom: 32px;
}
.download-check {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #c3ccd0;
  font-family: Arial, sans-serif;
  font-size: 13px;
}
.download-check svg {
  flex-shrink: 0;
  color: #17a968;
}
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.download-actions .button {
  gap: 9px;
}

/* --- Download Visual Card --- */
.download-visual {
  display: flex;
  justify-content: center;
}
.download-card {
  width: 100%;
  max-width: 400px;
  border: 1px solid #2a3a46;
  border-radius: 14px;
  background: #141f28;
  overflow: hidden;
  box-shadow: 0 24px 60px rgb(0 0 0 / 40%);
}
.download-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid #1f2f3a;
}
.download-card-dots {
  display: flex;
  gap: 5px;
}
.download-card-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2e404f;
}
.download-card-dots span:first-child { background: #cf4848; }
.download-card-dots span:nth-child(2) { background: #c49a2a; }
.download-card-dots span:nth-child(3) { background: #2e9e52; }
.download-card-title {
  color: #8097a5;
  font-family: Arial, sans-serif;
  font-size: 10px;
  letter-spacing: .04em;
  margin-left: 4px;
}
.download-card-modules {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 22px 18px;
}
.module-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #243040;
  border-radius: 6px;
  padding: 7px 12px;
  color: #c8d5db;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .01em;
  background: #19272f;
}
.module-chip-active {
  border-color: rgb(213 22 52 / 35%);
  background: rgb(213 22 52 / 8%);
  color: #f5b8c0;
}
.module-chip svg {
  color: var(--accent);
  flex-shrink: 0;
}
.download-card-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border-top: 1px solid #1f2f3a;
  background: #1f2f3a;
}
.download-card-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 16px;
  background: #141f28;
}
.stat-label {
  color: #5d7480;
  font-family: Arial, sans-serif;
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.stat-value {
  color: #c8d5db;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
}
.stat-ok { color: #17a968; }
.download-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-top: 1px solid #1f2f3a;
}
.download-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #17a968;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
}
.download-card-version {
  color: #4a5e6a;
  font-family: Arial, sans-serif;
  font-size: 10px;
}

/* ---------- Fiscal Docs chips ---------- */
.fiscal-docs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 28px;
}
.fiscal-doc {
  display: flex;
  flex-direction: column;
  gap: 3px;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 8px;
  padding: 10px 16px;
  background: rgb(255 255 255 / 5%);
}
.fiscal-doc-tag {
  color: #f1a4af;
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
}
.fiscal-doc > span:last-child {
  color: #c3ccd0;
  font-family: Arial, sans-serif;
  font-size: 11px;
}

/* ---------- Support Channels ---------- */
.support-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 28px;
}
.support-channel {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 7px 14px;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 12px;
  text-decoration: none;
}
.support-channel-phone { background: #d51634; }
.support-channel-whatsapp { background: #128258; }
.support-channel-email { background: #087e8b; }
.support-channel-remote { background: #626d75; }
.support-channel-phone:hover { background: #a90d27; }
.support-channel-whatsapp:hover { background: #0d6745; }
.support-channel-email:hover { background: #06636d; }
.support-channel-remote:hover { background: #4b555c; }
.button-remote-support { border-color: transparent; background: #626d75; color: #fff; }
.button-remote-support:hover { border-color: transparent; background: #4b555c; color: #fff; }

/* ---------- Final CTA Actions ---------- */
.final-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
}
.final-cta-note {
  margin: 0;
  color: #8097a5;
  font-family: Arial, sans-serif;
  font-size: 11px;
  text-align: right;
}
.final-cta .button-primary {
  gap: 9px;
  white-space: nowrap;
  font-size: 14px;
  padding: 15px 26px;
}

/* ---------- Pulsing live dot ---------- */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: .45; }
}
.stat-ok::before {
  animation: pulse-dot 2s ease infinite;
  display: inline-block;
}

/* ---------- Animação de entrada da seção download ---------- */
@keyframes float-card {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}
.download-visual .download-card {
  animation: float-card 5s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .download-visual .download-card { animation: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .why-header h2,
  .download-cta-copy h2 {
    font-size: clamp(34px, 7vw, 48px);
    line-height: 1.06;
  }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .download-cta-inner { grid-template-columns: 1fr; gap: 44px; }
  .download-visual { order: -1; }
  .download-card { max-width: 460px; }
  .final-cta-actions { align-items: flex-start; }
  .final-cta-note { text-align: left; }
}
@media (max-width: 600px) {
  .why-header h2,
  .download-cta-copy h2 {
    font-size: clamp(28px, 8.5vw, 38px);
    line-height: 1.08;
  }
  .why-grid { grid-template-columns: 1fr; }
  .download-checklist { grid-template-columns: 1fr; }
  .download-actions { flex-direction: column; align-items: flex-start; }
  .download-actions .button { width: 100%; justify-content: center; }
  .support-channels { gap: 8px; }
}
